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 87375 : pattern5 (rtx x1, machine_mode i1)
57 : {
58 87375 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
59 87375 : int res ATTRIBUTE_UNUSED;
60 87375 : if (!register_operand (operands[0], i1)
61 85497 : || GET_MODE (x1) != i1
62 85497 : || !register_operand (operands[1], i1)
63 165544 : || !register_operand (operands[2], i1))
64 17724 : return -1;
65 : return 0;
66 : }
67 :
68 : int
69 254773 : pattern8 (rtx x1, int *pnum_clobbers)
70 : {
71 254773 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
72 254773 : rtx x2, x3, x4, x5, x6, x7;
73 254773 : int res ATTRIBUTE_UNUSED;
74 254773 : x2 = XEXP (x1, 0);
75 254773 : operands[0] = x2;
76 254773 : x3 = XEXP (x1, 1);
77 254773 : x4 = XEXP (x3, 0);
78 254773 : switch (GET_CODE (x4))
79 : {
80 116394 : case REG:
81 116394 : case SUBREG:
82 116394 : case MEM:
83 116394 : operands[1] = x4;
84 116394 : x5 = XEXP (x3, 1);
85 116394 : operands[2] = x5;
86 116394 : switch (GET_MODE (operands[0]))
87 : {
88 12 : case E_TImode:
89 12 : if (pnum_clobbers == NULL
90 12 : || pattern4 (x3,
91 : E_TImode) != 0)
92 0 : return -1;
93 : return 0;
94 :
95 1851 : case E_QImode:
96 1851 : if (pnum_clobbers == NULL
97 1851 : || pattern4 (x3,
98 : E_QImode) != 0)
99 235 : return -1;
100 : return 1;
101 :
102 227 : case E_HImode:
103 227 : if (pnum_clobbers == NULL
104 227 : || pattern4 (x3,
105 : E_HImode) != 0)
106 108 : return -1;
107 : return 2;
108 :
109 167 : case E_V4HImode:
110 167 : if (pattern5 (x3,
111 : E_V4HImode) != 0)
112 54 : return -1;
113 : return 3;
114 :
115 78 : case E_V2SImode:
116 78 : if (pattern5 (x3,
117 : E_V2SImode) != 0)
118 12 : return -1;
119 : return 4;
120 :
121 314 : case E_V8QImode:
122 314 : if (pattern6 (x3,
123 : E_V8QImode) != 0)
124 34 : return -1;
125 : return 5;
126 :
127 254 : case E_V4QImode:
128 254 : if (pattern5 (x3,
129 : E_V4QImode) != 0)
130 46 : return -1;
131 : return 6;
132 :
133 62 : case E_V2QImode:
134 62 : if (pattern5 (x3,
135 : E_V2QImode) != 0)
136 34 : return -1;
137 : return 7;
138 :
139 44 : case E_V2HImode:
140 44 : if (pattern5 (x3,
141 : E_V2HImode) != 0)
142 34 : return -1;
143 : return 8;
144 :
145 : default:
146 : return -1;
147 : }
148 :
149 24040 : case PLUS:
150 24040 : if (pnum_clobbers == NULL
151 24040 : || GET_MODE (x4) != E_HImode
152 0 : || !register_operand (operands[0], E_HImode)
153 24040 : || GET_MODE (x3) != E_HImode)
154 : return -1;
155 0 : x6 = XEXP (x4, 0);
156 0 : operands[1] = x6;
157 0 : if (!nonimmediate_operand (operands[1], E_HImode))
158 : return -1;
159 0 : x7 = XEXP (x4, 1);
160 0 : operands[2] = x7;
161 0 : if (!general_operand (operands[2], E_HImode))
162 0 : return -1;
163 : return 9;
164 :
165 9325 : case MINUS:
166 9325 : if (pnum_clobbers == NULL
167 9325 : || GET_MODE (x4) != E_HImode
168 4 : || !register_operand (operands[0], E_HImode)
169 9329 : || GET_MODE (x3) != E_HImode)
170 : return -1;
171 4 : x6 = XEXP (x4, 0);
172 4 : operands[1] = x6;
173 4 : if (!nonimmediate_operand (operands[1], E_HImode))
174 : return -1;
175 4 : x7 = XEXP (x4, 1);
176 4 : operands[2] = x7;
177 4 : if (!general_operand (operands[2], E_HImode))
178 : return -1;
179 4 : x5 = XEXP (x3, 1);
180 4 : if (!rtx_equal_p (x5, operands[1]))
181 4 : return -1;
182 : return 10;
183 :
184 : default:
185 : return -1;
186 : }
187 : }
188 :
189 : int
190 98 : pattern28 (rtx x1)
191 : {
192 98 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
193 98 : int res ATTRIBUTE_UNUSED;
194 98 : switch (GET_MODE (operands[0]))
195 : {
196 64 : case E_V4SImode:
197 64 : if (!register_operand (operands[0], E_V4SImode)
198 64 : || GET_MODE (x1) != E_V4SImode)
199 13 : return -1;
200 : return 0;
201 :
202 34 : case E_V4DImode:
203 34 : if (!register_operand (operands[0], E_V4DImode)
204 34 : || GET_MODE (x1) != E_V4DImode)
205 9 : return -1;
206 : return 1;
207 :
208 : default:
209 : return -1;
210 : }
211 : }
212 :
213 : int
214 1095 : pattern31 (rtx x1)
215 : {
216 1095 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
217 1095 : int res ATTRIBUTE_UNUSED;
218 1095 : if (!register_operand (operands[0], E_V1TImode)
219 1080 : || GET_MODE (x1) != E_V1TImode
220 1080 : || !register_operand (operands[1], E_V1TImode)
221 2163 : || !const_0_to_255_operand (operands[2], E_SImode))
222 27 : return -1;
223 : return 0;
224 : }
225 :
226 : int
227 167325 : pattern34 (rtx x1)
228 : {
229 167325 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
230 167325 : rtx x2, x3, x4, x5;
231 167325 : int res ATTRIBUTE_UNUSED;
232 167325 : x2 = XEXP (x1, 0);
233 167325 : operands[0] = x2;
234 167325 : x3 = XEXP (x1, 1);
235 167325 : x4 = XEXP (x3, 0);
236 167325 : operands[1] = x4;
237 167325 : x5 = XEXP (x3, 1);
238 167325 : operands[2] = x5;
239 167325 : switch (GET_MODE (operands[0]))
240 : {
241 421 : case E_V32QImode:
242 421 : return pattern3 (x3,
243 421 : E_V32QImode); /* [-1, 0] */
244 :
245 808 : case E_V16HImode:
246 808 : if (pattern3 (x3,
247 : E_V16HImode) != 0)
248 100 : return -1;
249 : return 1;
250 :
251 1140 : case E_V8SImode:
252 1140 : if (pattern3 (x3,
253 : E_V8SImode) != 0)
254 329 : return -1;
255 : return 2;
256 :
257 142 : case E_V16SImode:
258 142 : if (pattern3 (x3,
259 : E_V16SImode) != 0)
260 22 : return -1;
261 : return 3;
262 :
263 3743 : case E_V4SImode:
264 3743 : if (!register_operand (operands[0], E_V4SImode)
265 3743 : || GET_MODE (x3) != E_V4SImode)
266 36 : return -1;
267 : return 4;
268 :
269 1691 : case E_V8DImode:
270 1691 : if (pattern3 (x3,
271 : E_V8DImode) != 0)
272 795 : return -1;
273 : return 5;
274 :
275 304 : case E_V4DImode:
276 304 : if (pattern3 (x3,
277 : E_V4DImode) != 0)
278 4 : return -1;
279 : return 6;
280 :
281 154 : case E_V2DImode:
282 154 : if (pattern3 (x3,
283 : E_V2DImode) != 0)
284 14 : return -1;
285 : return 7;
286 :
287 170 : case E_V64QImode:
288 170 : if (pattern3 (x3,
289 : E_V64QImode) != 0)
290 44 : return -1;
291 : return 8;
292 :
293 10324 : case E_V16QImode:
294 10324 : if (!register_operand (operands[0], E_V16QImode)
295 10324 : || GET_MODE (x3) != E_V16QImode)
296 63 : return -1;
297 : return 9;
298 :
299 172 : case E_V32HImode:
300 172 : if (pattern3 (x3,
301 : E_V32HImode) != 0)
302 44 : return -1;
303 : return 10;
304 :
305 5433 : case E_V8HImode:
306 5433 : if (!register_operand (operands[0], E_V8HImode)
307 5433 : || GET_MODE (x3) != E_V8HImode)
308 38 : return -1;
309 : return 11;
310 :
311 : default:
312 : return -1;
313 : }
314 : }
315 :
316 : int
317 79215 : pattern36 (rtx x1)
318 : {
319 79215 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
320 79215 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
321 79215 : rtx x10, x11, x12;
322 79215 : int res ATTRIBUTE_UNUSED;
323 79215 : x2 = XVECEXP (x1, 0, 0);
324 79215 : if (GET_CODE (x2) != SET)
325 : return -1;
326 29985 : x3 = XEXP (x2, 1);
327 29985 : if (GET_CODE (x3) != COMPARE
328 271 : || GET_MODE (x3) != E_CCmode)
329 : return -1;
330 271 : x4 = XEXP (x3, 0);
331 271 : if (GET_CODE (x4) != MEM
332 271 : || GET_MODE (x4) != E_BLKmode)
333 : return -1;
334 271 : x5 = XEXP (x3, 1);
335 271 : if (GET_CODE (x5) != MEM
336 271 : || GET_MODE (x5) != E_BLKmode)
337 : return -1;
338 271 : x6 = XEXP (x2, 0);
339 271 : if (GET_CODE (x6) != REG
340 271 : || REGNO (x6) != 17
341 542 : || GET_MODE (x6) != E_CCmode)
342 : return -1;
343 271 : x7 = XVECEXP (x1, 0, 1);
344 271 : if (GET_CODE (x7) != USE)
345 : return -1;
346 271 : x8 = XVECEXP (x1, 0, 2);
347 271 : if (GET_CODE (x8) != USE)
348 : return -1;
349 0 : x9 = XVECEXP (x1, 0, 3);
350 0 : if (GET_CODE (x9) != CLOBBER)
351 : return -1;
352 0 : x10 = XVECEXP (x1, 0, 4);
353 0 : if (GET_CODE (x10) != CLOBBER)
354 : return -1;
355 0 : x11 = XVECEXP (x1, 0, 5);
356 0 : if (GET_CODE (x11) != CLOBBER)
357 : return -1;
358 0 : x12 = XEXP (x4, 0);
359 0 : operands[4] = x12;
360 0 : return 0;
361 : }
362 :
363 : int
364 0 : pattern39 (rtx x1, machine_mode i1, machine_mode i2)
365 : {
366 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
367 0 : rtx x2, x3, x4;
368 0 : int res ATTRIBUTE_UNUSED;
369 0 : x2 = XEXP (x1, 1);
370 0 : operands[3] = x2;
371 0 : if (!const_int_operand (operands[3], E_QImode))
372 : return -1;
373 0 : x3 = XEXP (x1, 0);
374 0 : switch (GET_CODE (x3))
375 : {
376 0 : case REG:
377 0 : case SUBREG:
378 0 : operands[2] = x3;
379 0 : if (!register_operand (operands[2], i1))
380 0 : return -1;
381 : return 0;
382 :
383 0 : case SIGN_EXTEND:
384 0 : if (GET_MODE (x3) != i1)
385 : return -1;
386 0 : x4 = XEXP (x3, 0);
387 0 : operands[2] = x4;
388 0 : if (!nonimmediate_operand (operands[2], i2))
389 0 : return -1;
390 : return 1;
391 :
392 0 : case ZERO_EXTEND:
393 0 : if (GET_MODE (x3) != i1)
394 : return -1;
395 0 : x4 = XEXP (x3, 0);
396 0 : operands[2] = x4;
397 0 : if (!nonimmediate_operand (operands[2], i2))
398 0 : return -1;
399 : return 2;
400 :
401 : default:
402 : return -1;
403 : }
404 : }
405 :
406 : int
407 61915 : pattern42 (rtx x1)
408 : {
409 61915 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
410 61915 : rtx x2, x3, x4, x5;
411 61915 : int res ATTRIBUTE_UNUSED;
412 61915 : x2 = XEXP (x1, 0);
413 61915 : x3 = XEXP (x2, 0);
414 61915 : if (GET_MODE (x3) != E_TImode
415 1660 : || !nonimmediate_operand (operands[0], E_TImode)
416 1660 : || GET_MODE (x1) != E_TImode
417 63575 : || GET_MODE (x2) != E_TImode)
418 : return -1;
419 1660 : x4 = XEXP (x3, 0);
420 1660 : operands[1] = x4;
421 1660 : if (!nonimmediate_operand (operands[1], E_DImode))
422 : return -1;
423 1194 : x5 = XEXP (x1, 1);
424 1194 : return pattern41 (x5,
425 : E_DImode,
426 1194 : E_TImode); /* [-1, 1] */
427 : }
428 :
429 : int
430 182735 : pattern46 (rtx x1, machine_mode i1, machine_mode i2)
431 : {
432 182735 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
433 182735 : rtx x2, x3, x4;
434 182735 : int res ATTRIBUTE_UNUSED;
435 182735 : if (!register_operand (operands[0], i2)
436 182735 : || GET_MODE (x1) != i2)
437 : return -1;
438 182490 : x2 = XEXP (x1, 0);
439 182490 : x3 = XEXP (x2, 0);
440 182490 : operands[1] = x3;
441 182490 : if (!nonimmediate_operand (operands[1], i1))
442 : return -1;
443 138057 : x4 = XEXP (x1, 1);
444 138057 : operands[2] = x4;
445 138057 : if (!const_int_operand (operands[2], E_QImode))
446 875 : return -1;
447 : return 0;
448 : }
449 :
450 : int
451 262560 : pattern50 (rtx x1)
452 : {
453 262560 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
454 262560 : rtx x2, x3, x4, x5, x6, x7, x8;
455 262560 : int res ATTRIBUTE_UNUSED;
456 262560 : x2 = XEXP (x1, 1);
457 262560 : x3 = XEXP (x2, 1);
458 262560 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
459 : return -1;
460 260708 : x4 = XEXP (x1, 0);
461 260708 : operands[0] = x4;
462 260708 : if (!flags_reg_operand (operands[0], E_VOIDmode))
463 : return -1;
464 260708 : operands[1] = x2;
465 260708 : if (!compare_operator (operands[1], E_VOIDmode))
466 : return -1;
467 260708 : x5 = XEXP (x2, 0);
468 260708 : x6 = XEXP (x5, 0);
469 260708 : operands[2] = x6;
470 260708 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
471 : return -1;
472 200872 : x7 = XEXP (x5, 1);
473 200872 : operands[3] = x7;
474 200872 : if (!const_int_operand (operands[3], E_QImode))
475 : return -1;
476 200872 : x8 = XEXP (x5, 2);
477 200872 : operands[4] = x8;
478 200872 : if (!const_int_operand (operands[4], E_QImode))
479 : return -1;
480 190989 : switch (GET_MODE (x5))
481 : {
482 : case E_HImode:
483 : return 0;
484 :
485 : case E_SImode:
486 : return 1;
487 :
488 : case E_DImode:
489 : return 2;
490 :
491 : default:
492 : return -1;
493 : }
494 : }
495 :
496 : int
497 13332 : pattern59 (rtx x1, machine_mode i1)
498 : {
499 13332 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
500 13332 : rtx x2;
501 13332 : int res ATTRIBUTE_UNUSED;
502 13332 : if (!register_operand (operands[0], i1)
503 13332 : || GET_MODE (x1) != i1)
504 : return -1;
505 9539 : x2 = XEXP (x1, 0);
506 9539 : if (GET_MODE (x2) != i1
507 9539 : || !register_no_SP_operand (operands[1], i1)
508 6535 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
509 13463 : || !const_int_operand (operands[3], E_VOIDmode))
510 5615 : return -1;
511 : return 0;
512 : }
513 :
514 : int
515 21746 : pattern61 (rtx x1, machine_mode i1, machine_mode i2)
516 : {
517 21746 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
518 21746 : rtx x2, x3;
519 21746 : int res ATTRIBUTE_UNUSED;
520 21746 : if (!nonimmediate_operand (operands[0], i2)
521 21746 : || GET_MODE (x1) != i2)
522 : return -1;
523 21746 : x2 = XEXP (x1, 0);
524 21746 : if (GET_MODE (x2) != i2
525 21746 : || !register_operand (operands[1], i2))
526 : return -1;
527 21728 : x3 = XEXP (x1, 1);
528 21728 : if (GET_MODE (x3) != i2
529 21728 : || !nonimmediate_operand (operands[3], i1))
530 14502 : return -1;
531 : return 0;
532 : }
533 :
534 : int
535 6905 : pattern66 (rtx x1, machine_mode i1, machine_mode i2)
536 : {
537 6905 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
538 6905 : rtx x2, x3;
539 6905 : int res ATTRIBUTE_UNUSED;
540 6905 : if (!nonimmediate_operand (operands[0], i1)
541 6905 : || GET_MODE (x1) != i1)
542 : return -1;
543 6889 : x2 = XEXP (x1, 0);
544 6889 : if (GET_MODE (x2) != i1)
545 : return -1;
546 6889 : x3 = XEXP (x2, 0);
547 6889 : if (GET_MODE (x3) != i1
548 6889 : || !nonimmediate_operand (operands[1], i2)
549 9847 : || !const_scalar_int_operand (operands[3], i1))
550 3931 : return -1;
551 : return 0;
552 : }
553 :
554 : int
555 0 : pattern68 (rtx x1, machine_mode i1, machine_mode i2)
556 : {
557 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
558 0 : rtx x2, x3;
559 0 : int res ATTRIBUTE_UNUSED;
560 0 : if (!nonimmediate_operand (operands[0], i1)
561 0 : || GET_MODE (x1) != i1)
562 : return -1;
563 0 : x2 = XEXP (x1, 0);
564 0 : if (GET_MODE (x2) != i1
565 0 : || !nonimmediate_operand (operands[1], i2))
566 : return -1;
567 0 : x3 = XEXP (x1, 1);
568 0 : if (GET_MODE (x3) != i1
569 0 : || !register_operand (operands[2], i1))
570 0 : return -1;
571 : return 0;
572 : }
573 :
574 : int
575 2620 : pattern71 (rtx x1, machine_mode i1, machine_mode i2)
576 : {
577 2620 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
578 2620 : rtx x2;
579 2620 : int res ATTRIBUTE_UNUSED;
580 2620 : if (!nonimmediate_operand (operands[0], i1)
581 2620 : || GET_MODE (x1) != i1)
582 : return -1;
583 2618 : x2 = XEXP (x1, 0);
584 2618 : if (GET_MODE (x2) != i1
585 2618 : || !nonimmediate_operand (operands[1], i2)
586 4422 : || !const_scalar_int_operand (operands[2], i1))
587 814 : return -1;
588 : return 0;
589 : }
590 :
591 : int
592 2595 : pattern78 (rtx x1, machine_mode i1)
593 : {
594 2595 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
595 2595 : rtx x2, x3, x4;
596 2595 : int res ATTRIBUTE_UNUSED;
597 2595 : x2 = XEXP (x1, 1);
598 2595 : if (GET_MODE (x2) != E_CCmode)
599 : return -1;
600 2595 : x3 = XEXP (x1, 0);
601 2595 : if (GET_CODE (x3) != REG
602 2595 : || REGNO (x3) != 17
603 5186 : || GET_MODE (x3) != E_CCmode)
604 : return -1;
605 2591 : x4 = XVECEXP (x2, 0, 0);
606 2591 : operands[0] = x4;
607 2591 : if (!register_operand (operands[0], i1))
608 1922 : return -1;
609 : return 0;
610 : }
611 :
612 : int
613 11529715 : pattern79 (rtx x1, machine_mode i1, unsigned int i2)
614 : {
615 11529715 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
616 11529715 : rtx x2, x3;
617 11529715 : int res ATTRIBUTE_UNUSED;
618 11529715 : x2 = XEXP (x1, 1);
619 11529715 : if (GET_MODE (x2) != i1)
620 : return -1;
621 3968143 : x3 = XEXP (x1, 0);
622 3968143 : if (GET_CODE (x3) != REG
623 3523851 : || REGNO (x3) != i2
624 7460276 : || GET_MODE (x3) != i1)
625 476010 : return -1;
626 : return 0;
627 : }
628 :
629 : int
630 3091 : pattern81 (rtx x1)
631 : {
632 3091 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
633 3091 : rtx x2, x3, x4;
634 3091 : int res ATTRIBUTE_UNUSED;
635 3091 : x2 = XEXP (x1, 0);
636 3091 : operands[0] = x2;
637 3091 : x3 = XEXP (x1, 1);
638 3091 : x4 = XVECEXP (x3, 0, 0);
639 3091 : operands[1] = x4;
640 3091 : switch (GET_MODE (operands[0]))
641 : {
642 223 : case E_SFmode:
643 223 : if (!register_operand (operands[0], E_SFmode)
644 223 : || GET_MODE (x3) != E_SFmode
645 446 : || !nonimmediate_operand (operands[1], E_SFmode))
646 30 : return -1;
647 : return 0;
648 :
649 356 : case E_HFmode:
650 356 : if (!register_operand (operands[0], E_HFmode)
651 356 : || GET_MODE (x3) != E_HFmode
652 712 : || !nonimmediate_operand (operands[1], E_HFmode))
653 0 : return -1;
654 : return 1;
655 :
656 : default:
657 : return -1;
658 : }
659 : }
660 :
661 : int
662 16062 : pattern87 (rtx x1, machine_mode i1)
663 : {
664 16062 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
665 16062 : int res ATTRIBUTE_UNUSED;
666 16062 : if (!register_operand (operands[0], i1)
667 15575 : || GET_MODE (x1) != i1
668 15575 : || !register_operand (operands[1], E_V4HImode)
669 26683 : || !register_mmxmem_operand (operands[2], E_V4HImode))
670 8887 : return -1;
671 : return 0;
672 : }
673 :
674 : int
675 13859 : pattern90 (rtx x1)
676 : {
677 13859 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
678 13859 : int res ATTRIBUTE_UNUSED;
679 13859 : switch (GET_MODE (operands[0]))
680 : {
681 3538 : case E_HImode:
682 3538 : if (!register_operand (operands[0], E_HImode)
683 3538 : || GET_MODE (x1) != E_HImode)
684 : return -1;
685 3484 : switch (GET_MODE (operands[1]))
686 : {
687 865 : case E_V16QImode:
688 865 : if (!register_operand (operands[1], E_V16QImode)
689 865 : || !nonimmediate_operand (operands[2], E_V16QImode))
690 87 : return -1;
691 : return 0;
692 :
693 1398 : case E_V16HImode:
694 1398 : if (!register_operand (operands[1], E_V16HImode)
695 1398 : || !nonimmediate_operand (operands[2], E_V16HImode))
696 151 : return -1;
697 : return 1;
698 :
699 1221 : case E_V16SImode:
700 1221 : if (!register_operand (operands[1], E_V16SImode)
701 1221 : || !nonimmediate_operand (operands[2], E_V16SImode))
702 167 : return -1;
703 : return 2;
704 :
705 : default:
706 : return -1;
707 : }
708 :
709 6744 : case E_QImode:
710 6744 : if (!register_operand (operands[0], E_QImode)
711 6744 : || GET_MODE (x1) != E_QImode)
712 : return -1;
713 6547 : switch (GET_MODE (operands[1]))
714 : {
715 1544 : case E_V8HImode:
716 1544 : if (!register_operand (operands[1], E_V8HImode)
717 1544 : || !nonimmediate_operand (operands[2], E_V8HImode))
718 83 : return -1;
719 : return 3;
720 :
721 1261 : case E_V8SImode:
722 1261 : if (!register_operand (operands[1], E_V8SImode)
723 1261 : || !nonimmediate_operand (operands[2], E_V8SImode))
724 110 : return -1;
725 : return 4;
726 :
727 856 : case E_V4SImode:
728 856 : if (!register_operand (operands[1], E_V4SImode)
729 856 : || !nonimmediate_operand (operands[2], E_V4SImode))
730 76 : return -1;
731 : return 5;
732 :
733 1132 : case E_V8DImode:
734 1132 : if (!register_operand (operands[1], E_V8DImode)
735 1132 : || !nonimmediate_operand (operands[2], E_V8DImode))
736 120 : return -1;
737 : return 6;
738 :
739 1039 : case E_V4DImode:
740 1039 : if (!register_operand (operands[1], E_V4DImode)
741 1039 : || !nonimmediate_operand (operands[2], E_V4DImode))
742 98 : return -1;
743 : return 7;
744 :
745 715 : case E_V2DImode:
746 715 : if (!register_operand (operands[1], E_V2DImode)
747 715 : || !nonimmediate_operand (operands[2], E_V2DImode))
748 68 : return -1;
749 : return 8;
750 :
751 : default:
752 : return -1;
753 : }
754 :
755 : default:
756 : return -1;
757 : }
758 : }
759 :
760 : int
761 12210 : pattern112 (rtx x1, int *pnum_clobbers)
762 : {
763 12210 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
764 12210 : rtx x2, x3, x4, x5, x6, x7;
765 12210 : int res ATTRIBUTE_UNUSED;
766 12210 : if (pnum_clobbers == NULL)
767 : return -1;
768 12210 : x2 = XEXP (x1, 1);
769 12210 : x3 = XEXP (x2, 0);
770 12210 : operands[2] = x3;
771 12210 : x4 = XEXP (x3, 0);
772 12210 : if (GET_CODE (x4) != REG
773 12210 : || REGNO (x4) != 17)
774 : return -1;
775 8167 : x5 = XEXP (x3, 1);
776 8167 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
777 : return -1;
778 8167 : x6 = XEXP (x1, 0);
779 8167 : operands[0] = x6;
780 8167 : x7 = XEXP (x2, 1);
781 8167 : operands[1] = x7;
782 8167 : switch (GET_MODE (operands[0]))
783 : {
784 : case E_QImode:
785 : return 0;
786 :
787 28 : case E_HImode:
788 28 : return 1;
789 :
790 : default:
791 : return -1;
792 : }
793 : }
794 :
795 : int
796 18895 : pattern116 (rtx x1)
797 : {
798 18895 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
799 18895 : rtx x2, x3, x4, x5, x6, x7, x8;
800 18895 : int res ATTRIBUTE_UNUSED;
801 18895 : x2 = XEXP (x1, 1);
802 18895 : x3 = XEXP (x2, 0);
803 18895 : x4 = XEXP (x3, 1);
804 18895 : if (GET_CODE (x4) != PARALLEL)
805 : return -1;
806 18895 : x5 = XEXP (x2, 1);
807 18895 : if (GET_CODE (x5) != VEC_SELECT)
808 : return -1;
809 3388 : x6 = XEXP (x5, 1);
810 3388 : if (GET_CODE (x6) != PARALLEL)
811 : return -1;
812 3388 : x7 = XEXP (x1, 0);
813 3388 : operands[0] = x7;
814 3388 : x8 = XEXP (x3, 0);
815 3388 : switch (GET_CODE (x8))
816 : {
817 : case REG:
818 : case SUBREG:
819 : return 0;
820 :
821 1094 : case VEC_CONCAT:
822 1094 : return 1;
823 :
824 : default:
825 : return -1;
826 : }
827 : }
828 :
829 : int
830 610 : pattern122 (rtx x1, machine_mode i1)
831 : {
832 610 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
833 610 : rtx x2;
834 610 : int res ATTRIBUTE_UNUSED;
835 610 : if (!memory_operand (operands[0], i1)
836 610 : || GET_MODE (x1) != i1)
837 : return -1;
838 610 : x2 = XEXP (x1, 0);
839 610 : if (GET_MODE (x2) != i1
840 610 : || !register_operand (operands[1], E_V2DImode))
841 0 : return -1;
842 : return 0;
843 : }
844 :
845 : int
846 12726 : pattern125 (rtx x1)
847 : {
848 12726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
849 12726 : rtx x2, x3, x4, x5;
850 12726 : int res ATTRIBUTE_UNUSED;
851 12726 : x2 = XEXP (x1, 0);
852 12726 : x3 = XEXP (x2, 0);
853 12726 : operands[1] = x3;
854 12726 : x4 = XEXP (x1, 2);
855 12726 : operands[2] = x4;
856 12726 : if (!register_operand (operands[2], E_QImode))
857 : return -1;
858 6065 : x5 = XEXP (x1, 1);
859 6065 : if (!rtx_equal_p (x5, operands[0]))
860 : return -1;
861 3131 : switch (GET_MODE (operands[0]))
862 : {
863 205 : case E_V2QImode:
864 205 : return pattern122 (x1,
865 205 : E_V2QImode); /* [-1, 0] */
866 :
867 431 : case E_V4QImode:
868 431 : res = pattern123 (x1,
869 : E_V4QImode);
870 431 : if (res >= 0)
871 431 : return res + 1; /* [1, 2] */
872 : return -1;
873 :
874 685 : case E_V8QImode:
875 685 : if (!memory_operand (operands[0], E_V8QImode)
876 685 : || GET_MODE (x1) != E_V8QImode
877 1370 : || GET_MODE (x2) != E_V8QImode)
878 : return -1;
879 685 : res = pattern124 ();
880 685 : if (res >= 0)
881 685 : return res + 3; /* [3, 5] */
882 : return -1;
883 :
884 434 : case E_V4HImode:
885 434 : res = pattern123 (x1,
886 : E_V4HImode);
887 434 : if (res >= 0)
888 434 : return res + 6; /* [6, 7] */
889 : return -1;
890 :
891 210 : case E_V2HImode:
892 210 : if (pattern122 (x1,
893 : E_V2HImode) != 0)
894 0 : return -1;
895 : return 8;
896 :
897 195 : case E_V2SImode:
898 195 : if (pattern122 (x1,
899 : E_V2SImode) != 0)
900 0 : return -1;
901 : return 9;
902 :
903 : default:
904 : return -1;
905 : }
906 : }
907 :
908 : int
909 34387 : pattern134 (rtx x1)
910 : {
911 34387 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
912 34387 : rtx x2, x3, x4;
913 34387 : int res ATTRIBUTE_UNUSED;
914 34387 : x2 = XEXP (x1, 0);
915 34387 : x3 = XEXP (x2, 0);
916 34387 : operands[1] = x3;
917 34387 : x4 = XEXP (x2, 1);
918 34387 : operands[2] = x4;
919 34387 : switch (GET_MODE (operands[0]))
920 : {
921 26135 : case E_DImode:
922 26135 : if (!register_operand (operands[0], E_DImode)
923 26135 : || GET_MODE (x1) != E_DImode)
924 : return -1;
925 26017 : switch (GET_MODE (x2))
926 : {
927 21819 : case E_SImode:
928 21819 : if (!nonimmediate_operand (operands[1], E_SImode))
929 1577 : return -1;
930 : return 0;
931 :
932 3103 : case E_QImode:
933 3103 : if (!nonimmediate_operand (operands[1], E_QImode)
934 3103 : || !nonmemory_operand (operands[2], E_QImode))
935 152 : return -1;
936 : return 1;
937 :
938 1095 : case E_HImode:
939 1095 : if (!nonimmediate_operand (operands[1], E_HImode)
940 1095 : || !nonmemory_operand (operands[2], E_QImode))
941 12 : return -1;
942 : return 2;
943 :
944 : default:
945 : return -1;
946 : }
947 :
948 7472 : case E_SImode:
949 7472 : if (!register_operand (operands[0], E_SImode)
950 7472 : || GET_MODE (x1) != E_SImode
951 14944 : || !nonmemory_operand (operands[2], E_QImode))
952 : return -1;
953 7332 : switch (GET_MODE (x2))
954 : {
955 5477 : case E_QImode:
956 5477 : if (!nonimmediate_operand (operands[1], E_QImode))
957 199 : return -1;
958 : return 3;
959 :
960 1855 : case E_HImode:
961 1855 : if (!nonimmediate_operand (operands[1], E_HImode))
962 0 : return -1;
963 : return 4;
964 :
965 : default:
966 : return -1;
967 : }
968 :
969 : default:
970 : return -1;
971 : }
972 : }
973 :
974 : int
975 102117 : pattern145 (rtx x1, machine_mode i1, machine_mode i2)
976 : {
977 102117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
978 102117 : rtx x2, x3, x4, x5, x6;
979 102117 : int res ATTRIBUTE_UNUSED;
980 102117 : x2 = XEXP (x1, 0);
981 102117 : x3 = XEXP (x2, 0);
982 102117 : if (GET_MODE (x3) != i2
983 62022 : || !nonimmediate_operand (operands[0], i2)
984 61895 : || GET_MODE (x1) != i2
985 164012 : || GET_MODE (x2) != i2)
986 : return -1;
987 61895 : x4 = XEXP (x3, 0);
988 61895 : operands[1] = x4;
989 61895 : if (!nonimmediate_operand (operands[1], i1))
990 : return -1;
991 56040 : x5 = XEXP (x2, 1);
992 56040 : operands[2] = x5;
993 56040 : x6 = XEXP (x1, 1);
994 56040 : return pattern41 (x6,
995 : i1,
996 56040 : i2); /* [-1, 1] */
997 : }
998 :
999 : int
1000 271 : pattern150 (rtx x1)
1001 : {
1002 271 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1003 271 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1004 271 : rtx x10, x11, x12;
1005 271 : int res ATTRIBUTE_UNUSED;
1006 271 : x2 = XEXP (x1, 0);
1007 271 : x3 = XEXP (x2, 1);
1008 271 : if (GET_MODE (x3) != E_QImode)
1009 : return -1;
1010 220 : x4 = XEXP (x3, 1);
1011 220 : if (GET_CODE (x4) != CONST_INT)
1012 : return -1;
1013 220 : x5 = XEXP (x1, 1);
1014 220 : if (GET_CODE (x5) != SUBREG
1015 220 : || maybe_ne (SUBREG_BYTE (x5), 0))
1016 : return -1;
1017 206 : x6 = XEXP (x5, 0);
1018 206 : if (GET_CODE (x6) != ASHIFT)
1019 : return -1;
1020 206 : x7 = XEXP (x6, 0);
1021 206 : if (GET_CODE (x7) != ZERO_EXTEND)
1022 : return -1;
1023 206 : x8 = XEXP (x6, 1);
1024 206 : if (GET_CODE (x8) != MINUS
1025 206 : || GET_MODE (x8) != E_QImode)
1026 : return -1;
1027 206 : x9 = XEXP (x8, 0);
1028 206 : if (GET_CODE (x9) != CONST_INT)
1029 : return -1;
1030 206 : x10 = XEXP (x8, 1);
1031 206 : if (GET_CODE (x10) != AND
1032 206 : || GET_MODE (x10) != E_QImode)
1033 : return -1;
1034 206 : x11 = XEXP (x10, 1);
1035 206 : if (GET_CODE (x11) != CONST_INT)
1036 : return -1;
1037 206 : x12 = XEXP (x3, 0);
1038 206 : if (!nonmemory_operand (x12, E_QImode))
1039 : return -1;
1040 202 : switch (XWINT (x4, 0))
1041 : {
1042 199 : case 63L:
1043 199 : return pattern143 (x1); /* [-1, 0] */
1044 :
1045 1 : case 31L:
1046 1 : if (XWINT (x9, 0) != 32L
1047 1 : || XWINT (x11, 0) != 31L
1048 2 : || pattern142 (x1,
1049 : E_SImode,
1050 : E_DImode) != 0)
1051 0 : return -1;
1052 : return 1;
1053 :
1054 : default:
1055 : return -1;
1056 : }
1057 : }
1058 :
1059 : int
1060 1472 : pattern159 (rtx x1)
1061 : {
1062 1472 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1063 1472 : rtx x2, x3, x4;
1064 1472 : int res ATTRIBUTE_UNUSED;
1065 1472 : x2 = XEXP (x1, 0);
1066 1472 : operands[0] = x2;
1067 1472 : x3 = XEXP (x1, 1);
1068 1472 : x4 = XVECEXP (x3, 0, 0);
1069 1472 : operands[1] = x4;
1070 1472 : switch (GET_MODE (operands[0]))
1071 : {
1072 703 : case E_SImode:
1073 703 : if (!memory_operand (operands[0], E_SImode)
1074 664 : || GET_MODE (x3) != E_SImode
1075 1367 : || !register_operand (operands[1], E_SImode))
1076 117 : return -1;
1077 : return 0;
1078 :
1079 146 : case E_DImode:
1080 146 : if (!memory_operand (operands[0], E_DImode)
1081 140 : || GET_MODE (x3) != E_DImode
1082 286 : || !register_operand (operands[1], E_DImode))
1083 15 : return -1;
1084 : return 1;
1085 :
1086 : default:
1087 : return -1;
1088 : }
1089 : }
1090 :
1091 : int
1092 1055 : pattern165 (rtx x1)
1093 : {
1094 1055 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1095 1055 : rtx x2, x3, x4;
1096 1055 : int res ATTRIBUTE_UNUSED;
1097 1055 : x2 = XEXP (x1, 0);
1098 1055 : operands[0] = x2;
1099 1055 : x3 = XEXP (x1, 1);
1100 1055 : x4 = XVECEXP (x3, 0, 0);
1101 1055 : operands[1] = x4;
1102 1055 : switch (GET_MODE (operands[0]))
1103 : {
1104 310 : case E_SImode:
1105 310 : if (!register_operand (operands[0], E_SImode)
1106 310 : || GET_MODE (x3) != E_SImode
1107 620 : || !register_operand (operands[1], E_SImode))
1108 180 : return -1;
1109 : return 0;
1110 :
1111 745 : case E_DImode:
1112 745 : if (!register_operand (operands[0], E_DImode)
1113 721 : || GET_MODE (x3) != E_DImode
1114 1466 : || !register_operand (operands[1], E_DImode))
1115 425 : return -1;
1116 : return 1;
1117 :
1118 : default:
1119 : return -1;
1120 : }
1121 : }
1122 :
1123 : int
1124 900 : pattern171 (rtx x1, machine_mode i1)
1125 : {
1126 900 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1127 900 : rtx x2;
1128 900 : int res ATTRIBUTE_UNUSED;
1129 900 : if (!register_operand (operands[0], i1)
1130 900 : || GET_MODE (x1) != i1)
1131 : return -1;
1132 876 : x2 = XEXP (x1, 0);
1133 876 : if (GET_MODE (x2) != i1
1134 876 : || !register_operand (operands[1], i1)
1135 1692 : || !nonimmediate_operand (operands[2], i1))
1136 112 : return -1;
1137 : return 0;
1138 : }
1139 :
1140 : int
1141 10688 : pattern176 (rtx x1, machine_mode i1, machine_mode i2)
1142 : {
1143 10688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1144 10688 : rtx x2;
1145 10688 : int res ATTRIBUTE_UNUSED;
1146 10688 : if (!register_operand (operands[0], i1)
1147 10688 : || GET_MODE (x1) != i1)
1148 : return -1;
1149 10018 : x2 = XEXP (x1, 0);
1150 10018 : if (GET_MODE (x2) != i1
1151 10018 : || !nonimm_or_0_operand (operands[2], i1)
1152 19584 : || !register_operand (operands[3], i2))
1153 827 : return -1;
1154 : return 0;
1155 : }
1156 :
1157 : int
1158 6919 : pattern180 (rtx x1)
1159 : {
1160 6919 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1161 6919 : rtx x2, x3, x4, x5;
1162 6919 : int res ATTRIBUTE_UNUSED;
1163 6919 : x2 = XEXP (x1, 0);
1164 6919 : x3 = XEXP (x2, 0);
1165 6919 : operands[1] = x3;
1166 6919 : x4 = XEXP (x1, 1);
1167 6919 : operands[2] = x4;
1168 6919 : x5 = XEXP (x1, 2);
1169 6919 : operands[3] = x5;
1170 6919 : switch (GET_MODE (operands[0]))
1171 : {
1172 1644 : case E_V16QImode:
1173 1644 : if (!nonimmediate_operand (operands[0], E_V16QImode)
1174 1644 : || GET_MODE (x1) != E_V16QImode
1175 1644 : || GET_MODE (x2) != E_V16QImode
1176 1644 : || !nonimm_or_0_operand (operands[2], E_V16QImode)
1177 3282 : || !register_operand (operands[3], E_HImode))
1178 : return -1;
1179 1590 : switch (GET_MODE (operands[1]))
1180 : {
1181 795 : case E_V16SImode:
1182 795 : if (!register_operand (operands[1], E_V16SImode))
1183 0 : return -1;
1184 : return 0;
1185 :
1186 795 : case E_V16HImode:
1187 795 : if (!register_operand (operands[1], E_V16HImode))
1188 0 : return -1;
1189 : return 1;
1190 :
1191 : default:
1192 : return -1;
1193 : }
1194 :
1195 912 : case E_V16HImode:
1196 912 : if (pattern179 (x1,
1197 : E_V16HImode,
1198 : E_HImode,
1199 : E_V16SImode) != 0)
1200 69 : return -1;
1201 : return 2;
1202 :
1203 885 : case E_V8SImode:
1204 885 : if (pattern179 (x1,
1205 : E_V8SImode,
1206 : E_QImode,
1207 : E_V8DImode) != 0)
1208 69 : return -1;
1209 : return 3;
1210 :
1211 1620 : case E_V8HImode:
1212 1620 : if (!nonimmediate_operand (operands[0], E_V8HImode)
1213 1620 : || GET_MODE (x1) != E_V8HImode
1214 1620 : || GET_MODE (x2) != E_V8HImode
1215 1620 : || !nonimm_or_0_operand (operands[2], E_V8HImode)
1216 3234 : || !register_operand (operands[3], E_QImode))
1217 : return -1;
1218 1566 : switch (GET_MODE (operands[1]))
1219 : {
1220 775 : case E_V8DImode:
1221 775 : if (!register_operand (operands[1], E_V8DImode))
1222 1 : return -1;
1223 : return 4;
1224 :
1225 791 : case E_V8SImode:
1226 791 : if (!register_operand (operands[1], E_V8SImode))
1227 1 : return -1;
1228 : return 5;
1229 :
1230 : default:
1231 : return -1;
1232 : }
1233 :
1234 909 : case E_V32QImode:
1235 909 : if (pattern179 (x1,
1236 : E_V32QImode,
1237 : E_SImode,
1238 : E_V32HImode) != 0)
1239 66 : return -1;
1240 : return 6;
1241 :
1242 772 : case E_V4SImode:
1243 772 : if (pattern179 (x1,
1244 : E_V4SImode,
1245 : E_QImode,
1246 : E_V4DImode) != 0)
1247 25 : return -1;
1248 : return 7;
1249 :
1250 : default:
1251 : return -1;
1252 : }
1253 : }
1254 :
1255 : int
1256 673 : pattern187 (rtx x1, machine_mode i1)
1257 : {
1258 673 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1259 673 : rtx x2;
1260 673 : int res ATTRIBUTE_UNUSED;
1261 673 : if (!register_operand (operands[0], E_V16HImode)
1262 673 : || GET_MODE (x1) != E_V16HImode)
1263 : return -1;
1264 638 : x2 = XEXP (x1, 0);
1265 638 : if (GET_MODE (x2) != E_V16HImode
1266 638 : || !nonimmediate_operand (operands[1], i1)
1267 626 : || !nonimm_or_0_operand (operands[2], E_V16HImode)
1268 1246 : || !register_operand (operands[3], E_HImode))
1269 78 : return -1;
1270 : return 0;
1271 : }
1272 :
1273 : int
1274 3708 : pattern189 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1275 : {
1276 3708 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1277 3708 : rtx x2;
1278 3708 : int res ATTRIBUTE_UNUSED;
1279 3708 : if (!register_operand (operands[0], i1)
1280 3708 : || GET_MODE (x1) != i1)
1281 : return -1;
1282 3593 : x2 = XEXP (x1, 0);
1283 3593 : if (GET_MODE (x2) != i1
1284 3593 : || !nonimmediate_operand (operands[1], i2)
1285 3591 : || !nonimm_or_0_operand (operands[2], i1)
1286 7136 : || !register_operand (operands[3], i3))
1287 167 : return -1;
1288 : return 0;
1289 : }
1290 :
1291 : int
1292 8724 : pattern191 (rtx x1)
1293 : {
1294 8724 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1295 8724 : rtx x2, x3, x4, x5, x6;
1296 8724 : int res ATTRIBUTE_UNUSED;
1297 8724 : x2 = XEXP (x1, 1);
1298 8724 : operands[2] = x2;
1299 8724 : x3 = XEXP (x1, 2);
1300 8724 : operands[3] = x3;
1301 8724 : x4 = XEXP (x1, 0);
1302 8724 : x5 = XEXP (x4, 0);
1303 8724 : switch (GET_CODE (x5))
1304 : {
1305 4105 : case REG:
1306 4105 : case SUBREG:
1307 4105 : case MEM:
1308 4105 : operands[1] = x5;
1309 4105 : switch (GET_MODE (operands[0]))
1310 : {
1311 488 : case E_V16HImode:
1312 488 : return pattern189 (x1,
1313 : E_V16HImode,
1314 : E_V16QImode,
1315 488 : E_HImode); /* [-1, 0] */
1316 :
1317 566 : case E_V32HImode:
1318 566 : if (pattern189 (x1,
1319 : E_V32HImode,
1320 : E_V32QImode,
1321 : E_SImode) != 0)
1322 75 : return -1;
1323 : return 1;
1324 :
1325 9 : case E_V8HImode:
1326 9 : if (pattern190 (x1,
1327 : E_V8HImode,
1328 : E_V8QImode) != 0)
1329 3 : return -1;
1330 : return 2;
1331 :
1332 1016 : case E_V16SImode:
1333 1016 : if (!register_operand (operands[0], E_V16SImode)
1334 976 : || GET_MODE (x1) != E_V16SImode
1335 976 : || GET_MODE (x4) != E_V16SImode
1336 976 : || !nonimm_or_0_operand (operands[2], E_V16SImode)
1337 1960 : || !register_operand (operands[3], E_HImode))
1338 : return -1;
1339 871 : switch (GET_MODE (operands[1]))
1340 : {
1341 382 : case E_V16QImode:
1342 382 : if (!nonimmediate_operand (operands[1], E_V16QImode))
1343 0 : return -1;
1344 : return 3;
1345 :
1346 489 : case E_V16HImode:
1347 489 : if (!nonimmediate_operand (operands[1], E_V16HImode))
1348 0 : return -1;
1349 : return 4;
1350 :
1351 : default:
1352 : return -1;
1353 : }
1354 :
1355 504 : case E_V8SImode:
1356 504 : if (!register_operand (operands[0], E_V8SImode)
1357 479 : || GET_MODE (x1) != E_V8SImode
1358 479 : || GET_MODE (x4) != E_V8SImode
1359 479 : || !nonimm_or_0_operand (operands[2], E_V8SImode)
1360 971 : || !register_operand (operands[3], E_QImode))
1361 : return -1;
1362 424 : switch (GET_MODE (operands[1]))
1363 : {
1364 9 : case E_V8QImode:
1365 9 : if (!memory_operand (operands[1], E_V8QImode))
1366 0 : return -1;
1367 : return 5;
1368 :
1369 415 : case E_V8HImode:
1370 415 : if (!nonimmediate_operand (operands[1], E_V8HImode))
1371 0 : return -1;
1372 : return 6;
1373 :
1374 : default:
1375 : return -1;
1376 : }
1377 :
1378 18 : case E_V4SImode:
1379 18 : if (!register_operand (operands[0], E_V4SImode)
1380 12 : || GET_MODE (x1) != E_V4SImode
1381 12 : || GET_MODE (x4) != E_V4SImode
1382 12 : || !nonimm_or_0_operand (operands[2], E_V4SImode)
1383 30 : || !register_operand (operands[3], E_QImode))
1384 : return -1;
1385 12 : switch (GET_MODE (operands[1]))
1386 : {
1387 6 : case E_V4QImode:
1388 6 : if (!memory_operand (operands[1], E_V4QImode))
1389 0 : return -1;
1390 : return 7;
1391 :
1392 6 : case E_V4HImode:
1393 6 : if (!memory_operand (operands[1], E_V4HImode))
1394 0 : return -1;
1395 : return 8;
1396 :
1397 : default:
1398 : return -1;
1399 : }
1400 :
1401 1002 : case E_V8DImode:
1402 1002 : if (!register_operand (operands[0], E_V8DImode)
1403 927 : || GET_MODE (x1) != E_V8DImode
1404 927 : || GET_MODE (x4) != E_V8DImode
1405 927 : || !nonimm_or_0_operand (operands[2], E_V8DImode)
1406 1893 : || !register_operand (operands[3], E_QImode))
1407 : return -1;
1408 809 : switch (GET_MODE (operands[1]))
1409 : {
1410 9 : case E_V8QImode:
1411 9 : if (!memory_operand (operands[1], E_V8QImode))
1412 0 : return -1;
1413 : return 9;
1414 :
1415 400 : case E_V8HImode:
1416 400 : if (!nonimmediate_operand (operands[1], E_V8HImode))
1417 0 : return -1;
1418 : return 10;
1419 :
1420 400 : case E_V8SImode:
1421 400 : if (!nonimmediate_operand (operands[1], E_V8SImode))
1422 0 : return -1;
1423 : return 11;
1424 :
1425 : default:
1426 : return -1;
1427 : }
1428 :
1429 484 : case E_V4DImode:
1430 484 : if (!register_operand (operands[0], E_V4DImode)
1431 442 : || GET_MODE (x1) != E_V4DImode
1432 442 : || GET_MODE (x4) != E_V4DImode
1433 442 : || !nonimm_or_0_operand (operands[2], E_V4DImode)
1434 914 : || !register_operand (operands[3], E_QImode))
1435 : return -1;
1436 380 : switch (GET_MODE (operands[1]))
1437 : {
1438 9 : case E_V4QImode:
1439 9 : if (!memory_operand (operands[1], E_V4QImode))
1440 0 : return -1;
1441 : return 12;
1442 :
1443 9 : case E_V4HImode:
1444 9 : if (!memory_operand (operands[1], E_V4HImode))
1445 0 : return -1;
1446 : return 13;
1447 :
1448 362 : case E_V4SImode:
1449 362 : if (!nonimmediate_operand (operands[1], E_V4SImode))
1450 0 : return -1;
1451 : return 14;
1452 :
1453 : default:
1454 : return -1;
1455 : }
1456 :
1457 18 : case E_V2DImode:
1458 18 : if (!register_operand (operands[0], E_V2DImode)
1459 12 : || GET_MODE (x1) != E_V2DImode
1460 12 : || GET_MODE (x4) != E_V2DImode
1461 12 : || !nonimm_or_0_operand (operands[2], E_V2DImode)
1462 30 : || !register_operand (operands[3], E_QImode))
1463 : return -1;
1464 12 : switch (GET_MODE (operands[1]))
1465 : {
1466 0 : case E_V2QImode:
1467 0 : if (!memory_operand (operands[1], E_V2QImode))
1468 0 : return -1;
1469 : return 15;
1470 :
1471 6 : case E_V2HImode:
1472 6 : if (!memory_operand (operands[1], E_V2HImode))
1473 0 : return -1;
1474 : return 16;
1475 :
1476 6 : case E_V2SImode:
1477 6 : if (!memory_operand (operands[1], E_V2SImode))
1478 0 : return -1;
1479 : return 17;
1480 :
1481 : default:
1482 : return -1;
1483 : }
1484 :
1485 : default:
1486 : return -1;
1487 : }
1488 :
1489 4619 : case VEC_SELECT:
1490 4619 : x6 = XEXP (x5, 1);
1491 4619 : if (GET_CODE (x6) != PARALLEL)
1492 0 : return -1;
1493 : return 18;
1494 :
1495 : default:
1496 : return -1;
1497 : }
1498 : }
1499 :
1500 : int
1501 566 : pattern232 (rtx x1, machine_mode i1, machine_mode i2)
1502 : {
1503 566 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1504 566 : rtx x2, x3, x4, x5;
1505 566 : int res ATTRIBUTE_UNUSED;
1506 566 : if (!register_operand (operands[0], i2)
1507 566 : || GET_MODE (x1) != i2)
1508 : return -1;
1509 547 : x2 = XEXP (x1, 0);
1510 547 : if (GET_MODE (x2) != i2)
1511 : return -1;
1512 547 : x3 = XEXP (x2, 0);
1513 547 : if (GET_MODE (x3) != i1
1514 547 : || !register_operand (operands[1], i2)
1515 1078 : || !nonimmediate_operand (operands[2], i2))
1516 : return -1;
1517 531 : x4 = XEXP (x1, 1);
1518 531 : if (GET_MODE (x4) != i2)
1519 : return -1;
1520 531 : x5 = XEXP (x4, 0);
1521 531 : if (GET_MODE (x5) != i1)
1522 0 : return -1;
1523 : return 0;
1524 : }
1525 :
1526 : int
1527 568 : pattern236 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1528 : {
1529 568 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1530 568 : rtx x2, x3, x4, x5;
1531 568 : int res ATTRIBUTE_UNUSED;
1532 568 : if (!register_operand (operands[0], i2)
1533 568 : || GET_MODE (x1) != i2)
1534 : return -1;
1535 550 : x2 = XEXP (x1, 0);
1536 550 : if (GET_MODE (x2) != i2)
1537 : return -1;
1538 550 : x3 = XEXP (x2, 0);
1539 550 : if (GET_MODE (x3) != i1
1540 550 : || !nonimmediate_operand (operands[1], i3))
1541 : return -1;
1542 538 : x4 = XEXP (x1, 1);
1543 538 : if (GET_MODE (x4) != i2)
1544 : return -1;
1545 538 : x5 = XEXP (x4, 0);
1546 538 : if (GET_MODE (x5) != i1)
1547 0 : return -1;
1548 : return 0;
1549 : }
1550 :
1551 : int
1552 16492 : pattern238 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1553 : {
1554 16492 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1555 16492 : rtx x2, x3, x4, x5;
1556 16492 : int res ATTRIBUTE_UNUSED;
1557 16492 : if (!register_operand (operands[0], i3)
1558 16492 : || GET_MODE (x1) != i3)
1559 : return -1;
1560 16446 : x2 = XEXP (x1, 0);
1561 16446 : if (GET_MODE (x2) != i3)
1562 : return -1;
1563 16446 : x3 = XEXP (x2, 0);
1564 16446 : if (GET_MODE (x3) != i2
1565 16446 : || !nonimmediate_operand (operands[1], i1))
1566 : return -1;
1567 14102 : x4 = XEXP (x1, 1);
1568 14102 : if (GET_MODE (x4) != i3)
1569 : return -1;
1570 14102 : x5 = XEXP (x4, 0);
1571 14102 : if (GET_MODE (x5) != i2
1572 14102 : || !nonimmediate_operand (operands[2], i1))
1573 351 : return -1;
1574 : return 0;
1575 : }
1576 :
1577 : int
1578 467750 : pattern239 (rtx x1, rtx_code i1)
1579 : {
1580 467750 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1581 467750 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1582 467750 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
1583 467750 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
1584 467750 : int res ATTRIBUTE_UNUSED;
1585 467750 : x2 = XEXP (x1, 0);
1586 467750 : x3 = XEXP (x2, 0);
1587 467750 : if (GET_CODE (x3) != VEC_SELECT)
1588 : return -1;
1589 216136 : x4 = XEXP (x3, 1);
1590 216136 : if (GET_CODE (x4) != PARALLEL)
1591 : return -1;
1592 216136 : x5 = XEXP (x1, 1);
1593 216136 : if (GET_CODE (x5) != i1)
1594 : return -1;
1595 180538 : x6 = XEXP (x5, 0);
1596 180538 : if (GET_CODE (x6) != VEC_SELECT)
1597 : return -1;
1598 180494 : x7 = XEXP (x6, 1);
1599 180494 : if (GET_CODE (x7) != PARALLEL)
1600 : return -1;
1601 180494 : x8 = XEXP (x3, 0);
1602 180494 : operands[1] = x8;
1603 180494 : x9 = XEXP (x6, 0);
1604 180494 : operands[2] = x9;
1605 180494 : switch (XVECLEN (x4, 0))
1606 : {
1607 5853 : case 8:
1608 5853 : x10 = XVECEXP (x4, 0, 0);
1609 5853 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1610 : return -1;
1611 5853 : x11 = XVECEXP (x4, 0, 1);
1612 5853 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1613 : return -1;
1614 5707 : x12 = XVECEXP (x4, 0, 2);
1615 5707 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1616 : return -1;
1617 5707 : x13 = XVECEXP (x4, 0, 3);
1618 5707 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
1619 : return -1;
1620 5707 : x14 = XVECEXP (x4, 0, 4);
1621 5707 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1622 : return -1;
1623 5707 : x15 = XVECEXP (x4, 0, 5);
1624 5707 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
1625 : return -1;
1626 5707 : x16 = XVECEXP (x4, 0, 6);
1627 5707 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
1628 : return -1;
1629 5707 : x17 = XVECEXP (x4, 0, 7);
1630 5707 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
1631 5707 : || XVECLEN (x7, 0) != 8)
1632 : return -1;
1633 5707 : x18 = XVECEXP (x7, 0, 0);
1634 5707 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1635 : return -1;
1636 5707 : x19 = XVECEXP (x7, 0, 1);
1637 5707 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1638 : return -1;
1639 5707 : x20 = XVECEXP (x7, 0, 2);
1640 5707 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1641 : return -1;
1642 5707 : x21 = XVECEXP (x7, 0, 3);
1643 5707 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
1644 : return -1;
1645 5707 : x22 = XVECEXP (x7, 0, 4);
1646 5707 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1647 : return -1;
1648 5707 : x23 = XVECEXP (x7, 0, 5);
1649 5707 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
1650 : return -1;
1651 5707 : x24 = XVECEXP (x7, 0, 6);
1652 5707 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
1653 : return -1;
1654 5707 : x25 = XVECEXP (x7, 0, 7);
1655 5707 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
1656 5707 : || pattern238 (x1,
1657 : E_V16SImode,
1658 : E_V8SImode,
1659 : E_V8DImode) != 0)
1660 696 : return -1;
1661 : return 0;
1662 :
1663 10789 : case 4:
1664 10789 : x10 = XVECEXP (x4, 0, 0);
1665 10789 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1666 : return -1;
1667 10789 : x11 = XVECEXP (x4, 0, 1);
1668 10789 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1669 : return -1;
1670 10785 : x12 = XVECEXP (x4, 0, 2);
1671 10785 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1672 : return -1;
1673 10785 : x13 = XVECEXP (x4, 0, 3);
1674 10785 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
1675 10785 : || XVECLEN (x7, 0) != 4)
1676 : return -1;
1677 10785 : x18 = XVECEXP (x7, 0, 0);
1678 10785 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1679 : return -1;
1680 10785 : x19 = XVECEXP (x7, 0, 1);
1681 10785 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1682 : return -1;
1683 10785 : x20 = XVECEXP (x7, 0, 2);
1684 10785 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1685 : return -1;
1686 10785 : x21 = XVECEXP (x7, 0, 3);
1687 10785 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
1688 10785 : || pattern238 (x1,
1689 : E_V8SImode,
1690 : E_V4SImode,
1691 : E_V4DImode) != 0)
1692 2045 : return -1;
1693 : return 1;
1694 :
1695 163836 : case 2:
1696 163836 : x10 = XVECEXP (x4, 0, 0);
1697 163836 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1698 : return -1;
1699 163735 : x11 = XVECEXP (x4, 0, 1);
1700 163735 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
1701 163723 : || XVECLEN (x7, 0) != 2)
1702 : return -1;
1703 163723 : x18 = XVECEXP (x7, 0, 0);
1704 163723 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1705 : return -1;
1706 163723 : x19 = XVECEXP (x7, 0, 1);
1707 163723 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
1708 163723 : || !register_operand (operands[0], E_V2DImode)
1709 163556 : || GET_MODE (x1) != E_V2DImode
1710 163556 : || GET_MODE (x2) != E_V2DImode
1711 163556 : || GET_MODE (x3) != E_V2SImode
1712 163556 : || !vector_operand (operands[1], E_V4SImode)
1713 134792 : || GET_MODE (x5) != E_V2DImode
1714 134792 : || GET_MODE (x6) != E_V2SImode
1715 298515 : || !vector_operand (operands[2], E_V4SImode))
1716 45301 : return -1;
1717 : return 2;
1718 :
1719 : default:
1720 : return -1;
1721 : }
1722 : }
1723 :
1724 : int
1725 22372 : pattern256 (rtx x1, machine_mode i1)
1726 : {
1727 22372 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1728 22372 : rtx x2;
1729 22372 : int res ATTRIBUTE_UNUSED;
1730 22372 : if (GET_MODE (x1) != i1)
1731 : return -1;
1732 22372 : x2 = XEXP (x1, 0);
1733 22372 : if (GET_MODE (x2) != i1
1734 22372 : || !nonimmediate_operand (operands[1], i1)
1735 42309 : || !x86_64_general_operand (operands[2], i1))
1736 2435 : return -1;
1737 : return 0;
1738 : }
1739 :
1740 : int
1741 700744 : pattern258 (rtx x1)
1742 : {
1743 700744 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1744 700744 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1745 700744 : rtx x10;
1746 700744 : int res ATTRIBUTE_UNUSED;
1747 700744 : x2 = XVECEXP (x1, 0, 1);
1748 700744 : if (GET_CODE (x2) != CLOBBER)
1749 : return -1;
1750 671146 : x3 = XEXP (x2, 0);
1751 671146 : if (GET_CODE (x3) != REG
1752 671146 : || REGNO (x3) != 17
1753 1324808 : || GET_MODE (x3) != E_CCmode)
1754 : return -1;
1755 653662 : x4 = XVECEXP (x1, 0, 0);
1756 653662 : x5 = XEXP (x4, 0);
1757 653662 : operands[0] = x5;
1758 653662 : x6 = XEXP (x4, 1);
1759 653662 : x7 = XEXP (x6, 0);
1760 653662 : switch (GET_CODE (x7))
1761 : {
1762 531098 : case REG:
1763 531098 : case SUBREG:
1764 531098 : return pattern254 (x6); /* [-1, 4] */
1765 :
1766 21096 : case PLUS:
1767 21096 : x8 = XEXP (x7, 0);
1768 21096 : operands[1] = x8;
1769 21096 : x9 = XEXP (x7, 1);
1770 21096 : operands[2] = x9;
1771 21096 : res = pattern257 (x6);
1772 21096 : if (res >= 0)
1773 18975 : return res + 5; /* [5, 7] */
1774 : return -1;
1775 :
1776 6869 : case MINUS:
1777 6869 : x8 = XEXP (x7, 0);
1778 6869 : operands[1] = x8;
1779 6869 : x9 = XEXP (x7, 1);
1780 6869 : operands[2] = x9;
1781 6869 : x10 = XEXP (x6, 1);
1782 6869 : if (!rtx_equal_p (x10, operands[1]))
1783 : return -1;
1784 47 : res = pattern257 (x6);
1785 47 : if (res >= 0)
1786 47 : return res + 8; /* [8, 10] */
1787 : return -1;
1788 :
1789 : default:
1790 : return -1;
1791 : }
1792 : }
1793 :
1794 : int
1795 2563 : pattern268 (rtx x1)
1796 : {
1797 2563 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1798 2563 : rtx x2, x3, x4;
1799 2563 : int res ATTRIBUTE_UNUSED;
1800 2563 : x2 = XVECEXP (x1, 0, 1);
1801 2563 : if (GET_CODE (x2) != CLOBBER)
1802 : return -1;
1803 2169 : x3 = XEXP (x2, 0);
1804 2169 : if (GET_CODE (x3) != REG
1805 2169 : || REGNO (x3) != 17
1806 4338 : || GET_MODE (x3) != E_CCmode)
1807 : return -1;
1808 2169 : x4 = XVECEXP (x1, 0, 2);
1809 2169 : if (GET_CODE (x4) != CLOBBER)
1810 : return -1;
1811 912 : return pattern267 (x1); /* [-1, 1] */
1812 : }
1813 :
1814 : int
1815 1310 : pattern272 (rtx x1)
1816 : {
1817 1310 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1818 1310 : rtx x2, x3, x4, x5, x6, x7, x8;
1819 1310 : int res ATTRIBUTE_UNUSED;
1820 1310 : x2 = XVECEXP (x1, 0, 1);
1821 1310 : if (GET_CODE (x2) != UNSPEC
1822 811 : || XVECLEN (x2, 0) != 1
1823 811 : || XINT (x2, 1) != 35)
1824 : return -1;
1825 811 : x3 = XVECEXP (x1, 0, 2);
1826 811 : if (GET_CODE (x3) != CLOBBER)
1827 : return -1;
1828 811 : x4 = XEXP (x3, 0);
1829 811 : if (GET_CODE (x4) != REG
1830 811 : || REGNO (x4) != 17
1831 1622 : || GET_MODE (x4) != E_CCmode)
1832 : return -1;
1833 811 : x5 = XVECEXP (x1, 0, 0);
1834 811 : x6 = XEXP (x5, 0);
1835 811 : operands[0] = x6;
1836 811 : x7 = XEXP (x5, 1);
1837 811 : x8 = XEXP (x7, 0);
1838 811 : operands[1] = x8;
1839 811 : return pattern271 (x1); /* [-1, 1] */
1840 : }
1841 :
1842 : int
1843 1028650 : pattern279 (rtx x1)
1844 : {
1845 1028650 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1846 1028650 : rtx x2, x3;
1847 1028650 : int res ATTRIBUTE_UNUSED;
1848 1028650 : x2 = XEXP (x1, 0);
1849 1028650 : operands[1] = x2;
1850 1028650 : x3 = XEXP (x1, 1);
1851 1028650 : operands[2] = x3;
1852 1028650 : switch (GET_MODE (operands[0]))
1853 : {
1854 86693 : case E_QImode:
1855 86693 : return pattern278 (x1,
1856 86693 : E_QImode); /* [-1, 0] */
1857 :
1858 22267 : case E_HImode:
1859 22267 : if (pattern278 (x1,
1860 : E_HImode) != 0)
1861 22267 : return -1;
1862 : return 1;
1863 :
1864 97098 : case E_SImode:
1865 97098 : if (pattern278 (x1,
1866 : E_SImode) != 0)
1867 97098 : return -1;
1868 : return 2;
1869 :
1870 94343 : case E_DImode:
1871 94343 : if (pattern278 (x1,
1872 : E_DImode) != 0)
1873 94343 : return -1;
1874 : return 3;
1875 :
1876 : default:
1877 : return -1;
1878 : }
1879 : }
1880 :
1881 : int
1882 3024311 : pattern284 (rtx x1)
1883 : {
1884 3024311 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1885 3024311 : rtx x2, x3;
1886 3024311 : int res ATTRIBUTE_UNUSED;
1887 3024311 : if (GET_CODE (x1) != VEC_SELECT)
1888 : return -1;
1889 35529 : x2 = XEXP (x1, 0);
1890 35529 : if (GET_CODE (x2) != SUBREG
1891 35529 : || maybe_ne (SUBREG_BYTE (x2), 0))
1892 : return -1;
1893 5340 : x3 = XEXP (x1, 1);
1894 5340 : if (GET_CODE (x3) != PARALLEL)
1895 0 : return -1;
1896 : return 0;
1897 : }
1898 :
1899 : int
1900 390895 : pattern287 (rtx x1)
1901 : {
1902 390895 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1903 390895 : rtx x2, x3, x4, x5, x6, x7;
1904 390895 : int res ATTRIBUTE_UNUSED;
1905 390895 : x2 = XVECEXP (x1, 0, 1);
1906 390895 : if (GET_CODE (x2) != CLOBBER)
1907 : return -1;
1908 360838 : x3 = XEXP (x2, 0);
1909 360838 : if (GET_CODE (x3) != REG
1910 360838 : || REGNO (x3) != 17
1911 721676 : || GET_MODE (x3) != E_CCmode)
1912 : return -1;
1913 360838 : x4 = XVECEXP (x1, 0, 0);
1914 360838 : x5 = XEXP (x4, 0);
1915 360838 : operands[0] = x5;
1916 360838 : x6 = XEXP (x4, 1);
1917 360838 : x7 = XEXP (x6, 0);
1918 360838 : operands[1] = x7;
1919 360838 : return 0;
1920 : }
1921 :
1922 : int
1923 48 : pattern290 (rtx x1, machine_mode i1)
1924 : {
1925 48 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1926 48 : rtx x2, x3, x4;
1927 48 : int res ATTRIBUTE_UNUSED;
1928 48 : if (!register_operand (operands[0], i1)
1929 48 : || GET_MODE (x1) != i1)
1930 : return -1;
1931 40 : x2 = XEXP (x1, 0);
1932 40 : operands[1] = x2;
1933 40 : if (!register_operand (operands[1], i1))
1934 : return -1;
1935 40 : x3 = XEXP (x1, 1);
1936 40 : operands[2] = x3;
1937 40 : if (!register_operand (operands[2], i1))
1938 : return -1;
1939 28 : x4 = XEXP (x1, 2);
1940 28 : operands[3] = x4;
1941 28 : if (!register_operand (operands[3], i1))
1942 12 : return -1;
1943 : return 0;
1944 : }
1945 :
1946 : int
1947 525 : pattern297 (rtx x1)
1948 : {
1949 525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1950 525 : rtx x2, x3, x4, x5;
1951 525 : int res ATTRIBUTE_UNUSED;
1952 525 : x2 = XEXP (x1, 1);
1953 525 : x3 = XEXP (x2, 0);
1954 525 : if (GET_MODE (x3) != E_V2QImode)
1955 : return -1;
1956 0 : x4 = XEXP (x1, 0);
1957 0 : operands[0] = x4;
1958 0 : if (!memory_operand (operands[0], E_HImode)
1959 0 : || GET_MODE (x2) != E_HImode)
1960 : return -1;
1961 0 : x5 = XEXP (x3, 0);
1962 0 : operands[1] = x5;
1963 0 : if (!register_operand (operands[1], E_V2DImode))
1964 0 : return -1;
1965 : return 0;
1966 : }
1967 :
1968 : int
1969 1477 : pattern303 (rtx x1, int *pnum_clobbers, machine_mode i1)
1970 : {
1971 1477 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1972 1477 : int res ATTRIBUTE_UNUSED;
1973 1477 : if (pnum_clobbers == NULL
1974 1477 : || !register_operand (operands[0], i1)
1975 1384 : || GET_MODE (x1) != i1
1976 2861 : || !general_operand (operands[1], i1))
1977 477 : return -1;
1978 : return 0;
1979 : }
1980 :
1981 : int
1982 2123 : pattern308 (rtx x1)
1983 : {
1984 2123 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1985 2123 : rtx x2, x3, x4, x5;
1986 2123 : int res ATTRIBUTE_UNUSED;
1987 2123 : x2 = XEXP (x1, 0);
1988 2123 : x3 = XEXP (x2, 0);
1989 2123 : operands[1] = x3;
1990 2123 : x4 = XEXP (x1, 1);
1991 2123 : x5 = XEXP (x4, 0);
1992 2123 : operands[2] = x5;
1993 2123 : switch (GET_MODE (operands[0]))
1994 : {
1995 429 : case E_V8QImode:
1996 429 : return pattern307 (x1,
1997 : E_V4HImode,
1998 : E_V4QImode,
1999 429 : E_V8QImode); /* [-1, 0] */
2000 :
2001 658 : case E_V4HImode:
2002 658 : if (pattern307 (x1,
2003 : E_V2SImode,
2004 : E_V2HImode,
2005 : E_V4HImode) != 0)
2006 260 : return -1;
2007 : return 1;
2008 :
2009 : default:
2010 : return -1;
2011 : }
2012 : }
2013 :
2014 : int
2015 276659 : pattern315 (rtx x1, int *pnum_clobbers, machine_mode i1, machine_mode i2)
2016 : {
2017 276659 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2018 276659 : rtx x2, x3, x4;
2019 276659 : int res ATTRIBUTE_UNUSED;
2020 276659 : if (!nonimmediate_operand (operands[0], i1)
2021 276659 : || GET_MODE (x1) != i1)
2022 : return -1;
2023 276596 : x2 = XEXP (x1, 0);
2024 276596 : x3 = XEXP (x2, 0);
2025 276596 : if (!nonimmediate_operand (x3, i2))
2026 : return -1;
2027 218550 : x4 = XEXP (x1, 1);
2028 218550 : switch (GET_CODE (x4))
2029 : {
2030 187826 : case REG:
2031 187826 : case SUBREG:
2032 187826 : case MEM:
2033 187826 : if (pnum_clobbers == NULL)
2034 : return -1;
2035 187826 : operands[1] = x4;
2036 187826 : if (!nonimmediate_operand (operands[1], i1))
2037 : return -1;
2038 187790 : operands[2] = x3;
2039 187790 : return 0;
2040 :
2041 0 : case ASHIFT:
2042 0 : if (GET_MODE (x4) != i1)
2043 : return -1;
2044 0 : operands[1] = x3;
2045 0 : res = pattern39 (x4,
2046 : i1,
2047 : i2);
2048 0 : if (res >= 0)
2049 0 : return res + 1; /* [1, 3] */
2050 : return -1;
2051 :
2052 21011 : case CONST_INT:
2053 21011 : case CONST_WIDE_INT:
2054 21011 : operands[2] = x4;
2055 21011 : if (!const_scalar_int_operand (operands[2], i1))
2056 : return -1;
2057 21011 : operands[1] = x3;
2058 21011 : return 4;
2059 :
2060 : default:
2061 : return -1;
2062 : }
2063 : }
2064 :
2065 : int
2066 167053 : pattern321 (rtx x1)
2067 : {
2068 167053 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2069 167053 : rtx x2, x3, x4, x5, x6, x7;
2070 167053 : int res ATTRIBUTE_UNUSED;
2071 167053 : x2 = XEXP (x1, 0);
2072 167053 : x3 = XEXP (x2, 0);
2073 167053 : operands[1] = x3;
2074 167053 : x4 = XEXP (x1, 1);
2075 167053 : operands[2] = x4;
2076 167053 : x5 = XEXP (x2, 1);
2077 167053 : switch (GET_CODE (x5))
2078 : {
2079 10435 : case LTU:
2080 10435 : case UNLT:
2081 10435 : operands[4] = x5;
2082 10435 : x6 = XEXP (x5, 1);
2083 10435 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2084 : return -1;
2085 10293 : x7 = XEXP (x5, 0);
2086 10293 : operands[3] = x7;
2087 10293 : if (!flags_reg_operand (operands[3], E_VOIDmode))
2088 4 : return -1;
2089 : return 0;
2090 :
2091 252 : case EQ:
2092 252 : x6 = XEXP (x5, 1);
2093 252 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2094 : return -1;
2095 116 : x7 = XEXP (x5, 0);
2096 116 : operands[3] = x7;
2097 116 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
2098 80 : return -1;
2099 : return 1;
2100 :
2101 : default:
2102 : return -1;
2103 : }
2104 : }
2105 :
2106 : int
2107 525 : pattern329 (rtx x1)
2108 : {
2109 525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2110 525 : rtx x2, x3;
2111 525 : int res ATTRIBUTE_UNUSED;
2112 525 : x2 = XEXP (x1, 0);
2113 525 : x3 = XEXP (x2, 0);
2114 525 : operands[1] = x3;
2115 525 : switch (GET_MODE (operands[0]))
2116 : {
2117 2 : case E_SImode:
2118 2 : return pattern327 (x1); /* [-1, 2] */
2119 :
2120 14 : case E_DImode:
2121 14 : res = pattern328 (x1);
2122 14 : if (res >= 0)
2123 3 : return res + 3; /* [3, 8] */
2124 : return -1;
2125 :
2126 : default:
2127 : return -1;
2128 : }
2129 : }
2130 :
2131 : int
2132 682 : pattern332 (rtx x1, machine_mode i1)
2133 : {
2134 682 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2135 682 : rtx x2, x3;
2136 682 : int res ATTRIBUTE_UNUSED;
2137 682 : if (GET_MODE (x1) != E_SImode
2138 682 : || !register_operand (operands[0], E_SImode))
2139 : return -1;
2140 674 : x2 = XVECEXP (x1, 0, 0);
2141 674 : operands[1] = x2;
2142 674 : if (!register_operand (operands[1], E_SImode))
2143 : return -1;
2144 621 : x3 = XVECEXP (x1, 0, 1);
2145 621 : operands[2] = x3;
2146 621 : if (!nonimmediate_operand (operands[2], i1))
2147 99 : return -1;
2148 : return 0;
2149 : }
2150 :
2151 : int
2152 39251 : pattern338 (rtx x1)
2153 : {
2154 39251 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2155 39251 : rtx x2, x3, x4;
2156 39251 : int res ATTRIBUTE_UNUSED;
2157 39251 : if (GET_MODE (x1) != E_DImode
2158 39251 : || !register_operand (operands[0], E_DImode))
2159 : return -1;
2160 430 : x2 = XVECEXP (x1, 0, 0);
2161 430 : operands[1] = x2;
2162 430 : if (!register_operand (operands[1], E_DImode))
2163 : return -1;
2164 415 : x3 = XVECEXP (x1, 0, 1);
2165 415 : operands[2] = x3;
2166 415 : if (!register_mmxmem_operand (operands[2], E_DImode))
2167 : return -1;
2168 406 : x4 = XVECEXP (x1, 0, 2);
2169 406 : operands[3] = x4;
2170 406 : if (!const_0_to_255_mul_8_operand (operands[3], E_SImode))
2171 0 : return -1;
2172 : return 0;
2173 : }
2174 :
2175 : int
2176 21831 : pattern341 (rtx x1, int i1, machine_mode i2, machine_mode i3)
2177 : {
2178 21831 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2179 21831 : rtx x2, x3, x4, x5;
2180 21831 : int res ATTRIBUTE_UNUSED;
2181 21831 : if (GET_MODE (x1) != i3)
2182 : return -1;
2183 270 : x2 = XEXP (x1, 0);
2184 270 : if (GET_CODE (x2) != VEC_SELECT
2185 235 : || GET_MODE (x2) != i2)
2186 : return -1;
2187 235 : x3 = XEXP (x2, 1);
2188 235 : if (GET_CODE (x3) != PARALLEL
2189 235 : || XVECLEN (x3, 0) != 2)
2190 : return -1;
2191 235 : x4 = XVECEXP (x3, 0, 0);
2192 235 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2193 : return -1;
2194 235 : x5 = XVECEXP (x3, 0, 1);
2195 235 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
2196 8 : return -1;
2197 : return 0;
2198 : }
2199 :
2200 : int
2201 942 : pattern347 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
2202 : {
2203 942 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2204 942 : rtx x2, x3, x4, x5, x6;
2205 942 : int res ATTRIBUTE_UNUSED;
2206 942 : if (!register_operand (operands[0], i1)
2207 942 : || GET_MODE (x1) != i1)
2208 : return -1;
2209 882 : x2 = XEXP (x1, 0);
2210 882 : if (GET_MODE (x2) != i1)
2211 : return -1;
2212 882 : x3 = XEXP (x2, 0);
2213 882 : if (GET_MODE (x3) != i1)
2214 : return -1;
2215 882 : x4 = XEXP (x3, 0);
2216 882 : if (GET_MODE (x4) != i3
2217 882 : || !nonimmediate_operand (operands[1], i2))
2218 : return -1;
2219 858 : x5 = XEXP (x2, 1);
2220 858 : if (GET_MODE (x5) != i1)
2221 : return -1;
2222 858 : x6 = XEXP (x5, 0);
2223 858 : if (GET_MODE (x6) != i3
2224 858 : || !nonimmediate_operand (operands[2], i2)
2225 1692 : || !nonimm_or_0_operand (operands[3], i1))
2226 52 : return -1;
2227 : return 0;
2228 : }
2229 :
2230 : int
2231 0 : pattern353 (rtx x1, machine_mode i1)
2232 : {
2233 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2234 0 : int res ATTRIBUTE_UNUSED;
2235 0 : if (!register_operand (operands[0], i1)
2236 0 : || GET_MODE (x1) != i1
2237 0 : || !float_vector_all_ones_operand (operands[1], i1)
2238 0 : || !const0_operand (operands[2], i1)
2239 0 : || !register_operand (operands[3], i1)
2240 0 : || !nonimmediate_operand (operands[4], i1))
2241 0 : return -1;
2242 : return 0;
2243 : }
2244 :
2245 : int
2246 2414 : pattern357 (rtx x1)
2247 : {
2248 2414 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2249 2414 : rtx x2, x3, x4, x5, x6;
2250 2414 : int res ATTRIBUTE_UNUSED;
2251 2414 : x2 = XVECEXP (x1, 0, 0);
2252 2414 : switch (GET_CODE (x2))
2253 : {
2254 2135 : case REG:
2255 2135 : case SUBREG:
2256 2135 : case MEM:
2257 2135 : operands[1] = x2;
2258 2135 : switch (GET_MODE (operands[0]))
2259 : {
2260 : case E_V32HImode:
2261 : return 0;
2262 :
2263 114 : case E_V16SImode:
2264 114 : return 1;
2265 :
2266 160 : case E_V8DImode:
2267 160 : return 2;
2268 :
2269 114 : case E_V16HImode:
2270 114 : return 3;
2271 :
2272 373 : case E_V8SImode:
2273 373 : return 4;
2274 :
2275 382 : case E_V4DImode:
2276 382 : return 5;
2277 :
2278 114 : case E_V8HImode:
2279 114 : return 6;
2280 :
2281 561 : case E_V4SImode:
2282 561 : return 7;
2283 :
2284 244 : case E_V2DImode:
2285 244 : return 8;
2286 :
2287 : default:
2288 : return -1;
2289 : }
2290 :
2291 197 : case VEC_SELECT:
2292 197 : if (GET_MODE (x2) != E_V2SFmode)
2293 : return -1;
2294 137 : x3 = XEXP (x2, 1);
2295 137 : if (GET_CODE (x3) != PARALLEL
2296 137 : || XVECLEN (x3, 0) != 2)
2297 : return -1;
2298 137 : x4 = XVECEXP (x3, 0, 0);
2299 137 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2300 : return -1;
2301 137 : x5 = XVECEXP (x3, 0, 1);
2302 137 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
2303 137 : || !register_operand (operands[0], E_V2DImode)
2304 258 : || GET_MODE (x1) != E_V2DImode)
2305 : return -1;
2306 121 : x6 = XEXP (x2, 0);
2307 121 : operands[1] = x6;
2308 121 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
2309 : return -1;
2310 : return 9;
2311 :
2312 : default:
2313 : return -1;
2314 : }
2315 : }
2316 :
2317 : int
2318 518 : pattern358 (rtx x1)
2319 : {
2320 518 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2321 518 : rtx x2;
2322 518 : int res ATTRIBUTE_UNUSED;
2323 518 : x2 = XVECEXP (x1, 0, 0);
2324 518 : operands[1] = x2;
2325 518 : switch (GET_MODE (operands[0]))
2326 : {
2327 252 : case E_V16QImode:
2328 252 : if (!register_operand (operands[0], E_V16QImode)
2329 248 : || GET_MODE (x1) != E_V16QImode
2330 500 : || !nonimmediate_operand (operands[1], E_V16HFmode))
2331 12 : return -1;
2332 : return 0;
2333 :
2334 258 : case E_V32QImode:
2335 258 : if (!register_operand (operands[0], E_V32QImode)
2336 250 : || GET_MODE (x1) != E_V32QImode
2337 508 : || !nonimmediate_operand (operands[1], E_V32HFmode))
2338 16 : return -1;
2339 : return 1;
2340 :
2341 : default:
2342 : return -1;
2343 : }
2344 : }
2345 :
2346 : int
2347 1605 : pattern361 (rtx x1)
2348 : {
2349 1605 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2350 1605 : rtx x2;
2351 1605 : int res ATTRIBUTE_UNUSED;
2352 1605 : x2 = XVECEXP (x1, 0, 0);
2353 1605 : operands[1] = x2;
2354 1605 : switch (GET_MODE (operands[0]))
2355 : {
2356 124 : case E_V16SImode:
2357 124 : if (!register_operand (operands[0], E_V16SImode)
2358 116 : || GET_MODE (x1) != E_V16SImode
2359 240 : || !vector_operand (operands[1], E_V16SFmode))
2360 10 : return -1;
2361 : return 0;
2362 :
2363 252 : case E_V8SImode:
2364 252 : if (!register_operand (operands[0], E_V8SImode)
2365 252 : || GET_MODE (x1) != E_V8SImode)
2366 : return -1;
2367 236 : switch (GET_MODE (operands[1]))
2368 : {
2369 114 : case E_V8SFmode:
2370 114 : if (!vector_operand (operands[1], E_V8SFmode))
2371 2 : return -1;
2372 : return 1;
2373 :
2374 122 : case E_V8DFmode:
2375 122 : if (!vector_operand (operands[1], E_V8DFmode))
2376 4 : return -1;
2377 : return 2;
2378 :
2379 : default:
2380 : return -1;
2381 : }
2382 :
2383 352 : case E_V4SImode:
2384 352 : if (!register_operand (operands[0], E_V4SImode)
2385 352 : || GET_MODE (x1) != E_V4SImode)
2386 : return -1;
2387 346 : switch (GET_MODE (operands[1]))
2388 : {
2389 114 : case E_V4SFmode:
2390 114 : if (!vector_operand (operands[1], E_V4SFmode))
2391 2 : return -1;
2392 : return 3;
2393 :
2394 116 : case E_V4DFmode:
2395 116 : if (!vector_operand (operands[1], E_V4DFmode))
2396 2 : return -1;
2397 : return 4;
2398 :
2399 116 : case E_V2DFmode:
2400 116 : if (!vector_operand (operands[1], E_V2DFmode))
2401 2 : return -1;
2402 : return 5;
2403 :
2404 : default:
2405 : return -1;
2406 : }
2407 :
2408 274 : case E_V8DImode:
2409 274 : if (!register_operand (operands[0], E_V8DImode)
2410 274 : || GET_MODE (x1) != E_V8DImode)
2411 : return -1;
2412 238 : switch (GET_MODE (operands[1]))
2413 : {
2414 122 : case E_V8DFmode:
2415 122 : if (!vector_operand (operands[1], E_V8DFmode))
2416 4 : return -1;
2417 : return 6;
2418 :
2419 116 : case E_V8SFmode:
2420 116 : if (!vector_operand (operands[1], E_V8SFmode))
2421 2 : return -1;
2422 : return 7;
2423 :
2424 : default:
2425 : return -1;
2426 : }
2427 :
2428 269 : case E_V4DImode:
2429 269 : if (!register_operand (operands[0], E_V4DImode)
2430 269 : || GET_MODE (x1) != E_V4DImode)
2431 : return -1;
2432 233 : switch (GET_MODE (operands[1]))
2433 : {
2434 120 : case E_V4DFmode:
2435 120 : if (!vector_operand (operands[1], E_V4DFmode))
2436 4 : return -1;
2437 : return 8;
2438 :
2439 113 : case E_V4SFmode:
2440 113 : if (!vector_operand (operands[1], E_V4SFmode))
2441 2 : return -1;
2442 : return 9;
2443 :
2444 : default:
2445 : return -1;
2446 : }
2447 :
2448 266 : case E_V2DImode:
2449 266 : if (!register_operand (operands[0], E_V2DImode)
2450 266 : || GET_MODE (x1) != E_V2DImode)
2451 : return -1;
2452 241 : switch (GET_MODE (operands[1]))
2453 : {
2454 116 : case E_V2DFmode:
2455 116 : if (!vector_operand (operands[1], E_V2DFmode))
2456 2 : return -1;
2457 : return 10;
2458 :
2459 125 : case E_V4SFmode:
2460 125 : if (!vector_operand (operands[1], E_V4SFmode))
2461 2 : return -1;
2462 : return 11;
2463 :
2464 : default:
2465 : return -1;
2466 : }
2467 :
2468 : default:
2469 : return -1;
2470 : }
2471 : }
2472 :
2473 : int
2474 190 : pattern371 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
2475 : {
2476 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2477 190 : rtx x2, x3, x4, x5, x6, x7;
2478 190 : int res ATTRIBUTE_UNUSED;
2479 190 : if (!register_operand (operands[0], i2)
2480 190 : || GET_MODE (x1) != i2)
2481 : return -1;
2482 182 : x2 = XEXP (x1, 0);
2483 182 : if (GET_MODE (x2) != i2)
2484 : return -1;
2485 182 : x3 = XEXP (x2, 0);
2486 182 : if (GET_MODE (x3) != i2)
2487 : return -1;
2488 182 : x4 = XEXP (x3, 0);
2489 182 : if (GET_MODE (x4) != i1
2490 182 : || !nonimmediate_operand (operands[1], i3))
2491 : return -1;
2492 182 : x5 = XEXP (x2, 1);
2493 182 : if (GET_MODE (x5) != i2)
2494 : return -1;
2495 182 : x6 = XEXP (x5, 0);
2496 182 : if (GET_MODE (x6) != i1)
2497 : return -1;
2498 182 : x7 = XEXP (x1, 1);
2499 182 : return pattern370 (x7,
2500 : i1,
2501 182 : i2); /* [-1, 0] */
2502 : }
2503 :
2504 : int
2505 118 : pattern376 (rtx x1, int *pnum_clobbers, rtx_code i1)
2506 : {
2507 118 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2508 118 : rtx x2, x3, x4, x5, x6, x7;
2509 118 : int res ATTRIBUTE_UNUSED;
2510 118 : if (pnum_clobbers == NULL)
2511 : return -1;
2512 116 : x2 = XVECEXP (x1, 0, 0);
2513 116 : x3 = XEXP (x2, 1);
2514 116 : x4 = XEXP (x3, 0);
2515 116 : if (GET_MODE (x4) != E_SImode)
2516 : return -1;
2517 104 : x5 = XVECEXP (x1, 0, 1);
2518 104 : if (GET_CODE (x5) != SET)
2519 : return -1;
2520 104 : x6 = XEXP (x5, 1);
2521 104 : if (GET_CODE (x6) != i1
2522 104 : || GET_MODE (x6) != E_SImode)
2523 : return -1;
2524 104 : x7 = XEXP (x2, 0);
2525 104 : operands[1] = x7;
2526 104 : if (!register_operand (operands[1], E_DImode)
2527 104 : || GET_MODE (x3) != E_DImode)
2528 0 : return -1;
2529 : return 0;
2530 : }
2531 :
2532 : int
2533 24932 : pattern380 (rtx x1)
2534 : {
2535 24932 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2536 24932 : rtx x2;
2537 24932 : int res ATTRIBUTE_UNUSED;
2538 24932 : switch (GET_MODE (operands[0]))
2539 : {
2540 75 : case E_HImode:
2541 75 : return pattern379 (x1,
2542 : E_QImode,
2543 75 : E_HImode); /* [-1, 0] */
2544 :
2545 1378 : case E_SImode:
2546 1378 : if (!register_operand (operands[0], E_SImode)
2547 1378 : || GET_MODE (x1) != E_SImode)
2548 : return -1;
2549 1378 : x2 = XEXP (x1, 0);
2550 1378 : switch (GET_MODE (x2))
2551 : {
2552 1011 : case E_QImode:
2553 1011 : if (!nonimmediate_operand (operands[1], E_QImode))
2554 0 : return -1;
2555 : return 1;
2556 :
2557 367 : case E_HImode:
2558 367 : if (!nonimmediate_operand (operands[1], E_HImode))
2559 0 : return -1;
2560 : return 2;
2561 :
2562 : default:
2563 : return -1;
2564 : }
2565 :
2566 23479 : case E_DImode:
2567 23479 : if (!register_operand (operands[0], E_DImode)
2568 23479 : || GET_MODE (x1) != E_DImode)
2569 : return -1;
2570 23479 : x2 = XEXP (x1, 0);
2571 23479 : switch (GET_MODE (x2))
2572 : {
2573 469 : case E_QImode:
2574 469 : if (!nonimmediate_operand (operands[1], E_QImode))
2575 0 : return -1;
2576 : return 3;
2577 :
2578 61 : case E_HImode:
2579 61 : if (!nonimmediate_operand (operands[1], E_HImode))
2580 0 : return -1;
2581 : return 4;
2582 :
2583 22949 : case E_SImode:
2584 22949 : if (!nonimmediate_operand (operands[1], E_SImode))
2585 1299 : return -1;
2586 : return 5;
2587 :
2588 : default:
2589 : return -1;
2590 : }
2591 :
2592 : default:
2593 : return -1;
2594 : }
2595 : }
2596 :
2597 : int
2598 30250 : pattern388 (rtx x1)
2599 : {
2600 30250 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2601 30250 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2602 30250 : rtx x10;
2603 30250 : int res ATTRIBUTE_UNUSED;
2604 30250 : x2 = XVECEXP (x1, 0, 0);
2605 30250 : x3 = XEXP (x2, 1);
2606 30250 : x4 = XEXP (x3, 0);
2607 30250 : x5 = XEXP (x4, 0);
2608 30250 : if (GET_CODE (x5) != ASHIFT)
2609 : return -1;
2610 9214 : x6 = XEXP (x5, 0);
2611 9214 : if (GET_CODE (x6) != ZERO_EXTEND)
2612 : return -1;
2613 7925 : x7 = XEXP (x4, 1);
2614 7925 : if (GET_CODE (x7) != ZERO_EXTEND)
2615 : return -1;
2616 7921 : x8 = XVECEXP (x1, 0, 1);
2617 7921 : if (GET_CODE (x8) != CLOBBER)
2618 : return -1;
2619 6277 : x9 = XEXP (x8, 0);
2620 6277 : if (GET_CODE (x9) != REG
2621 6277 : || REGNO (x9) != 17
2622 12554 : || GET_MODE (x9) != E_CCmode)
2623 : return -1;
2624 6277 : x10 = XEXP (x2, 0);
2625 6277 : operands[0] = x10;
2626 6277 : return pattern387 (x3); /* [-1, 3] */
2627 : }
2628 :
2629 : int
2630 26676 : pattern392 (rtx x1)
2631 : {
2632 26676 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2633 26676 : rtx x2, x3, x4, x5, x6;
2634 26676 : int res ATTRIBUTE_UNUSED;
2635 26676 : x2 = XEXP (x1, 0);
2636 26676 : operands[0] = x2;
2637 26676 : x3 = XEXP (x1, 1);
2638 26676 : x4 = XEXP (x3, 0);
2639 26676 : x5 = XEXP (x4, 0);
2640 26676 : operands[2] = x5;
2641 26676 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
2642 : return -1;
2643 5696 : x6 = XEXP (x3, 1);
2644 5696 : operands[1] = x6;
2645 5696 : switch (GET_MODE (operands[0]))
2646 : {
2647 74 : case E_QImode:
2648 74 : return pattern390 (x3,
2649 74 : E_QImode); /* [-1, 0] */
2650 :
2651 38 : case E_HImode:
2652 38 : if (pattern390 (x3,
2653 : E_HImode) != 0)
2654 0 : return -1;
2655 : return 1;
2656 :
2657 3025 : case E_SImode:
2658 3025 : if (pattern391 (x3,
2659 : E_SImode) != 0)
2660 82 : return -1;
2661 : return 2;
2662 :
2663 2559 : case E_DImode:
2664 2559 : if (pattern391 (x3,
2665 : E_DImode) != 0)
2666 243 : return -1;
2667 : return 3;
2668 :
2669 : default:
2670 : return -1;
2671 : }
2672 : }
2673 :
2674 : int
2675 77432 : pattern399 (rtx x1)
2676 : {
2677 77432 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2678 77432 : rtx x2, x3, x4, x5, x6, x7, x8;
2679 77432 : int res ATTRIBUTE_UNUSED;
2680 77432 : x2 = XVECEXP (x1, 0, 0);
2681 77432 : x3 = XEXP (x2, 1);
2682 77432 : if (GET_MODE (x3) != E_V2SImode)
2683 : return -1;
2684 550 : x4 = XVECEXP (x1, 0, 1);
2685 550 : if (GET_CODE (x4) != UNSPEC
2686 140 : || XVECLEN (x4, 0) != 1
2687 140 : || XINT (x4, 1) != 109)
2688 : return -1;
2689 140 : x5 = XVECEXP (x4, 0, 0);
2690 140 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2691 : return -1;
2692 140 : x6 = XEXP (x2, 0);
2693 140 : operands[0] = x6;
2694 140 : if (!register_operand (operands[0], E_V2SImode))
2695 : return -1;
2696 140 : x7 = XEXP (x3, 0);
2697 140 : operands[1] = x7;
2698 140 : if (!register_operand (operands[1], E_V2SFmode))
2699 : return -1;
2700 140 : x8 = XEXP (x3, 1);
2701 140 : operands[2] = x8;
2702 140 : if (!nonimmediate_operand (operands[2], E_V2SFmode))
2703 0 : return -1;
2704 : return 0;
2705 : }
2706 :
2707 : int
2708 13683 : pattern404 (rtx x1)
2709 : {
2710 13683 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2711 13683 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2712 13683 : rtx x10, x11, x12;
2713 13683 : int res ATTRIBUTE_UNUSED;
2714 13683 : x2 = XEXP (x1, 0);
2715 13683 : x3 = XEXP (x2, 1);
2716 13683 : if (GET_MODE (x3) != E_QImode)
2717 : return -1;
2718 13683 : x4 = XEXP (x3, 1);
2719 13683 : if (GET_CODE (x4) != CONST_INT)
2720 : return -1;
2721 13683 : x5 = XEXP (x1, 1);
2722 13683 : if (GET_CODE (x5) != SUBREG
2723 13683 : || maybe_ne (SUBREG_BYTE (x5), 0))
2724 : return -1;
2725 13683 : x6 = XEXP (x5, 0);
2726 13683 : if (GET_CODE (x6) != ASHIFT)
2727 : return -1;
2728 13683 : x7 = XEXP (x6, 0);
2729 13683 : if (GET_CODE (x7) != ZERO_EXTEND)
2730 : return -1;
2731 13683 : x8 = XEXP (x6, 1);
2732 13683 : if (GET_CODE (x8) != MINUS
2733 13683 : || GET_MODE (x8) != E_QImode)
2734 : return -1;
2735 13683 : x9 = XEXP (x8, 0);
2736 13683 : if (GET_CODE (x9) != CONST_INT)
2737 : return -1;
2738 13683 : x10 = XEXP (x8, 1);
2739 13683 : if (GET_CODE (x10) != AND
2740 13683 : || GET_MODE (x10) != E_QImode)
2741 : return -1;
2742 13683 : x11 = XEXP (x10, 1);
2743 13683 : if (GET_CODE (x11) != CONST_INT)
2744 : return -1;
2745 13683 : x12 = XEXP (x3, 0);
2746 13683 : if (!nonmemory_operand (x12, E_QImode))
2747 : return -1;
2748 13679 : switch (XWINT (x4, 0))
2749 : {
2750 7418 : case 63L:
2751 7418 : return pattern403 (x1); /* [-1, 0] */
2752 :
2753 6259 : case 31L:
2754 6259 : if (XWINT (x9, 0) != 32L
2755 6259 : || XWINT (x11, 0) != 31L
2756 12518 : || pattern402 (x1,
2757 : E_SImode,
2758 : E_DImode) != 0)
2759 0 : return -1;
2760 : return 1;
2761 :
2762 : default:
2763 : return -1;
2764 : }
2765 : }
2766 :
2767 : int
2768 15005 : pattern412 (rtx x1)
2769 : {
2770 15005 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2771 15005 : rtx x2, x3, x4, x5, x6;
2772 15005 : int res ATTRIBUTE_UNUSED;
2773 15005 : x2 = XEXP (x1, 0);
2774 15005 : operands[0] = x2;
2775 15005 : x3 = XEXP (x1, 1);
2776 15005 : x4 = XEXP (x3, 1);
2777 15005 : x5 = XEXP (x4, 0);
2778 15005 : operands[3] = x5;
2779 15005 : if (!const_int_operand (operands[3], E_QImode))
2780 : return -1;
2781 6029 : x6 = XEXP (x4, 1);
2782 6029 : operands[2] = x6;
2783 6029 : if (!register_operand (operands[2], E_QImode))
2784 : return -1;
2785 5794 : return pattern410 (x3); /* [-1, 1] */
2786 : }
2787 :
2788 : int
2789 193 : pattern417 (rtx x1, machine_mode i1)
2790 : {
2791 193 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2792 193 : rtx x2;
2793 193 : int res ATTRIBUTE_UNUSED;
2794 193 : if (!register_operand (operands[0], i1)
2795 193 : || GET_MODE (x1) != i1)
2796 : return -1;
2797 193 : x2 = XEXP (x1, 0);
2798 193 : if (GET_MODE (x2) != i1
2799 193 : || !general_operand (operands[1], i1))
2800 10 : return -1;
2801 : return 0;
2802 : }
2803 :
2804 : int
2805 735 : pattern418 (rtx x1)
2806 : {
2807 735 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2808 735 : rtx x2, x3, x4, x5, x6, x7, x8;
2809 735 : int res ATTRIBUTE_UNUSED;
2810 735 : x2 = XVECEXP (x1, 0, 0);
2811 735 : x3 = XEXP (x2, 0);
2812 735 : operands[0] = x3;
2813 735 : x4 = XEXP (x2, 1);
2814 735 : x5 = XEXP (x4, 0);
2815 735 : x6 = XEXP (x5, 0);
2816 735 : operands[1] = x6;
2817 735 : x7 = XVECEXP (x1, 0, 1);
2818 735 : switch (GET_CODE (x7))
2819 : {
2820 498 : case CLOBBER:
2821 498 : x8 = XEXP (x7, 0);
2822 498 : if (GET_CODE (x8) != REG
2823 498 : || REGNO (x8) != 17
2824 993 : || GET_MODE (x8) != E_CCmode)
2825 : return -1;
2826 495 : switch (GET_MODE (operands[0]))
2827 : {
2828 16 : case E_DImode:
2829 16 : return pattern417 (x4,
2830 16 : E_DImode); /* [-1, 0] */
2831 :
2832 0 : case E_TImode:
2833 0 : if (pattern417 (x4,
2834 : E_TImode) != 0)
2835 0 : return -1;
2836 : return 1;
2837 :
2838 0 : case E_QImode:
2839 0 : if (pattern417 (x4,
2840 : E_QImode) != 0)
2841 0 : return -1;
2842 : return 2;
2843 :
2844 0 : case E_HImode:
2845 0 : if (pattern417 (x4,
2846 : E_HImode) != 0)
2847 0 : return -1;
2848 : return 3;
2849 :
2850 177 : case E_SImode:
2851 177 : if (pattern417 (x4,
2852 : E_SImode) != 0)
2853 10 : return -1;
2854 : return 4;
2855 :
2856 : default:
2857 : return -1;
2858 : }
2859 :
2860 5 : case USE:
2861 5 : x8 = XEXP (x7, 0);
2862 5 : operands[2] = x8;
2863 5 : return 5;
2864 :
2865 : default:
2866 : return -1;
2867 : }
2868 : }
2869 :
2870 : int
2871 57 : pattern430 (rtx x1)
2872 : {
2873 57 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2874 57 : rtx x2, x3;
2875 57 : int res ATTRIBUTE_UNUSED;
2876 57 : x2 = XVECEXP (x1, 0, 2);
2877 57 : if (XVECLEN (x2, 0) != 1
2878 57 : || XINT (x2, 1) != 29)
2879 : return -1;
2880 57 : x3 = XVECEXP (x2, 0, 0);
2881 57 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2882 : return -1;
2883 57 : switch (GET_MODE (operands[0]))
2884 : {
2885 38 : case E_SImode:
2886 38 : return pattern429 (x1,
2887 38 : E_SImode); /* [-1, 0] */
2888 :
2889 19 : case E_DImode:
2890 19 : if (pattern429 (x1,
2891 : E_DImode) != 0)
2892 0 : return -1;
2893 : return 1;
2894 :
2895 : default:
2896 : return -1;
2897 : }
2898 : }
2899 :
2900 : int
2901 48 : pattern434 (rtx x1)
2902 : {
2903 48 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2904 48 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2905 48 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
2906 48 : int res ATTRIBUTE_UNUSED;
2907 48 : x2 = XVECEXP (x1, 0, 0);
2908 48 : x3 = XEXP (x2, 1);
2909 48 : if (GET_MODE (x3) != E_SImode)
2910 : return -1;
2911 48 : x4 = XEXP (x3, 0);
2912 48 : if (GET_CODE (x4) != UNSPEC
2913 48 : || XVECLEN (x4, 0) != 3
2914 48 : || XINT (x4, 1) != 20
2915 48 : || GET_MODE (x4) != E_SImode)
2916 : return -1;
2917 48 : x5 = XVECEXP (x4, 0, 2);
2918 48 : if (GET_CODE (x5) != REG
2919 48 : || REGNO (x5) != 7
2920 96 : || GET_MODE (x5) != E_SImode)
2921 : return -1;
2922 48 : x6 = XEXP (x3, 1);
2923 48 : if (GET_CODE (x6) != CONST
2924 48 : || GET_MODE (x6) != E_SImode)
2925 : return -1;
2926 48 : x7 = XEXP (x6, 0);
2927 48 : if (GET_CODE (x7) != UNSPEC
2928 48 : || XVECLEN (x7, 0) != 1
2929 48 : || XINT (x7, 1) != 6
2930 48 : || GET_MODE (x7) != E_SImode)
2931 : return -1;
2932 48 : x8 = XVECEXP (x1, 0, 1);
2933 48 : if (GET_CODE (x8) != CLOBBER)
2934 : return -1;
2935 48 : x9 = XVECEXP (x1, 0, 2);
2936 48 : if (GET_CODE (x9) != CLOBBER)
2937 : return -1;
2938 48 : x10 = XVECEXP (x1, 0, 3);
2939 48 : x11 = XEXP (x10, 0);
2940 48 : if (GET_CODE (x11) != REG
2941 48 : || REGNO (x11) != 17
2942 96 : || GET_MODE (x11) != E_CCmode)
2943 : return -1;
2944 48 : x12 = XEXP (x2, 0);
2945 48 : operands[0] = x12;
2946 48 : if (!register_operand (operands[0], E_SImode))
2947 : return -1;
2948 48 : x13 = XVECEXP (x4, 0, 0);
2949 48 : operands[1] = x13;
2950 48 : if (!register_operand (operands[1], E_SImode))
2951 : return -1;
2952 48 : x14 = XVECEXP (x4, 0, 1);
2953 48 : operands[2] = x14;
2954 48 : if (!constant_call_address_operand (operands[2], E_VOIDmode))
2955 : return -1;
2956 48 : x15 = XVECEXP (x7, 0, 0);
2957 48 : operands[3] = x15;
2958 48 : if (!tls_symbolic_operand (operands[3], E_VOIDmode))
2959 : return -1;
2960 48 : x16 = XEXP (x8, 0);
2961 48 : operands[4] = x16;
2962 48 : if (!scratch_operand (operands[4], E_SImode))
2963 : return -1;
2964 48 : x17 = XEXP (x9, 0);
2965 48 : operands[5] = x17;
2966 48 : if (!scratch_operand (operands[5], E_SImode))
2967 0 : return -1;
2968 : return 0;
2969 : }
2970 :
2971 : int
2972 886 : pattern447 (rtx x1)
2973 : {
2974 886 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2975 886 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2976 886 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
2977 886 : rtx x18, x19, x20, x21, x22;
2978 886 : int res ATTRIBUTE_UNUSED;
2979 886 : if (!register_operand (operands[3], E_QImode))
2980 : return -1;
2981 610 : x2 = XEXP (x1, 0);
2982 610 : x3 = XEXP (x2, 0);
2983 610 : x4 = XEXP (x3, 0);
2984 610 : x5 = XEXP (x4, 0);
2985 610 : switch (GET_CODE (x5))
2986 : {
2987 86 : case VEC_CONCAT:
2988 86 : if (GET_MODE (x5) != E_V2DImode)
2989 : return -1;
2990 86 : x6 = XEXP (x5, 1);
2991 86 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2992 : return -1;
2993 54 : x7 = XEXP (x5, 0);
2994 54 : operands[1] = x7;
2995 54 : if (!memory_operand (operands[1], E_DImode))
2996 : return -1;
2997 54 : x8 = XEXP (x3, 1);
2998 54 : switch (XVECLEN (x8, 0))
2999 : {
3000 27 : case 8:
3001 27 : x9 = XVECEXP (x8, 0, 0);
3002 27 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3003 : return -1;
3004 27 : x10 = XVECEXP (x8, 0, 1);
3005 27 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3006 : return -1;
3007 27 : x11 = XVECEXP (x8, 0, 2);
3008 27 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3009 : return -1;
3010 27 : x12 = XVECEXP (x8, 0, 3);
3011 27 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3012 : return -1;
3013 27 : x13 = XVECEXP (x8, 0, 4);
3014 27 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
3015 : return -1;
3016 27 : x14 = XVECEXP (x8, 0, 5);
3017 27 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
3018 : return -1;
3019 27 : x15 = XVECEXP (x8, 0, 6);
3020 27 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
3021 : return -1;
3022 27 : x16 = XVECEXP (x8, 0, 7);
3023 27 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
3024 27 : || GET_MODE (x3) != E_V8QImode
3025 27 : || GET_MODE (x4) != E_V16QImode)
3026 : return -1;
3027 27 : switch (GET_MODE (operands[0]))
3028 : {
3029 9 : case E_V8HImode:
3030 9 : return pattern177 (x1,
3031 9 : E_V8HImode); /* [-1, 0] */
3032 :
3033 9 : case E_V8SImode:
3034 9 : if (pattern177 (x1,
3035 : E_V8SImode) != 0)
3036 3 : return -1;
3037 : return 1;
3038 :
3039 9 : case E_V8DImode:
3040 9 : if (pattern177 (x1,
3041 : E_V8DImode) != 0)
3042 3 : return -1;
3043 : return 2;
3044 :
3045 : default:
3046 : return -1;
3047 : }
3048 :
3049 18 : case 4:
3050 18 : res = pattern445 (x1,
3051 : E_V8HImode,
3052 : E_V4HImode);
3053 18 : if (res >= 0)
3054 12 : return res + 3; /* [3, 4] */
3055 : return -1;
3056 :
3057 9 : case 2:
3058 9 : if (pattern446 (x1,
3059 : E_V4SImode,
3060 : E_V2SImode) != 0)
3061 3 : return -1;
3062 : return 5;
3063 :
3064 : default:
3065 : return -1;
3066 : }
3067 :
3068 30 : case VEC_MERGE:
3069 30 : if (GET_MODE (x5) != E_V4SImode)
3070 : return -1;
3071 30 : x7 = XEXP (x5, 0);
3072 30 : if (GET_CODE (x7) != VEC_DUPLICATE
3073 30 : || GET_MODE (x7) != E_V4SImode)
3074 : return -1;
3075 30 : x6 = XEXP (x5, 1);
3076 30 : if (GET_CODE (x6) != CONST_VECTOR
3077 30 : || XVECLEN (x6, 0) != 4
3078 30 : || GET_MODE (x6) != E_V4SImode)
3079 : return -1;
3080 30 : x17 = XVECEXP (x6, 0, 0);
3081 30 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3082 : return -1;
3083 30 : x18 = XVECEXP (x6, 0, 1);
3084 30 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3085 : return -1;
3086 30 : x19 = XVECEXP (x6, 0, 2);
3087 30 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3088 : return -1;
3089 30 : x20 = XVECEXP (x6, 0, 3);
3090 30 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3091 : return -1;
3092 30 : x21 = XEXP (x5, 2);
3093 30 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3094 : return -1;
3095 30 : x22 = XEXP (x7, 0);
3096 30 : operands[1] = x22;
3097 30 : if (!memory_operand (operands[1], E_SImode))
3098 : return -1;
3099 27 : x8 = XEXP (x3, 1);
3100 27 : switch (XVECLEN (x8, 0))
3101 : {
3102 18 : case 4:
3103 18 : res = pattern445 (x1,
3104 : E_V16QImode,
3105 : E_V4QImode);
3106 18 : if (res >= 0)
3107 12 : return res + 6; /* [6, 7] */
3108 : return -1;
3109 :
3110 9 : case 2:
3111 9 : if (pattern446 (x1,
3112 : E_V8HImode,
3113 : E_V2HImode) != 0)
3114 3 : return -1;
3115 : return 8;
3116 :
3117 : default:
3118 : return -1;
3119 : }
3120 :
3121 : default:
3122 : return -1;
3123 : }
3124 : }
3125 :
3126 : int
3127 19894 : pattern481 (rtx x1)
3128 : {
3129 19894 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3130 19894 : rtx x2, x3, x4;
3131 19894 : int res ATTRIBUTE_UNUSED;
3132 19894 : x2 = XEXP (x1, 1);
3133 19894 : x3 = XEXP (x2, 0);
3134 19894 : x4 = XEXP (x3, 0);
3135 19894 : operands[2] = x4;
3136 19894 : if (!int248_register_operand (operands[2], E_VOIDmode))
3137 : return -1;
3138 15739 : return pattern480 (x1); /* [-1, 1] */
3139 : }
3140 :
3141 : int
3142 4364 : pattern486 (rtx x1, machine_mode i1, machine_mode i2)
3143 : {
3144 4364 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3145 4364 : rtx x2;
3146 4364 : int res ATTRIBUTE_UNUSED;
3147 4364 : if (!register_operand (operands[0], i1)
3148 4364 : || GET_MODE (x1) != i1)
3149 : return -1;
3150 4158 : x2 = XEXP (x1, 0);
3151 4158 : if (GET_MODE (x2) != i1
3152 4158 : || !register_operand (operands[1], i1)
3153 4108 : || !vector_operand (operands[2], i1)
3154 4096 : || !nonimm_or_0_operand (operands[3], i1)
3155 8200 : || !register_operand (operands[4], i2))
3156 182 : return -1;
3157 : return 0;
3158 : }
3159 :
3160 : int
3161 3669 : pattern488 (rtx x1)
3162 : {
3163 3669 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3164 3669 : rtx x2;
3165 3669 : int res ATTRIBUTE_UNUSED;
3166 3669 : x2 = XEXP (x1, 1);
3167 3669 : if (!rtx_equal_p (x2, operands[1]))
3168 : return -1;
3169 3252 : switch (GET_MODE (operands[0]))
3170 : {
3171 575 : case E_V8HFmode:
3172 575 : return pattern487 (x1,
3173 575 : E_V8HFmode); /* [-1, 0] */
3174 :
3175 1684 : case E_V4SFmode:
3176 1684 : if (pattern487 (x1,
3177 : E_V4SFmode) != 0)
3178 437 : return -1;
3179 : return 1;
3180 :
3181 993 : case E_V2DFmode:
3182 993 : if (pattern487 (x1,
3183 : E_V2DFmode) != 0)
3184 99 : return -1;
3185 : return 2;
3186 :
3187 : default:
3188 : return -1;
3189 : }
3190 : }
3191 :
3192 : int
3193 4547 : pattern494 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
3194 : {
3195 4547 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3196 4547 : rtx x2;
3197 4547 : int res ATTRIBUTE_UNUSED;
3198 4547 : if (!register_operand (operands[0], i2)
3199 4547 : || GET_MODE (x1) != i2)
3200 : return -1;
3201 4386 : x2 = XEXP (x1, 0);
3202 4386 : if (GET_MODE (x2) != i2
3203 4386 : || !register_operand (operands[1], i3)
3204 4382 : || !nonimmediate_operand (operands[2], i3)
3205 4381 : || !nonimm_or_0_operand (operands[3], i2)
3206 8640 : || !register_operand (operands[4], i1))
3207 378 : return -1;
3208 : return 0;
3209 : }
3210 :
3211 : int
3212 2228 : pattern496 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
3213 : {
3214 2228 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3215 2228 : rtx x2;
3216 2228 : int res ATTRIBUTE_UNUSED;
3217 2228 : if (!register_operand (operands[0], i2)
3218 2228 : || GET_MODE (x1) != i2)
3219 : return -1;
3220 2172 : x2 = XEXP (x1, 0);
3221 2172 : if (GET_MODE (x2) != i2
3222 2172 : || !register_operand (operands[1], i4)
3223 2172 : || !nonimmediate_operand (operands[2], i3)
3224 2172 : || !nonimm_or_0_operand (operands[3], i2)
3225 4288 : || !register_operand (operands[4], i1))
3226 160 : return -1;
3227 : return 0;
3228 : }
3229 :
3230 : int
3231 534 : pattern501 (rtx x1, machine_mode i1, machine_mode i2)
3232 : {
3233 534 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3234 534 : rtx x2, x3;
3235 534 : int res ATTRIBUTE_UNUSED;
3236 534 : if (!register_operand (operands[0], i2)
3237 534 : || GET_MODE (x1) != i2)
3238 : return -1;
3239 506 : x2 = XEXP (x1, 0);
3240 506 : if (GET_MODE (x2) != i2
3241 506 : || !vector_operand (operands[1], i2)
3242 506 : || !vector_operand (operands[2], i2)
3243 506 : || !vector_operand (operands[3], i2)
3244 1012 : || !const0_operand (operands[4], i2))
3245 : return -1;
3246 506 : x3 = XEXP (x1, 2);
3247 506 : if (GET_MODE (x3) != i1
3248 506 : || !register_operand (operands[5], E_QImode))
3249 50 : return -1;
3250 : return 0;
3251 : }
3252 :
3253 : int
3254 2016 : pattern505 (rtx x1, machine_mode i1)
3255 : {
3256 2016 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3257 2016 : rtx x2, x3, x4, x5, x6, x7;
3258 2016 : int res ATTRIBUTE_UNUSED;
3259 2016 : x2 = XEXP (x1, 0);
3260 2016 : x3 = XVECEXP (x2, 0, 0);
3261 2016 : operands[1] = x3;
3262 2016 : x4 = XVECEXP (x2, 0, 1);
3263 2016 : operands[2] = x4;
3264 2016 : x5 = XVECEXP (x2, 0, 2);
3265 2016 : operands[3] = x5;
3266 2016 : if (!const_0_to_255_operand (operands[3], i1))
3267 : return -1;
3268 2016 : x6 = XEXP (x1, 1);
3269 2016 : operands[4] = x6;
3270 2016 : x7 = XEXP (x1, 2);
3271 2016 : operands[5] = x7;
3272 2016 : switch (GET_MODE (operands[0]))
3273 : {
3274 696 : case E_V64QImode:
3275 696 : return pattern504 (x1,
3276 : E_V64QImode,
3277 696 : E_DImode); /* [-1, 0] */
3278 :
3279 677 : case E_V32QImode:
3280 677 : if (pattern504 (x1,
3281 : E_V32QImode,
3282 : E_SImode) != 0)
3283 110 : return -1;
3284 : return 1;
3285 :
3286 643 : case E_V16QImode:
3287 643 : if (pattern504 (x1,
3288 : E_V16QImode,
3289 : E_HImode) != 0)
3290 73 : return -1;
3291 : return 2;
3292 :
3293 : default:
3294 : return -1;
3295 : }
3296 : }
3297 :
3298 : int
3299 5220 : pattern512 (machine_mode i1, machine_mode i2)
3300 : {
3301 5220 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3302 5220 : int res ATTRIBUTE_UNUSED;
3303 5220 : if (!register_operand (operands[2], i1)
3304 5197 : || !nonimmediate_operand (operands[3], i1)
3305 5179 : || !const0_operand (operands[4], i1)
3306 10399 : || !register_operand (operands[5], i2))
3307 293 : return -1;
3308 : return 0;
3309 : }
3310 :
3311 : int
3312 2708 : pattern515 (rtx x1)
3313 : {
3314 2708 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3315 2708 : rtx x2, x3, x4, x5, x6, x7;
3316 2708 : int res ATTRIBUTE_UNUSED;
3317 2708 : x2 = XEXP (x1, 0);
3318 2708 : x3 = XVECEXP (x2, 0, 0);
3319 2708 : operands[1] = x3;
3320 2708 : x4 = XVECEXP (x2, 0, 1);
3321 2708 : operands[2] = x4;
3322 2708 : x5 = XVECEXP (x2, 0, 2);
3323 2708 : operands[3] = x5;
3324 2708 : x6 = XEXP (x1, 1);
3325 2708 : switch (GET_CODE (x6))
3326 : {
3327 1338 : case REG:
3328 1338 : case SUBREG:
3329 1338 : if (!rtx_equal_p (x6, operands[1]))
3330 : return -1;
3331 1338 : x7 = XEXP (x1, 2);
3332 1338 : operands[4] = x7;
3333 1338 : switch (GET_MODE (operands[0]))
3334 : {
3335 430 : case E_V16SImode:
3336 430 : return pattern511 (x1,
3337 : E_V16SImode,
3338 430 : E_HImode); /* [-1, 0] */
3339 :
3340 458 : case E_V8SImode:
3341 458 : if (pattern511 (x1,
3342 : E_V8SImode,
3343 : E_QImode) != 0)
3344 44 : return -1;
3345 : return 1;
3346 :
3347 450 : case E_V4SImode:
3348 450 : if (pattern511 (x1,
3349 : E_V4SImode,
3350 : E_QImode) != 0)
3351 36 : return -1;
3352 : return 2;
3353 :
3354 : default:
3355 : return -1;
3356 : }
3357 :
3358 1346 : case CONST_INT:
3359 1346 : case CONST_DOUBLE:
3360 1346 : case CONST_VECTOR:
3361 1346 : operands[4] = x6;
3362 1346 : x7 = XEXP (x1, 2);
3363 1346 : operands[5] = x7;
3364 1346 : switch (GET_MODE (operands[0]))
3365 : {
3366 442 : case E_V16SImode:
3367 442 : if (pattern513 (x1,
3368 : E_V16SImode,
3369 : E_HImode) != 0)
3370 64 : return -1;
3371 : return 3;
3372 :
3373 466 : case E_V8SImode:
3374 466 : if (pattern513 (x1,
3375 : E_V8SImode,
3376 : E_QImode) != 0)
3377 56 : return -1;
3378 : return 4;
3379 :
3380 438 : case E_V4SImode:
3381 438 : if (pattern513 (x1,
3382 : E_V4SImode,
3383 : E_QImode) != 0)
3384 32 : return -1;
3385 : return 5;
3386 :
3387 : default:
3388 : return -1;
3389 : }
3390 :
3391 : default:
3392 : return -1;
3393 : }
3394 : }
3395 :
3396 : int
3397 640 : pattern521 (rtx x1, machine_mode i1)
3398 : {
3399 640 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3400 640 : rtx x2;
3401 640 : int res ATTRIBUTE_UNUSED;
3402 640 : if (!register_operand (operands[0], i1)
3403 640 : || GET_MODE (x1) != i1)
3404 : return -1;
3405 596 : x2 = XVECEXP (x1, 0, 0);
3406 596 : if (GET_MODE (x2) != i1
3407 596 : || !register_operand (operands[1], i1)
3408 1156 : || !register_operand (operands[2], i1))
3409 62 : return -1;
3410 : return 0;
3411 : }
3412 :
3413 : int
3414 379 : pattern524 (rtx x1, machine_mode i1, machine_mode i2)
3415 : {
3416 379 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3417 379 : rtx x2;
3418 379 : int res ATTRIBUTE_UNUSED;
3419 379 : if (!register_operand (operands[0], i2)
3420 379 : || GET_MODE (x1) != i2)
3421 : return -1;
3422 366 : x2 = XVECEXP (x1, 0, 0);
3423 366 : if (GET_MODE (x2) != i2
3424 366 : || !register_operand (operands[1], i1))
3425 21 : return -1;
3426 : return 0;
3427 : }
3428 :
3429 : int
3430 8 : pattern526 (rtx x1, machine_mode i1)
3431 : {
3432 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3433 8 : int res ATTRIBUTE_UNUSED;
3434 8 : if (!register_operand (operands[0], i1)
3435 8 : || GET_MODE (x1) != i1
3436 8 : || !register_operand (operands[1], i1)
3437 12 : || !nonimmediate_operand (operands[2], i1))
3438 6 : return -1;
3439 : return 0;
3440 : }
3441 :
3442 : int
3443 81 : pattern527 (rtx x1)
3444 : {
3445 81 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3446 81 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3447 81 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
3448 81 : rtx x18, x19, x20;
3449 81 : int res ATTRIBUTE_UNUSED;
3450 81 : x2 = XVECEXP (x1, 0, 1);
3451 81 : operands[1] = x2;
3452 81 : x3 = XVECEXP (x1, 0, 2);
3453 81 : operands[2] = x3;
3454 81 : x4 = XVECEXP (x1, 0, 0);
3455 81 : switch (XVECLEN (x4, 0))
3456 : {
3457 33 : case 16:
3458 33 : if (GET_MODE (x4) != E_V16QImode)
3459 : return -1;
3460 9 : x5 = XVECEXP (x4, 0, 0);
3461 9 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3462 : return -1;
3463 9 : x6 = XVECEXP (x4, 0, 1);
3464 9 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3465 : return -1;
3466 8 : x7 = XVECEXP (x4, 0, 2);
3467 8 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3468 : return -1;
3469 8 : x8 = XVECEXP (x4, 0, 3);
3470 8 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3471 : return -1;
3472 8 : x9 = XVECEXP (x4, 0, 4);
3473 8 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
3474 : return -1;
3475 8 : x10 = XVECEXP (x4, 0, 5);
3476 8 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
3477 : return -1;
3478 8 : x11 = XVECEXP (x4, 0, 6);
3479 8 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
3480 : return -1;
3481 8 : x12 = XVECEXP (x4, 0, 7);
3482 8 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
3483 : return -1;
3484 8 : x13 = XVECEXP (x4, 0, 8);
3485 8 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
3486 : return -1;
3487 8 : x14 = XVECEXP (x4, 0, 9);
3488 8 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 17])
3489 : return -1;
3490 8 : x15 = XVECEXP (x4, 0, 10);
3491 8 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 18])
3492 : return -1;
3493 8 : x16 = XVECEXP (x4, 0, 11);
3494 8 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 19])
3495 : return -1;
3496 8 : x17 = XVECEXP (x4, 0, 12);
3497 8 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 20])
3498 : return -1;
3499 8 : x18 = XVECEXP (x4, 0, 13);
3500 8 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 21])
3501 : return -1;
3502 8 : x19 = XVECEXP (x4, 0, 14);
3503 8 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 22])
3504 : return -1;
3505 8 : x20 = XVECEXP (x4, 0, 15);
3506 8 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 23]
3507 8 : || pattern526 (x1,
3508 : E_V16QImode) != 0)
3509 6 : return -1;
3510 : return 0;
3511 :
3512 32 : case 8:
3513 32 : if (GET_MODE (x4) != E_V8HImode)
3514 : return -1;
3515 10 : x5 = XVECEXP (x4, 0, 0);
3516 10 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3517 : return -1;
3518 7 : x6 = XVECEXP (x4, 0, 1);
3519 7 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3520 : return -1;
3521 0 : x7 = XVECEXP (x4, 0, 2);
3522 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3523 : return -1;
3524 0 : x8 = XVECEXP (x4, 0, 3);
3525 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3526 : return -1;
3527 0 : x9 = XVECEXP (x4, 0, 4);
3528 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
3529 : return -1;
3530 0 : x10 = XVECEXP (x4, 0, 5);
3531 0 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
3532 : return -1;
3533 0 : x11 = XVECEXP (x4, 0, 6);
3534 0 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
3535 : return -1;
3536 0 : x12 = XVECEXP (x4, 0, 7);
3537 0 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 11]
3538 0 : || pattern526 (x1,
3539 : E_V8HImode) != 0)
3540 0 : return -1;
3541 : return 1;
3542 :
3543 : default:
3544 : return -1;
3545 : }
3546 : }
3547 :
3548 : int
3549 137 : pattern545 (rtx x1)
3550 : {
3551 137 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3552 137 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3553 137 : rtx x10, x11;
3554 137 : int res ATTRIBUTE_UNUSED;
3555 137 : x2 = XEXP (x1, 1);
3556 137 : if (GET_CODE (x2) != CONST_VECTOR
3557 137 : || XVECLEN (x2, 0) != 8
3558 137 : || GET_MODE (x2) != E_V8QImode)
3559 : return -1;
3560 137 : x3 = XVECEXP (x2, 0, 0);
3561 137 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3562 : return -1;
3563 137 : x4 = XVECEXP (x2, 0, 1);
3564 137 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3565 : return -1;
3566 137 : x5 = XVECEXP (x2, 0, 2);
3567 137 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3568 : return -1;
3569 137 : x6 = XVECEXP (x2, 0, 3);
3570 137 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3571 : return -1;
3572 137 : x7 = XVECEXP (x2, 0, 4);
3573 137 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3574 : return -1;
3575 137 : x8 = XVECEXP (x2, 0, 5);
3576 137 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3577 : return -1;
3578 137 : x9 = XVECEXP (x2, 0, 6);
3579 137 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3580 : return -1;
3581 137 : x10 = XVECEXP (x2, 0, 7);
3582 137 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
3583 137 : || !register_operand (operands[0], E_V16QImode)
3584 266 : || GET_MODE (x1) != E_V16QImode)
3585 : return -1;
3586 129 : x11 = XEXP (x1, 0);
3587 129 : if (GET_MODE (x11) != E_V8QImode)
3588 0 : return -1;
3589 : return 0;
3590 : }
3591 :
3592 : int
3593 26412 : pattern553 (rtx x1)
3594 : {
3595 26412 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3596 26412 : rtx x2, x3, x4, x5, x6, x7, x8;
3597 26412 : int res ATTRIBUTE_UNUSED;
3598 26412 : x2 = XEXP (x1, 1);
3599 26412 : if (XVECLEN (x2, 0) < 1)
3600 : return -1;
3601 26412 : operands[4] = x2;
3602 26412 : if (!pmovzx_parallel (operands[4], E_VOIDmode))
3603 : return -1;
3604 354 : x3 = XEXP (x1, 0);
3605 354 : x4 = XEXP (x3, 0);
3606 354 : x5 = XEXP (x4, 0);
3607 354 : operands[1] = x5;
3608 354 : x6 = XEXP (x4, 1);
3609 354 : operands[2] = x6;
3610 354 : x7 = XEXP (x3, 1);
3611 354 : operands[3] = x7;
3612 354 : x8 = XVECEXP (x2, 0, 0);
3613 354 : operands[5] = x8;
3614 354 : if (!const_int_operand (operands[5], E_VOIDmode))
3615 : return -1;
3616 354 : switch (GET_MODE (operands[0]))
3617 : {
3618 4 : case E_V16SImode:
3619 4 : return pattern552 (x1,
3620 : E_V16SImode,
3621 : E_V8SImode,
3622 4 : E_V32SImode); /* [-1, 0] */
3623 :
3624 4 : case E_V8SImode:
3625 4 : if (pattern552 (x1,
3626 : E_V8SImode,
3627 : E_V4SImode,
3628 : E_V16SImode) != 0)
3629 0 : return -1;
3630 : return 1;
3631 :
3632 4 : case E_V4SImode:
3633 4 : if (!register_operand (operands[0], E_V4SImode)
3634 4 : || GET_MODE (x1) != E_V4SImode
3635 4 : || GET_MODE (x3) != E_V8SImode
3636 4 : || GET_MODE (x4) != E_V4SImode
3637 4 : || !vector_operand (operands[1], E_V2SImode)
3638 4 : || !const0_operand (operands[2], E_V2SImode)
3639 8 : || !const0_operand (operands[3], E_V4SImode))
3640 0 : return -1;
3641 : return 2;
3642 :
3643 : default:
3644 : return -1;
3645 : }
3646 : }
3647 :
3648 : int
3649 31169 : pattern561 (rtx x1)
3650 : {
3651 31169 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3652 31169 : rtx x2, x3, x4;
3653 31169 : int res ATTRIBUTE_UNUSED;
3654 31169 : x2 = XEXP (x1, 0);
3655 31169 : x3 = XEXP (x2, 1);
3656 31169 : operands[2] = x3;
3657 31169 : x4 = XEXP (x1, 1);
3658 31169 : operands[3] = x4;
3659 31169 : switch (GET_CODE (x2))
3660 : {
3661 20660 : case GT:
3662 20660 : switch (GET_MODE (operands[0]))
3663 : {
3664 21 : case E_V4DImode:
3665 21 : return pattern560 (x1,
3666 21 : E_V4DImode); /* [-1, 0] */
3667 :
3668 130 : case E_V2DImode:
3669 130 : if (pattern560 (x1,
3670 : E_V2DImode) != 0)
3671 : return -1;
3672 : return 1;
3673 :
3674 : default:
3675 : return -1;
3676 : }
3677 :
3678 : case LT:
3679 : return 2;
3680 :
3681 : default:
3682 : return -1;
3683 : }
3684 : }
3685 :
3686 : int
3687 80578 : pattern564 (rtx x1)
3688 : {
3689 80578 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3690 80578 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3691 80578 : rtx x10, x11;
3692 80578 : int res ATTRIBUTE_UNUSED;
3693 80578 : x2 = XEXP (x1, 0);
3694 80578 : x3 = XEXP (x2, 1);
3695 80578 : switch (XVECLEN (x3, 0))
3696 : {
3697 25331 : case 8:
3698 25331 : x4 = XVECEXP (x3, 0, 0);
3699 25331 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3700 : return -1;
3701 23960 : x5 = XVECEXP (x3, 0, 1);
3702 23960 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3703 : return -1;
3704 23960 : x6 = XVECEXP (x3, 0, 2);
3705 23960 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3706 : return -1;
3707 23960 : x7 = XVECEXP (x3, 0, 3);
3708 23960 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3709 : return -1;
3710 23960 : x8 = XVECEXP (x3, 0, 4);
3711 23960 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
3712 : return -1;
3713 23960 : x9 = XVECEXP (x3, 0, 5);
3714 23960 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
3715 : return -1;
3716 23960 : x10 = XVECEXP (x3, 0, 6);
3717 23960 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
3718 : return -1;
3719 23960 : x11 = XVECEXP (x3, 0, 7);
3720 23960 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
3721 23960 : || GET_MODE (x2) != E_V8QImode
3722 46595 : || !register_operand (operands[1], E_V16QImode))
3723 : return -1;
3724 19053 : return pattern562 (x1); /* [-1, 2] */
3725 :
3726 13805 : case 4:
3727 13805 : x4 = XVECEXP (x3, 0, 0);
3728 13805 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3729 : return -1;
3730 12737 : x5 = XVECEXP (x3, 0, 1);
3731 12737 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3732 : return -1;
3733 12737 : x6 = XVECEXP (x3, 0, 2);
3734 12737 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3735 : return -1;
3736 12737 : x7 = XVECEXP (x3, 0, 3);
3737 12737 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3738 : return -1;
3739 12737 : switch (GET_MODE (operands[0]))
3740 : {
3741 10815 : case E_V4SImode:
3742 10815 : res = pattern563 (x1,
3743 : E_V4SImode);
3744 10815 : if (res >= 0)
3745 7432 : return res + 3; /* [3, 4] */
3746 : return -1;
3747 :
3748 1514 : case E_V4DImode:
3749 1514 : res = pattern563 (x1,
3750 : E_V4DImode);
3751 1514 : if (res >= 0)
3752 380 : return res + 5; /* [5, 6] */
3753 : return -1;
3754 :
3755 : default:
3756 : return -1;
3757 : }
3758 :
3759 9681 : case 2:
3760 9681 : x4 = XVECEXP (x3, 0, 0);
3761 9681 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3762 : return -1;
3763 9679 : x5 = XVECEXP (x3, 0, 1);
3764 9679 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
3765 9545 : || !register_operand (operands[0], E_V2DImode)
3766 16402 : || GET_MODE (x1) != E_V2DImode)
3767 : return -1;
3768 6723 : switch (GET_MODE (x2))
3769 : {
3770 285 : case E_V2QImode:
3771 285 : if (!register_operand (operands[1], E_V16QImode))
3772 48 : return -1;
3773 : return 7;
3774 :
3775 233 : case E_V2HImode:
3776 233 : if (!register_operand (operands[1], E_V8HImode))
3777 32 : return -1;
3778 : return 8;
3779 :
3780 6205 : case E_V2SImode:
3781 6205 : if (!register_operand (operands[1], E_V4SImode))
3782 1534 : return -1;
3783 : return 9;
3784 :
3785 : default:
3786 : return -1;
3787 : }
3788 :
3789 : default:
3790 : return -1;
3791 : }
3792 : }
3793 :
3794 : int
3795 767 : pattern575 (rtx x1, int i1, int i2)
3796 : {
3797 767 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3798 767 : rtx x2, x3, x4, x5, x6;
3799 767 : int res ATTRIBUTE_UNUSED;
3800 767 : x2 = XVECEXP (x1, 0, 1);
3801 767 : if (GET_CODE (x2) != SET)
3802 : return -1;
3803 683 : x3 = XEXP (x2, 1);
3804 683 : if (GET_CODE (x3) != UNSPEC
3805 609 : || XVECLEN (x3, 0) != i2
3806 609 : || XINT (x3, 1) != i1
3807 589 : || GET_MODE (x3) != E_CCmode)
3808 : return -1;
3809 589 : x4 = XEXP (x2, 0);
3810 589 : if (GET_CODE (x4) != REG
3811 589 : || REGNO (x4) != 17
3812 1178 : || GET_MODE (x4) != E_CCmode)
3813 : return -1;
3814 589 : x5 = XVECEXP (x1, 0, 0);
3815 589 : x6 = XEXP (x5, 0);
3816 589 : operands[0] = x6;
3817 589 : return 0;
3818 : }
3819 :
3820 : int
3821 2121 : pattern579 (rtx x1)
3822 : {
3823 2121 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3824 2121 : rtx x2, x3, x4;
3825 2121 : int res ATTRIBUTE_UNUSED;
3826 2121 : x2 = XVECEXP (x1, 0, 1);
3827 2121 : if (GET_CODE (x2) != CLOBBER)
3828 : return -1;
3829 1981 : x3 = XEXP (x2, 0);
3830 1981 : if (GET_CODE (x3) != REG
3831 1981 : || REGNO (x3) != 17
3832 3962 : || GET_MODE (x3) != E_CCmode)
3833 : return -1;
3834 1981 : x4 = XVECEXP (x1, 0, 0);
3835 1981 : return pattern578 (x4); /* [-1, 1] */
3836 : }
3837 :
3838 : int
3839 64647 : pattern582 (rtx x1)
3840 : {
3841 64647 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3842 64647 : rtx x2, x3, x4, x5;
3843 64647 : int res ATTRIBUTE_UNUSED;
3844 64647 : x2 = XEXP (x1, 0);
3845 64647 : if (maybe_ne (SUBREG_BYTE (x2), 0)
3846 64647 : || GET_MODE (x2) != E_QImode)
3847 : return -1;
3848 3723 : x3 = XEXP (x2, 0);
3849 3723 : switch (GET_CODE (x3))
3850 : {
3851 767 : case ASHIFTRT:
3852 767 : case LSHIFTRT:
3853 767 : case SIGN_EXTRACT:
3854 767 : case ZERO_EXTRACT:
3855 767 : operands[3] = x3;
3856 767 : x4 = XEXP (x1, 1);
3857 767 : if (GET_CODE (x4) != SUBREG
3858 562 : || maybe_ne (SUBREG_BYTE (x4), 0)
3859 1329 : || GET_MODE (x4) != E_QImode)
3860 : return -1;
3861 562 : x5 = XEXP (x4, 0);
3862 562 : switch (GET_CODE (x5))
3863 : {
3864 298 : case ASHIFTRT:
3865 298 : case LSHIFTRT:
3866 298 : case SIGN_EXTRACT:
3867 298 : case ZERO_EXTRACT:
3868 298 : operands[4] = x5;
3869 298 : return 0;
3870 :
3871 : default:
3872 : return -1;
3873 : }
3874 :
3875 : default:
3876 : return -1;
3877 : }
3878 : }
3879 :
3880 : int
3881 2341142 : pattern587 (rtx x1, machine_mode i1)
3882 : {
3883 2341142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3884 2341142 : int res ATTRIBUTE_UNUSED;
3885 2341142 : if (!nonimmediate_operand (operands[0], i1)
3886 2340502 : || GET_MODE (x1) != i1
3887 2340502 : || !nonimmediate_operand (operands[1], i1)
3888 4615605 : || !general_operand (operands[2], i1))
3889 69245 : return -1;
3890 : return 0;
3891 : }
3892 :
3893 : int
3894 17124 : pattern590 (rtx x1, machine_mode i1)
3895 : {
3896 17124 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3897 17124 : int res ATTRIBUTE_UNUSED;
3898 17124 : if (!register_operand (operands[0], i1)
3899 17074 : || GET_MODE (x1) != i1
3900 17074 : || !register_operand (operands[1], i1)
3901 33836 : || !register_operand (operands[2], i1))
3902 5525 : return -1;
3903 : return 0;
3904 : }
3905 :
3906 : int
3907 22542 : pattern594 (rtx x1)
3908 : {
3909 22542 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3910 22542 : rtx x2, x3, x4, x5, x6;
3911 22542 : int res ATTRIBUTE_UNUSED;
3912 22542 : x2 = XVECEXP (x1, 0, 1);
3913 22542 : if (GET_CODE (x2) != CLOBBER)
3914 : return -1;
3915 21208 : x3 = XEXP (x2, 0);
3916 21208 : if (GET_CODE (x3) != REG
3917 21208 : || REGNO (x3) != 17
3918 42416 : || GET_MODE (x3) != E_CCmode)
3919 : return -1;
3920 21208 : x4 = XVECEXP (x1, 0, 0);
3921 21208 : x5 = XEXP (x4, 0);
3922 21208 : operands[0] = x5;
3923 21208 : if (!register_operand (operands[0], E_DImode))
3924 : return -1;
3925 21206 : x6 = XEXP (x4, 1);
3926 21206 : if (GET_MODE (x6) != E_DImode)
3927 0 : return -1;
3928 : return 0;
3929 : }
3930 :
3931 : int
3932 626 : pattern596 (rtx x1)
3933 : {
3934 626 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3935 626 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3936 626 : int res ATTRIBUTE_UNUSED;
3937 626 : x2 = XVECEXP (x1, 0, 0);
3938 626 : x3 = XEXP (x2, 0);
3939 626 : operands[0] = x3;
3940 626 : x4 = XEXP (x2, 1);
3941 626 : x5 = XEXP (x4, 0);
3942 626 : operands[1] = x5;
3943 626 : if (!nonimmediate_operand (operands[1], E_SImode))
3944 : return -1;
3945 593 : x6 = XVECEXP (x1, 0, 1);
3946 593 : x7 = XEXP (x6, 0);
3947 593 : operands[2] = x7;
3948 593 : if (!memory_operand (operands[2], E_DImode))
3949 : return -1;
3950 593 : x8 = XVECEXP (x1, 0, 2);
3951 593 : x9 = XEXP (x8, 0);
3952 593 : operands[3] = x9;
3953 593 : if (!scratch_operand (operands[3], E_DImode))
3954 : return -1;
3955 592 : return pattern427 (x4); /* [-1, 2] */
3956 : }
3957 :
3958 : int
3959 100 : pattern602 (rtx x1)
3960 : {
3961 100 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3962 100 : rtx x2, x3, x4, x5;
3963 100 : int res ATTRIBUTE_UNUSED;
3964 100 : x2 = XEXP (x1, 1);
3965 100 : x3 = XEXP (x2, 0);
3966 100 : x4 = XEXP (x3, 0);
3967 100 : operands[2] = x4;
3968 100 : if (!int248_register_operand (operands[2], E_VOIDmode))
3969 : return -1;
3970 100 : x5 = XEXP (x3, 1);
3971 100 : operands[3] = x5;
3972 100 : if (!const_int_operand (operands[3], E_VOIDmode))
3973 : return -1;
3974 100 : return pattern601 (x1); /* [-1, 3] */
3975 : }
3976 :
3977 : int
3978 6925 : pattern605 (rtx x1)
3979 : {
3980 6925 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3981 6925 : rtx x2, x3, x4, x5, x6, x7, x8;
3982 6925 : int res ATTRIBUTE_UNUSED;
3983 6925 : x2 = XEXP (x1, 1);
3984 6925 : if (GET_MODE (x2) != E_DImode)
3985 : return -1;
3986 2317 : x3 = XEXP (x2, 0);
3987 2317 : if (GET_CODE (x3) != XOR
3988 6 : || GET_MODE (x3) != E_SImode)
3989 : return -1;
3990 6 : x4 = XEXP (x3, 0);
3991 6 : if (GET_CODE (x4) != MINUS
3992 6 : || GET_MODE (x4) != E_SImode)
3993 : return -1;
3994 6 : x5 = XEXP (x4, 0);
3995 6 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
3996 : return -1;
3997 6 : x6 = XEXP (x4, 1);
3998 6 : if (GET_CODE (x6) != CLZ
3999 6 : || GET_MODE (x6) != E_SImode)
4000 : return -1;
4001 6 : x7 = XEXP (x3, 1);
4002 6 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 31]
4003 6 : || !register_operand (operands[0], E_DImode)
4004 6 : || GET_MODE (x1) != E_DImode
4005 12 : || !const_int_operand (operands[2], E_DImode))
4006 : return -1;
4007 4 : x8 = XEXP (x6, 0);
4008 4 : operands[1] = x8;
4009 4 : if (!nonimmediate_operand (operands[1], E_SImode))
4010 0 : return -1;
4011 : return 0;
4012 : }
4013 :
4014 : int
4015 193478 : pattern611 (rtx x1, rtx_code i1)
4016 : {
4017 193478 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4018 193478 : rtx x2, x3, x4, x5;
4019 193478 : int res ATTRIBUTE_UNUSED;
4020 193478 : x2 = XVECEXP (x1, 0, 1);
4021 193478 : if (GET_CODE (x2) != SET)
4022 : return -1;
4023 193478 : x3 = XEXP (x2, 1);
4024 193478 : if (GET_CODE (x3) != i1)
4025 : return -1;
4026 193478 : x4 = XVECEXP (x1, 0, 2);
4027 193478 : x5 = XEXP (x4, 0);
4028 193478 : if (GET_CODE (x5) != REG
4029 193478 : || REGNO (x5) != 17
4030 386956 : || GET_MODE (x5) != E_CCmode)
4031 0 : return -1;
4032 : return 0;
4033 : }
4034 :
4035 : int
4036 117 : pattern614 (rtx x1)
4037 : {
4038 117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4039 117 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4040 117 : rtx x10;
4041 117 : int res ATTRIBUTE_UNUSED;
4042 117 : x2 = XVECEXP (x1, 0, 0);
4043 117 : x3 = XEXP (x2, 1);
4044 117 : x4 = XEXP (x3, 0);
4045 117 : operands[2] = x4;
4046 117 : x5 = XEXP (x3, 1);
4047 117 : operands[3] = x5;
4048 117 : x6 = XVECEXP (x1, 0, 1);
4049 117 : x7 = XEXP (x6, 0);
4050 117 : operands[1] = x7;
4051 117 : x8 = XEXP (x6, 1);
4052 117 : x9 = XEXP (x8, 0);
4053 117 : if (!rtx_equal_p (x9, operands[2]))
4054 : return -1;
4055 65 : x10 = XEXP (x8, 1);
4056 65 : if (!rtx_equal_p (x10, operands[3]))
4057 : return -1;
4058 65 : switch (GET_MODE (operands[0]))
4059 : {
4060 28 : case E_SImode:
4061 28 : return pattern429 (x1,
4062 28 : E_SImode); /* [-1, 0] */
4063 :
4064 37 : case E_DImode:
4065 37 : if (pattern429 (x1,
4066 : E_DImode) != 0)
4067 0 : return -1;
4068 : return 1;
4069 :
4070 : default:
4071 : return -1;
4072 : }
4073 : }
4074 :
4075 : int
4076 18523 : pattern619 (rtx x1)
4077 : {
4078 18523 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4079 18523 : int res ATTRIBUTE_UNUSED;
4080 18523 : if (!register_operand (operands[0], E_QImode)
4081 18523 : || GET_MODE (x1) != E_QImode)
4082 : return -1;
4083 18304 : switch (GET_MODE (operands[1]))
4084 : {
4085 2754 : case E_V8HImode:
4086 2754 : if (!general_operand (operands[1], E_V8HImode)
4087 2754 : || !general_operand (operands[2], E_V8HImode))
4088 16 : return -1;
4089 : return 0;
4090 :
4091 2509 : case E_V8SImode:
4092 2509 : if (!general_operand (operands[1], E_V8SImode)
4093 2509 : || !general_operand (operands[2], E_V8SImode))
4094 34 : return -1;
4095 : return 1;
4096 :
4097 1746 : case E_V4SImode:
4098 1746 : if (!general_operand (operands[1], E_V4SImode)
4099 1746 : || !general_operand (operands[2], E_V4SImode))
4100 75 : return -1;
4101 : return 2;
4102 :
4103 3231 : case E_V8DImode:
4104 3231 : if (!general_operand (operands[1], E_V8DImode)
4105 3231 : || !general_operand (operands[2], E_V8DImode))
4106 40 : return -1;
4107 : return 3;
4108 :
4109 4456 : case E_V4DImode:
4110 4456 : if (!general_operand (operands[1], E_V4DImode)
4111 4456 : || !general_operand (operands[2], E_V4DImode))
4112 20 : return -1;
4113 : return 4;
4114 :
4115 1937 : case E_V2DImode:
4116 1937 : if (!general_operand (operands[1], E_V2DImode)
4117 1937 : || !general_operand (operands[2], E_V2DImode))
4118 28 : return -1;
4119 : return 5;
4120 :
4121 : default:
4122 : return -1;
4123 : }
4124 : }
4125 :
4126 : int
4127 300829 : pattern627 (rtx x1)
4128 : {
4129 300829 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4130 300829 : rtx x2, x3, x4, x5;
4131 300829 : int res ATTRIBUTE_UNUSED;
4132 300829 : if (GET_CODE (x1) != SET)
4133 : return -1;
4134 294251 : x2 = XEXP (x1, 1);
4135 294251 : if (!commutative_operator (x2, E_VOIDmode))
4136 : return -1;
4137 90768 : operands[3] = x2;
4138 90768 : x3 = XEXP (x2, 1);
4139 90768 : operands[2] = x3;
4140 90768 : if (!memory_operand (operands[2], E_VOIDmode))
4141 : return -1;
4142 18017 : x4 = XEXP (x2, 0);
4143 18017 : if (!rtx_equal_p (x4, operands[0]))
4144 : return -1;
4145 15937 : x5 = XEXP (x1, 0);
4146 15937 : if (!rtx_equal_p (x5, operands[0]))
4147 6 : return -1;
4148 : return 0;
4149 : }
4150 :
4151 : int
4152 5552 : pattern630 (rtx x1)
4153 : {
4154 5552 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4155 5552 : rtx x2, x3, x4, x5, x6, x7;
4156 5552 : int res ATTRIBUTE_UNUSED;
4157 5552 : x2 = XEXP (x1, 0);
4158 5552 : x3 = XEXP (x2, 1);
4159 5552 : if (GET_CODE (x3) != PARALLEL
4160 5552 : || XVECLEN (x3, 0) != 1)
4161 : return -1;
4162 5552 : x4 = XVECEXP (x3, 0, 0);
4163 5552 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4164 : return -1;
4165 4382 : x5 = XEXP (x1, 1);
4166 4382 : if (GET_CODE (x5) != VEC_SELECT)
4167 : return -1;
4168 1980 : x6 = XEXP (x5, 1);
4169 1980 : if (GET_CODE (x6) != PARALLEL
4170 1980 : || XVECLEN (x6, 0) != 1)
4171 : return -1;
4172 1980 : x7 = XVECEXP (x6, 0, 0);
4173 1980 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4174 29 : return -1;
4175 : return 0;
4176 : }
4177 :
4178 : int
4179 768 : pattern633 (rtx x1)
4180 : {
4181 768 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4182 768 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4183 768 : rtx x10, x11, x12, x13;
4184 768 : int res ATTRIBUTE_UNUSED;
4185 768 : x2 = XEXP (x1, 1);
4186 768 : x3 = XVECEXP (x2, 0, 0);
4187 768 : x4 = XEXP (x3, 0);
4188 768 : if (GET_CODE (x4) != EQ)
4189 : return -1;
4190 246 : x5 = XVECEXP (x2, 0, 1);
4191 246 : if (GET_CODE (x5) != EQ)
4192 : return -1;
4193 246 : x6 = XEXP (x5, 0);
4194 246 : if (GET_CODE (x6) != EQ)
4195 : return -1;
4196 246 : x7 = XEXP (x1, 0);
4197 246 : if (GET_MODE (x7) != E_CCZmode
4198 246 : || GET_MODE (x2) != E_CCZmode)
4199 : return -1;
4200 246 : x8 = XEXP (x4, 0);
4201 246 : operands[0] = x8;
4202 246 : x9 = XEXP (x4, 1);
4203 246 : operands[1] = x9;
4204 246 : x10 = XEXP (x3, 1);
4205 246 : operands[2] = x10;
4206 246 : x11 = XEXP (x6, 0);
4207 246 : if (!rtx_equal_p (x11, operands[0]))
4208 : return -1;
4209 246 : x12 = XEXP (x6, 1);
4210 246 : if (!rtx_equal_p (x12, operands[1]))
4211 : return -1;
4212 246 : x13 = XEXP (x5, 1);
4213 246 : if (!rtx_equal_p (x13, operands[2]))
4214 : return -1;
4215 246 : switch (GET_MODE (x3))
4216 : {
4217 14 : case E_V32QImode:
4218 14 : return pattern632 (x2,
4219 14 : E_V32QImode); /* [-1, 0] */
4220 :
4221 0 : case E_V16QImode:
4222 0 : if (pattern632 (x2,
4223 : E_V16QImode) != 0)
4224 0 : return -1;
4225 : return 1;
4226 :
4227 0 : case E_V16HImode:
4228 0 : if (pattern632 (x2,
4229 : E_V16HImode) != 0)
4230 0 : return -1;
4231 : return 2;
4232 :
4233 0 : case E_V8HImode:
4234 0 : if (pattern632 (x2,
4235 : E_V8HImode) != 0)
4236 0 : return -1;
4237 : return 3;
4238 :
4239 7 : case E_V8SImode:
4240 7 : if (pattern632 (x2,
4241 : E_V8SImode) != 0)
4242 5 : return -1;
4243 : return 4;
4244 :
4245 26 : case E_V4SImode:
4246 26 : if (pattern632 (x2,
4247 : E_V4SImode) != 0)
4248 20 : return -1;
4249 : return 5;
4250 :
4251 74 : case E_V4DImode:
4252 74 : if (pattern632 (x2,
4253 : E_V4DImode) != 0)
4254 68 : return -1;
4255 : return 6;
4256 :
4257 125 : case E_V2DImode:
4258 125 : if (pattern632 (x2,
4259 : E_V2DImode) != 0)
4260 125 : return -1;
4261 : return 7;
4262 :
4263 : default:
4264 : return -1;
4265 : }
4266 : }
4267 :
4268 : int
4269 1757 : pattern642 (rtx x1, int *pnum_clobbers, machine_mode i1)
4270 : {
4271 1757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4272 1757 : int res ATTRIBUTE_UNUSED;
4273 1757 : if (pnum_clobbers == NULL
4274 1739 : || !register_operand (operands[0], i1)
4275 1470 : || GET_MODE (x1) != i1
4276 3227 : || !register_operand (operands[1], i1))
4277 1180 : return -1;
4278 : return 0;
4279 : }
4280 :
4281 : int
4282 47 : pattern646 (rtx x1, machine_mode i1, machine_mode i2)
4283 : {
4284 47 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4285 47 : rtx x2;
4286 47 : int res ATTRIBUTE_UNUSED;
4287 47 : if (!register_operand (operands[0], i1)
4288 47 : || GET_MODE (x1) != i1)
4289 : return -1;
4290 47 : x2 = XEXP (x1, 0);
4291 47 : if (GET_MODE (x2) != i2
4292 47 : || !nonimmediate_operand (operands[1], i2))
4293 28 : return -1;
4294 : return 0;
4295 : }
4296 :
4297 : int
4298 6981 : pattern650 ()
4299 : {
4300 6981 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4301 6981 : int res ATTRIBUTE_UNUSED;
4302 6981 : switch (GET_MODE (operands[1]))
4303 : {
4304 1184 : case E_V8HImode:
4305 1184 : if (!register_operand (operands[1], E_V8HImode)
4306 1184 : || !nonimmediate_operand (operands[2], E_V8HImode))
4307 1 : return -1;
4308 : return 0;
4309 :
4310 1135 : case E_V8SImode:
4311 1135 : if (!register_operand (operands[1], E_V8SImode)
4312 1135 : || !nonimmediate_operand (operands[2], E_V8SImode))
4313 0 : return -1;
4314 : return 1;
4315 :
4316 1145 : case E_V4SImode:
4317 1145 : if (!register_operand (operands[1], E_V4SImode)
4318 1145 : || !nonimmediate_operand (operands[2], E_V4SImode))
4319 0 : return -1;
4320 : return 2;
4321 :
4322 1142 : case E_V8DImode:
4323 1142 : if (!register_operand (operands[1], E_V8DImode)
4324 1142 : || !nonimmediate_operand (operands[2], E_V8DImode))
4325 4 : return -1;
4326 : return 3;
4327 :
4328 1148 : case E_V4DImode:
4329 1148 : if (!register_operand (operands[1], E_V4DImode)
4330 1148 : || !nonimmediate_operand (operands[2], E_V4DImode))
4331 8 : return -1;
4332 : return 4;
4333 :
4334 1227 : case E_V2DImode:
4335 1227 : if (!register_operand (operands[1], E_V2DImode)
4336 1227 : || !nonimmediate_operand (operands[2], E_V2DImode))
4337 88 : return -1;
4338 : return 5;
4339 :
4340 : default:
4341 : return -1;
4342 : }
4343 : }
4344 :
4345 : int
4346 854442 : pattern659 (rtx x1, machine_mode i1)
4347 : {
4348 854442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4349 854442 : int res ATTRIBUTE_UNUSED;
4350 854442 : if (!nonimmediate_operand (operands[0], i1)
4351 842220 : || GET_MODE (x1) != i1
4352 842220 : || !nonimmediate_operand (operands[1], i1)
4353 1396654 : || !nonmemory_operand (operands[2], E_QImode))
4354 335009 : return -1;
4355 : return 0;
4356 : }
4357 :
4358 : int
4359 7289 : pattern662 (rtx x1, machine_mode i1, machine_mode i2)
4360 : {
4361 7289 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4362 7289 : rtx x2;
4363 7289 : int res ATTRIBUTE_UNUSED;
4364 7289 : if (!register_operand (operands[0], i1)
4365 7289 : || GET_MODE (x1) != i1)
4366 : return -1;
4367 6962 : x2 = XEXP (x1, 0);
4368 6962 : if (GET_MODE (x2) != i1
4369 6962 : || !nonimmediate_operand (operands[1], i1)
4370 6938 : || !nonimm_or_0_operand (operands[2], i1)
4371 13795 : || !register_operand (operands[3], i2))
4372 219 : return -1;
4373 : return 0;
4374 : }
4375 :
4376 : int
4377 3530 : pattern666 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
4378 : {
4379 3530 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4380 3530 : rtx x2;
4381 3530 : int res ATTRIBUTE_UNUSED;
4382 3530 : if (!register_operand (operands[0], i1)
4383 3530 : || GET_MODE (x1) != i1)
4384 : return -1;
4385 3384 : x2 = XEXP (x1, 0);
4386 3384 : if (GET_MODE (x2) != i1
4387 3384 : || !nonimmediate_operand (operands[1], i3)
4388 3384 : || !nonimm_or_0_operand (operands[2], i1)
4389 6694 : || !register_operand (operands[3], i2))
4390 232 : return -1;
4391 : return 0;
4392 : }
4393 :
4394 : int
4395 3048 : pattern670 (rtx x1)
4396 : {
4397 3048 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4398 3048 : rtx x2, x3, x4;
4399 3048 : int res ATTRIBUTE_UNUSED;
4400 3048 : x2 = XEXP (x1, 0);
4401 3048 : x3 = XVECEXP (x2, 0, 0);
4402 3048 : operands[1] = x3;
4403 3048 : x4 = XEXP (x1, 2);
4404 3048 : operands[3] = x4;
4405 3048 : switch (GET_MODE (operands[0]))
4406 : {
4407 1032 : case E_V16SImode:
4408 1032 : return pattern668 (x1,
4409 : E_V16SImode,
4410 : E_HImode,
4411 1032 : E_V16SFmode); /* [-1, 0] */
4412 :
4413 1024 : case E_V8SImode:
4414 1024 : if (pattern668 (x1,
4415 : E_V8SImode,
4416 : E_QImode,
4417 : E_V8SFmode) != 0)
4418 128 : return -1;
4419 : return 1;
4420 :
4421 992 : case E_V4SImode:
4422 992 : if (pattern668 (x1,
4423 : E_V4SImode,
4424 : E_QImode,
4425 : E_V4SFmode) != 0)
4426 92 : return -1;
4427 : return 2;
4428 :
4429 : default:
4430 : return -1;
4431 : }
4432 : }
4433 :
4434 : int
4435 1044 : pattern674 (rtx x1, machine_mode i1, machine_mode i2)
4436 : {
4437 1044 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4438 1044 : rtx x2;
4439 1044 : int res ATTRIBUTE_UNUSED;
4440 1044 : if (!register_operand (operands[0], i1)
4441 1044 : || GET_MODE (x1) != i1)
4442 : return -1;
4443 1044 : x2 = XEXP (x1, 0);
4444 1044 : if (GET_MODE (x2) != i1
4445 1044 : || !register_operand (operands[1], i1)
4446 1044 : || !nonimm_or_0_operand (operands[2], i1)
4447 2088 : || !register_operand (operands[3], i2))
4448 12 : return -1;
4449 : return 0;
4450 : }
4451 :
4452 : int
4453 2361 : pattern679 (rtx x1)
4454 : {
4455 2361 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4456 2361 : rtx x2, x3, x4, x5;
4457 2361 : int res ATTRIBUTE_UNUSED;
4458 2361 : x2 = XVECEXP (x1, 0, 0);
4459 2361 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4460 : return -1;
4461 2361 : x3 = XVECEXP (x1, 0, 1);
4462 2361 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4463 : return -1;
4464 2361 : x4 = XVECEXP (x1, 0, 2);
4465 2361 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4466 : return -1;
4467 2361 : x5 = XVECEXP (x1, 0, 3);
4468 2361 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
4469 0 : return -1;
4470 : return 0;
4471 : }
4472 :
4473 : int
4474 164 : pattern682 (rtx x1)
4475 : {
4476 164 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4477 164 : int res ATTRIBUTE_UNUSED;
4478 164 : if (!register_operand (operands[0], E_V8DImode)
4479 164 : || GET_MODE (x1) != E_V8DImode)
4480 : return -1;
4481 112 : switch (GET_MODE (operands[1]))
4482 : {
4483 46 : case E_V8HFmode:
4484 46 : if (!vector_operand (operands[1], E_V8HFmode))
4485 4 : return -1;
4486 : return 0;
4487 :
4488 36 : case E_V8DFmode:
4489 36 : if (!vector_operand (operands[1], E_V8DFmode))
4490 4 : return -1;
4491 : return 1;
4492 :
4493 30 : case E_V8SFmode:
4494 30 : if (!vector_operand (operands[1], E_V8SFmode))
4495 2 : return -1;
4496 : return 2;
4497 :
4498 : default:
4499 : return -1;
4500 : }
4501 : }
4502 :
4503 : int
4504 2012 : pattern686 (rtx x1, machine_mode i1)
4505 : {
4506 2012 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4507 2012 : rtx x2, x3;
4508 2012 : int res ATTRIBUTE_UNUSED;
4509 2012 : if (!register_operand (operands[0], i1)
4510 2012 : || GET_MODE (x1) != i1)
4511 : return -1;
4512 1948 : x2 = XVECEXP (x1, 0, 0);
4513 1948 : if (GET_MODE (x2) != i1)
4514 : return -1;
4515 1948 : x3 = XEXP (x2, 0);
4516 1948 : if (GET_MODE (x3) != i1
4517 1948 : || !register_operand (operands[1], i1)
4518 3816 : || !nonimmediate_operand (operands[2], i1))
4519 100 : return -1;
4520 : return 0;
4521 : }
4522 :
4523 : int
4524 2643 : pattern691 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
4525 : {
4526 2643 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4527 2643 : rtx x2, x3;
4528 2643 : int res ATTRIBUTE_UNUSED;
4529 2643 : if (!register_operand (operands[0], i2)
4530 2643 : || GET_MODE (x1) != i2)
4531 : return -1;
4532 2575 : x2 = XVECEXP (x1, 0, 0);
4533 2575 : if (GET_MODE (x2) != i2)
4534 : return -1;
4535 2575 : x3 = XEXP (x2, 0);
4536 2575 : if (GET_MODE (x3) != i2
4537 2575 : || !register_operand (operands[1], i3)
4538 2549 : || !nonimm_or_0_operand (operands[2], i2)
4539 5122 : || !register_operand (operands[3], i1))
4540 82 : return -1;
4541 : return 0;
4542 : }
4543 :
4544 : int
4545 1754 : pattern693 (rtx x1, machine_mode i1)
4546 : {
4547 1754 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4548 1754 : rtx x2;
4549 1754 : int res ATTRIBUTE_UNUSED;
4550 1754 : if (!register_operand (operands[0], i1)
4551 1597 : || GET_MODE (x1) != i1
4552 1597 : || !nonimmediate_operand (operands[1], i1)
4553 3159 : || !nonimmediate_operand (operands[2], i1))
4554 : return -1;
4555 1276 : x2 = XVECEXP (x1, 0, 2);
4556 1276 : if (GET_MODE (x2) != i1
4557 1276 : || !nonimmediate_operand (operands[3], i1)
4558 2552 : || !nonimmediate_operand (operands[4], i1))
4559 0 : return -1;
4560 : return 0;
4561 : }
4562 :
4563 : int
4564 6 : pattern697 (rtx x1, machine_mode i1)
4565 : {
4566 6 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4567 6 : rtx x2, x3;
4568 6 : int res ATTRIBUTE_UNUSED;
4569 6 : if (!register_operand (operands[0], i1)
4570 6 : || GET_MODE (x1) != i1
4571 6 : || !vector_operand (operands[2], i1)
4572 12 : || !register_operand (operands[1], i1))
4573 : return -1;
4574 6 : x2 = XVECEXP (x1, 0, 2);
4575 6 : if (GET_MODE (x2) != i1)
4576 : return -1;
4577 6 : x3 = XEXP (x2, 0);
4578 6 : if (GET_MODE (x3) != i1
4579 6 : || !const0_operand (operands[4], i1))
4580 0 : return -1;
4581 : return 0;
4582 : }
4583 :
4584 : int
4585 291 : pattern700 (rtx x1, machine_mode i1)
4586 : {
4587 291 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4588 291 : rtx x2;
4589 291 : int res ATTRIBUTE_UNUSED;
4590 291 : if (!register_operand (operands[0], i1)
4591 271 : || GET_MODE (x1) != i1
4592 271 : || !vector_operand (operands[1], i1)
4593 562 : || !register_operand (operands[2], i1))
4594 : return -1;
4595 201 : x2 = XVECEXP (x1, 0, 2);
4596 201 : if (GET_MODE (x2) != i1
4597 201 : || !register_operand (operands[3], i1)
4598 402 : || !vector_all_ones_operand (operands[4], i1))
4599 201 : return -1;
4600 : return 0;
4601 : }
4602 :
4603 : int
4604 997 : pattern704 (rtx x1, machine_mode i1)
4605 : {
4606 997 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4607 997 : int res ATTRIBUTE_UNUSED;
4608 997 : if (!register_operand (operands[0], i1)
4609 898 : || GET_MODE (x1) != i1
4610 898 : || !vector_operand (operands[1], i1)
4611 866 : || !vector_operand (operands[2], i1)
4612 1832 : || !vector_operand (operands[3], i1))
4613 177 : return -1;
4614 : return 0;
4615 : }
4616 :
4617 : int
4618 4010 : pattern706 (rtx x1)
4619 : {
4620 4010 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4621 4010 : rtx x2, x3, x4;
4622 4010 : int res ATTRIBUTE_UNUSED;
4623 4010 : x2 = XEXP (x1, 0);
4624 4010 : x3 = XEXP (x2, 1);
4625 4010 : if (GET_CODE (x3) != VEC_SELECT)
4626 : return -1;
4627 3012 : x4 = XEXP (x3, 1);
4628 3012 : if (GET_CODE (x4) != PARALLEL
4629 3012 : || !register_operand (operands[0], E_V16QImode)
4630 6016 : || GET_MODE (x1) != E_V16QImode)
4631 8 : return -1;
4632 : return 0;
4633 : }
4634 :
4635 : int
4636 116 : pattern709 (rtx x1)
4637 : {
4638 116 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4639 116 : rtx x2, x3;
4640 116 : int res ATTRIBUTE_UNUSED;
4641 116 : x2 = XEXP (x1, 0);
4642 116 : if (GET_MODE (x2) != E_V8QImode
4643 116 : || !nonimmediate_operand (operands[0], E_V16QImode)
4644 116 : || GET_MODE (x1) != E_V16QImode
4645 232 : || !register_operand (operands[1], E_V16QImode))
4646 : return -1;
4647 116 : x3 = XEXP (x1, 1);
4648 116 : operands[2] = x3;
4649 116 : if (!const0_operand (operands[2], E_V8QImode))
4650 0 : return -1;
4651 : return 0;
4652 : }
4653 :
4654 : int
4655 8259 : pattern713 (rtx x1)
4656 : {
4657 8259 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4658 8259 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4659 8259 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
4660 8259 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
4661 8259 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
4662 8259 : int res ATTRIBUTE_UNUSED;
4663 8259 : x2 = XVECEXP (x1, 0, 0);
4664 8259 : if (GET_CODE (x2) != CONST_INT)
4665 : return -1;
4666 8259 : x3 = XVECEXP (x1, 0, 1);
4667 8259 : if (GET_CODE (x3) != CONST_INT)
4668 : return -1;
4669 8259 : x4 = XVECEXP (x1, 0, 2);
4670 8259 : if (GET_CODE (x4) != CONST_INT)
4671 : return -1;
4672 8259 : x5 = XVECEXP (x1, 0, 3);
4673 8259 : if (GET_CODE (x5) != CONST_INT)
4674 : return -1;
4675 8259 : x6 = XVECEXP (x1, 0, 4);
4676 8259 : if (GET_CODE (x6) != CONST_INT)
4677 : return -1;
4678 8259 : x7 = XVECEXP (x1, 0, 5);
4679 8259 : if (GET_CODE (x7) != CONST_INT)
4680 : return -1;
4681 8259 : x8 = XVECEXP (x1, 0, 6);
4682 8259 : if (GET_CODE (x8) != CONST_INT)
4683 : return -1;
4684 8259 : x9 = XVECEXP (x1, 0, 7);
4685 8259 : if (GET_CODE (x9) != CONST_INT)
4686 : return -1;
4687 8259 : x10 = XVECEXP (x1, 0, 8);
4688 8259 : if (GET_CODE (x10) != CONST_INT)
4689 : return -1;
4690 8259 : x11 = XVECEXP (x1, 0, 9);
4691 8259 : if (GET_CODE (x11) != CONST_INT)
4692 : return -1;
4693 8259 : x12 = XVECEXP (x1, 0, 10);
4694 8259 : if (GET_CODE (x12) != CONST_INT)
4695 : return -1;
4696 8259 : x13 = XVECEXP (x1, 0, 11);
4697 8259 : if (GET_CODE (x13) != CONST_INT)
4698 : return -1;
4699 8259 : x14 = XVECEXP (x1, 0, 12);
4700 8259 : if (GET_CODE (x14) != CONST_INT)
4701 : return -1;
4702 8259 : x15 = XVECEXP (x1, 0, 13);
4703 8259 : if (GET_CODE (x15) != CONST_INT)
4704 : return -1;
4705 8259 : x16 = XVECEXP (x1, 0, 14);
4706 8259 : if (GET_CODE (x16) != CONST_INT)
4707 : return -1;
4708 8259 : x17 = XVECEXP (x1, 0, 15);
4709 8259 : if (GET_CODE (x17) != CONST_INT)
4710 : return -1;
4711 8259 : x18 = XVECEXP (x1, 0, 16);
4712 8259 : if (GET_CODE (x18) != CONST_INT)
4713 : return -1;
4714 8259 : x19 = XVECEXP (x1, 0, 17);
4715 8259 : if (GET_CODE (x19) != CONST_INT)
4716 : return -1;
4717 8259 : x20 = XVECEXP (x1, 0, 18);
4718 8259 : if (GET_CODE (x20) != CONST_INT)
4719 : return -1;
4720 8259 : x21 = XVECEXP (x1, 0, 19);
4721 8259 : if (GET_CODE (x21) != CONST_INT)
4722 : return -1;
4723 8259 : x22 = XVECEXP (x1, 0, 20);
4724 8259 : if (GET_CODE (x22) != CONST_INT)
4725 : return -1;
4726 8259 : x23 = XVECEXP (x1, 0, 21);
4727 8259 : if (GET_CODE (x23) != CONST_INT)
4728 : return -1;
4729 8259 : x24 = XVECEXP (x1, 0, 22);
4730 8259 : if (GET_CODE (x24) != CONST_INT)
4731 : return -1;
4732 8259 : x25 = XVECEXP (x1, 0, 23);
4733 8259 : if (GET_CODE (x25) != CONST_INT)
4734 : return -1;
4735 8259 : x26 = XVECEXP (x1, 0, 24);
4736 8259 : if (GET_CODE (x26) != CONST_INT)
4737 : return -1;
4738 8259 : x27 = XVECEXP (x1, 0, 25);
4739 8259 : if (GET_CODE (x27) != CONST_INT)
4740 : return -1;
4741 8259 : x28 = XVECEXP (x1, 0, 26);
4742 8259 : if (GET_CODE (x28) != CONST_INT)
4743 : return -1;
4744 8259 : x29 = XVECEXP (x1, 0, 27);
4745 8259 : if (GET_CODE (x29) != CONST_INT)
4746 : return -1;
4747 8259 : x30 = XVECEXP (x1, 0, 28);
4748 8259 : if (GET_CODE (x30) != CONST_INT)
4749 : return -1;
4750 8259 : x31 = XVECEXP (x1, 0, 29);
4751 8259 : if (GET_CODE (x31) != CONST_INT)
4752 : return -1;
4753 8259 : x32 = XVECEXP (x1, 0, 30);
4754 8259 : if (GET_CODE (x32) != CONST_INT)
4755 : return -1;
4756 8259 : x33 = XVECEXP (x1, 0, 31);
4757 8259 : if (GET_CODE (x33) != CONST_INT)
4758 0 : return -1;
4759 : return 0;
4760 : }
4761 :
4762 : int
4763 237 : pattern734 (rtx x1)
4764 : {
4765 237 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4766 237 : rtx x2, x3, x4;
4767 237 : int res ATTRIBUTE_UNUSED;
4768 237 : if (GET_MODE (x1) != E_SImode)
4769 : return -1;
4770 231 : x2 = XEXP (x1, 0);
4771 231 : if (GET_CODE (x2) != ASHIFT
4772 73 : || GET_MODE (x2) != E_SImode)
4773 : return -1;
4774 73 : x3 = XEXP (x2, 0);
4775 73 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4776 : return -1;
4777 27 : x4 = XEXP (x1, 1);
4778 27 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
4779 0 : return -1;
4780 : return 0;
4781 : }
4782 :
4783 : int
4784 148993 : pattern739 (rtx x1, int *pnum_clobbers)
4785 : {
4786 148993 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4787 148993 : rtx x2, x3, x4, x5;
4788 148993 : int res ATTRIBUTE_UNUSED;
4789 148993 : x2 = XVECEXP (x1, 0, 1);
4790 148993 : x3 = XEXP (x2, 0);
4791 148993 : operands[2] = x3;
4792 148993 : switch (GET_MODE (operands[0]))
4793 : {
4794 34768 : case E_TFmode:
4795 34768 : x4 = XVECEXP (x1, 0, 0);
4796 34768 : x5 = XEXP (x4, 1);
4797 34768 : return pattern736 (x5,
4798 34768 : E_TFmode); /* [-1, 0] */
4799 :
4800 521 : case E_HFmode:
4801 521 : if (pnum_clobbers == NULL)
4802 : return -1;
4803 71 : x4 = XVECEXP (x1, 0, 0);
4804 71 : x5 = XEXP (x4, 1);
4805 71 : if (pattern265 (x5,
4806 : E_V8HFmode,
4807 : E_HFmode) != 0)
4808 71 : return -1;
4809 : return 1;
4810 :
4811 42046 : case E_SFmode:
4812 42046 : if (pnum_clobbers == NULL)
4813 : return -1;
4814 19870 : x4 = XVECEXP (x1, 0, 0);
4815 19870 : x5 = XEXP (x4, 1);
4816 19870 : if (pattern265 (x5,
4817 : E_V4SFmode,
4818 : E_SFmode) != 0)
4819 18336 : return -1;
4820 : return 2;
4821 :
4822 48500 : case E_DFmode:
4823 48500 : if (pnum_clobbers == NULL)
4824 : return -1;
4825 22165 : x4 = XVECEXP (x1, 0, 0);
4826 22165 : x5 = XEXP (x4, 1);
4827 22165 : if (pattern265 (x5,
4828 : E_V2DFmode,
4829 : E_DFmode) != 0)
4830 19736 : return -1;
4831 : return 3;
4832 :
4833 1470 : case E_V2SFmode:
4834 1470 : x4 = XVECEXP (x1, 0, 0);
4835 1470 : x5 = XEXP (x4, 1);
4836 1470 : if (pattern737 (x5) != 0)
4837 468 : return -1;
4838 : return 4;
4839 :
4840 42 : case E_V2BFmode:
4841 42 : x4 = XVECEXP (x1, 0, 0);
4842 42 : x5 = XEXP (x4, 1);
4843 42 : if (pattern738 (x5,
4844 : E_V2BFmode) != 0)
4845 30 : return -1;
4846 : return 5;
4847 :
4848 42 : case E_V4BFmode:
4849 42 : x4 = XVECEXP (x1, 0, 0);
4850 42 : x5 = XEXP (x4, 1);
4851 42 : if (pattern738 (x5,
4852 : E_V4BFmode) != 0)
4853 30 : return -1;
4854 : return 6;
4855 :
4856 84 : case E_V2HFmode:
4857 84 : x4 = XVECEXP (x1, 0, 0);
4858 84 : x5 = XEXP (x4, 1);
4859 84 : if (pattern738 (x5,
4860 : E_V2HFmode) != 0)
4861 46 : return -1;
4862 : return 7;
4863 :
4864 43 : case E_V4HFmode:
4865 43 : x4 = XVECEXP (x1, 0, 0);
4866 43 : x5 = XEXP (x4, 1);
4867 43 : if (pattern738 (x5,
4868 : E_V4HFmode) != 0)
4869 30 : return -1;
4870 : return 8;
4871 :
4872 30 : case E_V32BFmode:
4873 30 : x4 = XVECEXP (x1, 0, 0);
4874 30 : x5 = XEXP (x4, 1);
4875 30 : if (pattern736 (x5,
4876 : E_V32BFmode) != 0)
4877 18 : return -1;
4878 : return 9;
4879 :
4880 30 : case E_V16BFmode:
4881 30 : x4 = XVECEXP (x1, 0, 0);
4882 30 : x5 = XEXP (x4, 1);
4883 30 : if (pattern736 (x5,
4884 : E_V16BFmode) != 0)
4885 18 : return -1;
4886 : return 10;
4887 :
4888 30 : case E_V8BFmode:
4889 30 : x4 = XVECEXP (x1, 0, 0);
4890 30 : x5 = XEXP (x4, 1);
4891 30 : if (pattern736 (x5,
4892 : E_V8BFmode) != 0)
4893 18 : return -1;
4894 : return 11;
4895 :
4896 112 : case E_V32HFmode:
4897 112 : x4 = XVECEXP (x1, 0, 0);
4898 112 : x5 = XEXP (x4, 1);
4899 112 : if (pattern736 (x5,
4900 : E_V32HFmode) != 0)
4901 51 : return -1;
4902 : return 12;
4903 :
4904 74 : case E_V16HFmode:
4905 74 : x4 = XVECEXP (x1, 0, 0);
4906 74 : x5 = XEXP (x4, 1);
4907 74 : if (pattern736 (x5,
4908 : E_V16HFmode) != 0)
4909 31 : return -1;
4910 : return 13;
4911 :
4912 1507 : case E_V8HFmode:
4913 1507 : x4 = XVECEXP (x1, 0, 0);
4914 1507 : x5 = XEXP (x4, 1);
4915 1507 : if (pattern736 (x5,
4916 : E_V8HFmode) != 0)
4917 378 : return -1;
4918 : return 14;
4919 :
4920 541 : case E_V16SFmode:
4921 541 : x4 = XVECEXP (x1, 0, 0);
4922 541 : x5 = XEXP (x4, 1);
4923 541 : if (pattern736 (x5,
4924 : E_V16SFmode) != 0)
4925 164 : return -1;
4926 : return 15;
4927 :
4928 3152 : case E_V8SFmode:
4929 3152 : x4 = XVECEXP (x1, 0, 0);
4930 3152 : x5 = XEXP (x4, 1);
4931 3152 : if (pattern736 (x5,
4932 : E_V8SFmode) != 0)
4933 588 : return -1;
4934 : return 16;
4935 :
4936 4562 : case E_V4SFmode:
4937 4562 : x4 = XVECEXP (x1, 0, 0);
4938 4562 : x5 = XEXP (x4, 1);
4939 4562 : if (pattern736 (x5,
4940 : E_V4SFmode) != 0)
4941 1448 : return -1;
4942 : return 17;
4943 :
4944 415 : case E_V8DFmode:
4945 415 : x4 = XVECEXP (x1, 0, 0);
4946 415 : x5 = XEXP (x4, 1);
4947 415 : if (pattern736 (x5,
4948 : E_V8DFmode) != 0)
4949 148 : return -1;
4950 : return 18;
4951 :
4952 6188 : case E_V4DFmode:
4953 6188 : x4 = XVECEXP (x1, 0, 0);
4954 6188 : x5 = XEXP (x4, 1);
4955 6188 : if (pattern736 (x5,
4956 : E_V4DFmode) != 0)
4957 1070 : return -1;
4958 : return 19;
4959 :
4960 4836 : case E_V2DFmode:
4961 4836 : x4 = XVECEXP (x1, 0, 0);
4962 4836 : x5 = XEXP (x4, 1);
4963 4836 : if (pattern736 (x5,
4964 : E_V2DFmode) != 0)
4965 1365 : return -1;
4966 : return 20;
4967 :
4968 : default:
4969 : return -1;
4970 : }
4971 : }
4972 :
4973 : int
4974 105636 : pattern767 (rtx x1, machine_mode i1, machine_mode i2)
4975 : {
4976 105636 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4977 105636 : int res ATTRIBUTE_UNUSED;
4978 105636 : if (!register_operand (operands[0], i2)
4979 102495 : || GET_MODE (x1) != i2
4980 102495 : || !register_operand (operands[1], i1)
4981 178586 : || !vector_operand (operands[2], i1))
4982 54797 : return -1;
4983 : return 0;
4984 : }
4985 :
4986 : int
4987 1232 : pattern771 (rtx x1)
4988 : {
4989 1232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4990 1232 : rtx x2, x3, x4, x5, x6;
4991 1232 : int res ATTRIBUTE_UNUSED;
4992 1232 : x2 = XVECEXP (x1, 0, 2);
4993 1232 : x3 = XEXP (x2, 0);
4994 1232 : if (GET_CODE (x3) != EQ)
4995 : return -1;
4996 290 : x4 = XEXP (x3, 0);
4997 290 : operands[3] = x4;
4998 290 : x5 = XEXP (x3, 1);
4999 290 : operands[4] = x5;
5000 290 : x6 = XEXP (x2, 1);
5001 290 : operands[5] = x6;
5002 290 : switch (GET_MODE (operands[0]))
5003 : {
5004 0 : case E_V8QImode:
5005 0 : return pattern770 (x1,
5006 0 : E_V8QImode); /* [-1, 0] */
5007 :
5008 90 : case E_V4QImode:
5009 90 : if (pattern770 (x1,
5010 : E_V4QImode) != 0)
5011 78 : return -1;
5012 : return 1;
5013 :
5014 180 : case E_V2QImode:
5015 180 : if (pattern770 (x1,
5016 : E_V2QImode) != 0)
5017 156 : return -1;
5018 : return 2;
5019 :
5020 0 : case E_V2HImode:
5021 0 : if (pattern770 (x1,
5022 : E_V2HImode) != 0)
5023 0 : return -1;
5024 : return 3;
5025 :
5026 : default:
5027 : return -1;
5028 : }
5029 : }
5030 :
5031 : int
5032 159999 : pattern779 (rtx x1, machine_mode i1)
5033 : {
5034 159999 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5035 159999 : int res ATTRIBUTE_UNUSED;
5036 159999 : if (!register_operand (operands[0], i1)
5037 159444 : || !binary_fp_operator (operands[3], i1)
5038 159444 : || GET_MODE (x1) != i1
5039 319443 : || !register_operand (operands[2], i1))
5040 : return -1;
5041 139293 : switch (GET_MODE (operands[1]))
5042 : {
5043 82 : case E_HImode:
5044 82 : if (!nonimmediate_operand (operands[1], E_HImode))
5045 21 : return -1;
5046 : return 0;
5047 :
5048 82025 : case E_SImode:
5049 82025 : if (!nonimmediate_operand (operands[1], E_SImode))
5050 3774 : return -1;
5051 : return 1;
5052 :
5053 : default:
5054 : return -1;
5055 : }
5056 : }
5057 :
5058 : int
5059 5668 : pattern787 (rtx x1, machine_mode i1)
5060 : {
5061 5668 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5062 5668 : rtx x2;
5063 5668 : int res ATTRIBUTE_UNUSED;
5064 5668 : if (!register_operand (operands[0], i1)
5065 5668 : || GET_MODE (x1) != i1)
5066 : return -1;
5067 4153 : x2 = XEXP (x1, 0);
5068 4153 : if (GET_MODE (x2) != i1
5069 4153 : || !register_operand (operands[1], i1))
5070 3939 : return -1;
5071 : return 0;
5072 : }
5073 :
5074 : int
5075 5331 : pattern790 (rtx x1)
5076 : {
5077 5331 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5078 5331 : rtx x2, x3, x4;
5079 5331 : int res ATTRIBUTE_UNUSED;
5080 5331 : x2 = XEXP (x1, 0);
5081 5331 : x3 = XEXP (x2, 0);
5082 5331 : operands[1] = x3;
5083 5331 : x4 = XEXP (x1, 1);
5084 5331 : if (!rtx_equal_p (x4, operands[1]))
5085 : return -1;
5086 2642 : switch (GET_MODE (x1))
5087 : {
5088 1105 : case E_SImode:
5089 1105 : if (GET_MODE (x2) != E_SImode
5090 1105 : || !nonimmediate_operand (operands[1], E_SImode))
5091 21 : return -1;
5092 : return 0;
5093 :
5094 1531 : case E_DImode:
5095 1531 : if (GET_MODE (x2) != E_DImode
5096 1531 : || !nonimmediate_operand (operands[1], E_DImode))
5097 16 : return -1;
5098 : return 1;
5099 :
5100 : default:
5101 : return -1;
5102 : }
5103 : }
5104 :
5105 : int
5106 831 : pattern797 (rtx x1)
5107 : {
5108 831 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5109 831 : rtx x2, x3, x4, x5, x6;
5110 831 : int res ATTRIBUTE_UNUSED;
5111 831 : x2 = XEXP (x1, 0);
5112 831 : x3 = XEXP (x2, 1);
5113 831 : if (maybe_ne (SUBREG_BYTE (x3), 0)
5114 831 : || GET_MODE (x3) != E_QImode)
5115 : return -1;
5116 831 : x4 = XEXP (x3, 0);
5117 831 : if (GET_CODE (x4) != AND)
5118 : return -1;
5119 167 : x5 = XEXP (x4, 0);
5120 167 : operands[1] = x5;
5121 167 : if (!int248_register_operand (operands[1], E_VOIDmode))
5122 : return -1;
5123 160 : x6 = XEXP (x4, 1);
5124 160 : operands[2] = x6;
5125 160 : if (!const_int_operand (operands[2], E_VOIDmode))
5126 : return -1;
5127 160 : return pattern147 (x1); /* [-1, 1] */
5128 : }
5129 :
5130 : int
5131 2998 : pattern803 (rtx x1, machine_mode i1)
5132 : {
5133 2998 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5134 2998 : rtx x2, x3;
5135 2998 : int res ATTRIBUTE_UNUSED;
5136 2998 : if (!register_operand (operands[0], i1)
5137 2998 : || GET_MODE (x1) != i1)
5138 : return -1;
5139 2926 : x2 = XEXP (x1, 0);
5140 2926 : if (GET_MODE (x2) != i1)
5141 : return -1;
5142 2926 : x3 = XEXP (x2, 0);
5143 2926 : if (GET_MODE (x3) != i1
5144 2926 : || !register_operand (operands[1], i1)
5145 2926 : || !nonimmediate_operand (operands[2], i1)
5146 5852 : || !nonimm_or_0_operand (operands[3], i1))
5147 0 : return -1;
5148 : return 0;
5149 : }
5150 :
5151 : int
5152 176 : pattern805 (rtx x1)
5153 : {
5154 176 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5155 176 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5156 176 : rtx x10;
5157 176 : int res ATTRIBUTE_UNUSED;
5158 176 : x2 = XEXP (x1, 0);
5159 176 : x3 = XEXP (x2, 0);
5160 176 : if (GET_MODE (x3) != E_V8HFmode)
5161 : return -1;
5162 176 : x4 = XEXP (x2, 2);
5163 176 : if (GET_CODE (x4) != UNSPEC
5164 176 : || XVECLEN (x4, 0) != 1
5165 176 : || XINT (x4, 1) != 222
5166 176 : || GET_MODE (x4) != E_QImode)
5167 : return -1;
5168 176 : x5 = XEXP (x1, 2);
5169 176 : if (XWINT (x5, 0) != 3L
5170 176 : || !register_operand (operands[0], E_V8HFmode)
5171 148 : || GET_MODE (x1) != E_V8HFmode
5172 324 : || GET_MODE (x2) != E_V8HFmode)
5173 : return -1;
5174 148 : x6 = XVECEXP (x3, 0, 0);
5175 148 : operands[1] = x6;
5176 148 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
5177 : return -1;
5178 148 : x7 = XVECEXP (x3, 0, 1);
5179 148 : operands[2] = x7;
5180 148 : if (!vector_operand (operands[2], E_V8HFmode))
5181 : return -1;
5182 148 : x8 = XEXP (x2, 1);
5183 148 : operands[3] = x8;
5184 148 : if (!nonimm_or_0_operand (operands[3], E_V8HFmode))
5185 : return -1;
5186 148 : x9 = XVECEXP (x4, 0, 0);
5187 148 : operands[4] = x9;
5188 148 : if (!register_operand (operands[4], E_QImode))
5189 : return -1;
5190 132 : x10 = XEXP (x1, 1);
5191 132 : if (!rtx_equal_p (x10, operands[1]))
5192 0 : return -1;
5193 : return 0;
5194 : }
5195 :
5196 : int
5197 360 : pattern812 (rtx x1, machine_mode i1)
5198 : {
5199 360 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5200 360 : int res ATTRIBUTE_UNUSED;
5201 360 : if (!register_operand (operands[0], i1)
5202 360 : || GET_MODE (x1) != i1)
5203 : return -1;
5204 338 : switch (GET_MODE (operands[1]))
5205 : {
5206 108 : case E_V8HFmode:
5207 108 : if (!vector_operand (operands[1], E_V8HFmode))
5208 2 : return -1;
5209 : return 0;
5210 :
5211 115 : case E_V4SFmode:
5212 115 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
5213 1 : return -1;
5214 : return 1;
5215 :
5216 115 : case E_V4DFmode:
5217 115 : if (!nonimmediate_operand (operands[1], E_V4DFmode))
5218 1 : return -1;
5219 : return 2;
5220 :
5221 : default:
5222 : return -1;
5223 : }
5224 : }
5225 :
5226 : int
5227 32459 : pattern818 (rtx x1, machine_mode i1, machine_mode i2)
5228 : {
5229 32459 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5230 32459 : int res ATTRIBUTE_UNUSED;
5231 32459 : if (!register_operand (operands[0], i2)
5232 32452 : || GET_MODE (x1) != i2
5233 32452 : || !vector_operand (operands[1], i1)
5234 61343 : || !vector_operand (operands[2], i1))
5235 15199 : return -1;
5236 : return 0;
5237 : }
5238 :
5239 : int
5240 716 : pattern822 (rtx x1, machine_mode i1, machine_mode i2)
5241 : {
5242 716 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5243 716 : int res ATTRIBUTE_UNUSED;
5244 716 : if (!register_operand (operands[0], i1)
5245 714 : || GET_MODE (x1) != i1
5246 714 : || !register_operand (operands[2], i2)
5247 1317 : || !memory_operand (operands[1], i1))
5248 125 : return -1;
5249 : return 0;
5250 : }
5251 :
5252 : int
5253 204 : pattern828 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
5254 : {
5255 204 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5256 204 : rtx x2, x3;
5257 204 : int res ATTRIBUTE_UNUSED;
5258 204 : if (!register_operand (operands[0], i3)
5259 204 : || GET_MODE (x1) != i3)
5260 : return -1;
5261 195 : x2 = XEXP (x1, 0);
5262 195 : if (GET_MODE (x2) != i2
5263 195 : || !nonimmediate_operand (operands[2], i1))
5264 : return -1;
5265 195 : x3 = XEXP (x1, 1);
5266 195 : if (GET_MODE (x3) != i2
5267 195 : || !register_operand (operands[1], i1))
5268 3 : return -1;
5269 : return 0;
5270 : }
5271 :
5272 : int
5273 53077 : pattern832 (rtx x1, machine_mode i1, machine_mode i2)
5274 : {
5275 53077 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5276 53077 : rtx x2;
5277 53077 : int res ATTRIBUTE_UNUSED;
5278 53077 : if (!register_operand (operands[0], i2)
5279 51899 : || GET_MODE (x1) != i2
5280 104976 : || !nonimmediate_operand (operands[1], i1))
5281 : return -1;
5282 46818 : x2 = XEXP (x1, 1);
5283 46818 : if (!rtx_equal_p (x2, operands[1]))
5284 33751 : return -1;
5285 : return 0;
5286 : }
5287 :
5288 : int
5289 99937 : pattern838 (machine_mode i1)
5290 : {
5291 99937 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5292 99937 : int res ATTRIBUTE_UNUSED;
5293 99937 : if (!register_operand (operands[0], i1)
5294 96766 : || !ix86_comparison_uns_operator (operands[1], i1)
5295 96578 : || !register_operand (operands[2], i1)
5296 165394 : || !nonimmediate_operand (operands[3], i1))
5297 98750 : return -1;
5298 : return 0;
5299 : }
5300 :
5301 : int
5302 444 : pattern843 (rtx x1, machine_mode i1, machine_mode i2)
5303 : {
5304 444 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5305 444 : rtx x2;
5306 444 : int res ATTRIBUTE_UNUSED;
5307 444 : if (!register_operand (operands[0], i1)
5308 444 : || GET_MODE (x1) != i1)
5309 : return -1;
5310 440 : x2 = XEXP (x1, 0);
5311 440 : if (GET_MODE (x2) != i2
5312 436 : || !nonimmediate_operand (operands[1], i1)
5313 389 : || !const0_operand (operands[2], i1)
5314 656 : || !movq_parallel (operands[3], E_VOIDmode))
5315 286 : return -1;
5316 : return 0;
5317 : }
5318 :
5319 : int
5320 1408509 : pattern848 (rtx x1)
5321 : {
5322 1408509 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5323 1408509 : rtx x2, x3, x4, x5, x6;
5324 1408509 : int res ATTRIBUTE_UNUSED;
5325 1408509 : if (!movq_parallel (operands[3], E_VOIDmode))
5326 : return -1;
5327 156552 : x2 = XEXP (x1, 0);
5328 156552 : x3 = XEXP (x2, 0);
5329 156552 : operands[1] = x3;
5330 156552 : x4 = XEXP (x2, 1);
5331 156552 : operands[2] = x4;
5332 156552 : x5 = XEXP (x1, 1);
5333 156552 : x6 = XVECEXP (x5, 0, 0);
5334 156552 : operands[4] = x6;
5335 156552 : if (!const_int_operand (operands[4], E_VOIDmode))
5336 : return -1;
5337 156552 : switch (GET_MODE (operands[0]))
5338 : {
5339 24 : case E_V64QImode:
5340 24 : return pattern842 (x1,
5341 : E_V64QImode,
5342 24 : E_V128QImode); /* [-1, 0] */
5343 :
5344 28 : case E_V32QImode:
5345 28 : if (pattern842 (x1,
5346 : E_V32QImode,
5347 : E_V64QImode) != 0)
5348 8 : return -1;
5349 : return 1;
5350 :
5351 218 : case E_V16QImode:
5352 218 : if (pattern842 (x1,
5353 : E_V16QImode,
5354 : E_V32QImode) != 0)
5355 130 : return -1;
5356 : return 2;
5357 :
5358 46 : case E_V32HImode:
5359 46 : if (pattern842 (x1,
5360 : E_V32HImode,
5361 : E_V64HImode) != 0)
5362 8 : return -1;
5363 : return 3;
5364 :
5365 50 : case E_V16HImode:
5366 50 : if (pattern842 (x1,
5367 : E_V16HImode,
5368 : E_V32HImode) != 0)
5369 12 : return -1;
5370 : return 4;
5371 :
5372 315 : case E_V8HImode:
5373 315 : if (pattern842 (x1,
5374 : E_V8HImode,
5375 : E_V16HImode) != 0)
5376 241 : return -1;
5377 : return 5;
5378 :
5379 : default:
5380 : return -1;
5381 : }
5382 : }
5383 :
5384 : int
5385 41893 : pattern853 (rtx x1, machine_mode i1)
5386 : {
5387 41893 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5388 41893 : rtx x2, x3, x4, x5;
5389 41893 : int res ATTRIBUTE_UNUSED;
5390 41893 : x2 = XVECEXP (x1, 0, 1);
5391 41893 : x3 = XEXP (x2, 0);
5392 41893 : if (GET_CODE (x3) != REG
5393 41893 : || REGNO (x3) != 17
5394 83786 : || GET_MODE (x3) != E_CCmode)
5395 : return -1;
5396 41893 : x4 = XVECEXP (x1, 0, 0);
5397 41893 : x5 = XEXP (x4, 0);
5398 41893 : operands[0] = x5;
5399 41893 : if (!register_operand (operands[0], i1))
5400 0 : return -1;
5401 : return 0;
5402 : }
5403 :
5404 : int
5405 25801 : pattern856 (rtx x1)
5406 : {
5407 25801 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5408 25801 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5409 25801 : int res ATTRIBUTE_UNUSED;
5410 25801 : x2 = XVECEXP (x1, 0, 0);
5411 25801 : x3 = XEXP (x2, 1);
5412 25801 : x4 = XEXP (x3, 0);
5413 25801 : x5 = XEXP (x4, 0);
5414 25801 : operands[2] = x5;
5415 25801 : x6 = XEXP (x5, 1);
5416 25801 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5417 : return -1;
5418 7026 : x7 = XEXP (x3, 1);
5419 7026 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5420 : return -1;
5421 65 : x8 = XVECEXP (x1, 0, 1);
5422 65 : if (GET_CODE (x8) != SET)
5423 : return -1;
5424 65 : x9 = XEXP (x8, 1);
5425 65 : if (GET_CODE (x9) != PLUS)
5426 0 : return -1;
5427 : return 0;
5428 : }
5429 :
5430 : int
5431 41343 : pattern861 (rtx x1)
5432 : {
5433 41343 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5434 41343 : rtx x2, x3, x4, x5;
5435 41343 : int res ATTRIBUTE_UNUSED;
5436 41343 : x2 = XEXP (x1, 1);
5437 41343 : x3 = XEXP (x2, 0);
5438 41343 : x4 = XEXP (x3, 0);
5439 41343 : operands[2] = x4;
5440 41343 : if (!int248_register_operand (operands[2], E_VOIDmode))
5441 : return -1;
5442 36555 : x5 = XEXP (x3, 1);
5443 36555 : operands[3] = x5;
5444 36555 : if (!const_int_operand (operands[3], E_VOIDmode))
5445 : return -1;
5446 36541 : return pattern288 (x1); /* [-1, 1] */
5447 : }
5448 :
5449 : int
5450 9102999 : pattern863 (rtx x1)
5451 : {
5452 9102999 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5453 9102999 : rtx x2, x3, x4, x5, x6, x7, x8;
5454 9102999 : int res ATTRIBUTE_UNUSED;
5455 9102999 : x2 = XVECEXP (x1, 0, 0);
5456 9102999 : x3 = XEXP (x2, 1);
5457 9102999 : x4 = XEXP (x3, 1);
5458 9102999 : switch (GET_CODE (x4))
5459 : {
5460 652660 : case SUBREG:
5461 652660 : if (maybe_ne (SUBREG_BYTE (x4), 0)
5462 652660 : || GET_MODE (x4) != E_QImode)
5463 : return -1;
5464 652641 : x5 = XEXP (x4, 0);
5465 652641 : if (GET_CODE (x5) != AND)
5466 : return -1;
5467 32991 : x6 = XVECEXP (x1, 0, 1);
5468 32991 : if (GET_CODE (x6) != CLOBBER)
5469 : return -1;
5470 28804 : x7 = XEXP (x6, 0);
5471 28804 : if (GET_CODE (x7) != REG
5472 28804 : || REGNO (x7) != 17
5473 57608 : || GET_MODE (x7) != E_CCmode)
5474 : return -1;
5475 28804 : return pattern861 (x3); /* [-1, 1] */
5476 :
5477 8339942 : case CONST_INT:
5478 8339942 : operands[2] = x4;
5479 8339942 : if (!const_0_to_255_operand (operands[2], E_VOIDmode))
5480 : return -1;
5481 8339933 : x6 = XVECEXP (x1, 0, 1);
5482 8339933 : if (GET_CODE (x6) != UNSPEC
5483 13757 : || XVECLEN (x6, 0) != 1
5484 13757 : || XINT (x6, 1) != 173)
5485 : return -1;
5486 13757 : x8 = XVECEXP (x6, 0, 0);
5487 13757 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5488 : return -1;
5489 13757 : res = pattern862 (x3);
5490 13757 : if (res >= 0)
5491 10604 : return res + 2; /* [2, 5] */
5492 : return -1;
5493 :
5494 : default:
5495 : return -1;
5496 : }
5497 : }
5498 :
5499 : int
5500 0 : pattern871 (rtx x1)
5501 : {
5502 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5503 0 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5504 0 : rtx x10, x11;
5505 0 : int res ATTRIBUTE_UNUSED;
5506 0 : x2 = XVECEXP (x1, 0, 1);
5507 0 : if (GET_CODE (x2) != CLOBBER)
5508 : return -1;
5509 0 : x3 = XVECEXP (x1, 0, 2);
5510 0 : if (GET_CODE (x3) != CLOBBER)
5511 : return -1;
5512 0 : x4 = XEXP (x3, 0);
5513 0 : if (GET_CODE (x4) != REG
5514 0 : || REGNO (x4) != 17
5515 0 : || GET_MODE (x4) != E_CCmode)
5516 : return -1;
5517 0 : x5 = XVECEXP (x1, 0, 0);
5518 0 : x6 = XEXP (x5, 0);
5519 0 : operands[0] = x6;
5520 0 : x7 = XEXP (x5, 1);
5521 0 : x8 = XEXP (x7, 0);
5522 0 : x9 = XEXP (x8, 0);
5523 0 : operands[1] = x9;
5524 0 : if (!register_operand (operands[1], E_SImode))
5525 : return -1;
5526 0 : x10 = XEXP (x8, 1);
5527 0 : operands[2] = x10;
5528 0 : if (!nonimmediate_operand (operands[2], E_SImode))
5529 : return -1;
5530 0 : x11 = XEXP (x2, 0);
5531 0 : operands[3] = x11;
5532 0 : if (!scratch_operand (operands[3], E_SImode))
5533 0 : return -1;
5534 : return 0;
5535 : }
5536 :
5537 : int
5538 1046764 : pattern876 (rtx x1)
5539 : {
5540 1046764 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5541 1046764 : rtx x2, x3, x4, x5, x6;
5542 1046764 : int res ATTRIBUTE_UNUSED;
5543 1046764 : x2 = XVECEXP (x1, 0, 1);
5544 1046764 : if (GET_CODE (x2) != CLOBBER)
5545 : return -1;
5546 1046764 : x3 = XEXP (x2, 0);
5547 1046764 : if (GET_CODE (x3) != REG
5548 1046764 : || REGNO (x3) != 17
5549 2093528 : || GET_MODE (x3) != E_CCmode)
5550 : return -1;
5551 1046764 : x4 = XVECEXP (x1, 0, 2);
5552 1046764 : x5 = XEXP (x4, 0);
5553 1046764 : if (GET_CODE (x5) != MEM
5554 1046764 : || GET_MODE (x5) != E_BLKmode)
5555 : return -1;
5556 1046764 : x6 = XEXP (x5, 0);
5557 1046764 : if (GET_CODE (x6) != SCRATCH)
5558 0 : return -1;
5559 : return 0;
5560 : }
5561 :
5562 : int
5563 1899 : pattern883 (rtx x1, int i1, int i2, int i3)
5564 : {
5565 1899 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5566 1899 : rtx x2, x3, x4, x5, x6, x7, x8;
5567 1899 : int res ATTRIBUTE_UNUSED;
5568 1899 : x2 = XVECEXP (x1, 0, 0);
5569 1899 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5570 : return -1;
5571 820 : x3 = XVECEXP (x1, 0, 1);
5572 820 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5573 : return -1;
5574 784 : x4 = XVECEXP (x1, 0, 2);
5575 784 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5576 : return -1;
5577 784 : x5 = XVECEXP (x1, 0, 3);
5578 784 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5579 : return -1;
5580 784 : x6 = XVECEXP (x1, 0, 4);
5581 784 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
5582 : return -1;
5583 756 : x7 = XVECEXP (x1, 0, 5);
5584 756 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
5585 : return -1;
5586 747 : x8 = XVECEXP (x1, 0, 6);
5587 747 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
5588 0 : return -1;
5589 : return 0;
5590 : }
5591 :
5592 : int
5593 13462 : pattern887 (rtx x1)
5594 : {
5595 13462 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5596 13462 : rtx x2;
5597 13462 : int res ATTRIBUTE_UNUSED;
5598 13462 : if (peep2_current_count < 3
5599 13426 : || XVECLEN (x1, 0) != 1
5600 13423 : || XINT (x1, 1) != 1)
5601 : return -1;
5602 13417 : x2 = XVECEXP (x1, 0, 0);
5603 13417 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5604 0 : return -1;
5605 : return 0;
5606 : }
5607 :
5608 : int
5609 4372013 : pattern890 (rtx x1, machine_mode i1)
5610 : {
5611 4372013 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5612 4372013 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5613 4372013 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5614 4372013 : rtx x18, x19;
5615 4372013 : int res ATTRIBUTE_UNUSED;
5616 4372013 : if (peep2_current_count < 4
5617 4372013 : || peep2_current_count < 5)
5618 : return -1;
5619 2496766 : x2 = XEXP (x1, 0);
5620 2496766 : operands[3] = x2;
5621 2496766 : if (!register_operand (operands[3], i1))
5622 : return -1;
5623 1254980 : x3 = XEXP (x1, 1);
5624 1254980 : if (!rtx_equal_p (x3, operands[0]))
5625 : return -1;
5626 59463 : x4 = PATTERN (peep2_next_insn (2));
5627 59463 : if (GET_CODE (x4) != PARALLEL
5628 38306 : || XVECLEN (x4, 0) != 2)
5629 : return -1;
5630 38221 : x5 = XVECEXP (x4, 0, 0);
5631 38221 : if (GET_CODE (x5) != SET)
5632 : return -1;
5633 38193 : x6 = XEXP (x5, 1);
5634 38193 : if (GET_CODE (x6) != XOR
5635 296 : || GET_MODE (x6) != i1)
5636 : return -1;
5637 296 : x7 = XVECEXP (x4, 0, 1);
5638 296 : if (GET_CODE (x7) != CLOBBER)
5639 : return -1;
5640 296 : x8 = XEXP (x7, 0);
5641 296 : if (GET_CODE (x8) != REG
5642 296 : || REGNO (x8) != 17
5643 592 : || GET_MODE (x8) != E_CCmode)
5644 : return -1;
5645 296 : x9 = XEXP (x5, 0);
5646 296 : operands[4] = x9;
5647 296 : if (!register_operand (operands[4], i1))
5648 : return -1;
5649 296 : x10 = XEXP (x6, 1);
5650 296 : operands[2] = x10;
5651 296 : if (!x86_64_nonmemory_operand (operands[2], i1))
5652 : return -1;
5653 130 : x11 = XEXP (x6, 0);
5654 130 : if (!rtx_equal_p (x11, operands[4]))
5655 : return -1;
5656 121 : x12 = PATTERN (peep2_next_insn (3));
5657 121 : if (GET_CODE (x12) != SET)
5658 : return -1;
5659 42 : x13 = XEXP (x12, 1);
5660 42 : if (!rtx_equal_p (x13, operands[4]))
5661 : return -1;
5662 29 : x14 = XEXP (x12, 0);
5663 29 : if (!rtx_equal_p (x14, operands[1]))
5664 : return -1;
5665 17 : x15 = PATTERN (peep2_next_insn (4));
5666 17 : if (GET_CODE (x15) != SET)
5667 : return -1;
5668 17 : x16 = XEXP (x15, 1);
5669 17 : if (GET_CODE (x16) != COMPARE
5670 10 : || GET_MODE (x16) != E_CCZmode)
5671 : return -1;
5672 10 : x17 = XEXP (x15, 0);
5673 10 : if (GET_CODE (x17) != REG
5674 10 : || REGNO (x17) != 17
5675 20 : || GET_MODE (x17) != E_CCZmode)
5676 : return -1;
5677 10 : x18 = XEXP (x16, 0);
5678 10 : operands[5] = x18;
5679 10 : if (!register_operand (operands[5], i1))
5680 : return -1;
5681 10 : x19 = XEXP (x16, 1);
5682 10 : operands[6] = x19;
5683 10 : if (!x86_64_nonmemory_operand (operands[6], i1))
5684 0 : return -1;
5685 : return 0;
5686 : }
5687 :
5688 : int
5689 3496 : pattern902 (rtx x1)
5690 : {
5691 3496 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5692 3496 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5693 3496 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5694 3496 : rtx x18, x19;
5695 3496 : int res ATTRIBUTE_UNUSED;
5696 3496 : x2 = XEXP (x1, 1);
5697 3496 : x3 = XEXP (x2, 0);
5698 3496 : if (GET_CODE (x3) != VEC_CONCAT)
5699 : return -1;
5700 3450 : x4 = XEXP (x1, 0);
5701 3450 : x5 = XEXP (x4, 0);
5702 3450 : x6 = XEXP (x5, 0);
5703 3450 : operands[1] = x6;
5704 3450 : x7 = XEXP (x5, 1);
5705 3450 : operands[2] = x7;
5706 3450 : x8 = XEXP (x3, 0);
5707 3450 : if (!rtx_equal_p (x8, operands[1]))
5708 : return -1;
5709 2754 : x9 = XEXP (x3, 1);
5710 2754 : if (!rtx_equal_p (x9, operands[2]))
5711 : return -1;
5712 2744 : x10 = XEXP (x4, 1);
5713 2744 : switch (XVECLEN (x10, 0))
5714 : {
5715 1295 : case 4:
5716 1295 : x11 = XVECEXP (x10, 0, 0);
5717 1295 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5718 : return -1;
5719 676 : x12 = XVECEXP (x10, 0, 1);
5720 676 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5721 : return -1;
5722 669 : x13 = XVECEXP (x10, 0, 2);
5723 669 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
5724 : return -1;
5725 669 : x14 = XVECEXP (x10, 0, 3);
5726 669 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
5727 : return -1;
5728 669 : x15 = XEXP (x2, 1);
5729 669 : if (XVECLEN (x15, 0) != 4)
5730 : return -1;
5731 669 : x16 = XVECEXP (x15, 0, 0);
5732 669 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5733 : return -1;
5734 669 : x17 = XVECEXP (x15, 0, 1);
5735 669 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5736 : return -1;
5737 669 : x18 = XVECEXP (x15, 0, 2);
5738 669 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
5739 : return -1;
5740 669 : x19 = XVECEXP (x15, 0, 3);
5741 669 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
5742 669 : || pattern901 (x1,
5743 : E_V8HImode,
5744 : E_V4HImode) != 0)
5745 379 : return -1;
5746 : return 0;
5747 :
5748 460 : case 2:
5749 460 : x11 = XVECEXP (x10, 0, 0);
5750 460 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5751 : return -1;
5752 376 : x12 = XVECEXP (x10, 0, 1);
5753 376 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5754 : return -1;
5755 376 : x15 = XEXP (x2, 1);
5756 376 : if (XVECLEN (x15, 0) != 2)
5757 : return -1;
5758 376 : x16 = XVECEXP (x15, 0, 0);
5759 376 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5760 : return -1;
5761 376 : x17 = XVECEXP (x15, 0, 1);
5762 376 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
5763 376 : || pattern901 (x1,
5764 : E_V4SImode,
5765 : E_V2SImode) != 0)
5766 72 : return -1;
5767 : return 1;
5768 :
5769 : default:
5770 : return -1;
5771 : }
5772 : }
5773 :
5774 : int
5775 2525 : pattern925 (rtx x1)
5776 : {
5777 2525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5778 2525 : rtx x2, x3;
5779 2525 : int res ATTRIBUTE_UNUSED;
5780 2525 : x2 = XVECEXP (x1, 0, 0);
5781 2525 : x3 = XVECEXP (x2, 0, 0);
5782 2525 : operands[1] = x3;
5783 2525 : if (!const48_operand (operands[2], E_SImode))
5784 : return -1;
5785 2525 : switch (GET_MODE (operands[0]))
5786 : {
5787 831 : case E_SImode:
5788 831 : return pattern924 (x1,
5789 831 : E_SImode); /* [-1, 2] */
5790 :
5791 784 : case E_DImode:
5792 784 : res = pattern924 (x1,
5793 : E_DImode);
5794 784 : if (res >= 0)
5795 736 : return res + 3; /* [3, 5] */
5796 : return -1;
5797 :
5798 : default:
5799 : return -1;
5800 : }
5801 : }
5802 :
5803 : int
5804 0 : pattern928 (rtx x1, machine_mode i1)
5805 : {
5806 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5807 0 : int res ATTRIBUTE_UNUSED;
5808 0 : if (!register_operand (operands[0], i1)
5809 0 : || GET_MODE (x1) != i1
5810 0 : || !register_operand (operands[1], i1)
5811 0 : || !const_int_operand (operands[2], i1))
5812 0 : return -1;
5813 : return 0;
5814 : }
5815 :
5816 : int
5817 11 : pattern933 (rtx x1, machine_mode i1, machine_mode i2)
5818 : {
5819 11 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5820 11 : rtx x2, x3;
5821 11 : int res ATTRIBUTE_UNUSED;
5822 11 : if (!register_operand (operands[0], i1)
5823 11 : || GET_MODE (x1) != i1)
5824 : return -1;
5825 11 : x2 = XEXP (x1, 0);
5826 11 : if (GET_MODE (x2) != i1)
5827 : return -1;
5828 11 : x3 = XEXP (x2, 0);
5829 11 : if (GET_MODE (x3) != i2
5830 11 : || !nonimmediate_operand (operands[1], i2)
5831 21 : || !register_operand (operands[2], i1))
5832 2 : return -1;
5833 : return 0;
5834 : }
5835 :
5836 : int
5837 15018 : pattern939 (rtx x1, machine_mode i1)
5838 : {
5839 15018 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5840 15018 : rtx x2, x3;
5841 15018 : int res ATTRIBUTE_UNUSED;
5842 15018 : if (!register_operand (operands[0], i1)
5843 15018 : || GET_MODE (x1) != i1)
5844 : return -1;
5845 14974 : x2 = XEXP (x1, 0);
5846 14974 : operands[2] = x2;
5847 14974 : if (!nonimmediate_operand (operands[2], i1))
5848 : return -1;
5849 12888 : x3 = XEXP (x1, 1);
5850 12888 : operands[1] = x3;
5851 12888 : if (!register_operand (operands[1], i1)
5852 12888 : || !avx2_pblendw_operand (operands[3], E_SImode))
5853 5945 : return -1;
5854 : return 0;
5855 : }
5856 :
5857 : int
5858 1704 : pattern945 (rtx x1, machine_mode i1)
5859 : {
5860 1704 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5861 1704 : rtx x2, x3;
5862 1704 : int res ATTRIBUTE_UNUSED;
5863 1704 : if (!register_operand (operands[0], i1)
5864 1704 : || GET_MODE (x1) != i1)
5865 : return -1;
5866 1627 : x2 = XEXP (x1, 0);
5867 1627 : if (GET_MODE (x2) != i1
5868 1627 : || !nonimm_or_0_operand (operands[2], i1))
5869 : return -1;
5870 1594 : x3 = XEXP (x2, 0);
5871 1594 : switch (GET_MODE (x3))
5872 : {
5873 767 : case E_V4QImode:
5874 767 : if (!register_operand (operands[1], E_V16QImode))
5875 9 : return -1;
5876 : return 0;
5877 :
5878 827 : case E_V4HImode:
5879 827 : if (!register_operand (operands[1], E_V8HImode))
5880 18 : return -1;
5881 : return 1;
5882 :
5883 : default:
5884 : return -1;
5885 : }
5886 : }
5887 :
5888 : int
5889 2099 : pattern950 (rtx x1, machine_mode i1, machine_mode i2)
5890 : {
5891 2099 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5892 2099 : rtx x2, x3;
5893 2099 : int res ATTRIBUTE_UNUSED;
5894 2099 : if (!register_operand (operands[0], i1)
5895 2099 : || GET_MODE (x1) != i1)
5896 : return -1;
5897 2039 : x2 = XVECEXP (x1, 0, 0);
5898 2039 : if (GET_MODE (x2) != i1)
5899 : return -1;
5900 2039 : x3 = XEXP (x2, 0);
5901 2039 : if (GET_MODE (x3) != i1
5902 2039 : || !register_operand (operands[1], i1)
5903 2019 : || !register_operand (operands[2], i1)
5904 2003 : || !nonimm_or_0_operand (operands[3], i1)
5905 4042 : || !register_operand (operands[4], i2))
5906 36 : return -1;
5907 : return 0;
5908 : }
5909 :
5910 : int
5911 2444 : pattern952 (rtx x1)
5912 : {
5913 2444 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5914 2444 : rtx x2, x3, x4, x5, x6, x7, x8;
5915 2444 : int res ATTRIBUTE_UNUSED;
5916 2444 : x2 = XVECEXP (x1, 0, 0);
5917 2444 : x3 = XEXP (x2, 0);
5918 2444 : x4 = XVECEXP (x3, 0, 0);
5919 2444 : operands[1] = x4;
5920 2444 : x5 = XVECEXP (x3, 0, 1);
5921 2444 : operands[2] = x5;
5922 2444 : x6 = XVECEXP (x1, 0, 1);
5923 2444 : if (!const48_operand (x6, E_SImode))
5924 : return -1;
5925 2444 : x7 = XEXP (x2, 2);
5926 2444 : switch (GET_CODE (x7))
5927 : {
5928 2099 : case REG:
5929 2099 : case SUBREG:
5930 2099 : operands[4] = x7;
5931 2099 : x8 = XEXP (x2, 1);
5932 2099 : operands[3] = x8;
5933 2099 : operands[5] = x6;
5934 2099 : switch (GET_MODE (operands[0]))
5935 : {
5936 592 : case E_V32HFmode:
5937 592 : return pattern950 (x1,
5938 : E_V32HFmode,
5939 592 : E_SImode); /* [-1, 0] */
5940 :
5941 755 : case E_V16SFmode:
5942 755 : if (pattern950 (x1,
5943 : E_V16SFmode,
5944 : E_HImode) != 0)
5945 12 : return -1;
5946 : return 1;
5947 :
5948 752 : case E_V8DFmode:
5949 752 : if (pattern950 (x1,
5950 : E_V8DFmode,
5951 : E_QImode) != 0)
5952 12 : return -1;
5953 : return 2;
5954 :
5955 : default:
5956 : return -1;
5957 : }
5958 :
5959 327 : case CONST_INT:
5960 327 : if (XWINT (x7, 0) != 1L)
5961 : return -1;
5962 305 : operands[3] = x6;
5963 305 : x8 = XEXP (x2, 1);
5964 305 : if (!rtx_equal_p (x8, operands[1]))
5965 : return -1;
5966 305 : switch (GET_MODE (operands[0]))
5967 : {
5968 185 : case E_V8HFmode:
5969 185 : if (pattern951 (x1,
5970 : E_V8HFmode) != 0)
5971 60 : return -1;
5972 : return 3;
5973 :
5974 60 : case E_V4SFmode:
5975 60 : if (pattern951 (x1,
5976 : E_V4SFmode) != 0)
5977 14 : return -1;
5978 : return 4;
5979 :
5980 60 : case E_V2DFmode:
5981 60 : if (pattern951 (x1,
5982 : E_V2DFmode) != 0)
5983 14 : return -1;
5984 : return 5;
5985 :
5986 : default:
5987 : return -1;
5988 : }
5989 :
5990 : default:
5991 : return -1;
5992 : }
5993 : }
5994 :
5995 : int
5996 2880 : pattern961 (rtx x1)
5997 : {
5998 2880 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5999 2880 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6000 2880 : rtx x10, x11, x12, x13, x14, x15, x16;
6001 2880 : int res ATTRIBUTE_UNUSED;
6002 2880 : x2 = XEXP (x1, 0);
6003 2880 : x3 = XEXP (x2, 1);
6004 2880 : if (GET_CODE (x3) != VEC_SELECT)
6005 : return -1;
6006 2280 : x4 = XEXP (x3, 1);
6007 2280 : if (GET_CODE (x4) != PARALLEL
6008 2280 : || !register_operand (operands[0], E_V16QImode)
6009 4560 : || GET_MODE (x1) != E_V16QImode)
6010 : return -1;
6011 2280 : x5 = XEXP (x3, 0);
6012 2280 : operands[2] = x5;
6013 2280 : if (!nonimm_or_0_operand (operands[2], E_V16QImode))
6014 : return -1;
6015 2280 : x6 = XEXP (x2, 2);
6016 2280 : operands[3] = x6;
6017 2280 : x7 = XEXP (x1, 1);
6018 2280 : operands[4] = x7;
6019 2280 : switch (XVECLEN (x4, 0))
6020 : {
6021 1140 : case 4:
6022 1140 : x8 = XVECEXP (x4, 0, 0);
6023 1140 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6024 : return -1;
6025 1140 : x9 = XVECEXP (x4, 0, 1);
6026 1140 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
6027 : return -1;
6028 1140 : x10 = XVECEXP (x4, 0, 2);
6029 1140 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
6030 : return -1;
6031 1140 : x11 = XVECEXP (x4, 0, 3);
6032 1140 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
6033 1140 : || GET_MODE (x2) != E_V4QImode)
6034 : return -1;
6035 1140 : x12 = XEXP (x2, 0);
6036 1140 : if (GET_MODE (x12) != E_V4QImode
6037 1140 : || !nonimmediate_operand (operands[1], E_V4SFmode)
6038 1140 : || GET_MODE (x3) != E_V4QImode
6039 2280 : || !const0_operand (operands[4], E_V12QImode))
6040 0 : return -1;
6041 : return 0;
6042 :
6043 1140 : case 8:
6044 1140 : x8 = XVECEXP (x4, 0, 0);
6045 1140 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6046 : return -1;
6047 1140 : x9 = XVECEXP (x4, 0, 1);
6048 1140 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
6049 : return -1;
6050 1140 : x10 = XVECEXP (x4, 0, 2);
6051 1140 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
6052 : return -1;
6053 1140 : x11 = XVECEXP (x4, 0, 3);
6054 1140 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
6055 : return -1;
6056 1140 : x13 = XVECEXP (x4, 0, 4);
6057 1140 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
6058 : return -1;
6059 1140 : x14 = XVECEXP (x4, 0, 5);
6060 1140 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
6061 : return -1;
6062 1140 : x15 = XVECEXP (x4, 0, 6);
6063 1140 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
6064 : return -1;
6065 1140 : x16 = XVECEXP (x4, 0, 7);
6066 1140 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
6067 1140 : || GET_MODE (x2) != E_V8QImode)
6068 : return -1;
6069 1140 : x12 = XEXP (x2, 0);
6070 1140 : if (GET_MODE (x12) != E_V8QImode
6071 1140 : || !nonimmediate_operand (operands[1], E_V8SFmode)
6072 1140 : || GET_MODE (x3) != E_V8QImode
6073 2280 : || !const0_operand (operands[4], E_V8QImode))
6074 0 : return -1;
6075 : return 1;
6076 :
6077 : default:
6078 : return -1;
6079 : }
6080 : }
6081 :
6082 : int
6083 281 : pattern982 (rtx x1)
6084 : {
6085 281 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6086 281 : rtx x2, x3, x4, x5;
6087 281 : int res ATTRIBUTE_UNUSED;
6088 281 : x2 = XEXP (x1, 0);
6089 281 : x3 = XEXP (x2, 1);
6090 281 : x4 = XEXP (x3, 1);
6091 281 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6092 : return -1;
6093 275 : x5 = XEXP (x3, 0);
6094 275 : operands[3] = x5;
6095 275 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
6096 : return -1;
6097 269 : switch (GET_MODE (operands[0]))
6098 : {
6099 0 : case E_QImode:
6100 0 : return pattern980 (x1,
6101 0 : E_QImode); /* [-1, 0] */
6102 :
6103 0 : case E_HImode:
6104 0 : if (pattern980 (x1,
6105 : E_HImode) != 0)
6106 0 : return -1;
6107 : return 1;
6108 :
6109 187 : case E_SImode:
6110 187 : if (pattern981 (x1,
6111 : E_SImode) != 0)
6112 22 : return -1;
6113 : return 2;
6114 :
6115 82 : case E_DImode:
6116 82 : if (pattern981 (x1,
6117 : E_DImode) != 0)
6118 80 : return -1;
6119 : return 3;
6120 :
6121 : default:
6122 : return -1;
6123 : }
6124 : }
6125 :
6126 : int
6127 4481398 : pattern991 (rtx x1)
6128 : {
6129 4481398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6130 4481398 : rtx x2, x3, x4;
6131 4481398 : int res ATTRIBUTE_UNUSED;
6132 4481398 : x2 = XEXP (x1, 1);
6133 4481398 : x3 = XEXP (x2, 0);
6134 4481398 : operands[1] = x3;
6135 4481398 : x4 = XEXP (x2, 1);
6136 4481398 : switch (GET_CODE (x4))
6137 : {
6138 : case CONST_INT:
6139 : case CONST_WIDE_INT:
6140 : case CONST_POLY_INT:
6141 : case CONST_FIXED:
6142 : case CONST_DOUBLE:
6143 : case CONST_VECTOR:
6144 : case CONST:
6145 : case REG:
6146 : case SUBREG:
6147 : case LABEL_REF:
6148 : case SYMBOL_REF:
6149 : case HIGH:
6150 : return 0;
6151 :
6152 1219 : case AND:
6153 1219 : if (GET_MODE (x4) != E_QImode)
6154 : return -1;
6155 1219 : res = pattern409 (x1);
6156 1219 : if (res >= 0)
6157 774 : return res + 1; /* [1, 3] */
6158 : return -1;
6159 :
6160 3867 : case PLUS:
6161 3867 : if (GET_MODE (x4) != E_QImode)
6162 : return -1;
6163 3867 : res = pattern411 (x1);
6164 3867 : if (res >= 0)
6165 1270 : return res + 4; /* [4, 5] */
6166 : return -1;
6167 :
6168 2817 : case MINUS:
6169 2817 : if (GET_MODE (x4) != E_QImode)
6170 : return -1;
6171 2817 : res = pattern412 (x1);
6172 2817 : if (res >= 0)
6173 1710 : return res + 6; /* [6, 7] */
6174 : return -1;
6175 :
6176 : default:
6177 : return -1;
6178 : }
6179 : }
6180 :
6181 : int
6182 4393278 : pattern998 (rtx x1, machine_mode i1)
6183 : {
6184 4393278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6185 4393278 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6186 4393278 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
6187 4393278 : rtx x18, x19, x20, x21, x22, x23;
6188 4393278 : int res ATTRIBUTE_UNUSED;
6189 4393278 : if (!memory_operand (operands[0], i1)
6190 4393278 : || !general_reg_operand (operands[1], i1))
6191 : return -1;
6192 3288286 : switch (GET_CODE (x1))
6193 : {
6194 2969657 : case SET:
6195 2969657 : if (peep2_current_count < 4)
6196 : return -1;
6197 2587405 : x2 = XEXP (x1, 0);
6198 2587405 : operands[2] = x2;
6199 2587405 : if (!general_reg_operand (operands[2], i1))
6200 : return -1;
6201 1233332 : x3 = XEXP (x1, 1);
6202 1233332 : if (!rtx_equal_p (x3, operands[1]))
6203 : return -1;
6204 16316 : x4 = PATTERN (peep2_next_insn (2));
6205 16316 : if (GET_CODE (x4) != PARALLEL
6206 7018 : || XVECLEN (x4, 0) != 2)
6207 : return -1;
6208 6927 : x5 = XVECEXP (x4, 0, 0);
6209 6927 : if (GET_CODE (x5) != SET)
6210 : return -1;
6211 6917 : x6 = XEXP (x5, 1);
6212 6917 : if (GET_CODE (x6) != ASHIFTRT
6213 1719 : || GET_MODE (x6) != i1)
6214 : return -1;
6215 1719 : x7 = XVECEXP (x4, 0, 1);
6216 1719 : if (GET_CODE (x7) != CLOBBER)
6217 : return -1;
6218 1719 : x8 = XEXP (x7, 0);
6219 1719 : if (GET_CODE (x8) != REG
6220 1719 : || REGNO (x8) != 17
6221 3438 : || GET_MODE (x8) != E_CCmode)
6222 : return -1;
6223 1719 : x9 = XEXP (x6, 1);
6224 1719 : operands[4] = x9;
6225 1719 : if (!const_int_operand (operands[4], E_VOIDmode))
6226 : return -1;
6227 1707 : x10 = XEXP (x6, 0);
6228 1707 : if (!rtx_equal_p (x10, operands[2]))
6229 : return -1;
6230 1705 : x11 = XEXP (x5, 0);
6231 1705 : if (!rtx_equal_p (x11, operands[2]))
6232 : return -1;
6233 1685 : x12 = PATTERN (peep2_next_insn (3));
6234 1685 : if (GET_CODE (x12) != SET)
6235 : return -1;
6236 1545 : x13 = XEXP (x12, 0);
6237 1545 : operands[3] = x13;
6238 1545 : if (!memory_operand (operands[3], i1))
6239 : return -1;
6240 1397 : x14 = XEXP (x12, 1);
6241 1397 : if (!rtx_equal_p (x14, operands[2]))
6242 38 : return -1;
6243 : return 0;
6244 :
6245 262406 : case PARALLEL:
6246 262406 : if (XVECLEN (x1, 0) != 2)
6247 : return -1;
6248 258775 : x15 = XVECEXP (x1, 0, 0);
6249 258775 : if (GET_CODE (x15) != SET)
6250 : return -1;
6251 257607 : x16 = XEXP (x15, 1);
6252 257607 : if (GET_CODE (x16) != ASHIFTRT
6253 4142 : || GET_MODE (x16) != i1)
6254 : return -1;
6255 3976 : x17 = XVECEXP (x1, 0, 1);
6256 3976 : if (GET_CODE (x17) != CLOBBER)
6257 : return -1;
6258 3976 : x18 = XEXP (x17, 0);
6259 3976 : if (GET_CODE (x18) != REG
6260 3976 : || REGNO (x18) != 17
6261 7952 : || GET_MODE (x18) != E_CCmode)
6262 : return -1;
6263 3976 : x19 = XEXP (x15, 0);
6264 3976 : operands[2] = x19;
6265 3976 : if (!general_reg_operand (operands[2], i1))
6266 : return -1;
6267 3486 : x20 = XEXP (x16, 1);
6268 3486 : operands[4] = x20;
6269 3486 : if (!const_int_operand (operands[4], E_VOIDmode))
6270 : return -1;
6271 3472 : x21 = XEXP (x16, 0);
6272 3472 : if (!rtx_equal_p (x21, operands[1]))
6273 : return -1;
6274 1614 : x4 = PATTERN (peep2_next_insn (2));
6275 1614 : if (GET_CODE (x4) != SET)
6276 : return -1;
6277 1495 : x22 = XEXP (x4, 0);
6278 1495 : operands[3] = x22;
6279 1495 : if (!memory_operand (operands[3], i1))
6280 : return -1;
6281 1427 : x23 = XEXP (x4, 1);
6282 1427 : if (!rtx_equal_p (x23, operands[2]))
6283 7 : return -1;
6284 : return 1;
6285 :
6286 : default:
6287 : return -1;
6288 : }
6289 : }
6290 :
6291 : int
6292 1242 : pattern1013 (rtx x1)
6293 : {
6294 1242 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6295 1242 : rtx x2, x3, x4, x5, x6, x7;
6296 1242 : int res ATTRIBUTE_UNUSED;
6297 1242 : x2 = XEXP (x1, 0);
6298 1242 : x3 = XEXP (x2, 1);
6299 1242 : if (XVECLEN (x3, 0) != 1)
6300 : return -1;
6301 1234 : x4 = XVECEXP (x3, 0, 0);
6302 1234 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6303 : return -1;
6304 243 : x5 = XEXP (x1, 1);
6305 243 : x6 = XEXP (x5, 1);
6306 243 : if (XVECLEN (x6, 0) != 1)
6307 : return -1;
6308 243 : x7 = XVECEXP (x6, 0, 0);
6309 243 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
6310 68 : return -1;
6311 : return 0;
6312 : }
6313 :
6314 : int
6315 122923 : pattern1014 (rtx x1)
6316 : {
6317 122923 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6318 122923 : int res ATTRIBUTE_UNUSED;
6319 122923 : if (!nonimmediate_operand (operands[0], E_SFmode)
6320 122923 : || GET_MODE (x1) != E_SFmode)
6321 : return -1;
6322 122801 : switch (GET_MODE (operands[1]))
6323 : {
6324 27272 : case E_V2SFmode:
6325 27272 : if (!nonimmediate_operand (operands[1], E_V2SFmode))
6326 3492 : return -1;
6327 : return 0;
6328 :
6329 95362 : case E_V4SFmode:
6330 95362 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
6331 4 : return -1;
6332 : return 1;
6333 :
6334 : default:
6335 : return -1;
6336 : }
6337 : }
6338 :
6339 : int
6340 289044 : pattern1017 (rtx x1)
6341 : {
6342 289044 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6343 289044 : rtx x2, x3, x4;
6344 289044 : int res ATTRIBUTE_UNUSED;
6345 289044 : x2 = XEXP (x1, 1);
6346 289044 : x3 = XVECEXP (x2, 0, 0);
6347 289044 : switch (XWINT (x3, 0))
6348 : {
6349 119538 : case 0L:
6350 119538 : x4 = XVECEXP (x2, 0, 1);
6351 119538 : if (XWINT (x4, 0) != 2L)
6352 : return -1;
6353 118720 : switch (GET_MODE (operands[0]))
6354 : {
6355 8836 : case E_V2SFmode:
6356 8836 : return pattern309 (x1,
6357 : E_V2SFmode,
6358 8836 : E_V4SFmode); /* [-1, 0] */
6359 :
6360 17622 : case E_V2SImode:
6361 17622 : if (pattern310 (x1,
6362 : E_V2SImode,
6363 : E_V4SImode) != 0)
6364 2346 : return -1;
6365 : return 1;
6366 :
6367 : default:
6368 : return -1;
6369 : }
6370 :
6371 164289 : case 1L:
6372 164289 : x4 = XVECEXP (x2, 0, 1);
6373 164289 : if (XWINT (x4, 0) != 3L)
6374 : return -1;
6375 109544 : switch (GET_MODE (operands[0]))
6376 : {
6377 3156 : case E_V2SFmode:
6378 3156 : if (pattern309 (x1,
6379 : E_V2SFmode,
6380 : E_V4SFmode) != 0)
6381 201 : return -1;
6382 : return 2;
6383 :
6384 9068 : case E_V2SImode:
6385 9068 : if (pattern310 (x1,
6386 : E_V2SImode,
6387 : E_V4SImode) != 0)
6388 1008 : return -1;
6389 : return 3;
6390 :
6391 : default:
6392 : return -1;
6393 : }
6394 :
6395 : default:
6396 : return -1;
6397 : }
6398 : }
6399 :
6400 : int
6401 460 : pattern1023 (rtx x1)
6402 : {
6403 460 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6404 460 : int res ATTRIBUTE_UNUSED;
6405 460 : switch (GET_MODE (x1))
6406 : {
6407 118 : case E_HImode:
6408 118 : switch (GET_MODE (operands[1]))
6409 : {
6410 23 : case E_V16SImode:
6411 23 : if (!nonimmediate_operand (operands[1], E_V16SImode)
6412 20 : || !nonimmediate_operand (operands[2], E_V16SImode)
6413 40 : || !const_0_to_7_operand (operands[3], E_SImode))
6414 6 : return -1;
6415 : return 0;
6416 :
6417 18 : case E_V16HFmode:
6418 18 : if (!nonimmediate_operand (operands[1], E_V16HFmode)
6419 16 : || !nonimmediate_operand (operands[2], E_V16HFmode)
6420 34 : || !const_0_to_31_operand (operands[3], E_SImode))
6421 2 : return -1;
6422 : return 1;
6423 :
6424 22 : case E_V16SFmode:
6425 22 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
6426 20 : || !nonimmediate_operand (operands[2], E_V16SFmode)
6427 42 : || !const_0_to_31_operand (operands[3], E_SImode))
6428 2 : return -1;
6429 : return 2;
6430 :
6431 32 : case E_V16QImode:
6432 32 : if (!nonimmediate_operand (operands[1], E_V16QImode)
6433 30 : || !nonimmediate_operand (operands[2], E_V16QImode)
6434 50 : || !const_0_to_7_operand (operands[3], E_SImode))
6435 14 : return -1;
6436 : return 3;
6437 :
6438 18 : case E_V16HImode:
6439 18 : if (!nonimmediate_operand (operands[1], E_V16HImode)
6440 16 : || !nonimmediate_operand (operands[2], E_V16HImode)
6441 30 : || !const_0_to_7_operand (operands[3], E_SImode))
6442 6 : return -1;
6443 : return 4;
6444 :
6445 : default:
6446 : return -1;
6447 : }
6448 :
6449 321 : case E_QImode:
6450 321 : switch (GET_MODE (operands[1]))
6451 : {
6452 42 : case E_V8SImode:
6453 42 : if (!nonimmediate_operand (operands[1], E_V8SImode)
6454 39 : || !nonimmediate_operand (operands[2], E_V8SImode)
6455 69 : || !const_0_to_7_operand (operands[3], E_SImode))
6456 15 : return -1;
6457 : return 5;
6458 :
6459 24 : case E_V4SImode:
6460 24 : if (!nonimmediate_operand (operands[1], E_V4SImode)
6461 21 : || !nonimmediate_operand (operands[2], E_V4SImode)
6462 43 : || !const_0_to_7_operand (operands[3], E_SImode))
6463 5 : return -1;
6464 : return 6;
6465 :
6466 30 : case E_V8DImode:
6467 30 : if (!nonimmediate_operand (operands[1], E_V8DImode)
6468 22 : || !nonimmediate_operand (operands[2], E_V8DImode)
6469 50 : || !const_0_to_7_operand (operands[3], E_SImode))
6470 10 : return -1;
6471 : return 7;
6472 :
6473 23 : case E_V4DImode:
6474 23 : if (!nonimmediate_operand (operands[1], E_V4DImode)
6475 20 : || !nonimmediate_operand (operands[2], E_V4DImode)
6476 41 : || !const_0_to_7_operand (operands[3], E_SImode))
6477 5 : return -1;
6478 : return 8;
6479 :
6480 23 : case E_V2DImode:
6481 23 : if (!nonimmediate_operand (operands[1], E_V2DImode)
6482 20 : || !nonimmediate_operand (operands[2], E_V2DImode)
6483 41 : || !const_0_to_7_operand (operands[3], E_SImode))
6484 5 : return -1;
6485 : return 9;
6486 :
6487 31 : case E_V8HFmode:
6488 31 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
6489 31 : || !nonimmediate_operand (operands[2], E_V8HFmode)
6490 62 : || !const_0_to_31_operand (operands[3], E_SImode))
6491 0 : return -1;
6492 : return 10;
6493 :
6494 21 : case E_V8SFmode:
6495 21 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
6496 18 : || !nonimmediate_operand (operands[2], E_V8SFmode)
6497 39 : || !const_0_to_31_operand (operands[3], E_SImode))
6498 3 : return -1;
6499 : return 11;
6500 :
6501 21 : case E_V4SFmode:
6502 21 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
6503 18 : || !nonimmediate_operand (operands[2], E_V4SFmode)
6504 39 : || !const_0_to_31_operand (operands[3], E_SImode))
6505 3 : return -1;
6506 : return 12;
6507 :
6508 33 : case E_V8DFmode:
6509 33 : if (!nonimmediate_operand (operands[1], E_V8DFmode)
6510 30 : || !nonimmediate_operand (operands[2], E_V8DFmode)
6511 63 : || !const_0_to_31_operand (operands[3], E_SImode))
6512 3 : return -1;
6513 : return 13;
6514 :
6515 21 : case E_V4DFmode:
6516 21 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
6517 18 : || !nonimmediate_operand (operands[2], E_V4DFmode)
6518 39 : || !const_0_to_31_operand (operands[3], E_SImode))
6519 3 : return -1;
6520 : return 14;
6521 :
6522 21 : case E_V2DFmode:
6523 21 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
6524 18 : || !nonimmediate_operand (operands[2], E_V2DFmode)
6525 39 : || !const_0_to_31_operand (operands[3], E_SImode))
6526 3 : return -1;
6527 : return 15;
6528 :
6529 26 : case E_V8HImode:
6530 26 : if (!nonimmediate_operand (operands[1], E_V8HImode)
6531 26 : || !nonimmediate_operand (operands[2], E_V8HImode)
6532 50 : || !const_0_to_7_operand (operands[3], E_SImode))
6533 2 : return -1;
6534 : return 16;
6535 :
6536 : default:
6537 : return -1;
6538 : }
6539 :
6540 21 : case E_SImode:
6541 21 : switch (GET_MODE (operands[1]))
6542 : {
6543 7 : case E_V32HFmode:
6544 7 : if (!nonimmediate_operand (operands[1], E_V32HFmode)
6545 6 : || !nonimmediate_operand (operands[2], E_V32HFmode)
6546 13 : || !const_0_to_31_operand (operands[3], E_SImode))
6547 1 : return -1;
6548 : return 17;
6549 :
6550 7 : case E_V32QImode:
6551 7 : if (!nonimmediate_operand (operands[1], E_V32QImode)
6552 6 : || !nonimmediate_operand (operands[2], E_V32QImode)
6553 13 : || !const_0_to_7_operand (operands[3], E_SImode))
6554 1 : return -1;
6555 : return 18;
6556 :
6557 7 : case E_V32HImode:
6558 7 : if (!nonimmediate_operand (operands[1], E_V32HImode)
6559 6 : || !nonimmediate_operand (operands[2], E_V32HImode)
6560 13 : || !const_0_to_7_operand (operands[3], E_SImode))
6561 1 : return -1;
6562 : return 19;
6563 :
6564 : default:
6565 : return -1;
6566 : }
6567 :
6568 0 : case E_DImode:
6569 0 : if (!nonimmediate_operand (operands[1], E_V64QImode)
6570 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
6571 0 : || !const_0_to_7_operand (operands[3], E_SImode))
6572 0 : return -1;
6573 : return 20;
6574 :
6575 : default:
6576 : return -1;
6577 : }
6578 : }
6579 :
6580 : int
6581 493 : pattern1068 (rtx x1)
6582 : {
6583 493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6584 493 : rtx x2;
6585 493 : int res ATTRIBUTE_UNUSED;
6586 493 : if (!const48_operand (operands[2], E_SImode))
6587 : return -1;
6588 493 : switch (GET_MODE (operands[0]))
6589 : {
6590 88 : case E_V16SImode:
6591 88 : return pattern1062 (x1,
6592 : E_V16SFmode,
6593 88 : E_V16SImode); /* [-1, 0] */
6594 :
6595 93 : case E_V8SImode:
6596 93 : if (pattern1062 (x1,
6597 : E_V8DFmode,
6598 : E_V8SImode) != 0)
6599 12 : return -1;
6600 : return 1;
6601 :
6602 232 : case E_V8DImode:
6603 232 : if (!register_operand (operands[0], E_V8DImode)
6604 232 : || GET_MODE (x1) != E_V8DImode)
6605 : return -1;
6606 208 : x2 = XVECEXP (x1, 0, 0);
6607 208 : if (GET_MODE (x2) != E_V8DImode)
6608 : return -1;
6609 208 : switch (GET_MODE (operands[1]))
6610 : {
6611 106 : case E_V8DFmode:
6612 106 : if (!register_operand (operands[1], E_V8DFmode))
6613 8 : return -1;
6614 : return 2;
6615 :
6616 102 : case E_V8SFmode:
6617 102 : if (!register_operand (operands[1], E_V8SFmode))
6618 4 : return -1;
6619 : return 3;
6620 :
6621 : default:
6622 : return -1;
6623 : }
6624 :
6625 : default:
6626 : return -1;
6627 : }
6628 : }
6629 :
6630 : int
6631 30 : pattern1079 (rtx x1)
6632 : {
6633 30 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6634 30 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6635 30 : rtx x10;
6636 30 : int res ATTRIBUTE_UNUSED;
6637 30 : x2 = XEXP (x1, 0);
6638 30 : x3 = XEXP (x2, 0);
6639 30 : x4 = XEXP (x3, 0);
6640 30 : x5 = XEXP (x4, 1);
6641 30 : if (GET_CODE (x5) != CONST_VECTOR
6642 26 : || XVECLEN (x5, 0) != 4
6643 26 : || GET_MODE (x5) != E_V4SImode)
6644 : return -1;
6645 26 : x6 = XVECEXP (x5, 0, 0);
6646 26 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6647 : return -1;
6648 26 : x7 = XVECEXP (x5, 0, 1);
6649 26 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6650 : return -1;
6651 26 : x8 = XVECEXP (x5, 0, 2);
6652 26 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6653 : return -1;
6654 26 : x9 = XVECEXP (x5, 0, 3);
6655 26 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6656 : return -1;
6657 26 : x10 = XEXP (x4, 2);
6658 26 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
6659 26 : || GET_MODE (x4) != E_V4SImode)
6660 : return -1;
6661 26 : return pattern720 (x1); /* [-1, 2] */
6662 : }
6663 :
6664 : int
6665 12099 : pattern1086 (rtx x1)
6666 : {
6667 12099 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6668 12099 : rtx x2, x3, x4;
6669 12099 : int res ATTRIBUTE_UNUSED;
6670 12099 : x2 = XEXP (x1, 0);
6671 12099 : x3 = XEXP (x2, 0);
6672 12099 : operands[1] = x3;
6673 12099 : x4 = XEXP (x2, 1);
6674 12099 : operands[2] = x4;
6675 12099 : return pattern1085 (x1); /* [-1, 5] */
6676 : }
6677 :
6678 : int
6679 177 : pattern1088 (rtx x1, machine_mode i1)
6680 : {
6681 177 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6682 177 : rtx x2, x3, x4, x5, x6;
6683 177 : int res ATTRIBUTE_UNUSED;
6684 177 : if (!register_operand (operands[0], i1))
6685 : return -1;
6686 177 : x2 = XVECEXP (x1, 0, 0);
6687 177 : x3 = XEXP (x2, 1);
6688 177 : if (GET_MODE (x3) != i1)
6689 : return -1;
6690 177 : x4 = XEXP (x3, 0);
6691 177 : switch (GET_MODE (x4))
6692 : {
6693 0 : case E_DImode:
6694 0 : if (!nonimmediate_operand (operands[1], E_V64QImode)
6695 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
6696 0 : || !register_operand (operands[4], E_DImode))
6697 : return -1;
6698 0 : x5 = XVECEXP (x1, 0, 1);
6699 0 : x6 = XEXP (x5, 1);
6700 0 : if (GET_MODE (x6) != E_DImode)
6701 0 : return -1;
6702 : return 0;
6703 :
6704 46 : case E_HImode:
6705 46 : if (!register_operand (operands[4], E_HImode))
6706 : return -1;
6707 46 : x5 = XVECEXP (x1, 0, 1);
6708 46 : x6 = XEXP (x5, 1);
6709 46 : if (GET_MODE (x6) != E_HImode)
6710 : return -1;
6711 46 : switch (GET_MODE (operands[1]))
6712 : {
6713 14 : case E_V16QImode:
6714 14 : if (!nonimmediate_operand (operands[1], E_V16QImode)
6715 14 : || !nonimmediate_operand (operands[2], E_V16QImode))
6716 2 : return -1;
6717 : return 1;
6718 :
6719 14 : case E_V16HImode:
6720 14 : if (!nonimmediate_operand (operands[1], E_V16HImode)
6721 14 : || !nonimmediate_operand (operands[2], E_V16HImode))
6722 2 : return -1;
6723 : return 2;
6724 :
6725 18 : case E_V16SImode:
6726 18 : if (!nonimmediate_operand (operands[1], E_V16SImode)
6727 18 : || !nonimmediate_operand (operands[2], E_V16SImode))
6728 4 : return -1;
6729 : return 3;
6730 :
6731 : default:
6732 : return -1;
6733 : }
6734 :
6735 14 : case E_SImode:
6736 14 : if (!register_operand (operands[4], E_SImode))
6737 : return -1;
6738 14 : x5 = XVECEXP (x1, 0, 1);
6739 14 : x6 = XEXP (x5, 1);
6740 14 : if (GET_MODE (x6) != E_SImode)
6741 : return -1;
6742 14 : switch (GET_MODE (operands[1]))
6743 : {
6744 7 : case E_V32QImode:
6745 7 : if (!nonimmediate_operand (operands[1], E_V32QImode)
6746 7 : || !nonimmediate_operand (operands[2], E_V32QImode))
6747 1 : return -1;
6748 : return 4;
6749 :
6750 7 : case E_V32HImode:
6751 7 : if (!nonimmediate_operand (operands[1], E_V32HImode)
6752 7 : || !nonimmediate_operand (operands[2], E_V32HImode))
6753 1 : return -1;
6754 : return 5;
6755 :
6756 : default:
6757 : return -1;
6758 : }
6759 :
6760 117 : case E_QImode:
6761 117 : if (!register_operand (operands[4], E_QImode))
6762 : return -1;
6763 117 : x5 = XVECEXP (x1, 0, 1);
6764 117 : x6 = XEXP (x5, 1);
6765 117 : if (GET_MODE (x6) != E_QImode)
6766 : return -1;
6767 117 : switch (GET_MODE (operands[1]))
6768 : {
6769 12 : case E_V8HImode:
6770 12 : if (!nonimmediate_operand (operands[1], E_V8HImode)
6771 12 : || !nonimmediate_operand (operands[2], E_V8HImode))
6772 0 : return -1;
6773 : return 6;
6774 :
6775 21 : case E_V8SImode:
6776 21 : if (!nonimmediate_operand (operands[1], E_V8SImode)
6777 21 : || !nonimmediate_operand (operands[2], E_V8SImode))
6778 3 : return -1;
6779 : return 7;
6780 :
6781 21 : case E_V4SImode:
6782 21 : if (!nonimmediate_operand (operands[1], E_V4SImode)
6783 21 : || !nonimmediate_operand (operands[2], E_V4SImode))
6784 3 : return -1;
6785 : return 8;
6786 :
6787 21 : case E_V8DImode:
6788 21 : if (!nonimmediate_operand (operands[1], E_V8DImode)
6789 21 : || !nonimmediate_operand (operands[2], E_V8DImode))
6790 3 : return -1;
6791 : return 9;
6792 :
6793 21 : case E_V4DImode:
6794 21 : if (!nonimmediate_operand (operands[1], E_V4DImode)
6795 21 : || !nonimmediate_operand (operands[2], E_V4DImode))
6796 3 : return -1;
6797 : return 10;
6798 :
6799 21 : case E_V2DImode:
6800 21 : if (!nonimmediate_operand (operands[1], E_V2DImode)
6801 21 : || !nonimmediate_operand (operands[2], E_V2DImode))
6802 3 : return -1;
6803 : return 11;
6804 :
6805 : default:
6806 : return -1;
6807 : }
6808 :
6809 : default:
6810 : return -1;
6811 : }
6812 : }
6813 :
6814 : int
6815 224 : pattern1105 (rtx x1)
6816 : {
6817 224 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6818 224 : rtx x2, x3, x4, x5;
6819 224 : int res ATTRIBUTE_UNUSED;
6820 224 : x2 = XVECEXP (x1, 0, 1);
6821 224 : x3 = XEXP (x2, 0);
6822 224 : if (GET_CODE (x3) != REG
6823 224 : || REGNO (x3) != 17
6824 140 : || GET_MODE (x3) != E_CCmode
6825 364 : || !register_operand (operands[1], E_XFmode))
6826 : return -1;
6827 98 : x4 = XVECEXP (x1, 0, 0);
6828 98 : x5 = XEXP (x4, 1);
6829 98 : return pattern571 (x5); /* [-1, 2] */
6830 : }
6831 :
6832 : int
6833 2909071 : pattern1108 (rtx x1)
6834 : {
6835 2909071 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6836 2909071 : rtx x2, x3, x4, x5, x6;
6837 2909071 : int res ATTRIBUTE_UNUSED;
6838 2909071 : if (GET_CODE (x1) != SET)
6839 : return -1;
6840 2253187 : x2 = XEXP (x1, 0);
6841 2253187 : if (GET_CODE (x2) != ZERO_EXTRACT)
6842 : return -1;
6843 4 : x3 = XEXP (x2, 1);
6844 4 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6845 : return -1;
6846 4 : x4 = XEXP (x2, 2);
6847 4 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6848 : return -1;
6849 4 : x5 = XEXP (x2, 0);
6850 4 : operands[2] = x5;
6851 4 : if (!int248_register_operand (operands[2], E_VOIDmode))
6852 : return -1;
6853 4 : x6 = XEXP (x1, 1);
6854 4 : operands[3] = x6;
6855 4 : switch (GET_MODE (x2))
6856 : {
6857 0 : case E_HImode:
6858 0 : if (!const_int_operand (operands[3], E_HImode))
6859 0 : return -1;
6860 : return 0;
6861 :
6862 2 : case E_SImode:
6863 2 : if (!const_int_operand (operands[3], E_SImode))
6864 0 : return -1;
6865 : return 1;
6866 :
6867 2 : case E_DImode:
6868 2 : if (!const_int_operand (operands[3], E_DImode))
6869 2 : return -1;
6870 : return 2;
6871 :
6872 : default:
6873 : return -1;
6874 : }
6875 : }
6876 :
6877 : int
6878 850 : pattern1116 (rtx x1)
6879 : {
6880 850 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6881 850 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6882 850 : rtx x10;
6883 850 : int res ATTRIBUTE_UNUSED;
6884 850 : x2 = XEXP (x1, 1);
6885 850 : x3 = XEXP (x2, 0);
6886 850 : x4 = XEXP (x3, 0);
6887 850 : x5 = XEXP (x4, 0);
6888 850 : operands[1] = x5;
6889 850 : if (!int248_register_operand (operands[1], E_VOIDmode))
6890 : return -1;
6891 597 : x6 = XEXP (x2, 1);
6892 597 : x7 = XEXP (x6, 0);
6893 597 : x8 = XEXP (x7, 0);
6894 597 : operands[2] = x8;
6895 597 : if (!int248_register_operand (operands[2], E_VOIDmode))
6896 : return -1;
6897 398 : x9 = XEXP (x1, 0);
6898 398 : switch (GET_CODE (x9))
6899 : {
6900 43 : case STRICT_LOW_PART:
6901 43 : x10 = XEXP (x9, 0);
6902 43 : operands[0] = x10;
6903 43 : if (!register_operand (operands[0], E_QImode))
6904 : return -1;
6905 43 : return pattern1115 (); /* [-1, 2] */
6906 :
6907 289 : case REG:
6908 289 : case SUBREG:
6909 289 : operands[0] = x9;
6910 289 : if (!register_operand (operands[0], E_QImode))
6911 : return -1;
6912 289 : res = pattern1115 ();
6913 289 : if (res >= 0)
6914 53 : return res + 3; /* [3, 5] */
6915 : return -1;
6916 :
6917 : default:
6918 : return -1;
6919 : }
6920 : }
6921 :
6922 : int
6923 148 : pattern1126 (rtx x1, machine_mode i1, machine_mode i2)
6924 : {
6925 148 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6926 148 : rtx x2;
6927 148 : int res ATTRIBUTE_UNUSED;
6928 148 : if (!memory_operand (operands[0], i2)
6929 148 : || GET_MODE (x1) != i2)
6930 : return -1;
6931 142 : x2 = XEXP (x1, 0);
6932 142 : if (GET_MODE (x2) != i2
6933 142 : || !register_operand (operands[1], i1))
6934 0 : return -1;
6935 : return 0;
6936 : }
6937 :
6938 : int
6939 0 : pattern1131 (rtx x1, machine_mode i1)
6940 : {
6941 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6942 0 : rtx x2;
6943 0 : int res ATTRIBUTE_UNUSED;
6944 0 : if (!register_operand (operands[0], i1)
6945 0 : || GET_MODE (x1) != i1)
6946 : return -1;
6947 0 : x2 = XEXP (x1, 0);
6948 0 : return pattern1130 (x2); /* [-1, 11] */
6949 : }
6950 :
6951 : int
6952 379 : pattern1136 (rtx x1, machine_mode i1)
6953 : {
6954 379 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6955 379 : rtx x2, x3;
6956 379 : int res ATTRIBUTE_UNUSED;
6957 379 : if (!register_operand (operands[0], i1)
6958 379 : || GET_MODE (x1) != i1)
6959 : return -1;
6960 377 : x2 = XEXP (x1, 0);
6961 377 : if (GET_MODE (x2) != i1)
6962 : return -1;
6963 377 : x3 = XEXP (x2, 0);
6964 377 : if (GET_MODE (x3) != i1
6965 377 : || !nonimmediate_operand (operands[1], i1)
6966 377 : || !nonimmediate_operand (operands[2], i1)
6967 730 : || !nonimmediate_operand (operands[3], i1))
6968 52 : return -1;
6969 : return 0;
6970 : }
6971 :
6972 : int
6973 0 : pattern1139 (rtx x1, machine_mode i1)
6974 : {
6975 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6976 0 : int res ATTRIBUTE_UNUSED;
6977 0 : if (GET_MODE (x1) != i1
6978 0 : || !vector_all_ones_operand (operands[3], i1)
6979 0 : || !const0_operand (operands[4], i1)
6980 0 : || !register_operand (operands[1], i1)
6981 0 : || !const0_operand (operands[2], i1))
6982 0 : return -1;
6983 : return 0;
6984 : }
6985 :
6986 : int
6987 159 : pattern1142 (rtx x1, machine_mode i1)
6988 : {
6989 159 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6990 159 : rtx x2;
6991 159 : int res ATTRIBUTE_UNUSED;
6992 159 : if (!register_operand (operands[0], i1)
6993 159 : || GET_MODE (x1) != i1)
6994 : return -1;
6995 135 : x2 = XVECEXP (x1, 0, 0);
6996 135 : switch (GET_MODE (x2))
6997 : {
6998 29 : case E_HFmode:
6999 29 : if (!register_operand (operands[1], E_V8HFmode))
7000 2 : return -1;
7001 : return 0;
7002 :
7003 53 : case E_SFmode:
7004 53 : if (!vector_operand (operands[1], E_V4SFmode))
7005 2 : return -1;
7006 : return 1;
7007 :
7008 53 : case E_DFmode:
7009 53 : if (!vector_operand (operands[1], E_V2DFmode))
7010 2 : return -1;
7011 : return 2;
7012 :
7013 : default:
7014 : return -1;
7015 : }
7016 : }
7017 :
7018 : int
7019 845 : pattern1143 (rtx x1, machine_mode i1)
7020 : {
7021 845 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7022 845 : rtx x2;
7023 845 : int res ATTRIBUTE_UNUSED;
7024 845 : if (!register_operand (operands[0], i1)
7025 845 : || GET_MODE (x1) != i1)
7026 : return -1;
7027 821 : x2 = XVECEXP (x1, 0, 0);
7028 821 : switch (GET_MODE (x2))
7029 : {
7030 29 : case E_HFmode:
7031 29 : if (!register_operand (operands[1], E_V8HFmode))
7032 2 : return -1;
7033 : return 0;
7034 :
7035 437 : case E_SFmode:
7036 437 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
7037 2 : return -1;
7038 : return 1;
7039 :
7040 355 : case E_DFmode:
7041 355 : if (!nonimmediate_operand (operands[1], E_V2DFmode))
7042 2 : return -1;
7043 : return 2;
7044 :
7045 : default:
7046 : return -1;
7047 : }
7048 : }
7049 :
7050 : int
7051 1485 : pattern1147 (rtx x1, machine_mode i1)
7052 : {
7053 1485 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7054 1485 : rtx x2;
7055 1485 : int res ATTRIBUTE_UNUSED;
7056 1485 : if (!register_operand (operands[0], i1)
7057 1485 : || GET_MODE (x1) != i1)
7058 : return -1;
7059 1422 : x2 = XEXP (x1, 0);
7060 1422 : if (GET_MODE (x2) != i1
7061 1422 : || !nonimm_or_0_operand (operands[2], i1)
7062 2817 : || !register_operand (operands[3], E_QImode))
7063 : return -1;
7064 1328 : switch (GET_MODE (operands[1]))
7065 : {
7066 439 : case E_V8HFmode:
7067 439 : if (!vector_operand (operands[1], E_V8HFmode))
7068 0 : return -1;
7069 : return 0;
7070 :
7071 443 : case E_V4SFmode:
7072 443 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
7073 0 : return -1;
7074 : return 1;
7075 :
7076 446 : case E_V4DFmode:
7077 446 : if (!nonimmediate_operand (operands[1], E_V4DFmode))
7078 0 : return -1;
7079 : return 2;
7080 :
7081 : default:
7082 : return -1;
7083 : }
7084 : }
7085 :
7086 : int
7087 1406 : pattern1153 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
7088 : {
7089 1406 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7090 1406 : rtx x2;
7091 1406 : int res ATTRIBUTE_UNUSED;
7092 1406 : if (!register_operand (operands[0], i1)
7093 1406 : || GET_MODE (x1) != i1)
7094 : return -1;
7095 1317 : x2 = XEXP (x1, 0);
7096 1317 : if (GET_MODE (x2) != i1
7097 1317 : || !register_operand (operands[1], i1)
7098 1315 : || !nonimmediate_operand (operands[2], i2)
7099 1315 : || !nonimm_or_0_operand (operands[3], i1)
7100 2599 : || !register_operand (operands[4], i3))
7101 122 : return -1;
7102 : return 0;
7103 : }
7104 :
7105 : int
7106 16493 : pattern1160 (rtx x1, machine_mode i1)
7107 : {
7108 16493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7109 16493 : rtx x2, x3;
7110 16493 : int res ATTRIBUTE_UNUSED;
7111 16493 : if (!register_operand (operands[0], i1)
7112 16493 : || GET_MODE (x1) != i1)
7113 : return -1;
7114 15685 : x2 = XEXP (x1, 0);
7115 15685 : if (GET_MODE (x2) != i1
7116 15685 : || !register_operand (operands[1], i1)
7117 31362 : || !vector_operand (operands[2], i1))
7118 : return -1;
7119 15665 : x3 = XEXP (x1, 1);
7120 15665 : if (GET_MODE (x3) != i1)
7121 0 : return -1;
7122 : return 0;
7123 : }
7124 :
7125 : int
7126 1410 : pattern1164 (rtx x1, rtx_code i1)
7127 : {
7128 1410 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7129 1410 : rtx x2, x3, x4, x5, x6, x7, x8;
7130 1410 : int res ATTRIBUTE_UNUSED;
7131 1410 : x2 = XEXP (x1, 0);
7132 1410 : x3 = XEXP (x2, 0);
7133 1410 : x4 = XEXP (x3, 0);
7134 1410 : x5 = XEXP (x4, 1);
7135 1410 : if (GET_CODE (x5) != i1)
7136 : return -1;
7137 1278 : x6 = XEXP (x4, 0);
7138 1278 : x7 = XEXP (x6, 0);
7139 1278 : operands[1] = x7;
7140 1278 : x8 = XEXP (x5, 0);
7141 1278 : operands[2] = x8;
7142 1278 : switch (GET_MODE (operands[0]))
7143 : {
7144 474 : case E_V32HImode:
7145 474 : return pattern1163 (x1,
7146 : E_SImode,
7147 : E_V32HImode,
7148 474 : E_V32SImode); /* [-1, 0] */
7149 :
7150 434 : case E_V16HImode:
7151 434 : if (pattern1163 (x1,
7152 : E_HImode,
7153 : E_V16HImode,
7154 : E_V16SImode) != 0)
7155 66 : return -1;
7156 : return 1;
7157 :
7158 370 : case E_V8HImode:
7159 370 : if (pattern1163 (x1,
7160 : E_QImode,
7161 : E_V8HImode,
7162 : E_V8SImode) != 0)
7163 18 : return -1;
7164 : return 2;
7165 :
7166 : default:
7167 : return -1;
7168 : }
7169 : }
7170 :
7171 : int
7172 1696 : pattern1172 (rtx x1)
7173 : {
7174 1696 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7175 1696 : rtx x2, x3, x4, x5, x6, x7, x8;
7176 1696 : int res ATTRIBUTE_UNUSED;
7177 1696 : x2 = XVECEXP (x1, 0, 0);
7178 1696 : x3 = XEXP (x2, 0);
7179 1696 : x4 = XVECEXP (x3, 0, 2);
7180 1696 : operands[3] = x4;
7181 1696 : x5 = XVECEXP (x1, 0, 1);
7182 1696 : if (!const_4_or_8_to_11_operand (x5, E_SImode))
7183 : return -1;
7184 1696 : x6 = XEXP (x2, 1);
7185 1696 : switch (GET_CODE (x6))
7186 : {
7187 448 : case CONST_INT:
7188 448 : case CONST_DOUBLE:
7189 448 : case CONST_VECTOR:
7190 448 : operands[4] = x6;
7191 448 : if (!const0_operand (operands[4], E_V32HFmode))
7192 : return -1;
7193 448 : x7 = XEXP (x2, 2);
7194 448 : if (GET_CODE (x7) != UNSPEC
7195 448 : || XVECLEN (x7, 0) != 1
7196 448 : || XINT (x7, 1) != 222
7197 448 : || GET_MODE (x7) != E_SImode
7198 448 : || !register_operand (operands[0], E_V32HFmode)
7199 428 : || GET_MODE (x1) != E_V32HFmode
7200 428 : || GET_MODE (x2) != E_V32HFmode
7201 428 : || GET_MODE (x3) != E_V32HFmode
7202 428 : || !register_operand (operands[1], E_V32HFmode)
7203 428 : || !register_operand (operands[2], E_V32HFmode)
7204 866 : || !register_operand (operands[3], E_V32HFmode))
7205 : return -1;
7206 410 : x8 = XVECEXP (x7, 0, 0);
7207 410 : operands[5] = x8;
7208 410 : if (!register_operand (operands[5], E_HImode))
7209 : return -1;
7210 384 : operands[6] = x5;
7211 384 : return 0;
7212 :
7213 1232 : case REG:
7214 1232 : case SUBREG:
7215 1232 : x7 = XEXP (x2, 2);
7216 1232 : switch (GET_CODE (x7))
7217 : {
7218 864 : case UNSPEC:
7219 864 : if (XVECLEN (x7, 0) != 1
7220 864 : || XINT (x7, 1) != 222
7221 864 : || GET_MODE (x7) != E_SImode
7222 864 : || !register_operand (operands[0], E_V32HFmode)
7223 846 : || GET_MODE (x1) != E_V32HFmode
7224 846 : || GET_MODE (x2) != E_V32HFmode
7225 846 : || GET_MODE (x3) != E_V32HFmode
7226 846 : || !register_operand (operands[1], E_V32HFmode)
7227 846 : || !register_operand (operands[2], E_V32HFmode)
7228 1690 : || !register_operand (operands[3], E_V32HFmode))
7229 : return -1;
7230 810 : x8 = XVECEXP (x7, 0, 0);
7231 810 : operands[4] = x8;
7232 810 : if (!register_operand (operands[4], E_HImode))
7233 : return -1;
7234 762 : operands[5] = x5;
7235 762 : if (!rtx_equal_p (x6, operands[1]))
7236 0 : return -1;
7237 : return 1;
7238 :
7239 368 : case CONST_INT:
7240 368 : if (XWINT (x7, 0) != 3L
7241 368 : || !register_operand (operands[0], E_V8HFmode)
7242 352 : || GET_MODE (x1) != E_V8HFmode
7243 352 : || GET_MODE (x2) != E_V8HFmode
7244 352 : || GET_MODE (x3) != E_V8HFmode
7245 352 : || !register_operand (operands[1], E_V8HFmode)
7246 348 : || !register_operand (operands[2], E_V8HFmode)
7247 716 : || !register_operand (operands[3], E_V8HFmode))
7248 : return -1;
7249 340 : operands[4] = x5;
7250 340 : if (!rtx_equal_p (x6, operands[2]))
7251 0 : return -1;
7252 : return 2;
7253 :
7254 : default:
7255 : return -1;
7256 : }
7257 :
7258 : default:
7259 : return -1;
7260 : }
7261 : }
7262 :
7263 : int
7264 6 : pattern1197 (rtx x1, machine_mode i1)
7265 : {
7266 6 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7267 6 : rtx x2, x3;
7268 6 : int res ATTRIBUTE_UNUSED;
7269 6 : if (!nonimmediate_operand (operands[0], i1)
7270 6 : || GET_MODE (x1) != i1)
7271 : return -1;
7272 6 : x2 = XEXP (x1, 0);
7273 6 : if (GET_MODE (x2) != i1)
7274 : return -1;
7275 6 : x3 = XEXP (x2, 0);
7276 6 : if (GET_MODE (x3) != i1
7277 6 : || !nonimmediate_operand (operands[1], i1)
7278 12 : || !general_operand (operands[2], i1))
7279 0 : return -1;
7280 : return 0;
7281 : }
7282 :
7283 : int
7284 930 : pattern1201 (rtx x1, machine_mode i1)
7285 : {
7286 930 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7287 930 : rtx x2, x3;
7288 930 : int res ATTRIBUTE_UNUSED;
7289 930 : if (!nonimmediate_operand (operands[0], i1)
7290 930 : || GET_MODE (x1) != i1)
7291 : return -1;
7292 930 : x2 = XEXP (x1, 0);
7293 930 : if (GET_MODE (x2) != i1)
7294 : return -1;
7295 930 : x3 = XEXP (x2, 0);
7296 930 : if (GET_MODE (x3) != i1
7297 930 : || !nonimmediate_operand (operands[1], i1)
7298 1497 : || !x86_64_immediate_operand (operands[2], i1))
7299 817 : return -1;
7300 : return 0;
7301 : }
7302 :
7303 : int
7304 32187 : pattern1207 (rtx x1)
7305 : {
7306 32187 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7307 32187 : rtx x2, x3, x4, x5;
7308 32187 : int res ATTRIBUTE_UNUSED;
7309 32187 : x2 = XEXP (x1, 1);
7310 32187 : x3 = XEXP (x2, 0);
7311 32187 : switch (GET_CODE (x3))
7312 : {
7313 5885 : case AND:
7314 5885 : x4 = XEXP (x3, 0);
7315 5885 : operands[2] = x4;
7316 5885 : if (!int248_register_operand (operands[2], E_VOIDmode))
7317 : return -1;
7318 5091 : return pattern1206 (x1); /* [-1, 3] */
7319 :
7320 0 : case PLUS:
7321 0 : x4 = XEXP (x3, 0);
7322 0 : operands[2] = x4;
7323 0 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
7324 : return -1;
7325 0 : res = pattern1206 (x1);
7326 0 : if (res >= 0)
7327 0 : return res + 4; /* [4, 7] */
7328 : return -1;
7329 :
7330 0 : case MINUS:
7331 0 : x4 = XEXP (x3, 0);
7332 0 : operands[3] = x4;
7333 0 : if (!const_int_operand (operands[3], E_VOIDmode))
7334 : return -1;
7335 0 : x5 = XEXP (x3, 1);
7336 0 : operands[2] = x5;
7337 0 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
7338 : return -1;
7339 0 : res = pattern244 (x1);
7340 0 : if (res >= 0)
7341 0 : return res + 8; /* [8, 11] */
7342 : return -1;
7343 :
7344 : default:
7345 : return -1;
7346 : }
7347 : }
7348 :
7349 : int
7350 86007 : pattern1217 (rtx x1)
7351 : {
7352 86007 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7353 86007 : rtx x2, x3, x4;
7354 86007 : int res ATTRIBUTE_UNUSED;
7355 86007 : x2 = XEXP (x1, 0);
7356 86007 : if (maybe_ne (SUBREG_BYTE (x2), 0)
7357 86007 : || GET_MODE (x2) != E_QImode)
7358 : return -1;
7359 18424 : x3 = XEXP (x2, 0);
7360 18424 : switch (GET_CODE (x3))
7361 : {
7362 1951 : case ASHIFTRT:
7363 1951 : case LSHIFTRT:
7364 1951 : case SIGN_EXTRACT:
7365 1951 : case ZERO_EXTRACT:
7366 1951 : operands[3] = x3;
7367 1951 : if (GET_MODE (x1) != E_QImode)
7368 : return -1;
7369 1951 : x4 = XEXP (x3, 0);
7370 1951 : if (!int248_register_operand (x4, E_VOIDmode))
7371 594 : return -1;
7372 : return 0;
7373 :
7374 : default:
7375 : return -1;
7376 : }
7377 : }
7378 :
7379 : int
7380 52 : pattern1222 (rtx x1, machine_mode i1)
7381 : {
7382 52 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7383 52 : int res ATTRIBUTE_UNUSED;
7384 52 : if (!register_operand (operands[0], i1)
7385 52 : || GET_MODE (x1) != i1
7386 52 : || !nonimmediate_operand (operands[2], i1)
7387 104 : || !nonimmediate_operand (operands[3], i1))
7388 : return -1;
7389 44 : return pattern1221 (); /* [-1, 3] */
7390 : }
7391 :
7392 : int
7393 689 : pattern1225 (rtx x1, machine_mode i1, machine_mode i2)
7394 : {
7395 689 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7396 689 : int res ATTRIBUTE_UNUSED;
7397 689 : if (!register_operand (operands[0], i2)
7398 683 : || GET_MODE (x1) != i2
7399 683 : || !const0_operand (operands[2], i2)
7400 8 : || !vector_all_ones_operand (operands[3], i2)
7401 689 : || !register_operand (operands[1], i1))
7402 689 : return -1;
7403 : return 0;
7404 : }
7405 :
7406 : int
7407 4 : pattern1229 (rtx x1, machine_mode i1)
7408 : {
7409 4 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7410 4 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7411 4 : rtx x10, x11, x12;
7412 4 : int res ATTRIBUTE_UNUSED;
7413 4 : x2 = XVECEXP (x1, 0, 0);
7414 4 : x3 = XEXP (x2, 1);
7415 4 : x4 = XEXP (x3, 0);
7416 4 : operands[2] = x4;
7417 4 : if (!memory_operand (operands[2], i1))
7418 : return -1;
7419 4 : x5 = XVECEXP (x1, 0, 1);
7420 4 : x6 = XEXP (x5, 1);
7421 4 : if (GET_CODE (x6) != MINUS)
7422 : return -1;
7423 4 : x7 = XEXP (x2, 0);
7424 4 : if (GET_MODE (x7) != E_CCmode
7425 4 : || GET_MODE (x3) != E_CCmode)
7426 : return -1;
7427 4 : x8 = XEXP (x3, 1);
7428 4 : if (!rtx_equal_p (x8, operands[0]))
7429 : return -1;
7430 4 : x9 = XEXP (x6, 0);
7431 4 : if (!rtx_equal_p (x9, operands[2]))
7432 : return -1;
7433 4 : x10 = XEXP (x6, 1);
7434 4 : if (!rtx_equal_p (x10, operands[0]))
7435 : return -1;
7436 4 : x11 = PATTERN (peep2_next_insn (2));
7437 4 : x12 = XEXP (x11, 0);
7438 4 : if (!rtx_equal_p (x12, operands[2]))
7439 0 : return -1;
7440 : return 0;
7441 : }
7442 :
7443 : int
7444 470332 : pattern1234 (rtx x1, machine_mode i1, machine_mode i2)
7445 : {
7446 470332 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7447 470332 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7448 470332 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
7449 470332 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
7450 470332 : rtx x26, x27, x28, x29, x30;
7451 470332 : int res ATTRIBUTE_UNUSED;
7452 470332 : x2 = PATTERN (peep2_next_insn (2));
7453 470332 : if (GET_CODE (x2) != SET)
7454 : return -1;
7455 347537 : x3 = XEXP (x2, 1);
7456 347537 : if (!rtx_equal_p (x3, operands[0]))
7457 : return -1;
7458 79142 : x4 = XVECEXP (x1, 0, 0);
7459 79142 : x5 = XEXP (x4, 1);
7460 79142 : switch (GET_CODE (x5))
7461 : {
7462 2568 : case COMPARE:
7463 2568 : x6 = XEXP (x4, 0);
7464 2568 : if (GET_CODE (x6) != REG
7465 2568 : || REGNO (x6) != 17)
7466 : return -1;
7467 2568 : x7 = XVECEXP (x1, 0, 1);
7468 2568 : if (GET_CODE (x7) != SET)
7469 : return -1;
7470 2548 : x8 = XEXP (x7, 1);
7471 2548 : if (GET_MODE (x8) != i1)
7472 : return -1;
7473 2542 : x9 = XEXP (x7, 0);
7474 2542 : if (!rtx_equal_p (x9, operands[0]))
7475 : return -1;
7476 2540 : x10 = XEXP (x5, 0);
7477 2540 : switch (GET_CODE (x10))
7478 : {
7479 187 : case REG:
7480 187 : return pattern1228 (x1,
7481 187 : i1); /* [-1, 0] */
7482 :
7483 4 : case SUBREG:
7484 4 : case MEM:
7485 4 : if (pattern1229 (x1,
7486 : i1) != 0)
7487 0 : return -1;
7488 : return 1;
7489 :
7490 621 : case ZERO_EXTEND:
7491 621 : if (GET_MODE (x10) != i2)
7492 : return -1;
7493 621 : x11 = XEXP (x5, 1);
7494 621 : if (GET_CODE (x11) != PLUS
7495 621 : || GET_MODE (x11) != i2)
7496 : return -1;
7497 621 : x12 = XEXP (x11, 0);
7498 621 : if (!ix86_carry_flag_operator (x12, i2))
7499 : return -1;
7500 621 : operands[4] = x12;
7501 621 : x13 = XEXP (x12, 1);
7502 621 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7503 : return -1;
7504 621 : x14 = XEXP (x11, 1);
7505 621 : if (GET_CODE (x14) != ZERO_EXTEND
7506 621 : || GET_MODE (x14) != i2
7507 621 : || GET_MODE (x6) != E_CCCmode
7508 621 : || GET_MODE (x5) != E_CCCmode)
7509 : return -1;
7510 621 : x15 = XEXP (x10, 0);
7511 621 : switch (GET_CODE (x15))
7512 : {
7513 240 : case PLUS:
7514 240 : if (GET_MODE (x15) != i1)
7515 : return -1;
7516 240 : x16 = XEXP (x15, 0);
7517 240 : if (GET_CODE (x16) != PLUS
7518 240 : || GET_MODE (x16) != i1)
7519 : return -1;
7520 240 : x17 = XEXP (x16, 0);
7521 240 : if (!ix86_carry_flag_operator (x17, i1))
7522 : return -1;
7523 240 : operands[5] = x17;
7524 240 : x18 = XEXP (x17, 1);
7525 240 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
7526 240 : || GET_CODE (x8) != PLUS)
7527 : return -1;
7528 240 : x19 = XEXP (x8, 0);
7529 240 : if (GET_CODE (x19) != PLUS
7530 240 : || GET_MODE (x19) != i1)
7531 : return -1;
7532 240 : x20 = XEXP (x19, 0);
7533 240 : switch (GET_CODE (x20))
7534 : {
7535 240 : case LTU:
7536 240 : case UNLT:
7537 240 : if (!rtx_equal_p (x20, operands[5]))
7538 : return -1;
7539 240 : x21 = XEXP (x17, 0);
7540 240 : operands[3] = x21;
7541 240 : if (!flags_reg_operand (operands[3], E_VOIDmode))
7542 : return -1;
7543 240 : x22 = XEXP (x12, 0);
7544 240 : if (!rtx_equal_p (x22, operands[3]))
7545 : return -1;
7546 240 : x23 = XEXP (x16, 1);
7547 240 : switch (GET_CODE (x23))
7548 : {
7549 240 : case REG:
7550 240 : if (!rtx_equal_p (x23, operands[0]))
7551 : return -1;
7552 240 : x24 = XEXP (x15, 1);
7553 240 : operands[2] = x24;
7554 240 : if (!memory_operand (operands[2], i1))
7555 : return -1;
7556 232 : x25 = XEXP (x14, 0);
7557 232 : if (!rtx_equal_p (x25, operands[2]))
7558 : return -1;
7559 232 : x26 = XEXP (x19, 1);
7560 232 : if (!rtx_equal_p (x26, operands[0]))
7561 : return -1;
7562 232 : x27 = XEXP (x8, 1);
7563 232 : if (!rtx_equal_p (x27, operands[2]))
7564 : return -1;
7565 232 : x28 = XEXP (x2, 0);
7566 232 : if (!rtx_equal_p (x28, operands[1]))
7567 202 : return -1;
7568 : return 2;
7569 :
7570 0 : case SUBREG:
7571 0 : case MEM:
7572 0 : operands[2] = x23;
7573 0 : if (!memory_operand (operands[2], i1))
7574 : return -1;
7575 0 : x24 = XEXP (x15, 1);
7576 0 : if (!rtx_equal_p (x24, operands[0]))
7577 : return -1;
7578 0 : x25 = XEXP (x14, 0);
7579 0 : if (!rtx_equal_p (x25, operands[0]))
7580 : return -1;
7581 0 : x26 = XEXP (x19, 1);
7582 0 : if (!rtx_equal_p (x26, operands[2]))
7583 : return -1;
7584 0 : x27 = XEXP (x8, 1);
7585 0 : if (!rtx_equal_p (x27, operands[0]))
7586 0 : return -1;
7587 : return 3;
7588 :
7589 : default:
7590 : return -1;
7591 : }
7592 :
7593 : default:
7594 : return -1;
7595 : }
7596 :
7597 371 : case REG:
7598 371 : if (!rtx_equal_p (x15, operands[0])
7599 371 : || GET_CODE (x8) != MINUS)
7600 : return -1;
7601 371 : x19 = XEXP (x8, 0);
7602 371 : if (GET_CODE (x19) != MINUS
7603 371 : || GET_MODE (x19) != i1)
7604 : return -1;
7605 371 : x26 = XEXP (x19, 1);
7606 371 : if (!ix86_carry_flag_operator (x26, i1))
7607 : return -1;
7608 371 : operands[5] = x26;
7609 371 : x29 = XEXP (x26, 1);
7610 371 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7611 : return -1;
7612 371 : x22 = XEXP (x12, 0);
7613 371 : operands[3] = x22;
7614 371 : if (!flags_reg_operand (operands[3], E_VOIDmode))
7615 : return -1;
7616 371 : x25 = XEXP (x14, 0);
7617 371 : operands[2] = x25;
7618 371 : if (!memory_operand (operands[2], i1))
7619 : return -1;
7620 218 : x20 = XEXP (x19, 0);
7621 218 : if (!rtx_equal_p (x20, operands[0]))
7622 : return -1;
7623 218 : x30 = XEXP (x26, 0);
7624 218 : if (!rtx_equal_p (x30, operands[3]))
7625 : return -1;
7626 218 : x27 = XEXP (x8, 1);
7627 218 : if (!rtx_equal_p (x27, operands[2]))
7628 : return -1;
7629 218 : x28 = XEXP (x2, 0);
7630 218 : if (!rtx_equal_p (x28, operands[1]))
7631 186 : return -1;
7632 : return 4;
7633 :
7634 10 : case SUBREG:
7635 10 : case MEM:
7636 10 : operands[2] = x15;
7637 10 : if (!memory_operand (operands[2], i1)
7638 10 : || GET_CODE (x8) != MINUS)
7639 : return -1;
7640 10 : x19 = XEXP (x8, 0);
7641 10 : if (GET_CODE (x19) != MINUS
7642 10 : || GET_MODE (x19) != i1)
7643 : return -1;
7644 10 : x26 = XEXP (x19, 1);
7645 10 : if (!ix86_carry_flag_operator (x26, i1))
7646 : return -1;
7647 10 : operands[5] = x26;
7648 10 : x29 = XEXP (x26, 1);
7649 10 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7650 : return -1;
7651 10 : x22 = XEXP (x12, 0);
7652 10 : operands[3] = x22;
7653 10 : if (!flags_reg_operand (operands[3], E_VOIDmode))
7654 : return -1;
7655 10 : x25 = XEXP (x14, 0);
7656 10 : if (!rtx_equal_p (x25, operands[0]))
7657 : return -1;
7658 10 : x20 = XEXP (x19, 0);
7659 10 : if (!rtx_equal_p (x20, operands[2]))
7660 : return -1;
7661 10 : x30 = XEXP (x26, 0);
7662 10 : if (!rtx_equal_p (x30, operands[3]))
7663 : return -1;
7664 10 : x27 = XEXP (x8, 1);
7665 10 : if (!rtx_equal_p (x27, operands[0]))
7666 : return -1;
7667 10 : x28 = XEXP (x2, 0);
7668 10 : if (!rtx_equal_p (x28, operands[2]))
7669 0 : return -1;
7670 : return 5;
7671 :
7672 : default:
7673 : return -1;
7674 : }
7675 :
7676 976 : case PLUS:
7677 976 : if (pattern1230 (x1,
7678 : i1) != 0)
7679 960 : return -1;
7680 : return 6;
7681 :
7682 : default:
7683 : return -1;
7684 : }
7685 :
7686 47336 : case PLUS:
7687 47336 : res = pattern1232 (x1,
7688 : i1);
7689 47336 : if (res >= 0)
7690 4 : return res + 7; /* [7, 8] */
7691 : return -1;
7692 :
7693 9921 : case MINUS:
7694 9921 : res = pattern1233 (x1,
7695 : i1);
7696 9921 : if (res >= 0)
7697 8 : return res + 9; /* [9, 10] */
7698 : return -1;
7699 :
7700 : default:
7701 : return -1;
7702 : }
7703 : }
7704 :
7705 : int
7706 100377 : pattern1293 (rtx x1, int i1)
7707 : {
7708 100377 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7709 100377 : rtx x2, x3, x4, x5, x6, x7, x8;
7710 100377 : int res ATTRIBUTE_UNUSED;
7711 100377 : if (GET_CODE (x1) != SET)
7712 : return -1;
7713 71248 : x2 = XEXP (x1, 1);
7714 71248 : if (GET_CODE (x2) != COMPARE
7715 27049 : || GET_MODE (x2) != E_CCZmode)
7716 : return -1;
7717 18734 : x3 = XEXP (x2, 1);
7718 18734 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
7719 : return -1;
7720 7345 : x4 = XEXP (x1, 0);
7721 7345 : if (GET_CODE (x4) != REG
7722 7345 : || REGNO (x4) != 17
7723 14690 : || GET_MODE (x4) != E_CCZmode)
7724 : return -1;
7725 7345 : x5 = XEXP (x2, 0);
7726 7345 : if (!rtx_equal_p (x5, operands[0]))
7727 : return -1;
7728 841 : x6 = PATTERN (peep2_next_insn (2));
7729 841 : if (GET_CODE (x6) != SET)
7730 : return -1;
7731 841 : x7 = XEXP (x6, 1);
7732 841 : if (GET_CODE (x7) != IF_THEN_ELSE)
7733 : return -1;
7734 837 : x8 = XEXP (x7, 0);
7735 837 : if (!bt_comparison_operator (x8, E_VOIDmode))
7736 0 : return -1;
7737 : return 0;
7738 : }
7739 :
7740 : int
7741 0 : pattern1304 (rtx x1, machine_mode i1)
7742 : {
7743 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7744 0 : rtx x2, x3;
7745 0 : int res ATTRIBUTE_UNUSED;
7746 0 : if (!nonimmediate_operand (operands[0], i1)
7747 0 : || GET_MODE (x1) != i1)
7748 : return -1;
7749 0 : x2 = XEXP (x1, 0);
7750 0 : if (GET_MODE (x2) != i1
7751 0 : || !nonimmediate_operand (operands[1], i1))
7752 : return -1;
7753 0 : x3 = XEXP (x2, 1);
7754 0 : if (GET_MODE (x3) != i1
7755 0 : || !general_operand (operands[2], i1))
7756 0 : return -1;
7757 : return 0;
7758 : }
7759 :
7760 : int
7761 1442 : pattern1309 (rtx x1, machine_mode i1, machine_mode i2)
7762 : {
7763 1442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7764 1442 : rtx x2, x3;
7765 1442 : int res ATTRIBUTE_UNUSED;
7766 1442 : if (!register_operand (operands[0], i1)
7767 1442 : || GET_MODE (x1) != i1)
7768 : return -1;
7769 1333 : x2 = XEXP (x1, 0);
7770 1333 : if (GET_MODE (x2) != i1
7771 1333 : || !nonimmediate_operand (operands[1], i1)
7772 2666 : || !vector_operand (operands[2], i1))
7773 : return -1;
7774 1333 : x3 = XVECEXP (x2, 0, 2);
7775 1333 : if (GET_MODE (x3) != i1
7776 1333 : || !register_operand (operands[4], i2))
7777 57 : return -1;
7778 : return 0;
7779 : }
7780 :
7781 : int
7782 276 : pattern1314 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
7783 : {
7784 276 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7785 276 : rtx x2;
7786 276 : int res ATTRIBUTE_UNUSED;
7787 276 : if (!register_operand (operands[0], i1)
7788 276 : || GET_MODE (x1) != i1)
7789 : return -1;
7790 264 : x2 = XEXP (x1, 0);
7791 264 : if (GET_MODE (x2) != i1
7792 264 : || !register_operand (operands[1], i1)
7793 264 : || !register_operand (operands[2], i2)
7794 264 : || !nonimmediate_operand (operands[3], i2)
7795 264 : || !const0_operand (operands[4], i1)
7796 528 : || !register_operand (operands[5], i3))
7797 3 : return -1;
7798 : return 0;
7799 : }
7800 :
7801 : int
7802 442 : pattern1321 (rtx x1)
7803 : {
7804 442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7805 442 : rtx x2, x3;
7806 442 : int res ATTRIBUTE_UNUSED;
7807 442 : x2 = XEXP (x1, 0);
7808 442 : x3 = XEXP (x2, 0);
7809 442 : if (GET_MODE (x3) != E_V8HFmode
7810 442 : || !register_operand (operands[0], E_V8HFmode)
7811 430 : || GET_MODE (x1) != E_V8HFmode
7812 430 : || GET_MODE (x2) != E_V8HFmode
7813 430 : || !nonimmediate_operand (operands[1], E_V8HFmode)
7814 430 : || !nonimm_or_0_operand (operands[3], E_V8HFmode)
7815 872 : || !register_operand (operands[2], E_V8HFmode))
7816 12 : return -1;
7817 : return 0;
7818 : }
7819 :
7820 : int
7821 2535 : pattern1327 (rtx x1, machine_mode i1, machine_mode i2)
7822 : {
7823 2535 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7824 2535 : rtx x2;
7825 2535 : int res ATTRIBUTE_UNUSED;
7826 2535 : if (!register_operand (operands[0], i1)
7827 2535 : || GET_MODE (x1) != i1)
7828 : return -1;
7829 2380 : x2 = XEXP (x1, 0);
7830 2380 : if (GET_MODE (x2) != i1
7831 2380 : || !vector_operand (operands[2], i1)
7832 4752 : || !register_operand (operands[4], i2))
7833 16 : return -1;
7834 : return 0;
7835 : }
7836 :
7837 : int
7838 787 : pattern1331 (rtx x1, machine_mode i1, machine_mode i2)
7839 : {
7840 787 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7841 787 : rtx x2, x3;
7842 787 : int res ATTRIBUTE_UNUSED;
7843 787 : if (!register_operand (operands[0], i2)
7844 787 : || GET_MODE (x1) != i2)
7845 : return -1;
7846 763 : x2 = XEXP (x1, 0);
7847 763 : if (GET_MODE (x2) != i2
7848 763 : || !nonimmediate_operand (operands[1], i2))
7849 : return -1;
7850 736 : x3 = XEXP (x2, 2);
7851 736 : return pattern1330 (x3,
7852 : i1,
7853 736 : i2); /* [-1, 0] */
7854 : }
7855 :
7856 : int
7857 3662 : pattern1336 (rtx x1)
7858 : {
7859 3662 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7860 3662 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7861 3662 : int res ATTRIBUTE_UNUSED;
7862 3662 : x2 = XVECEXP (x1, 0, 4);
7863 3662 : if (GET_CODE (x2) != CONST_INT)
7864 : return -1;
7865 3662 : x3 = XVECEXP (x1, 0, 5);
7866 3662 : if (GET_CODE (x3) != CONST_INT)
7867 : return -1;
7868 3662 : x4 = XVECEXP (x1, 0, 6);
7869 3662 : if (GET_CODE (x4) != CONST_INT)
7870 : return -1;
7871 3662 : x5 = XVECEXP (x1, 0, 7);
7872 3662 : if (GET_CODE (x5) != CONST_INT)
7873 : return -1;
7874 3662 : x6 = XVECEXP (x1, 0, 8);
7875 3662 : if (GET_CODE (x6) != CONST_INT)
7876 : return -1;
7877 3662 : x7 = XVECEXP (x1, 0, 9);
7878 3662 : if (GET_CODE (x7) != CONST_INT)
7879 : return -1;
7880 3662 : x8 = XVECEXP (x1, 0, 10);
7881 3662 : if (GET_CODE (x8) != CONST_INT)
7882 : return -1;
7883 3662 : x9 = XVECEXP (x1, 0, 11);
7884 3662 : if (GET_CODE (x9) != CONST_INT)
7885 0 : return -1;
7886 : return 0;
7887 : }
7888 :
7889 : int
7890 5692 : pattern1342 (rtx x1)
7891 : {
7892 5692 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7893 5692 : rtx x2, x3;
7894 5692 : int res ATTRIBUTE_UNUSED;
7895 5692 : if (!const48_operand (operands[4], E_SImode))
7896 : return -1;
7897 5692 : switch (GET_MODE (operands[0]))
7898 : {
7899 0 : case E_V8HImode:
7900 0 : return pattern1339 (x1,
7901 : E_QImode,
7902 : E_V8HImode,
7903 0 : E_V8HFmode); /* [-1, 0] */
7904 :
7905 0 : case E_V16HImode:
7906 0 : if (pattern1339 (x1,
7907 : E_HImode,
7908 : E_V16HImode,
7909 : E_V16HFmode) != 0)
7910 0 : return -1;
7911 : return 1;
7912 :
7913 882 : case E_V32HImode:
7914 882 : if (pattern1339 (x1,
7915 : E_SImode,
7916 : E_V32HImode,
7917 : E_V32HFmode) != 0)
7918 58 : return -1;
7919 : return 2;
7920 :
7921 754 : case E_V8SImode:
7922 754 : res = pattern1340 (x1);
7923 754 : if (res >= 0)
7924 752 : return res + 3; /* [3, 4] */
7925 : return -1;
7926 :
7927 1636 : case E_V16SImode:
7928 1636 : res = pattern1341 (x1);
7929 1636 : if (res >= 0)
7930 1576 : return res + 5; /* [5, 6] */
7931 : return -1;
7932 :
7933 2420 : case E_V8DImode:
7934 2420 : if (!register_operand (operands[0], E_V8DImode)
7935 2420 : || GET_MODE (x1) != E_V8DImode)
7936 : return -1;
7937 2348 : x2 = XVECEXP (x1, 0, 0);
7938 2348 : if (GET_MODE (x2) != E_V8DImode)
7939 : return -1;
7940 2348 : x3 = XEXP (x2, 0);
7941 2348 : if (GET_MODE (x3) != E_V8DImode
7942 2348 : || !nonimm_or_0_operand (operands[2], E_V8DImode)
7943 4692 : || !register_operand (operands[3], E_QImode))
7944 : return -1;
7945 2320 : switch (GET_MODE (operands[1]))
7946 : {
7947 846 : case E_V8HFmode:
7948 846 : if (!register_operand (operands[1], E_V8HFmode))
7949 16 : return -1;
7950 : return 7;
7951 :
7952 738 : case E_V8DFmode:
7953 738 : if (!register_operand (operands[1], E_V8DFmode))
7954 0 : return -1;
7955 : return 8;
7956 :
7957 736 : case E_V8SFmode:
7958 736 : if (!register_operand (operands[1], E_V8SFmode))
7959 0 : return -1;
7960 : return 9;
7961 :
7962 : default:
7963 : return -1;
7964 : }
7965 :
7966 : default:
7967 : return -1;
7968 : }
7969 : }
7970 :
7971 : int
7972 72 : pattern1356 (rtx x1)
7973 : {
7974 72 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7975 72 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7976 72 : rtx x10, x11;
7977 72 : int res ATTRIBUTE_UNUSED;
7978 72 : x2 = XVECEXP (x1, 0, 0);
7979 72 : x3 = XEXP (x2, 1);
7980 72 : x4 = XEXP (x3, 0);
7981 72 : x5 = XEXP (x4, 0);
7982 72 : operands[2] = x5;
7983 72 : if (!register_operand (operands[2], E_SImode))
7984 : return -1;
7985 47 : x6 = XEXP (x4, 1);
7986 47 : operands[3] = x6;
7987 47 : if (!nonimmediate_operand (operands[3], E_SImode))
7988 : return -1;
7989 47 : x7 = XVECEXP (x1, 0, 1);
7990 47 : x8 = XEXP (x7, 0);
7991 47 : operands[1] = x8;
7992 47 : if (!register_operand (operands[1], E_SImode))
7993 : return -1;
7994 47 : x9 = XEXP (x7, 1);
7995 47 : x10 = XEXP (x9, 0);
7996 47 : if (!rtx_equal_p (x10, operands[2]))
7997 : return -1;
7998 47 : x11 = XEXP (x9, 1);
7999 47 : if (!rtx_equal_p (x11, operands[3]))
8000 0 : return -1;
8001 : return 0;
8002 : }
8003 :
8004 : int
8005 9692 : pattern1361 (rtx x1)
8006 : {
8007 9692 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8008 9692 : rtx x2, x3;
8009 9692 : int res ATTRIBUTE_UNUSED;
8010 9692 : if (GET_CODE (x1) != PLUS)
8011 : return -1;
8012 9692 : x2 = XEXP (x1, 0);
8013 9692 : if (GET_CODE (x2) != PLUS)
8014 : return -1;
8015 9692 : x3 = XEXP (x2, 0);
8016 9692 : switch (GET_CODE (x3))
8017 : {
8018 9692 : case LTU:
8019 9692 : case UNLT:
8020 9692 : if (!rtx_equal_p (x3, operands[4]))
8021 0 : return -1;
8022 : return 0;
8023 :
8024 : default:
8025 : return -1;
8026 : }
8027 : }
8028 :
8029 : int
8030 29 : pattern1365 (rtx x1, rtx_code i1)
8031 : {
8032 29 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8033 29 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8034 29 : int res ATTRIBUTE_UNUSED;
8035 29 : x2 = XVECEXP (x1, 0, 1);
8036 29 : x3 = XEXP (x2, 1);
8037 29 : if (GET_MODE (x3) != E_DImode)
8038 : return -1;
8039 19 : x4 = XEXP (x3, 0);
8040 19 : if (GET_CODE (x4) != i1
8041 7 : || GET_MODE (x4) != E_SImode)
8042 : return -1;
8043 7 : x5 = XVECEXP (x1, 0, 0);
8044 7 : x6 = XEXP (x5, 1);
8045 7 : x7 = XEXP (x6, 0);
8046 7 : if (GET_MODE (x7) != E_SImode
8047 7 : || !nonimmediate_operand (operands[1], E_SImode)
8048 7 : || !const_1_to_31_operand (operands[2], E_QImode)
8049 14 : || !register_operand (operands[0], E_DImode))
8050 : return -1;
8051 7 : x8 = XEXP (x4, 0);
8052 7 : if (!rtx_equal_p (x8, operands[1]))
8053 : return -1;
8054 7 : x9 = XEXP (x4, 1);
8055 7 : if (!rtx_equal_p (x9, operands[2]))
8056 0 : return -1;
8057 : return 0;
8058 : }
8059 :
8060 : int
8061 323 : pattern1374 (rtx x1, machine_mode i1)
8062 : {
8063 323 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8064 323 : rtx x2;
8065 323 : int res ATTRIBUTE_UNUSED;
8066 323 : if (!register_operand (operands[0], i1)
8067 323 : || GET_MODE (x1) != i1)
8068 : return -1;
8069 323 : x2 = XEXP (x1, 0);
8070 323 : if (GET_MODE (x2) != i1
8071 323 : || !register_operand (operands[1], i1)
8072 646 : || !register_operand (operands[2], i1))
8073 0 : return -1;
8074 : return 0;
8075 : }
8076 :
8077 : int
8078 1327837 : pattern1377 (rtx x1, int *pnum_clobbers)
8079 : {
8080 1327837 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8081 1327837 : rtx x2, x3;
8082 1327837 : int res ATTRIBUTE_UNUSED;
8083 1327837 : x2 = XVECEXP (x1, 0, 2);
8084 1327837 : switch (GET_CODE (x2))
8085 : {
8086 18 : case UNSPEC:
8087 18 : if (pnum_clobbers == NULL)
8088 : return -1;
8089 18 : return pattern430 (x1); /* [-1, 1] */
8090 :
8091 1300558 : case CLOBBER:
8092 1300558 : x3 = XEXP (x2, 0);
8093 1300558 : if (GET_CODE (x3) != REG
8094 1300558 : || REGNO (x3) != 17
8095 2601116 : || GET_MODE (x3) != E_CCmode)
8096 : return -1;
8097 1300558 : switch (GET_MODE (operands[0]))
8098 : {
8099 5872 : case E_HImode:
8100 5872 : if (pattern429 (x1,
8101 : E_HImode) != 0)
8102 1216 : return -1;
8103 : return 2;
8104 :
8105 246829 : case E_SImode:
8106 246829 : if (pattern429 (x1,
8107 : E_SImode) != 0)
8108 24338 : return -1;
8109 : return 3;
8110 :
8111 1047857 : case E_DImode:
8112 1047857 : if (pattern429 (x1,
8113 : E_DImode) != 0)
8114 34704 : return -1;
8115 : return 4;
8116 :
8117 : default:
8118 : return -1;
8119 : }
8120 :
8121 0 : case USE:
8122 0 : res = pattern432 (x1);
8123 0 : if (res >= 0)
8124 0 : return res + 5; /* [5, 7] */
8125 : return -1;
8126 :
8127 : default:
8128 : return -1;
8129 : }
8130 : }
8131 :
8132 : int
8133 37897 : pattern1387 (rtx x1)
8134 : {
8135 37897 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8136 37897 : rtx x2, x3, x4, x5, x6, x7;
8137 37897 : int res ATTRIBUTE_UNUSED;
8138 37897 : x2 = XVECEXP (x1, 0, 1);
8139 37897 : if (GET_CODE (x2) != CLOBBER)
8140 : return -1;
8141 37897 : x3 = XEXP (x2, 0);
8142 37897 : if (GET_CODE (x3) != REG
8143 37897 : || REGNO (x3) != 17
8144 75794 : || GET_MODE (x3) != E_CCmode)
8145 : return -1;
8146 37897 : x4 = XVECEXP (x1, 0, 0);
8147 37897 : x5 = XEXP (x4, 1);
8148 37897 : x6 = XEXP (x5, 0);
8149 37897 : if (!rtx_equal_p (x6, operands[0]))
8150 : return -1;
8151 36580 : x7 = XEXP (x4, 0);
8152 36580 : if (!rtx_equal_p (x7, operands[0]))
8153 26216 : return -1;
8154 : return 0;
8155 : }
8156 :
8157 : int
8158 28971 : pattern1393 (rtx x1, machine_mode i1)
8159 : {
8160 28971 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8161 28971 : rtx x2, x3, x4, x5, x6;
8162 28971 : int res ATTRIBUTE_UNUSED;
8163 28971 : if (!plusminuslogic_operator (operands[3], i1))
8164 : return -1;
8165 6715 : x2 = XVECEXP (x1, 0, 1);
8166 6715 : if (GET_CODE (x2) != CLOBBER)
8167 : return -1;
8168 6715 : x3 = XEXP (x2, 0);
8169 6715 : if (GET_CODE (x3) != REG
8170 6715 : || REGNO (x3) != 17
8171 13430 : || GET_MODE (x3) != E_CCmode)
8172 : return -1;
8173 6715 : x4 = XVECEXP (x1, 0, 0);
8174 6715 : x5 = XEXP (x4, 1);
8175 6715 : x6 = XEXP (x5, 1);
8176 6715 : operands[2] = x6;
8177 6715 : if (!nonmemory_operand (operands[2], i1)
8178 6715 : || pattern1392 (x4) != 0)
8179 5889 : return -1;
8180 : return 0;
8181 : }
8182 :
8183 : int
8184 0 : pattern1399 (rtx x1, machine_mode i1)
8185 : {
8186 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8187 0 : rtx x2, x3, x4, x5, x6, x7;
8188 0 : int res ATTRIBUTE_UNUSED;
8189 0 : if (!general_reg_operand (operands[0], i1)
8190 0 : || GET_CODE (x1) != PARALLEL
8191 0 : || XVECLEN (x1, 0) != 2)
8192 : return -1;
8193 0 : x2 = XVECEXP (x1, 0, 0);
8194 0 : if (GET_CODE (x2) != SET)
8195 : return -1;
8196 0 : x3 = XVECEXP (x1, 0, 1);
8197 0 : if (GET_CODE (x3) != CLOBBER)
8198 : return -1;
8199 0 : x4 = XEXP (x3, 0);
8200 0 : if (GET_CODE (x4) != REG
8201 0 : || REGNO (x4) != 17
8202 0 : || GET_MODE (x4) != E_CCmode)
8203 : return -1;
8204 0 : x5 = XEXP (x2, 1);
8205 0 : if (GET_MODE (x5) != i1)
8206 : return -1;
8207 0 : x6 = XEXP (x2, 0);
8208 0 : if (!rtx_equal_p (x6, operands[0]))
8209 : return -1;
8210 0 : switch (GET_CODE (x5))
8211 : {
8212 0 : case PLUS:
8213 0 : x7 = XEXP (x5, 0);
8214 0 : if (!rtx_equal_p (x7, operands[0]))
8215 0 : return -1;
8216 : return 0;
8217 :
8218 0 : case IOR:
8219 0 : x7 = XEXP (x5, 0);
8220 0 : if (!rtx_equal_p (x7, operands[0]))
8221 0 : return -1;
8222 : return 1;
8223 :
8224 0 : case XOR:
8225 0 : x7 = XEXP (x5, 0);
8226 0 : if (!rtx_equal_p (x7, operands[0]))
8227 0 : return -1;
8228 : return 2;
8229 :
8230 : default:
8231 : return -1;
8232 : }
8233 : }
8234 :
8235 : int
8236 99 : pattern1408 (rtx x1)
8237 : {
8238 99 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8239 99 : rtx x2, x3, x4, x5, x6, x7, x8;
8240 99 : int res ATTRIBUTE_UNUSED;
8241 99 : if (!nonimmediate_operand (operands[0], E_SImode))
8242 : return -1;
8243 99 : x2 = XEXP (x1, 1);
8244 99 : if (GET_MODE (x2) != E_SImode)
8245 : return -1;
8246 99 : x3 = XEXP (x2, 0);
8247 99 : if (GET_MODE (x3) != E_DImode)
8248 : return -1;
8249 99 : x4 = XEXP (x3, 0);
8250 99 : if (GET_MODE (x4) != E_DImode)
8251 : return -1;
8252 99 : x5 = XEXP (x4, 0);
8253 99 : operands[1] = x5;
8254 99 : if (!register_operand (operands[1], E_SImode))
8255 : return -1;
8256 99 : x6 = XEXP (x3, 1);
8257 99 : operands[3] = x6;
8258 99 : if (!const_0_to_63_operand (operands[3], E_QImode))
8259 : return -1;
8260 99 : x7 = XEXP (x1, 0);
8261 99 : x8 = XEXP (x7, 0);
8262 99 : if (!rtx_equal_p (x8, operands[0]))
8263 99 : return -1;
8264 : return 0;
8265 : }
8266 :
8267 : int
8268 1208 : pattern1413 (rtx x1, machine_mode i1, machine_mode i2)
8269 : {
8270 1208 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8271 1208 : rtx x2;
8272 1208 : int res ATTRIBUTE_UNUSED;
8273 1208 : if (!register_operand (operands[0], i1)
8274 1208 : || GET_MODE (x1) != i1)
8275 : return -1;
8276 1126 : x2 = XEXP (x1, 0);
8277 1126 : if (GET_MODE (x2) != i1
8278 1126 : || !vector_operand (operands[1], i1)
8279 1118 : || !vector_operand (operands[2], i1)
8280 1118 : || !vector_operand (operands[3], i1)
8281 1118 : || !const0_operand (operands[4], i1)
8282 2244 : || !register_operand (operands[5], i2))
8283 91 : return -1;
8284 : return 0;
8285 : }
8286 :
8287 : int
8288 36 : pattern1415 (rtx x1, machine_mode i1, machine_mode i2)
8289 : {
8290 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8291 36 : rtx x2, x3, x4, x5, x6, x7, x8;
8292 36 : int res ATTRIBUTE_UNUSED;
8293 36 : x2 = XEXP (x1, 0);
8294 36 : x3 = XEXP (x2, 0);
8295 36 : x4 = XEXP (x3, 0);
8296 36 : x5 = XEXP (x4, 0);
8297 36 : operands[2] = x5;
8298 36 : if (!nonimmediate_operand (operands[2], i2))
8299 : return -1;
8300 36 : x6 = XEXP (x2, 1);
8301 36 : operands[1] = x6;
8302 36 : if (!register_operand (operands[1], i1))
8303 : return -1;
8304 36 : x7 = XEXP (x1, 1);
8305 36 : operands[3] = x7;
8306 36 : if (!nonimm_or_0_operand (operands[3], i1))
8307 : return -1;
8308 36 : x8 = XEXP (x1, 2);
8309 36 : operands[4] = x8;
8310 36 : if (!register_operand (operands[4], E_QImode))
8311 4 : return -1;
8312 : return 0;
8313 : }
8314 :
8315 : int
8316 1594 : pattern1424 (rtx x1, machine_mode i1, machine_mode i2)
8317 : {
8318 1594 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8319 1594 : rtx x2, x3;
8320 1594 : int res ATTRIBUTE_UNUSED;
8321 1594 : if (!register_operand (operands[0], i1)
8322 1594 : || GET_MODE (x1) != i1)
8323 : return -1;
8324 1543 : x2 = XEXP (x1, 0);
8325 1543 : if (GET_MODE (x2) != i1
8326 1543 : || !bcst_vector_operand (operands[1], i1))
8327 : return -1;
8328 1541 : x3 = XEXP (x2, 2);
8329 1541 : return pattern1423 (x3,
8330 : i2,
8331 1541 : i1); /* [-1, 0] */
8332 : }
8333 :
8334 : int
8335 1345 : pattern1430 (rtx x1, machine_mode i1, machine_mode i2)
8336 : {
8337 1345 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8338 1345 : rtx x2, x3;
8339 1345 : int res ATTRIBUTE_UNUSED;
8340 1345 : if (!register_operand (operands[0], i1)
8341 1345 : || GET_MODE (x1) != i1)
8342 : return -1;
8343 1294 : x2 = XEXP (x1, 0);
8344 1294 : if (GET_MODE (x2) != i1)
8345 : return -1;
8346 1294 : x3 = XEXP (x2, 0);
8347 1294 : if (GET_MODE (x3) != i1
8348 1294 : || !bcst_vector_operand (operands[1], i1)
8349 2588 : || pattern1417 (
8350 : i1,
8351 : i2) != 0)
8352 3 : return -1;
8353 : return 0;
8354 : }
8355 :
8356 : int
8357 737 : pattern1435 (rtx x1, machine_mode i1, machine_mode i2)
8358 : {
8359 737 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8360 737 : rtx x2, x3, x4;
8361 737 : int res ATTRIBUTE_UNUSED;
8362 737 : if (!register_operand (operands[0], i2)
8363 737 : || GET_MODE (x1) != i2)
8364 : return -1;
8365 707 : x2 = XEXP (x1, 0);
8366 707 : if (GET_MODE (x2) != i2)
8367 : return -1;
8368 707 : x3 = XEXP (x2, 0);
8369 707 : if (GET_MODE (x3) != i2
8370 707 : || !bcst_vector_operand (operands[1], i2))
8371 : return -1;
8372 707 : x4 = XEXP (x2, 2);
8373 707 : return pattern1423 (x4,
8374 : i1,
8375 707 : i2); /* [-1, 0] */
8376 : }
8377 :
8378 : int
8379 1188 : pattern1441 (rtx x1)
8380 : {
8381 1188 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8382 1188 : rtx x2, x3, x4, x5, x6, x7;
8383 1188 : int res ATTRIBUTE_UNUSED;
8384 1188 : x2 = XVECEXP (x1, 0, 0);
8385 1188 : x3 = XEXP (x2, 0);
8386 1188 : x4 = XEXP (x3, 1);
8387 1188 : operands[4] = x4;
8388 1188 : x5 = XEXP (x3, 2);
8389 1188 : operands[5] = x5;
8390 1188 : if (!register_operand (operands[5], E_QImode))
8391 : return -1;
8392 1141 : x6 = XVECEXP (x1, 0, 1);
8393 1141 : operands[6] = x6;
8394 1141 : if (!const48_operand (operands[6], E_SImode))
8395 : return -1;
8396 1141 : x7 = XEXP (x2, 1);
8397 1141 : if (!rtx_equal_p (x7, operands[1]))
8398 : return -1;
8399 1141 : switch (GET_MODE (operands[0]))
8400 : {
8401 519 : case E_V8HFmode:
8402 519 : return pattern1440 (x1,
8403 519 : E_V8HFmode); /* [-1, 0] */
8404 :
8405 311 : case E_V4SFmode:
8406 311 : if (pattern1440 (x1,
8407 : E_V4SFmode) != 0)
8408 19 : return -1;
8409 : return 1;
8410 :
8411 311 : case E_V2DFmode:
8412 311 : if (pattern1440 (x1,
8413 : E_V2DFmode) != 0)
8414 19 : return -1;
8415 : return 2;
8416 :
8417 : default:
8418 : return -1;
8419 : }
8420 : }
8421 :
8422 : int
8423 0 : pattern1448 (rtx x1, machine_mode i1, machine_mode i2)
8424 : {
8425 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8426 0 : rtx x2, x3, x4;
8427 0 : int res ATTRIBUTE_UNUSED;
8428 0 : if (!register_operand (operands[0], i1)
8429 0 : || GET_MODE (x1) != i1)
8430 : return -1;
8431 0 : x2 = XVECEXP (x1, 0, 0);
8432 0 : if (GET_MODE (x2) != i1)
8433 : return -1;
8434 0 : x3 = XEXP (x2, 0);
8435 0 : if (GET_MODE (x3) != i1)
8436 : return -1;
8437 0 : x4 = XEXP (x3, 0);
8438 0 : if (GET_MODE (x4) != i2
8439 0 : || !nonimmediate_operand (operands[1], i2)
8440 0 : || !register_operand (operands[2], i1))
8441 0 : return -1;
8442 : return 0;
8443 : }
8444 :
8445 : int
8446 321 : pattern1454 (rtx x1, machine_mode i1)
8447 : {
8448 321 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8449 321 : rtx x2;
8450 321 : int res ATTRIBUTE_UNUSED;
8451 321 : if (!register_operand (operands[0], i1)
8452 321 : || GET_MODE (x1) != i1)
8453 : return -1;
8454 312 : x2 = XVECEXP (x1, 0, 0);
8455 312 : if (GET_MODE (x2) != i1
8456 312 : || !register_operand (operands[1], i1)
8457 312 : || !register_operand (operands[2], i1)
8458 619 : || !register_operand (operands[3], i1))
8459 5 : return -1;
8460 : return 0;
8461 : }
8462 :
8463 : int
8464 3533 : pattern1459 (rtx x1)
8465 : {
8466 3533 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8467 3533 : rtx x2, x3, x4, x5;
8468 3533 : int res ATTRIBUTE_UNUSED;
8469 3533 : x2 = XVECEXP (x1, 0, 12);
8470 3533 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
8471 : return -1;
8472 3496 : x3 = XVECEXP (x1, 0, 13);
8473 3496 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
8474 : return -1;
8475 3496 : x4 = XVECEXP (x1, 0, 14);
8476 3496 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
8477 : return -1;
8478 3472 : x5 = XVECEXP (x1, 0, 15);
8479 3472 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
8480 0 : return -1;
8481 : return 0;
8482 : }
8483 :
8484 : int
8485 0 : pattern1464 (rtx x1)
8486 : {
8487 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8488 0 : int res ATTRIBUTE_UNUSED;
8489 0 : operands[2] = x1;
8490 0 : if (!register_operand (operands[2], E_DImode))
8491 : return -1;
8492 0 : switch (GET_MODE (operands[1]))
8493 : {
8494 0 : case E_SImode:
8495 0 : if (!nonimmediate_operand (operands[1], E_SImode))
8496 0 : return -1;
8497 : return 0;
8498 :
8499 0 : case E_DImode:
8500 0 : if (!nonimmediate_operand (operands[1], E_DImode))
8501 0 : return -1;
8502 : return 1;
8503 :
8504 : default:
8505 : return -1;
8506 : }
8507 : }
8508 :
8509 : int
8510 483393 : pattern1470 (rtx x1, machine_mode i1)
8511 : {
8512 483393 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8513 483393 : int res ATTRIBUTE_UNUSED;
8514 483393 : if (!nonimmediate_operand (operands[1], i1)
8515 482955 : || !x86_64_general_operand (operands[2], i1)
8516 479663 : || !nonimmediate_operand (operands[0], i1)
8517 963056 : || GET_MODE (x1) != i1)
8518 3730 : return -1;
8519 : return 0;
8520 : }
8521 :
8522 : int
8523 44798 : pattern1474 (rtx x1, machine_mode i1)
8524 : {
8525 44798 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8526 44798 : rtx x2;
8527 44798 : int res ATTRIBUTE_UNUSED;
8528 44798 : if (!register_operand (operands[0], i1)
8529 44798 : || GET_MODE (x1) != i1)
8530 : return -1;
8531 42676 : x2 = XEXP (x1, 0);
8532 42676 : if (GET_MODE (x2) != i1
8533 42676 : || !register_operand (operands[1], i1)
8534 84738 : || !nonimmediate_operand (operands[2], i1))
8535 5474 : return -1;
8536 : return 0;
8537 : }
8538 :
8539 : int
8540 28169 : pattern1478 (rtx x1)
8541 : {
8542 28169 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8543 28169 : rtx x2, x3, x4, x5;
8544 28169 : int res ATTRIBUTE_UNUSED;
8545 28169 : x2 = XEXP (x1, 1);
8546 28169 : x3 = XEXP (x2, 0);
8547 28169 : x4 = XEXP (x3, 0);
8548 28169 : operands[2] = x4;
8549 28169 : if (!int248_register_operand (operands[2], E_VOIDmode))
8550 : return -1;
8551 25933 : x5 = XEXP (x3, 1);
8552 25933 : operands[3] = x5;
8553 25933 : if (!const_int_operand (operands[3], E_VOIDmode))
8554 : return -1;
8555 25919 : return pattern410 (x1); /* [-1, 1] */
8556 : }
8557 :
8558 : int
8559 89366 : pattern1482 (rtx x1)
8560 : {
8561 89366 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8562 89366 : rtx x2, x3, x4;
8563 89366 : int res ATTRIBUTE_UNUSED;
8564 89366 : x2 = XVECEXP (x1, 0, 0);
8565 89366 : x3 = XEXP (x2, 1);
8566 89366 : operands[1] = x3;
8567 89366 : x4 = XEXP (x2, 0);
8568 89366 : if (!rtx_equal_p (x4, operands[0]))
8569 : return -1;
8570 87371 : switch (GET_MODE (operands[0]))
8571 : {
8572 5482 : case E_QImode:
8573 5482 : return pattern1481 (x1,
8574 5482 : E_QImode); /* [-1, 0] */
8575 :
8576 4047 : case E_HImode:
8577 4047 : if (pattern1481 (x1,
8578 : E_HImode) != 0)
8579 139 : return -1;
8580 : return 1;
8581 :
8582 55529 : case E_SImode:
8583 55529 : if (pattern1481 (x1,
8584 : E_SImode) != 0)
8585 2408 : return -1;
8586 : return 2;
8587 :
8588 22313 : case E_DImode:
8589 22313 : if (pattern1481 (x1,
8590 : E_DImode) != 0)
8591 594 : return -1;
8592 : return 3;
8593 :
8594 : default:
8595 : return -1;
8596 : }
8597 : }
8598 :
8599 : int
8600 1204 : pattern1490 (rtx x1, int i1)
8601 : {
8602 1204 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8603 1204 : rtx x2, x3, x4;
8604 1204 : int res ATTRIBUTE_UNUSED;
8605 1204 : x2 = XEXP (x1, 1);
8606 1204 : x3 = XEXP (x2, 1);
8607 1204 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
8608 : return -1;
8609 735 : x4 = XEXP (x1, 0);
8610 735 : if (GET_CODE (x4) != REG
8611 735 : || REGNO (x4) != 17
8612 1470 : || GET_MODE (x4) != E_CCZmode)
8613 0 : return -1;
8614 : return 0;
8615 : }
8616 :
8617 : int
8618 6140 : pattern1493 (rtx x1, machine_mode i1)
8619 : {
8620 6140 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8621 6140 : int res ATTRIBUTE_UNUSED;
8622 6140 : if (!register_operand (operands[0], i1)
8623 6108 : || GET_MODE (x1) != i1
8624 6108 : || !nonimmediate_operand (operands[2], i1)
8625 11605 : || !nonimmediate_operand (operands[3], i1))
8626 : return -1;
8627 4209 : return pattern1492 (); /* [-1, 3] */
8628 : }
8629 :
8630 : int
8631 978 : pattern1496 (rtx x1, machine_mode i1, machine_mode i2)
8632 : {
8633 978 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8634 978 : rtx x2;
8635 978 : int res ATTRIBUTE_UNUSED;
8636 978 : if (!register_operand (operands[0], i2)
8637 978 : || GET_MODE (x1) != i2)
8638 : return -1;
8639 972 : x2 = XVECEXP (x1, 0, 0);
8640 972 : if (GET_MODE (x2) != i2
8641 972 : || !register_operand (operands[1], i1)
8642 1942 : || !nonimmediate_operand (operands[2], i1))
8643 2 : return -1;
8644 : return 0;
8645 : }
8646 :
8647 : int
8648 128 : pattern1501 (rtx x1, machine_mode i1, machine_mode i2)
8649 : {
8650 128 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8651 128 : rtx x2, x3, x4;
8652 128 : int res ATTRIBUTE_UNUSED;
8653 128 : if (!register_operand (operands[0], i1)
8654 128 : || GET_MODE (x1) != i1)
8655 : return -1;
8656 116 : x2 = XEXP (x1, 0);
8657 116 : if (GET_MODE (x2) != i1)
8658 : return -1;
8659 116 : x3 = XEXP (x2, 0);
8660 116 : if (GET_MODE (x3) != i1)
8661 : return -1;
8662 116 : x4 = XEXP (x3, 0);
8663 116 : if (GET_MODE (x4) != i2
8664 116 : || !nonimm_or_0_operand (operands[3], i1)
8665 232 : || !register_operand (operands[2], i1))
8666 0 : return -1;
8667 : return 0;
8668 : }
8669 :
8670 : int
8671 3288 : pattern1505 (rtx x1, machine_mode i1, machine_mode i2)
8672 : {
8673 3288 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8674 3288 : rtx x2;
8675 3288 : int res ATTRIBUTE_UNUSED;
8676 3288 : if (!register_operand (operands[0], i1)
8677 3110 : || GET_MODE (x1) != i1
8678 3110 : || !nonimmediate_operand (operands[1], i1)
8679 6340 : || !general_operand (operands[2], i1))
8680 : return -1;
8681 2461 : x2 = XEXP (x1, 2);
8682 2461 : if (GET_MODE (x2) != i2
8683 2461 : || !nonimmediate_operand (operands[3], i1)
8684 2112 : || !general_operand (operands[4], i1)
8685 4573 : || !const_0_to_31_operand (operands[5], E_SImode))
8686 349 : return -1;
8687 : return 0;
8688 : }
8689 :
8690 : int
8691 0 : pattern1511 (rtx x1, machine_mode i1, machine_mode i2)
8692 : {
8693 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8694 0 : int res ATTRIBUTE_UNUSED;
8695 0 : if (!const0_operand (operands[2], i1)
8696 0 : || GET_MODE (x1) != i2
8697 0 : || !nonimmediate_operand (operands[3], i1)
8698 0 : || !const0_operand (operands[4], i1))
8699 0 : return -1;
8700 : return 0;
8701 : }
8702 :
8703 : int
8704 176 : pattern1514 (rtx x1, int i1, int i2, int i3, int i4, int i5)
8705 : {
8706 176 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8707 176 : rtx x2, x3, x4, x5, x6;
8708 176 : int res ATTRIBUTE_UNUSED;
8709 176 : x2 = XVECEXP (x1, 0, 3);
8710 176 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
8711 : return -1;
8712 176 : x3 = XVECEXP (x1, 0, 4);
8713 176 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
8714 : return -1;
8715 176 : x4 = XVECEXP (x1, 0, 5);
8716 176 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
8717 : return -1;
8718 176 : x5 = XVECEXP (x1, 0, 6);
8719 176 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
8720 : return -1;
8721 176 : x6 = XVECEXP (x1, 0, 7);
8722 176 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
8723 0 : return -1;
8724 : return 0;
8725 : }
8726 :
8727 : int
8728 2581 : pattern1519 (rtx x1, machine_mode i1)
8729 : {
8730 2581 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8731 2581 : rtx x2, x3;
8732 2581 : int res ATTRIBUTE_UNUSED;
8733 2581 : if (!register_operand (operands[0], i1)
8734 2581 : || GET_MODE (x1) != i1)
8735 : return -1;
8736 2561 : x2 = XVECEXP (x1, 0, 0);
8737 2561 : if (GET_MODE (x2) != i1)
8738 : return -1;
8739 2561 : x3 = XEXP (x2, 0);
8740 2561 : if (GET_MODE (x3) != i1)
8741 0 : return -1;
8742 : return 0;
8743 : }
8744 :
8745 : int
8746 232 : pattern1522 (rtx x1, int i1, int i2, int i3, int i4, int i5)
8747 : {
8748 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8749 232 : rtx x2, x3, x4, x5, x6;
8750 232 : int res ATTRIBUTE_UNUSED;
8751 232 : x2 = XVECEXP (x1, 0, 7);
8752 232 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
8753 : return -1;
8754 232 : x3 = XVECEXP (x1, 0, 8);
8755 232 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
8756 : return -1;
8757 232 : x4 = XVECEXP (x1, 0, 9);
8758 232 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
8759 : return -1;
8760 232 : x5 = XVECEXP (x1, 0, 10);
8761 232 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
8762 : return -1;
8763 232 : x6 = XVECEXP (x1, 0, 11);
8764 232 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i1]
8765 232 : || pattern1513 (x1) != 0)
8766 0 : return -1;
8767 : return 0;
8768 : }
8769 :
8770 : int
8771 11766 : pattern1530 (rtx x1, machine_mode i1)
8772 : {
8773 11766 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8774 11766 : int res ATTRIBUTE_UNUSED;
8775 11766 : if (!nonimmediate_operand (operands[1], i1)
8776 11766 : || !general_operand (operands[2], i1)
8777 11730 : || !nonimmediate_operand (operands[0], i1)
8778 23496 : || GET_MODE (x1) != i1)
8779 36 : return -1;
8780 : return 0;
8781 : }
8782 :
8783 : int
8784 755 : pattern1534 (rtx x1)
8785 : {
8786 755 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8787 755 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8788 755 : int res ATTRIBUTE_UNUSED;
8789 755 : x2 = XVECEXP (x1, 0, 1);
8790 755 : x3 = XEXP (x2, 1);
8791 755 : x4 = XEXP (x3, 0);
8792 755 : x5 = XEXP (x4, 0);
8793 755 : if (!rtx_equal_p (x5, operands[1]))
8794 : return -1;
8795 755 : x6 = XEXP (x3, 1);
8796 755 : if (!rtx_equal_p (x6, operands[1]))
8797 : return -1;
8798 755 : x7 = XVECEXP (x1, 0, 0);
8799 755 : x8 = XEXP (x7, 1);
8800 755 : x9 = XEXP (x8, 0);
8801 755 : switch (GET_MODE (x9))
8802 : {
8803 488 : case E_SImode:
8804 488 : return pattern1533 (x1,
8805 488 : E_SImode); /* [-1, 0] */
8806 :
8807 132 : case E_DImode:
8808 132 : if (pattern1533 (x1,
8809 : E_DImode) != 0)
8810 0 : return -1;
8811 : return 1;
8812 :
8813 : default:
8814 : return -1;
8815 : }
8816 : }
8817 :
8818 : int
8819 262 : pattern1541 (rtx x1)
8820 : {
8821 262 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8822 262 : rtx x2, x3, x4, x5, x6, x7, x8;
8823 262 : int res ATTRIBUTE_UNUSED;
8824 262 : x2 = XVECEXP (x1, 0, 1);
8825 262 : x3 = XEXP (x2, 1);
8826 262 : x4 = XEXP (x3, 0);
8827 262 : if (!rtx_equal_p (x4, operands[2]))
8828 : return -1;
8829 262 : x5 = XEXP (x3, 1);
8830 262 : if (!rtx_equal_p (x5, operands[3]))
8831 : return -1;
8832 262 : x6 = XVECEXP (x1, 0, 2);
8833 262 : switch (GET_CODE (x6))
8834 : {
8835 12 : case UNSPEC:
8836 12 : if (XVECLEN (x6, 0) != 1
8837 12 : || XINT (x6, 1) != 29)
8838 : return -1;
8839 12 : x7 = XVECEXP (x6, 0, 0);
8840 12 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8841 0 : return -1;
8842 : return 0;
8843 :
8844 250 : case USE:
8845 250 : x8 = XEXP (x6, 0);
8846 250 : operands[4] = x8;
8847 250 : if (!register_operand (operands[4], E_SImode))
8848 0 : return -1;
8849 : return 1;
8850 :
8851 : default:
8852 : return -1;
8853 : }
8854 : }
8855 :
8856 : int
8857 32792 : pattern1549 (rtx x1, machine_mode i1)
8858 : {
8859 32792 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8860 32792 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8861 32792 : rtx x10;
8862 32792 : int res ATTRIBUTE_UNUSED;
8863 32792 : x2 = PATTERN (peep2_next_insn (2));
8864 32792 : x3 = XEXP (x2, 1);
8865 32792 : if (!rtx_equal_p (x3, operands[0]))
8866 : return -1;
8867 7984 : x4 = XVECEXP (x1, 0, 0);
8868 7984 : x5 = XEXP (x4, 1);
8869 7984 : switch (GET_CODE (x5))
8870 : {
8871 2073 : case COMPARE:
8872 2073 : x6 = XEXP (x4, 0);
8873 2073 : if (GET_CODE (x6) != REG
8874 2073 : || REGNO (x6) != 17)
8875 : return -1;
8876 2073 : x7 = XVECEXP (x1, 0, 1);
8877 2073 : if (GET_CODE (x7) != SET)
8878 : return -1;
8879 2073 : x8 = XEXP (x7, 1);
8880 2073 : if (GET_MODE (x8) != i1)
8881 : return -1;
8882 2010 : x9 = XEXP (x7, 0);
8883 2010 : if (!rtx_equal_p (x9, operands[0]))
8884 : return -1;
8885 2010 : x10 = XEXP (x5, 0);
8886 2010 : switch (GET_CODE (x10))
8887 : {
8888 0 : case REG:
8889 0 : return pattern1228 (x1,
8890 0 : i1); /* [-1, 0] */
8891 :
8892 0 : case SUBREG:
8893 0 : case MEM:
8894 0 : if (pattern1229 (x1,
8895 : i1) != 0)
8896 0 : return -1;
8897 : return 1;
8898 :
8899 1961 : case PLUS:
8900 1961 : if (pattern1230 (x1,
8901 : i1) != 0)
8902 1961 : return -1;
8903 : return 2;
8904 :
8905 : default:
8906 : return -1;
8907 : }
8908 :
8909 1186 : case PLUS:
8910 1186 : res = pattern1232 (x1,
8911 : i1);
8912 1186 : if (res >= 0)
8913 0 : return res + 3; /* [3, 4] */
8914 : return -1;
8915 :
8916 90 : case MINUS:
8917 90 : res = pattern1233 (x1,
8918 : i1);
8919 90 : if (res >= 0)
8920 0 : return res + 5; /* [5, 6] */
8921 : return -1;
8922 :
8923 : default:
8924 : return -1;
8925 : }
8926 : }
8927 :
8928 : int
8929 146 : pattern1561 (rtx x1, machine_mode i1, machine_mode i2)
8930 : {
8931 146 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8932 146 : rtx x2, x3;
8933 146 : int res ATTRIBUTE_UNUSED;
8934 146 : if (!register_operand (operands[0], i1)
8935 146 : || GET_MODE (x1) != i1)
8936 : return -1;
8937 136 : x2 = XEXP (x1, 0);
8938 136 : if (GET_MODE (x2) != i1
8939 136 : || !nonimmediate_operand (operands[2], i2))
8940 : return -1;
8941 136 : x3 = XEXP (x2, 1);
8942 136 : if (GET_MODE (x3) != i2
8943 136 : || !register_operand (operands[1], i1)
8944 260 : || !nonimm_or_0_operand (operands[3], i1))
8945 27 : return -1;
8946 : return 0;
8947 : }
8948 :
8949 : int
8950 10202 : pattern1567 ()
8951 : {
8952 10202 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8953 10202 : int res ATTRIBUTE_UNUSED;
8954 10202 : switch (GET_MODE (operands[3]))
8955 : {
8956 611 : case E_HImode:
8957 611 : if (!extract_high_operator (operands[3], E_HImode))
8958 397 : return -1;
8959 : return 0;
8960 :
8961 7026 : case E_SImode:
8962 7026 : if (!extract_high_operator (operands[3], E_SImode))
8963 6746 : return -1;
8964 : return 1;
8965 :
8966 2565 : case E_DImode:
8967 2565 : if (!extract_high_operator (operands[3], E_DImode))
8968 2456 : return -1;
8969 : return 2;
8970 :
8971 : default:
8972 : return -1;
8973 : }
8974 : }
8975 :
8976 : int
8977 525 : pattern1571 (rtx x1)
8978 : {
8979 525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8980 525 : rtx x2, x3, x4, x5;
8981 525 : int res ATTRIBUTE_UNUSED;
8982 525 : x2 = XEXP (x1, 1);
8983 525 : x3 = XEXP (x2, 0);
8984 525 : x4 = XEXP (x3, 0);
8985 525 : x5 = XEXP (x4, 0);
8986 525 : operands[1] = x5;
8987 525 : if (!int248_register_operand (operands[1], E_VOIDmode))
8988 : return -1;
8989 368 : return pattern1570 (x1); /* [-1, 5] */
8990 : }
8991 :
8992 : int
8993 58 : pattern1575 (rtx x1)
8994 : {
8995 58 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8996 58 : rtx x2, x3, x4, x5, x6;
8997 58 : int res ATTRIBUTE_UNUSED;
8998 58 : if (!register_operand (operands[0], E_QImode)
8999 58 : || GET_MODE (x1) != E_QImode)
9000 : return -1;
9001 58 : x2 = XEXP (x1, 0);
9002 58 : if (GET_MODE (x2) != E_QImode)
9003 : return -1;
9004 58 : x3 = XEXP (x2, 0);
9005 58 : x4 = XEXP (x3, 0);
9006 58 : x5 = XEXP (x4, 0);
9007 58 : operands[1] = x5;
9008 58 : x6 = XEXP (x4, 1);
9009 58 : operands[2] = x6;
9010 58 : if (!register_operand (operands[2], E_QImode))
9011 : return -1;
9012 46 : switch (GET_MODE (x4))
9013 : {
9014 27 : case E_SImode:
9015 27 : if (!nonimmediate_operand (operands[1], E_SImode))
9016 4 : return -1;
9017 : return 0;
9018 :
9019 19 : case E_DImode:
9020 19 : if (!nonimmediate_operand (operands[1], E_DImode))
9021 8 : return -1;
9022 : return 1;
9023 :
9024 : default:
9025 : return -1;
9026 : }
9027 : }
9028 :
9029 : int
9030 6512 : pattern1584 (rtx x1)
9031 : {
9032 6512 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9033 6512 : rtx x2, x3;
9034 6512 : int res ATTRIBUTE_UNUSED;
9035 6512 : if (GET_CODE (x1) != SET)
9036 : return -1;
9037 5810 : x2 = XEXP (x1, 1);
9038 5810 : if (GET_CODE (x2) != COMPARE
9039 3294 : || GET_MODE (x2) != E_CCZmode)
9040 : return -1;
9041 3240 : x3 = XEXP (x1, 0);
9042 3240 : if (GET_CODE (x3) != REG
9043 3240 : || REGNO (x3) != 17
9044 6480 : || GET_MODE (x3) != E_CCZmode)
9045 0 : return -1;
9046 : return 0;
9047 : }
9048 :
9049 : int
9050 3 : pattern1587 (rtx x1, machine_mode i1)
9051 : {
9052 3 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9053 3 : int res ATTRIBUTE_UNUSED;
9054 3 : if (GET_MODE (x1) != i1
9055 3 : || !nonimmediate_operand (operands[1], i1)
9056 3 : || !ix86_carry_flag_operator (operands[3], i1)
9057 6 : || !x86_64_general_operand (operands[2], i1))
9058 0 : return -1;
9059 : return 0;
9060 : }
9061 :
9062 : int
9063 165 : pattern1590 (rtx x1, machine_mode i1)
9064 : {
9065 165 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9066 165 : rtx x2, x3;
9067 165 : int res ATTRIBUTE_UNUSED;
9068 165 : if (!register_operand (operands[0], i1)
9069 165 : || GET_MODE (x1) != i1)
9070 : return -1;
9071 151 : x2 = XEXP (x1, 0);
9072 151 : if (GET_MODE (x2) != i1)
9073 : return -1;
9074 151 : x3 = XEXP (x2, 0);
9075 151 : if (GET_MODE (x3) != i1
9076 151 : || !nonimmediate_operand (operands[1], i1)
9077 151 : || !nonimmediate_operand (operands[2], i1)
9078 151 : || !nonimmediate_operand (operands[3], i1)
9079 302 : || !const0_operand (operands[4], i1))
9080 0 : return -1;
9081 : return 0;
9082 : }
9083 :
9084 : int
9085 366 : pattern1596 (rtx x1)
9086 : {
9087 366 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9088 366 : rtx x2, x3, x4, x5;
9089 366 : int res ATTRIBUTE_UNUSED;
9090 366 : x2 = XVECEXP (x1, 0, 4);
9091 366 : operands[2] = x2;
9092 366 : if (!const_4_to_7_operand (operands[2], E_VOIDmode))
9093 : return -1;
9094 366 : x3 = XVECEXP (x1, 0, 5);
9095 366 : operands[3] = x3;
9096 366 : if (!const_4_to_7_operand (operands[3], E_VOIDmode))
9097 : return -1;
9098 366 : x4 = XVECEXP (x1, 0, 6);
9099 366 : operands[4] = x4;
9100 366 : if (!const_4_to_7_operand (operands[4], E_VOIDmode))
9101 : return -1;
9102 366 : x5 = XVECEXP (x1, 0, 7);
9103 366 : operands[5] = x5;
9104 366 : if (!const_4_to_7_operand (operands[5], E_VOIDmode))
9105 0 : return -1;
9106 : return 0;
9107 : }
9108 :
9109 : int
9110 300 : pattern1602 (rtx x1, machine_mode i1)
9111 : {
9112 300 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9113 300 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9114 300 : rtx x10, x11, x12, x13, x14, x15;
9115 300 : int res ATTRIBUTE_UNUSED;
9116 300 : x2 = XEXP (x1, 0);
9117 300 : x3 = XEXP (x2, 0);
9118 300 : x4 = XEXP (x3, 0);
9119 300 : if (GET_MODE (x4) != i1)
9120 : return -1;
9121 300 : x5 = XEXP (x3, 1);
9122 300 : if (GET_MODE (x5) != i1)
9123 : return -1;
9124 300 : x6 = XEXP (x2, 1);
9125 300 : x7 = XEXP (x6, 0);
9126 300 : if (GET_MODE (x7) != i1)
9127 : return -1;
9128 300 : x8 = XEXP (x6, 1);
9129 300 : if (GET_MODE (x8) != i1)
9130 : return -1;
9131 300 : x9 = XEXP (x1, 1);
9132 300 : x10 = XEXP (x9, 0);
9133 300 : x11 = XEXP (x10, 0);
9134 300 : if (GET_MODE (x11) != i1)
9135 : return -1;
9136 300 : x12 = XEXP (x10, 1);
9137 300 : if (GET_MODE (x12) != i1)
9138 : return -1;
9139 300 : x13 = XEXP (x9, 1);
9140 300 : x14 = XEXP (x13, 0);
9141 300 : if (GET_MODE (x14) != i1)
9142 : return -1;
9143 300 : x15 = XEXP (x13, 1);
9144 300 : if (GET_MODE (x15) != i1)
9145 0 : return -1;
9146 : return 0;
9147 : }
9148 :
9149 : int
9150 25233 : pattern1611 (rtx x1, machine_mode i1, machine_mode i2)
9151 : {
9152 25233 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9153 25233 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9154 25233 : int res ATTRIBUTE_UNUSED;
9155 25233 : x2 = XVECEXP (x1, 0, 0);
9156 25233 : x3 = XEXP (x2, 1);
9157 25233 : x4 = XEXP (x3, 0);
9158 25233 : x5 = XEXP (x4, 0);
9159 25233 : if (GET_MODE (x5) != i2
9160 25233 : || !nonimmediate_operand (operands[1], i1)
9161 50203 : || !const_int_operand (operands[3], i2))
9162 : return -1;
9163 24970 : x6 = XEXP (x3, 1);
9164 24970 : if (GET_MODE (x6) != i2)
9165 : return -1;
9166 24970 : x7 = XEXP (x6, 0);
9167 24970 : if (GET_MODE (x7) != i1
9168 24970 : || !x86_64_immediate_operand (operands[2], i1)
9169 49940 : || !nonimmediate_operand (operands[0], i1))
9170 : return -1;
9171 24970 : x8 = XVECEXP (x1, 0, 1);
9172 24970 : x9 = XEXP (x8, 1);
9173 24970 : if (GET_MODE (x9) != i1)
9174 0 : return -1;
9175 : return 0;
9176 : }
9177 :
9178 : int
9179 133616 : pattern1619 (rtx x1, machine_mode i1)
9180 : {
9181 133616 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9182 133616 : rtx x2, x3, x4, x5;
9183 133616 : int res ATTRIBUTE_UNUSED;
9184 133616 : if (!register_operand (operands[0], i1))
9185 : return -1;
9186 133616 : x2 = XVECEXP (x1, 0, 0);
9187 133616 : x3 = XEXP (x2, 1);
9188 133616 : if (GET_MODE (x3) != i1
9189 133616 : || !memory_operand (operands[1], i1))
9190 : return -1;
9191 132494 : x4 = XVECEXP (x1, 0, 1);
9192 132494 : x5 = XEXP (x4, 1);
9193 132494 : if (GET_MODE (x5) != i1
9194 132494 : || !nonmemory_operand (operands[2], i1))
9195 543 : return -1;
9196 : return 0;
9197 : }
9198 :
9199 : int
9200 4 : pattern1623 (rtx x1)
9201 : {
9202 4 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9203 4 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9204 4 : rtx x10, x11, x12;
9205 4 : int res ATTRIBUTE_UNUSED;
9206 4 : x2 = XVECEXP (x1, 0, 0);
9207 4 : x3 = XEXP (x2, 1);
9208 4 : x4 = XEXP (x3, 0);
9209 4 : x5 = XEXP (x4, 0);
9210 4 : x6 = XEXP (x5, 0);
9211 4 : operands[1] = x6;
9212 4 : x7 = XEXP (x4, 1);
9213 4 : if (!rtx_equal_p (x7, operands[1]))
9214 : return -1;
9215 4 : x8 = XVECEXP (x1, 0, 1);
9216 4 : x9 = XEXP (x8, 1);
9217 4 : x10 = XEXP (x9, 0);
9218 4 : x11 = XEXP (x10, 0);
9219 4 : if (!rtx_equal_p (x11, operands[1]))
9220 : return -1;
9221 4 : x12 = XEXP (x9, 1);
9222 4 : if (!rtx_equal_p (x12, operands[1]))
9223 : return -1;
9224 4 : switch (GET_MODE (x4))
9225 : {
9226 4 : case E_SImode:
9227 4 : return pattern1622 (x1,
9228 4 : E_SImode); /* [-1, 0] */
9229 :
9230 0 : case E_DImode:
9231 0 : if (pattern1622 (x1,
9232 : E_DImode) != 0)
9233 0 : return -1;
9234 : return 1;
9235 :
9236 : default:
9237 : return -1;
9238 : }
9239 : }
9240 :
9241 : int
9242 23693 : pattern1629 (rtx x1, machine_mode i1, machine_mode i2)
9243 : {
9244 23693 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9245 23693 : rtx x2, x3;
9246 23693 : int res ATTRIBUTE_UNUSED;
9247 23693 : if (!register_operand (operands[1], i1)
9248 23693 : || GET_MODE (x1) != i2)
9249 : return -1;
9250 17567 : x2 = XEXP (x1, 0);
9251 17567 : if (GET_MODE (x2) != i2)
9252 : return -1;
9253 17567 : x3 = XEXP (x1, 1);
9254 17567 : if (GET_MODE (x3) != i2
9255 17567 : || !x86_64_sext_operand (operands[2], i1))
9256 7704 : return -1;
9257 : return 0;
9258 : }
9259 :
9260 : int
9261 370 : pattern1634 (rtx x1)
9262 : {
9263 370 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9264 370 : rtx x2, x3, x4, x5, x6;
9265 370 : int res ATTRIBUTE_UNUSED;
9266 370 : if (!register_operand (operands[0], E_V4SFmode)
9267 370 : || GET_MODE (x1) != E_V4SFmode)
9268 : return -1;
9269 358 : x2 = XEXP (x1, 0);
9270 358 : if (GET_MODE (x2) != E_V4SFmode)
9271 : return -1;
9272 358 : x3 = XEXP (x2, 0);
9273 358 : if (GET_MODE (x3) != E_V8SFmode
9274 358 : || !vector_operand (operands[1], E_V4SFmode))
9275 : return -1;
9276 358 : x4 = XEXP (x1, 1);
9277 358 : operands[2] = x4;
9278 358 : if (!nonimm_or_0_operand (operands[2], E_V4SFmode))
9279 : return -1;
9280 358 : x5 = XEXP (x1, 2);
9281 358 : operands[3] = x5;
9282 358 : x6 = XEXP (x3, 1);
9283 358 : if (!rtx_equal_p (x6, operands[1]))
9284 0 : return -1;
9285 : return 0;
9286 : }
9287 :
9288 : int
9289 1015 : pattern1641 (rtx x1, machine_mode i1, machine_mode i2)
9290 : {
9291 1015 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9292 1015 : rtx x2, x3, x4;
9293 1015 : int res ATTRIBUTE_UNUSED;
9294 1015 : if (!register_operand (operands[0], i1)
9295 1015 : || GET_MODE (x1) != i1)
9296 : return -1;
9297 980 : x2 = XVECEXP (x1, 0, 0);
9298 980 : if (GET_MODE (x2) != i1)
9299 : return -1;
9300 980 : x3 = XEXP (x2, 0);
9301 980 : if (GET_MODE (x3) != i1
9302 980 : || !nonimmediate_operand (operands[1], i1)
9303 1960 : || !register_operand (operands[2], i1))
9304 : return -1;
9305 966 : x4 = XVECEXP (x3, 0, 2);
9306 966 : if (GET_MODE (x4) != i1
9307 966 : || !register_operand (operands[4], i2))
9308 10 : return -1;
9309 : return 0;
9310 : }
9311 :
9312 : int
9313 1223 : pattern1648 (rtx x1, machine_mode i1, machine_mode i2)
9314 : {
9315 1223 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9316 1223 : rtx x2, x3, x4;
9317 1223 : int res ATTRIBUTE_UNUSED;
9318 1223 : if (!register_operand (operands[0], i2)
9319 1223 : || GET_MODE (x1) != i2)
9320 : return -1;
9321 1200 : x2 = XVECEXP (x1, 0, 0);
9322 1200 : if (GET_MODE (x2) != i2)
9323 : return -1;
9324 1200 : x3 = XEXP (x2, 0);
9325 1200 : if (GET_MODE (x3) != i2
9326 1200 : || !register_operand (operands[2], i2))
9327 : return -1;
9328 1190 : x4 = XEXP (x3, 2);
9329 1190 : if (GET_MODE (x4) != i2
9330 1190 : || !register_operand (operands[4], i1))
9331 0 : return -1;
9332 : return 0;
9333 : }
9334 :
9335 : int
9336 1223 : pattern1654 (rtx x1, machine_mode i1, machine_mode i2)
9337 : {
9338 1223 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9339 1223 : rtx x2, x3, x4, x5;
9340 1223 : int res ATTRIBUTE_UNUSED;
9341 1223 : if (!register_operand (operands[0], i2)
9342 1223 : || GET_MODE (x1) != i2)
9343 : return -1;
9344 1200 : x2 = XVECEXP (x1, 0, 0);
9345 1200 : if (GET_MODE (x2) != i2)
9346 : return -1;
9347 1200 : x3 = XEXP (x2, 0);
9348 1200 : if (GET_MODE (x3) != i2)
9349 : return -1;
9350 1200 : x4 = XEXP (x3, 0);
9351 1200 : if (GET_MODE (x4) != i2
9352 1200 : || !register_operand (operands[2], i2))
9353 : return -1;
9354 1190 : x5 = XEXP (x3, 2);
9355 1190 : if (GET_MODE (x5) != i2
9356 1190 : || !register_operand (operands[4], i1))
9357 0 : return -1;
9358 : return 0;
9359 : }
9360 :
9361 : int
9362 156 : pattern1659 (machine_mode i1)
9363 : {
9364 156 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9365 156 : int res ATTRIBUTE_UNUSED;
9366 156 : if (!vsib_address_operand (operands[0], i1))
9367 : return -1;
9368 122 : switch (GET_MODE (operands[2]))
9369 : {
9370 74 : case E_V4SImode:
9371 74 : if (!register_operand (operands[2], E_V4SImode))
9372 28 : return -1;
9373 : return 0;
9374 :
9375 48 : case E_V4DImode:
9376 48 : if (!register_operand (operands[2], E_V4DImode))
9377 6 : return -1;
9378 : return 1;
9379 :
9380 : default:
9381 : return -1;
9382 : }
9383 : }
9384 :
9385 : int
9386 218 : pattern1665 (machine_mode i1)
9387 : {
9388 218 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9389 218 : int res ATTRIBUTE_UNUSED;
9390 218 : if (!vsib_address_operand (operands[3], i1))
9391 : return -1;
9392 208 : switch (GET_MODE (operands[2]))
9393 : {
9394 128 : case E_V8SImode:
9395 128 : if (!register_operand (operands[2], E_V8SImode))
9396 82 : return -1;
9397 : return 0;
9398 :
9399 80 : case E_V8DImode:
9400 80 : if (!register_operand (operands[2], E_V8DImode))
9401 30 : return -1;
9402 : return 1;
9403 :
9404 : default:
9405 : return -1;
9406 : }
9407 : }
9408 :
9409 : int
9410 35 : pattern1669 (machine_mode i1)
9411 : {
9412 35 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9413 35 : int res ATTRIBUTE_UNUSED;
9414 35 : if (!vsib_address_operand (operands[3], i1))
9415 : return -1;
9416 27 : switch (GET_MODE (operands[2]))
9417 : {
9418 4 : case E_V4SImode:
9419 4 : if (!register_operand (operands[2], E_V4SImode))
9420 0 : return -1;
9421 : return 0;
9422 :
9423 23 : case E_V4DImode:
9424 23 : if (!register_operand (operands[2], E_V4DImode))
9425 10 : return -1;
9426 : return 1;
9427 :
9428 : default:
9429 : return -1;
9430 : }
9431 : }
9432 :
9433 : int
9434 1056 : pattern1674 (rtx x1)
9435 : {
9436 1056 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9437 1056 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9438 1056 : rtx x10, x11, x12;
9439 1056 : int res ATTRIBUTE_UNUSED;
9440 1056 : x2 = XEXP (x1, 0);
9441 1056 : if (GET_MODE (x2) != E_V8QImode)
9442 : return -1;
9443 1056 : x3 = XEXP (x1, 1);
9444 1056 : x4 = XEXP (x3, 1);
9445 1056 : if (XVECLEN (x4, 0) != 8)
9446 : return -1;
9447 1056 : x5 = XVECEXP (x4, 0, 0);
9448 1056 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
9449 : return -1;
9450 1056 : x6 = XVECEXP (x4, 0, 1);
9451 1056 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
9452 : return -1;
9453 1056 : x7 = XVECEXP (x4, 0, 2);
9454 1056 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
9455 : return -1;
9456 1056 : x8 = XVECEXP (x4, 0, 3);
9457 1056 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
9458 : return -1;
9459 1056 : x9 = XVECEXP (x4, 0, 4);
9460 1056 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
9461 : return -1;
9462 1056 : x10 = XVECEXP (x4, 0, 5);
9463 1056 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
9464 : return -1;
9465 1056 : x11 = XVECEXP (x4, 0, 6);
9466 1056 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
9467 : return -1;
9468 1056 : x12 = XVECEXP (x4, 0, 7);
9469 1056 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
9470 1056 : || GET_MODE (x1) != E_V8QImode
9471 2112 : || pattern1673 (x3,
9472 : E_V8HFmode,
9473 : E_V16QImode) != 0)
9474 64 : return -1;
9475 : return 0;
9476 : }
9477 :
9478 : int
9479 11793 : pattern1684 (rtx x1, machine_mode i1)
9480 : {
9481 11793 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9482 11793 : rtx x2;
9483 11793 : int res ATTRIBUTE_UNUSED;
9484 11793 : if (!nonimmediate_operand (operands[0], i1)
9485 11793 : || GET_MODE (x1) != i1)
9486 : return -1;
9487 11793 : x2 = XEXP (x1, 0);
9488 11793 : if (GET_MODE (x2) != i1
9489 11793 : || !nonimmediate_operand (operands[1], i1)
9490 11765 : || !ix86_carry_flag_operator (operands[4], i1)
9491 23558 : || !x86_64_general_operand (operands[2], i1))
9492 36 : return -1;
9493 : return 0;
9494 : }
9495 :
9496 : int
9497 19770 : pattern1689 (rtx x1)
9498 : {
9499 19770 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9500 19770 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9501 19770 : rtx x10, x11;
9502 19770 : int res ATTRIBUTE_UNUSED;
9503 19770 : if (!plusminuslogic_operator (operands[3], E_SImode))
9504 : return -1;
9505 13210 : x2 = XVECEXP (x1, 0, 1);
9506 13210 : if (GET_CODE (x2) != CLOBBER)
9507 : return -1;
9508 13210 : x3 = XEXP (x2, 0);
9509 13210 : if (GET_CODE (x3) != REG
9510 13210 : || REGNO (x3) != 17
9511 26420 : || GET_MODE (x3) != E_CCmode)
9512 : return -1;
9513 13210 : x4 = XVECEXP (x1, 0, 0);
9514 13210 : x5 = XEXP (x4, 0);
9515 13210 : operands[4] = x5;
9516 13210 : if (!register_operand (operands[4], E_SImode))
9517 : return -1;
9518 13206 : x6 = XEXP (x4, 1);
9519 13206 : x7 = XEXP (x6, 1);
9520 13206 : operands[2] = x7;
9521 13206 : if (!nonmemory_operand (operands[2], E_SImode))
9522 : return -1;
9523 13163 : x8 = XEXP (x6, 0);
9524 13163 : if (!rtx_equal_p (x8, operands[4]))
9525 : return -1;
9526 13112 : x9 = PATTERN (peep2_next_insn (2));
9527 13112 : x10 = XEXP (x9, 1);
9528 13112 : if (!rtx_equal_p (x10, operands[0]))
9529 : return -1;
9530 1646 : x11 = PATTERN (peep2_next_insn (3));
9531 1646 : if (GET_CODE (x11) != SET)
9532 256 : return -1;
9533 : return 0;
9534 : }
9535 :
9536 : int
9537 125 : pattern1698 (rtx x1, machine_mode i1, machine_mode i2)
9538 : {
9539 125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9540 125 : rtx x2, x3;
9541 125 : int res ATTRIBUTE_UNUSED;
9542 125 : if (!register_operand (operands[0], i2)
9543 125 : || GET_MODE (x1) != i2)
9544 : return -1;
9545 113 : x2 = XEXP (x1, 0);
9546 113 : if (GET_MODE (x2) != i2)
9547 : return -1;
9548 113 : x3 = XEXP (x2, 0);
9549 113 : if (GET_MODE (x3) != i2
9550 113 : || !register_operand (operands[1], i2)
9551 107 : || !register_operand (operands[2], i2)
9552 220 : || !nonimmediate_operand (operands[3], i1))
9553 8 : return -1;
9554 : return 0;
9555 : }
9556 :
9557 : int
9558 453 : pattern1703 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
9559 : {
9560 453 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9561 453 : rtx x2, x3, x4, x5, x6, x7, x8;
9562 453 : int res ATTRIBUTE_UNUSED;
9563 453 : if (!register_operand (operands[0], i2)
9564 453 : || GET_MODE (x1) != i2)
9565 : return -1;
9566 437 : x2 = XEXP (x1, 0);
9567 437 : if (GET_MODE (x2) != i2)
9568 : return -1;
9569 437 : x3 = XEXP (x2, 0);
9570 437 : if (GET_MODE (x3) != i3)
9571 : return -1;
9572 437 : x4 = XEXP (x3, 0);
9573 437 : if (GET_MODE (x4) != i3)
9574 : return -1;
9575 437 : x5 = XEXP (x4, 0);
9576 437 : if (GET_MODE (x5) != i3)
9577 : return -1;
9578 437 : x6 = XEXP (x5, 0);
9579 437 : if (GET_MODE (x6) != i3)
9580 : return -1;
9581 437 : x7 = XEXP (x6, 0);
9582 437 : if (GET_MODE (x7) != i3
9583 437 : || !vector_operand (operands[1], i2))
9584 : return -1;
9585 437 : x8 = XEXP (x6, 1);
9586 437 : if (GET_MODE (x8) != i3
9587 437 : || !vector_operand (operands[2], i2)
9588 437 : || !const1_operand (operands[3], i2)
9589 437 : || !nonimm_or_0_operand (operands[4], i2)
9590 859 : || !register_operand (operands[5], i1))
9591 61 : return -1;
9592 : return 0;
9593 : }
9594 :
9595 : int
9596 191 : pattern1711 (rtx x1, machine_mode i1)
9597 : {
9598 191 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9599 191 : rtx x2, x3, x4;
9600 191 : int res ATTRIBUTE_UNUSED;
9601 191 : if (!register_operand (operands[0], i1)
9602 191 : || GET_MODE (x1) != i1)
9603 : return -1;
9604 171 : x2 = XVECEXP (x1, 0, 0);
9605 171 : if (GET_MODE (x2) != i1)
9606 : return -1;
9607 171 : x3 = XEXP (x2, 0);
9608 171 : if (GET_MODE (x3) != i1)
9609 : return -1;
9610 171 : x4 = XEXP (x3, 0);
9611 171 : if (GET_MODE (x4) != i1
9612 171 : || !nonimmediate_operand (operands[1], i1)
9613 171 : || !register_operand (operands[2], i1)
9614 329 : || !register_operand (operands[3], i1))
9615 15 : return -1;
9616 : return 0;
9617 : }
9618 :
9619 : int
9620 326 : pattern1718 (machine_mode i1)
9621 : {
9622 326 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9623 326 : int res ATTRIBUTE_UNUSED;
9624 326 : if (!vsib_address_operand (operands[4], i1))
9625 : return -1;
9626 326 : switch (GET_MODE (operands[3]))
9627 : {
9628 154 : case E_V4SImode:
9629 154 : if (!register_operand (operands[3], E_V4SImode))
9630 44 : return -1;
9631 : return 0;
9632 :
9633 172 : case E_V2DImode:
9634 172 : if (!register_operand (operands[3], E_V2DImode))
9635 38 : return -1;
9636 : return 1;
9637 :
9638 : default:
9639 : return -1;
9640 : }
9641 : }
9642 :
9643 : int
9644 16 : pattern1723 (rtx x1, machine_mode i1)
9645 : {
9646 16 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9647 16 : rtx x2, x3, x4, x5;
9648 16 : int res ATTRIBUTE_UNUSED;
9649 16 : if (!register_operand (operands[2], i1)
9650 16 : || !register_operand (operands[3], i1)
9651 32 : || !register_operand (operands[0], i1))
9652 : return -1;
9653 16 : x2 = XVECEXP (x1, 0, 1);
9654 16 : x3 = XEXP (x2, 1);
9655 16 : if (GET_MODE (x3) != i1
9656 16 : || !register_operand (operands[1], i1))
9657 : return -1;
9658 16 : x4 = XVECEXP (x1, 0, 2);
9659 16 : x5 = XEXP (x4, 1);
9660 16 : if (GET_MODE (x5) != i1)
9661 0 : return -1;
9662 : return 0;
9663 : }
9664 :
9665 : int
9666 408 : pattern1730 (machine_mode i1, machine_mode i2)
9667 : {
9668 408 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9669 408 : int res ATTRIBUTE_UNUSED;
9670 408 : if (!vector_operand (operands[2], i2)
9671 304 : || !register_operand (operands[3], i1)
9672 238 : || !const0_operand (operands[4], i1)
9673 502 : || !const_0_to_7_operand (operands[5], E_SImode))
9674 314 : return -1;
9675 : return 0;
9676 : }
9677 :
9678 : int
9679 1356 : pattern1735 (rtx x1, machine_mode i1)
9680 : {
9681 1356 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9682 1356 : rtx x2, x3, x4, x5;
9683 1356 : int res ATTRIBUTE_UNUSED;
9684 1356 : if (!register_operand (operands[0], i1)
9685 1356 : || GET_MODE (x1) != i1)
9686 : return -1;
9687 1316 : x2 = XVECEXP (x1, 0, 0);
9688 1316 : if (GET_MODE (x2) != i1)
9689 : return -1;
9690 1316 : x3 = XEXP (x2, 0);
9691 1316 : if (GET_MODE (x3) != i1)
9692 : return -1;
9693 1316 : x4 = XEXP (x3, 0);
9694 1316 : if (GET_MODE (x4) != i1
9695 1316 : || !register_operand (operands[2], i1))
9696 : return -1;
9697 1301 : x5 = XEXP (x4, 2);
9698 1301 : if (GET_MODE (x5) != i1)
9699 0 : return -1;
9700 : return 0;
9701 : }
9702 :
9703 : int
9704 40897 : pattern1740 (rtx x1, machine_mode i1)
9705 : {
9706 40897 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9707 40897 : int res ATTRIBUTE_UNUSED;
9708 40897 : if (!register_operand (operands[1], i1)
9709 40267 : || !x86_64_general_operand (operands[2], i1)
9710 39938 : || GET_MODE (x1) != i1
9711 80835 : || !scratch_operand (operands[0], i1))
9712 1061 : return -1;
9713 : return 0;
9714 : }
9715 :
9716 : int
9717 255 : pattern1743 (rtx x1)
9718 : {
9719 255 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9720 255 : rtx x2, x3, x4, x5, x6, x7, x8;
9721 255 : int res ATTRIBUTE_UNUSED;
9722 255 : if (!nonimmediate_operand (operands[0], E_SImode))
9723 : return -1;
9724 255 : x2 = XEXP (x1, 1);
9725 255 : if (GET_MODE (x2) != E_SImode)
9726 : return -1;
9727 255 : x3 = XEXP (x2, 0);
9728 255 : if (GET_MODE (x3) != E_DImode)
9729 : return -1;
9730 255 : x4 = XEXP (x3, 0);
9731 255 : if (GET_MODE (x4) != E_DImode)
9732 : return -1;
9733 255 : x5 = XEXP (x4, 0);
9734 255 : operands[1] = x5;
9735 255 : if (!register_operand (operands[1], E_SImode))
9736 : return -1;
9737 255 : x6 = XEXP (x3, 1);
9738 255 : operands[3] = x6;
9739 255 : if (!const_0_to_63_operand (operands[3], E_QImode))
9740 : return -1;
9741 255 : x7 = XEXP (x1, 0);
9742 255 : x8 = XEXP (x7, 0);
9743 255 : if (!rtx_equal_p (x8, operands[0]))
9744 53 : return -1;
9745 : return 0;
9746 : }
9747 :
9748 : int
9749 18 : pattern1751 (rtx x1, machine_mode i1)
9750 : {
9751 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9752 18 : rtx x2;
9753 18 : int res ATTRIBUTE_UNUSED;
9754 18 : if (!bt_comparison_operator (operands[3], i1))
9755 : return -1;
9756 18 : x2 = XVECEXP (x1, 0, 0);
9757 18 : switch (GET_MODE (x2))
9758 : {
9759 0 : case E_V16QImode:
9760 0 : return pattern1750 (x1,
9761 0 : E_V16QImode); /* [-1, 0] */
9762 :
9763 0 : case E_V8HImode:
9764 0 : if (pattern1750 (x1,
9765 : E_V8HImode) != 0)
9766 0 : return -1;
9767 : return 1;
9768 :
9769 0 : case E_V4SImode:
9770 0 : if (pattern1750 (x1,
9771 : E_V4SImode) != 0)
9772 0 : return -1;
9773 : return 2;
9774 :
9775 8 : case E_V2DImode:
9776 8 : if (pattern1750 (x1,
9777 : E_V2DImode) != 0)
9778 0 : return -1;
9779 : return 3;
9780 :
9781 0 : case E_V1TImode:
9782 0 : if (pattern1750 (x1,
9783 : E_V1TImode) != 0)
9784 0 : return -1;
9785 : return 4;
9786 :
9787 0 : case E_V4SFmode:
9788 0 : if (pattern1750 (x1,
9789 : E_V4SFmode) != 0)
9790 0 : return -1;
9791 : return 5;
9792 :
9793 0 : case E_V2DFmode:
9794 0 : if (pattern1750 (x1,
9795 : E_V2DFmode) != 0)
9796 0 : return -1;
9797 : return 6;
9798 :
9799 0 : case E_V32QImode:
9800 0 : if (pattern1750 (x1,
9801 : E_V32QImode) != 0)
9802 0 : return -1;
9803 : return 7;
9804 :
9805 0 : case E_V16HImode:
9806 0 : if (pattern1750 (x1,
9807 : E_V16HImode) != 0)
9808 0 : return -1;
9809 : return 8;
9810 :
9811 0 : case E_V8SImode:
9812 0 : if (pattern1750 (x1,
9813 : E_V8SImode) != 0)
9814 0 : return -1;
9815 : return 9;
9816 :
9817 10 : case E_V4DImode:
9818 10 : if (pattern1750 (x1,
9819 : E_V4DImode) != 0)
9820 0 : return -1;
9821 : return 10;
9822 :
9823 0 : case E_V2TImode:
9824 0 : if (pattern1750 (x1,
9825 : E_V2TImode) != 0)
9826 0 : return -1;
9827 : return 11;
9828 :
9829 0 : case E_V8SFmode:
9830 0 : if (pattern1750 (x1,
9831 : E_V8SFmode) != 0)
9832 0 : return -1;
9833 : return 12;
9834 :
9835 0 : case E_V4DFmode:
9836 0 : if (pattern1750 (x1,
9837 : E_V4DFmode) != 0)
9838 0 : return -1;
9839 : return 13;
9840 :
9841 : default:
9842 : return -1;
9843 : }
9844 : }
9845 :
9846 : int
9847 152 : pattern1765 (machine_mode i1)
9848 : {
9849 152 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9850 152 : int res ATTRIBUTE_UNUSED;
9851 152 : if (!vsib_address_operand (operands[2], i1))
9852 : return -1;
9853 130 : switch (GET_MODE (operands[3]))
9854 : {
9855 86 : case E_V4SImode:
9856 86 : if (!register_operand (operands[3], E_V4SImode))
9857 70 : return -1;
9858 : return 0;
9859 :
9860 44 : case E_V4DImode:
9861 44 : if (!register_operand (operands[3], E_V4DImode))
9862 26 : return -1;
9863 : return 1;
9864 :
9865 : default:
9866 : return -1;
9867 : }
9868 : }
9869 :
9870 : int
9871 1110 : pattern1770 (machine_mode i1)
9872 : {
9873 1110 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9874 1110 : int res ATTRIBUTE_UNUSED;
9875 1110 : if (!vsib_address_operand (operands[0], i1))
9876 : return -1;
9877 1068 : switch (GET_MODE (operands[2]))
9878 : {
9879 615 : case E_V8SImode:
9880 615 : if (!register_operand (operands[2], E_V8SImode))
9881 60 : return -1;
9882 : return 0;
9883 :
9884 453 : case E_V8DImode:
9885 453 : if (!register_operand (operands[2], E_V8DImode))
9886 14 : return -1;
9887 : return 1;
9888 :
9889 : default:
9890 : return -1;
9891 : }
9892 : }
9893 :
9894 : int
9895 1570 : pattern1775 (machine_mode i1)
9896 : {
9897 1570 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9898 1570 : int res ATTRIBUTE_UNUSED;
9899 1570 : if (!vsib_address_operand (operands[0], i1))
9900 : return -1;
9901 1518 : switch (GET_MODE (operands[2]))
9902 : {
9903 790 : case E_V4SImode:
9904 790 : if (!register_operand (operands[2], E_V4SImode))
9905 34 : return -1;
9906 : return 0;
9907 :
9908 728 : case E_V2DImode:
9909 728 : if (!register_operand (operands[2], E_V2DImode))
9910 24 : return -1;
9911 : return 1;
9912 :
9913 : default:
9914 : return -1;
9915 : }
9916 : }
9917 :
9918 : int
9919 1443 : pattern1780 (rtx x1, machine_mode i1, machine_mode i2)
9920 : {
9921 1443 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9922 1443 : rtx x2, x3;
9923 1443 : int res ATTRIBUTE_UNUSED;
9924 1443 : if (!register_operand (operands[0], i2)
9925 1415 : || GET_MODE (x1) != i2
9926 1415 : || !register_operand (operands[6], E_QImode)
9927 855 : || !vsib_mem_operator (operands[5], i1)
9928 2298 : || !scratch_operand (operands[1], E_QImode))
9929 : return -1;
9930 855 : x2 = XVECEXP (x1, 0, 2);
9931 855 : x3 = XEXP (x2, 0);
9932 855 : switch (GET_MODE (x3))
9933 : {
9934 0 : case E_SImode:
9935 0 : return pattern1779 (
9936 0 : E_SImode); /* [-1, 1] */
9937 :
9938 855 : case E_DImode:
9939 855 : res = pattern1779 (
9940 : E_DImode);
9941 855 : if (res >= 0)
9942 776 : return res + 2; /* [2, 3] */
9943 : return -1;
9944 :
9945 : default:
9946 : return -1;
9947 : }
9948 : }
9949 :
9950 : int
9951 2 : pattern1787 (rtx x1, machine_mode i1)
9952 : {
9953 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9954 2 : rtx x2, x3, x4;
9955 2 : int res ATTRIBUTE_UNUSED;
9956 2 : if (!register_operand (operands[0], i1)
9957 2 : || GET_MODE (x1) != i1)
9958 : return -1;
9959 2 : x2 = XEXP (x1, 0);
9960 2 : if (GET_MODE (x2) != i1
9961 2 : || !nonimmediate_operand (operands[1], i1))
9962 : return -1;
9963 2 : x3 = XEXP (x1, 1);
9964 2 : if (GET_MODE (x3) != i1)
9965 : return -1;
9966 2 : x4 = XEXP (x3, 0);
9967 2 : if (GET_MODE (x4) != i1)
9968 0 : return -1;
9969 : return 0;
9970 : }
9971 :
9972 : int
9973 6 : pattern1793 (rtx x1, machine_mode i1)
9974 : {
9975 6 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9976 6 : rtx x2, x3, x4, x5;
9977 6 : int res ATTRIBUTE_UNUSED;
9978 6 : x2 = XVECEXP (x1, 0, 1);
9979 6 : if (GET_CODE (x2) != CLOBBER)
9980 : return -1;
9981 6 : x3 = XEXP (x2, 0);
9982 6 : if (GET_CODE (x3) != REG
9983 6 : || REGNO (x3) != 17
9984 12 : || GET_MODE (x3) != E_CCmode)
9985 : return -1;
9986 6 : x4 = XVECEXP (x1, 0, 0);
9987 6 : x5 = XEXP (x4, 0);
9988 6 : operands[3] = x5;
9989 6 : if (!any_QIreg_operand (operands[3], i1))
9990 0 : return -1;
9991 : return 0;
9992 : }
9993 :
9994 : int
9995 1363 : pattern1797 (rtx x1, machine_mode i1)
9996 : {
9997 1363 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9998 1363 : rtx x2, x3, x4;
9999 1363 : int res ATTRIBUTE_UNUSED;
10000 1363 : if (!register_operand (operands[0], i1)
10001 1363 : || GET_MODE (x1) != i1)
10002 : return -1;
10003 1349 : x2 = XVECEXP (x1, 0, 0);
10004 1349 : if (GET_MODE (x2) != i1)
10005 : return -1;
10006 1349 : x3 = XEXP (x2, 0);
10007 1349 : if (GET_MODE (x3) != i1)
10008 : return -1;
10009 1349 : x4 = XEXP (x3, 0);
10010 1349 : if (GET_MODE (x4) != i1
10011 1349 : || !nonimmediate_operand (operands[1], i1)
10012 1349 : || !register_operand (operands[2], i1)
10013 1349 : || !register_operand (operands[3], i1)
10014 2698 : || !const0_operand (operands[4], i1))
10015 0 : return -1;
10016 : return 0;
10017 : }
10018 :
10019 : int
10020 148 : pattern1801 (machine_mode i1)
10021 : {
10022 148 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10023 148 : int res ATTRIBUTE_UNUSED;
10024 148 : if (!vsib_address_operand (operands[0], i1))
10025 : return -1;
10026 131 : switch (GET_MODE (operands[2]))
10027 : {
10028 75 : case E_V8SImode:
10029 75 : if (!register_operand (operands[2], E_V8SImode)
10030 75 : || !register_operand (operands[3], E_V8SImode))
10031 48 : return -1;
10032 : return 0;
10033 :
10034 56 : case E_V4DImode:
10035 56 : if (!register_operand (operands[2], E_V4DImode)
10036 56 : || !register_operand (operands[3], E_V4SImode))
10037 29 : return -1;
10038 : return 1;
10039 :
10040 : default:
10041 : return -1;
10042 : }
10043 : }
10044 :
10045 : int
10046 399 : pattern1804 (rtx x1, machine_mode i1, machine_mode i2)
10047 : {
10048 399 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10049 399 : rtx x2, x3;
10050 399 : int res ATTRIBUTE_UNUSED;
10051 399 : if (!register_operand (operands[0], i1)
10052 375 : || GET_MODE (x1) != i1
10053 375 : || !register_operand (operands[2], i1)
10054 374 : || !vsib_mem_operator (operands[7], i2)
10055 773 : || !register_operand (operands[5], i1))
10056 : return -1;
10057 260 : x2 = XVECEXP (x1, 0, 1);
10058 260 : x3 = XEXP (x2, 0);
10059 260 : switch (GET_MODE (x3))
10060 : {
10061 0 : case E_SImode:
10062 0 : return pattern1803 (
10063 0 : E_SImode); /* [-1, 1] */
10064 :
10065 260 : case E_DImode:
10066 260 : res = pattern1803 (
10067 : E_DImode);
10068 260 : if (res >= 0)
10069 129 : return res + 2; /* [2, 3] */
10070 : return -1;
10071 :
10072 : default:
10073 : return -1;
10074 : }
10075 : }
10076 :
10077 : int
10078 1315 : pattern1813 (rtx x1, machine_mode i1, machine_mode i2)
10079 : {
10080 1315 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10081 1315 : rtx x2, x3;
10082 1315 : int res ATTRIBUTE_UNUSED;
10083 1315 : if (!register_operand (operands[0], i2)
10084 1315 : || GET_MODE (x1) != i2
10085 1315 : || !register_operand (operands[1], i2)
10086 1315 : || !register_operand (operands[7], E_QImode)
10087 1308 : || !vsib_mem_operator (operands[6], i1)
10088 2623 : || !scratch_operand (operands[2], E_QImode))
10089 : return -1;
10090 1308 : x2 = XVECEXP (x1, 0, 2);
10091 1308 : x3 = XEXP (x2, 0);
10092 1308 : switch (GET_MODE (x3))
10093 : {
10094 0 : case E_SImode:
10095 0 : return pattern1812 (
10096 0 : E_SImode); /* [-1, 1] */
10097 :
10098 1308 : case E_DImode:
10099 1308 : res = pattern1812 (
10100 : E_DImode);
10101 1308 : if (res >= 0)
10102 1248 : return res + 2; /* [2, 3] */
10103 : return -1;
10104 :
10105 : default:
10106 : return -1;
10107 : }
10108 : }
10109 :
10110 : int
10111 230 : pattern1823 (rtx x1)
10112 : {
10113 230 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10114 230 : rtx x2;
10115 230 : int res ATTRIBUTE_UNUSED;
10116 230 : if (!register_operand (operands[0], E_V8SFmode)
10117 230 : || GET_MODE (x1) != E_V8SFmode)
10118 : return -1;
10119 222 : x2 = XEXP (x1, 0);
10120 222 : switch (GET_MODE (x2))
10121 : {
10122 112 : case E_V8HFmode:
10123 112 : if (!memory_operand (operands[1], E_V16HFmode))
10124 2 : return -1;
10125 : return 0;
10126 :
10127 110 : case E_V8BFmode:
10128 110 : if (!memory_operand (operands[1], E_V16BFmode))
10129 4 : return -1;
10130 : return 1;
10131 :
10132 : default:
10133 : return -1;
10134 : }
10135 : }
10136 :
10137 : int
10138 53 : pattern1829 (rtx x1, machine_mode i1)
10139 : {
10140 53 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10141 53 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10142 53 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10143 53 : int res ATTRIBUTE_UNUSED;
10144 53 : if (!constm1_operand (operands[2], i1))
10145 : return -1;
10146 49 : x2 = XVECEXP (x1, 0, 0);
10147 49 : x3 = XEXP (x2, 1);
10148 49 : if (XVECLEN (x3, 0) != 2
10149 49 : || XINT (x3, 1) != 126
10150 49 : || GET_MODE (x3) != i1)
10151 : return -1;
10152 35 : x4 = XVECEXP (x1, 0, 1);
10153 35 : x5 = XEXP (x4, 1);
10154 35 : if (GET_CODE (x5) != PLUS
10155 35 : || GET_MODE (x5) != i1)
10156 : return -1;
10157 35 : x6 = XVECEXP (x1, 0, 2);
10158 35 : if (GET_CODE (x6) != CLOBBER)
10159 : return -1;
10160 35 : x7 = XEXP (x6, 0);
10161 35 : if (GET_CODE (x7) != REG
10162 35 : || REGNO (x7) != 17
10163 70 : || GET_MODE (x7) != E_CCmode)
10164 : return -1;
10165 35 : x8 = XVECEXP (x3, 0, 0);
10166 35 : operands[1] = x8;
10167 35 : if (!memory_operand (operands[1], i1))
10168 : return -1;
10169 35 : x9 = XVECEXP (x3, 0, 1);
10170 35 : operands[4] = x9;
10171 35 : if (!const_int_operand (operands[4], E_SImode))
10172 : return -1;
10173 35 : x10 = XEXP (x2, 0);
10174 35 : if (!rtx_equal_p (x10, operands[0]))
10175 : return -1;
10176 35 : x11 = XEXP (x5, 0);
10177 35 : if (!rtx_equal_p (x11, operands[1]))
10178 : return -1;
10179 35 : x12 = XEXP (x5, 1);
10180 35 : if (!rtx_equal_p (x12, operands[0]))
10181 : return -1;
10182 35 : x13 = XEXP (x4, 0);
10183 35 : if (!rtx_equal_p (x13, operands[1]))
10184 : return -1;
10185 35 : x14 = PATTERN (peep2_next_insn (2));
10186 35 : x15 = XEXP (x14, 1);
10187 35 : x16 = XEXP (x15, 1);
10188 35 : operands[3] = x16;
10189 35 : if (!const_int_operand (operands[3], i1))
10190 : return -1;
10191 33 : x17 = XEXP (x15, 0);
10192 33 : if (!rtx_equal_p (x17, operands[0]))
10193 0 : return -1;
10194 : return 0;
10195 : }
10196 :
10197 : int
10198 1364 : pattern1840 (rtx x1, machine_mode i1, machine_mode i2)
10199 : {
10200 1364 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10201 1364 : rtx x2, x3;
10202 1364 : int res ATTRIBUTE_UNUSED;
10203 1364 : if (!register_operand (operands[0], i1)
10204 1349 : || GET_MODE (x1) != i1
10205 1349 : || !vsib_mem_operator (operands[6], i2)
10206 1349 : || !register_operand (operands[4], i1)
10207 2355 : || !scratch_operand (operands[1], i1))
10208 : return -1;
10209 991 : x2 = XVECEXP (x1, 0, 1);
10210 991 : x3 = XEXP (x2, 0);
10211 991 : switch (GET_MODE (x3))
10212 : {
10213 33 : case E_SImode:
10214 33 : return pattern1839 (
10215 33 : E_SImode); /* [-1, 1] */
10216 :
10217 958 : case E_DImode:
10218 958 : res = pattern1839 (
10219 : E_DImode);
10220 958 : if (res >= 0)
10221 858 : return res + 2; /* [2, 3] */
10222 : return -1;
10223 :
10224 : default:
10225 : return -1;
10226 : }
10227 : }
10228 :
10229 : int
10230 17 : pattern1849 (rtx x1)
10231 : {
10232 17 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10233 17 : rtx x2;
10234 17 : int res ATTRIBUTE_UNUSED;
10235 17 : if (GET_MODE (x1) != E_DImode)
10236 : return -1;
10237 17 : switch (GET_CODE (x1))
10238 : {
10239 16 : case SIGN_EXTEND:
10240 16 : x2 = XEXP (x1, 0);
10241 16 : operands[4] = x2;
10242 16 : if (!nonimmediate_gr_operand (operands[4], E_SImode))
10243 0 : return -1;
10244 : return 0;
10245 :
10246 0 : case ZERO_EXTEND:
10247 0 : x2 = XEXP (x1, 0);
10248 0 : operands[4] = x2;
10249 0 : if (!nonimmediate_gr_operand (operands[4], E_SImode))
10250 0 : return -1;
10251 : return 1;
10252 :
10253 : default:
10254 : return -1;
10255 : }
10256 : }
10257 :
10258 : int
10259 217 : pattern1854 (machine_mode i1)
10260 : {
10261 217 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10262 217 : int res ATTRIBUTE_UNUSED;
10263 217 : if (!vsib_address_operand (operands[2], i1))
10264 : return -1;
10265 202 : switch (GET_MODE (operands[3]))
10266 : {
10267 71 : case E_V8SImode:
10268 71 : if (!register_operand (operands[3], E_V8SImode)
10269 71 : || !register_operand (operands[4], E_V8SFmode))
10270 59 : return -1;
10271 : return 0;
10272 :
10273 131 : case E_V4DImode:
10274 131 : if (!register_operand (operands[3], E_V4DImode)
10275 131 : || !register_operand (operands[4], E_V4SFmode))
10276 118 : return -1;
10277 : return 1;
10278 :
10279 : default:
10280 : return -1;
10281 : }
10282 : }
10283 :
10284 : int
10285 688 : pattern1859 (machine_mode i1)
10286 : {
10287 688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10288 688 : int res ATTRIBUTE_UNUSED;
10289 688 : if (!vsib_address_operand (operands[3], i1))
10290 : return -1;
10291 672 : switch (GET_MODE (operands[4]))
10292 : {
10293 302 : case E_V4SImode:
10294 302 : if (!register_operand (operands[4], E_V4SImode))
10295 26 : return -1;
10296 : return 0;
10297 :
10298 370 : case E_V4DImode:
10299 370 : if (!register_operand (operands[4], E_V4DImode))
10300 28 : return -1;
10301 : return 1;
10302 :
10303 : default:
10304 : return -1;
10305 : }
10306 : }
10307 :
10308 : int
10309 1 : pattern1862 (rtx x1, machine_mode i1)
10310 : {
10311 1 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10312 1 : rtx x2;
10313 1 : int res ATTRIBUTE_UNUSED;
10314 1 : if (!general_operand (operands[2], i1)
10315 1 : || !nonimmediate_operand (operands[0], i1)
10316 2 : || GET_MODE (x1) != i1)
10317 : return -1;
10318 1 : x2 = XEXP (x1, 0);
10319 1 : if (GET_MODE (x2) != i1)
10320 0 : return -1;
10321 : return 0;
10322 : }
10323 :
10324 : int
10325 1 : pattern1866 (rtx x1, machine_mode i1)
10326 : {
10327 1 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10328 1 : rtx x2, x3, x4, x5, x6, x7;
10329 1 : int res ATTRIBUTE_UNUSED;
10330 1 : x2 = XVECEXP (x1, 0, 0);
10331 1 : x3 = XEXP (x2, 1);
10332 1 : x4 = XEXP (x3, 0);
10333 1 : x5 = XEXP (x4, 0);
10334 1 : if (GET_MODE (x5) != i1
10335 1 : || !nonimmediate_operand (operands[1], i1)
10336 2 : || !ix86_carry_flag_operator (operands[4], i1))
10337 : return -1;
10338 1 : x6 = XVECEXP (x1, 0, 1);
10339 1 : x7 = XEXP (x6, 1);
10340 1 : return pattern1862 (x7,
10341 1 : i1); /* [-1, 0] */
10342 : }
10343 :
10344 : int
10345 63201 : pattern1872 (rtx x1, machine_mode i1, machine_mode i2)
10346 : {
10347 63201 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10348 63201 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10349 63201 : rtx x10;
10350 63201 : int res ATTRIBUTE_UNUSED;
10351 63201 : x2 = XVECEXP (x1, 0, 0);
10352 63201 : x3 = XEXP (x2, 1);
10353 63201 : x4 = XEXP (x3, 0);
10354 63201 : x5 = XEXP (x4, 0);
10355 63201 : if (GET_MODE (x5) != i2
10356 63201 : || !nonimmediate_operand (operands[1], i1))
10357 : return -1;
10358 63171 : x6 = XEXP (x4, 1);
10359 63171 : if (GET_MODE (x6) != i2
10360 63171 : || !nonimmediate_operand (operands[2], i1))
10361 : return -1;
10362 63115 : x7 = XEXP (x3, 1);
10363 63115 : if (GET_MODE (x7) != i2)
10364 : return -1;
10365 63115 : x8 = XEXP (x7, 0);
10366 63115 : if (GET_MODE (x8) != i1
10367 63115 : || !register_operand (operands[0], i1))
10368 : return -1;
10369 63115 : x9 = XVECEXP (x1, 0, 1);
10370 63115 : x10 = XEXP (x9, 1);
10371 63115 : if (GET_MODE (x10) != i1
10372 63115 : || !scratch_operand (operands[3], i1))
10373 20 : return -1;
10374 : return 0;
10375 : }
10376 :
10377 : int
10378 749 : pattern1880 (rtx x1, machine_mode i1)
10379 : {
10380 749 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10381 749 : rtx x2, x3, x4, x5, x6, x7;
10382 749 : int res ATTRIBUTE_UNUSED;
10383 749 : x2 = XEXP (x1, 0);
10384 749 : x3 = XEXP (x2, 0);
10385 749 : x4 = XEXP (x3, 0);
10386 749 : x5 = XEXP (x4, 0);
10387 749 : operands[1] = x5;
10388 749 : if (!nonimmediate_operand (operands[1], i1)
10389 749 : || !register_operand (operands[3], i1))
10390 : return -1;
10391 739 : x6 = XEXP (x2, 1);
10392 739 : if (!rtx_equal_p (x6, operands[1]))
10393 : return -1;
10394 326 : x7 = XEXP (x1, 1);
10395 326 : if (!rtx_equal_p (x7, operands[1]))
10396 0 : return -1;
10397 : return 0;
10398 : }
10399 :
10400 : int
10401 246 : pattern1884 (rtx x1, machine_mode i1)
10402 : {
10403 246 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10404 246 : int res ATTRIBUTE_UNUSED;
10405 246 : if (!register_operand (operands[5], i1))
10406 : return -1;
10407 110 : switch (GET_MODE (x1))
10408 : {
10409 0 : case E_SImode:
10410 0 : if (!vsib_address_operand (operands[3], E_SImode))
10411 0 : return -1;
10412 : return 0;
10413 :
10414 110 : case E_DImode:
10415 110 : if (!vsib_address_operand (operands[3], E_DImode))
10416 12 : return -1;
10417 : return 1;
10418 :
10419 : default:
10420 : return -1;
10421 : }
10422 : }
10423 :
10424 : int
10425 434 : pattern1889 (machine_mode i1)
10426 : {
10427 434 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10428 434 : int res ATTRIBUTE_UNUSED;
10429 434 : if (!vsib_address_operand (operands[0], i1))
10430 : return -1;
10431 421 : switch (GET_MODE (operands[2]))
10432 : {
10433 227 : case E_V8SImode:
10434 227 : if (!register_operand (operands[2], E_V8SImode)
10435 227 : || !register_operand (operands[3], E_V8SImode))
10436 38 : return -1;
10437 : return 0;
10438 :
10439 194 : case E_V4DImode:
10440 194 : if (!register_operand (operands[2], E_V4DImode)
10441 194 : || !register_operand (operands[3], E_V4SImode))
10442 21 : return -1;
10443 : return 1;
10444 :
10445 : default:
10446 : return -1;
10447 : }
10448 : }
10449 :
10450 : int
10451 15193 : pattern1892 (rtx x1)
10452 : {
10453 15193 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10454 15193 : rtx x2, x3, x4, x5;
10455 15193 : int res ATTRIBUTE_UNUSED;
10456 15193 : x2 = XEXP (x1, 1);
10457 15193 : if (GET_CODE (x2) != COMPARE)
10458 : return -1;
10459 6429 : x3 = XEXP (x2, 1);
10460 6429 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10461 : return -1;
10462 418 : x4 = XEXP (x1, 0);
10463 418 : if (GET_CODE (x4) != REG
10464 418 : || REGNO (x4) != 17)
10465 : return -1;
10466 418 : x5 = XEXP (x2, 0);
10467 418 : if (!rtx_equal_p (x5, operands[0]))
10468 346 : return -1;
10469 : return 0;
10470 : }
10471 :
10472 : int
10473 1457 : pattern1896 (rtx x1, machine_mode i1)
10474 : {
10475 1457 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10476 1457 : rtx x2, x3, x4;
10477 1457 : int res ATTRIBUTE_UNUSED;
10478 1457 : if (!memory_operand (operands[0], i1))
10479 : return -1;
10480 1457 : x2 = XEXP (x1, 0);
10481 1457 : if (GET_MODE (x2) != i1
10482 1457 : || !nonmemory_operand (operands[1], i1))
10483 : return -1;
10484 1435 : x3 = XEXP (x1, 1);
10485 1435 : if (GET_MODE (x3) != i1)
10486 : return -1;
10487 1435 : x4 = XEXP (x3, 0);
10488 1435 : if (GET_MODE (x4) != i1)
10489 0 : return -1;
10490 : return 0;
10491 : }
10492 :
10493 : int
10494 92573 : pattern1898 (rtx x1, machine_mode i1)
10495 : {
10496 92573 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10497 92573 : rtx x2, x3, x4, x5;
10498 92573 : int res ATTRIBUTE_UNUSED;
10499 92573 : if (!register_operand (operands[2], i1)
10500 92573 : || !register_operand (operands[0], i1))
10501 : return -1;
10502 92573 : x2 = XVECEXP (x1, 0, 1);
10503 92573 : x3 = XEXP (x2, 1);
10504 92573 : if (GET_MODE (x3) != i1
10505 92573 : || !register_operand (operands[3], i1)
10506 92573 : || !register_operand (operands[5], i1)
10507 178634 : || !register_operand (operands[1], i1))
10508 : return -1;
10509 86061 : x4 = XVECEXP (x1, 0, 2);
10510 86061 : x5 = XEXP (x4, 1);
10511 86061 : if (GET_MODE (x5) != i1
10512 86061 : || !register_operand (operands[4], i1))
10513 1270 : return -1;
10514 : return 0;
10515 : }
10516 :
10517 : int
10518 738 : pattern1903 ()
10519 : {
10520 738 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10521 738 : int res ATTRIBUTE_UNUSED;
10522 738 : if (!const_0_to_15_operand (operands[2], E_VOIDmode)
10523 738 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
10524 738 : || !const_0_to_15_operand (operands[4], E_VOIDmode)
10525 738 : || !const_0_to_15_operand (operands[5], E_VOIDmode)
10526 738 : || !const_0_to_15_operand (operands[6], E_VOIDmode)
10527 738 : || !const_0_to_15_operand (operands[7], E_VOIDmode)
10528 738 : || !const_0_to_15_operand (operands[8], E_VOIDmode)
10529 738 : || !const_0_to_15_operand (operands[9], E_VOIDmode)
10530 738 : || !const_0_to_15_operand (operands[10], E_VOIDmode)
10531 738 : || !const_0_to_15_operand (operands[11], E_VOIDmode)
10532 738 : || !const_0_to_15_operand (operands[12], E_VOIDmode)
10533 738 : || !const_0_to_15_operand (operands[13], E_VOIDmode)
10534 738 : || !const_0_to_15_operand (operands[14], E_VOIDmode)
10535 738 : || !const_0_to_15_operand (operands[15], E_VOIDmode)
10536 738 : || !const_0_to_15_operand (operands[16], E_VOIDmode)
10537 1476 : || !const_0_to_15_operand (operands[17], E_VOIDmode))
10538 0 : return -1;
10539 : return 0;
10540 : }
10541 :
10542 : int
10543 666 : pattern1909 (rtx x1)
10544 : {
10545 666 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10546 666 : rtx x2, x3, x4, x5;
10547 666 : int res ATTRIBUTE_UNUSED;
10548 666 : x2 = XVECEXP (x1, 0, 4);
10549 666 : if (XWINT (x2, 0) != 6L)
10550 : return -1;
10551 666 : x3 = XVECEXP (x1, 0, 5);
10552 666 : if (XWINT (x3, 0) != 22L)
10553 : return -1;
10554 666 : x4 = XVECEXP (x1, 0, 6);
10555 666 : if (XWINT (x4, 0) != 7L)
10556 : return -1;
10557 666 : x5 = XVECEXP (x1, 0, 7);
10558 666 : if (XWINT (x5, 0) != 23L)
10559 0 : return -1;
10560 : return 0;
10561 : }
10562 :
10563 : int
10564 715 : pattern1911 (rtx x1, machine_mode i1)
10565 : {
10566 715 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10567 715 : int res ATTRIBUTE_UNUSED;
10568 715 : if (!register_operand (operands[5], i1))
10569 : return -1;
10570 644 : switch (GET_MODE (x1))
10571 : {
10572 0 : case E_SImode:
10573 0 : if (!vsib_address_operand (operands[3], E_SImode))
10574 0 : return -1;
10575 : return 0;
10576 :
10577 644 : case E_DImode:
10578 644 : if (!vsib_address_operand (operands[3], E_DImode))
10579 8 : return -1;
10580 : return 1;
10581 :
10582 : default:
10583 : return -1;
10584 : }
10585 : }
10586 :
10587 : int
10588 927 : pattern1916 (rtx x1, machine_mode i1, machine_mode i2)
10589 : {
10590 927 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10591 927 : rtx x2, x3;
10592 927 : int res ATTRIBUTE_UNUSED;
10593 927 : if (GET_CODE (x1) != SIGN_EXTEND
10594 927 : || GET_MODE (x1) != i2)
10595 : return -1;
10596 927 : x2 = XEXP (x1, 0);
10597 927 : if (GET_CODE (x2) != VEC_SELECT
10598 927 : || GET_MODE (x2) != i1)
10599 : return -1;
10600 927 : x3 = XEXP (x2, 1);
10601 927 : if (GET_CODE (x3) != PARALLEL)
10602 0 : return -1;
10603 : return 0;
10604 : }
10605 :
10606 : int
10607 1271 : pattern1918 (rtx x1, machine_mode i1)
10608 : {
10609 1271 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10610 1271 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10611 1271 : int res ATTRIBUTE_UNUSED;
10612 1271 : operands[5] = x1;
10613 1271 : if (!register_operand (operands[5], i1))
10614 : return -1;
10615 58 : x2 = PATTERN (peep2_next_insn (3));
10616 58 : x3 = XEXP (x2, 1);
10617 58 : if (!rtx_equal_p (x3, operands[5]))
10618 : return -1;
10619 5 : x4 = XEXP (x2, 0);
10620 5 : if (!rtx_equal_p (x4, operands[1]))
10621 : return -1;
10622 4 : x5 = PATTERN (peep2_next_insn (4));
10623 4 : if (GET_CODE (x5) != SET)
10624 : return -1;
10625 4 : x6 = XEXP (x5, 1);
10626 4 : if (GET_CODE (x6) != COMPARE)
10627 : return -1;
10628 0 : x7 = XEXP (x6, 1);
10629 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10630 : return -1;
10631 0 : x8 = XEXP (x5, 0);
10632 0 : if (GET_CODE (x8) != REG
10633 0 : || REGNO (x8) != 17)
10634 : return -1;
10635 0 : x9 = XEXP (x6, 0);
10636 0 : if (!rtx_equal_p (x9, operands[5]))
10637 0 : return -1;
10638 : return 0;
10639 : }
10640 :
10641 : int
10642 400 : pattern1924 (rtx x1)
10643 : {
10644 400 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10645 400 : rtx x2, x3, x4, x5;
10646 400 : int res ATTRIBUTE_UNUSED;
10647 400 : x2 = XVECEXP (x1, 0, 8);
10648 400 : if (XWINT (x2, 0) != 12L)
10649 : return -1;
10650 400 : x3 = XVECEXP (x1, 0, 9);
10651 400 : if (XWINT (x3, 0) != 28L)
10652 : return -1;
10653 400 : x4 = XVECEXP (x1, 0, 10);
10654 400 : if (XWINT (x4, 0) != 13L)
10655 : return -1;
10656 400 : x5 = XVECEXP (x1, 0, 11);
10657 400 : if (XWINT (x5, 0) != 29L)
10658 0 : return -1;
10659 : return 0;
10660 : }
10661 :
10662 : int
10663 2523 : pattern1928 (rtx x1)
10664 : {
10665 2523 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10666 2523 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10667 2523 : rtx x10, x11, x12;
10668 2523 : int res ATTRIBUTE_UNUSED;
10669 2523 : x2 = XVECEXP (x1, 0, 0);
10670 2523 : x3 = XEXP (x2, 1);
10671 2523 : x4 = XEXP (x3, 0);
10672 2523 : x5 = XEXP (x4, 1);
10673 2523 : switch (GET_CODE (x5))
10674 : {
10675 2024 : case SIGN_EXTEND:
10676 2024 : x6 = XEXP (x5, 0);
10677 2024 : operands[2] = x6;
10678 2024 : x7 = XEXP (x3, 1);
10679 2024 : x8 = XEXP (x7, 0);
10680 2024 : x9 = XEXP (x8, 1);
10681 2024 : if (!rtx_equal_p (x9, operands[2]))
10682 : return -1;
10683 2024 : x10 = XVECEXP (x1, 0, 1);
10684 2024 : x11 = XEXP (x10, 1);
10685 2024 : x12 = XEXP (x11, 1);
10686 2024 : if (!rtx_equal_p (x12, operands[2]))
10687 : return -1;
10688 2024 : switch (GET_MODE (x4))
10689 : {
10690 : case E_HImode:
10691 : return 0;
10692 :
10693 : case E_SImode:
10694 : return 1;
10695 :
10696 : case E_DImode:
10697 : return 2;
10698 :
10699 : case E_TImode:
10700 : return 3;
10701 :
10702 : default:
10703 : return -1;
10704 : }
10705 :
10706 499 : case CONST_INT:
10707 499 : operands[6] = x5;
10708 499 : x7 = XEXP (x3, 1);
10709 499 : x8 = XEXP (x7, 0);
10710 499 : x9 = XEXP (x8, 1);
10711 499 : operands[2] = x9;
10712 499 : x10 = XVECEXP (x1, 0, 1);
10713 499 : x11 = XEXP (x10, 1);
10714 499 : x12 = XEXP (x11, 1);
10715 499 : if (!rtx_equal_p (x12, operands[2]))
10716 : return -1;
10717 499 : switch (GET_MODE (x4))
10718 : {
10719 : case E_HImode:
10720 : return 4;
10721 :
10722 : case E_SImode:
10723 : return 5;
10724 :
10725 : case E_DImode:
10726 : return 6;
10727 :
10728 : case E_TImode:
10729 : return 7;
10730 :
10731 : default:
10732 : return -1;
10733 : }
10734 :
10735 : default:
10736 : return -1;
10737 : }
10738 : }
10739 :
10740 : int
10741 5569 : pattern1935 (rtx x1, machine_mode i1, machine_mode i2)
10742 : {
10743 5569 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10744 5569 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10745 5569 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10746 5569 : rtx x18, x19, x20, x21, x22, x23;
10747 5569 : int res ATTRIBUTE_UNUSED;
10748 5569 : x2 = XVECEXP (x1, 0, 0);
10749 5569 : x3 = XEXP (x2, 1);
10750 5569 : x4 = XEXP (x3, 0);
10751 5569 : x5 = XEXP (x4, 0);
10752 5569 : if (GET_MODE (x5) != i1)
10753 : return -1;
10754 5569 : x6 = XEXP (x5, 0);
10755 5569 : if (GET_MODE (x6) != i1
10756 5569 : || !ix86_carry_flag_operator (operands[4], i1)
10757 5569 : || !general_reg_operand (operands[0], i1)
10758 10784 : || !memory_operand (operands[1], i1))
10759 : return -1;
10760 3904 : x7 = XEXP (x3, 1);
10761 3904 : if (GET_MODE (x7) != i2
10762 3904 : || !ix86_carry_flag_operator (operands[3], i2))
10763 : return -1;
10764 3904 : x8 = XEXP (x7, 1);
10765 3904 : if (GET_MODE (x8) != i2)
10766 : return -1;
10767 3904 : x9 = XVECEXP (x1, 0, 1);
10768 3904 : x10 = XEXP (x9, 1);
10769 3904 : if (GET_MODE (x10) != i1)
10770 : return -1;
10771 3904 : x11 = XEXP (x10, 0);
10772 3904 : if (GET_MODE (x11) != i1)
10773 : return -1;
10774 3904 : x12 = PATTERN (peep2_next_insn (1));
10775 3904 : x13 = XEXP (x12, 1);
10776 3904 : switch (GET_CODE (x13))
10777 : {
10778 2069 : case REG:
10779 2069 : if (!rtx_equal_p (x13, operands[0]))
10780 : return -1;
10781 1538 : x14 = XEXP (x12, 0);
10782 1538 : if (!rtx_equal_p (x14, operands[1]))
10783 1206 : return -1;
10784 : return 0;
10785 :
10786 1258 : case LTU:
10787 1258 : if (peep2_current_count < 3
10788 1258 : || peep2_current_count < 4
10789 1249 : || GET_MODE (x13) != E_QImode)
10790 : return -1;
10791 1249 : x15 = XEXP (x13, 0);
10792 1249 : if (GET_CODE (x15) != REG
10793 1249 : || REGNO (x15) != 17
10794 2498 : || GET_MODE (x15) != E_CCCmode)
10795 : return -1;
10796 1249 : x16 = XEXP (x13, 1);
10797 1249 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10798 : return -1;
10799 1249 : x14 = XEXP (x12, 0);
10800 1249 : operands[5] = x14;
10801 1249 : if (!general_reg_operand (operands[5], E_QImode))
10802 : return -1;
10803 1243 : x17 = PATTERN (peep2_next_insn (2));
10804 1243 : if (GET_CODE (x17) != SET)
10805 : return -1;
10806 1020 : x18 = XEXP (x17, 1);
10807 1020 : if (GET_CODE (x18) != ZERO_EXTEND
10808 23 : || GET_MODE (x18) != i1)
10809 : return -1;
10810 23 : x19 = XEXP (x17, 0);
10811 23 : operands[6] = x19;
10812 23 : if (!general_reg_operand (operands[6], i1))
10813 : return -1;
10814 23 : x20 = XEXP (x18, 0);
10815 23 : if (!rtx_equal_p (x20, operands[5]))
10816 : return -1;
10817 23 : x21 = PATTERN (peep2_next_insn (3));
10818 23 : if (GET_CODE (x21) != SET)
10819 : return -1;
10820 23 : x22 = XEXP (x21, 1);
10821 23 : if (!rtx_equal_p (x22, operands[0]))
10822 : return -1;
10823 14 : x23 = XEXP (x21, 0);
10824 14 : if (!rtx_equal_p (x23, operands[1]))
10825 14 : return -1;
10826 : return 1;
10827 :
10828 : default:
10829 : return -1;
10830 : }
10831 : }
10832 :
10833 : int
10834 1667 : pattern1956 (rtx x1)
10835 : {
10836 1667 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10837 1667 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10838 1667 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10839 1667 : int res ATTRIBUTE_UNUSED;
10840 1667 : x2 = XEXP (x1, 0);
10841 1667 : x3 = XEXP (x2, 0);
10842 1667 : x4 = XEXP (x3, 0);
10843 1667 : x5 = XEXP (x4, 0);
10844 1667 : x6 = XEXP (x5, 0);
10845 1667 : operands[1] = x6;
10846 1667 : if (!nonimmediate_operand (operands[1], E_V8HImode))
10847 : return -1;
10848 1438 : x7 = XEXP (x3, 1);
10849 1438 : x8 = XEXP (x7, 0);
10850 1438 : x9 = XEXP (x8, 0);
10851 1438 : operands[2] = x9;
10852 1438 : if (!nonimmediate_operand (operands[2], E_V8HImode))
10853 : return -1;
10854 1250 : x10 = XEXP (x1, 1);
10855 1250 : operands[3] = x10;
10856 1250 : if (!register_operand (operands[3], E_V4SImode))
10857 : return -1;
10858 1232 : x11 = XEXP (x2, 1);
10859 1232 : x12 = XEXP (x11, 0);
10860 1232 : x13 = XEXP (x12, 0);
10861 1232 : x14 = XEXP (x13, 0);
10862 1232 : if (!rtx_equal_p (x14, operands[1]))
10863 : return -1;
10864 1232 : x15 = XEXP (x11, 1);
10865 1232 : x16 = XEXP (x15, 0);
10866 1232 : x17 = XEXP (x16, 0);
10867 1232 : if (!rtx_equal_p (x17, operands[2]))
10868 0 : return -1;
10869 : return 0;
10870 : }
10871 :
10872 : int
10873 423 : pattern1962 (rtx x1)
10874 : {
10875 423 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10876 423 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10877 423 : int res ATTRIBUTE_UNUSED;
10878 423 : x2 = XVECEXP (x1, 0, 24);
10879 423 : if (XWINT (x2, 0) != 28L)
10880 : return -1;
10881 423 : x3 = XVECEXP (x1, 0, 25);
10882 423 : if (XWINT (x3, 0) != 60L)
10883 : return -1;
10884 423 : x4 = XVECEXP (x1, 0, 26);
10885 423 : if (XWINT (x4, 0) != 29L)
10886 : return -1;
10887 423 : x5 = XVECEXP (x1, 0, 27);
10888 423 : if (XWINT (x5, 0) != 61L)
10889 : return -1;
10890 423 : x6 = XVECEXP (x1, 0, 28);
10891 423 : if (XWINT (x6, 0) != 30L)
10892 : return -1;
10893 423 : x7 = XVECEXP (x1, 0, 29);
10894 423 : if (XWINT (x7, 0) != 62L)
10895 : return -1;
10896 423 : x8 = XVECEXP (x1, 0, 30);
10897 423 : if (XWINT (x8, 0) != 31L)
10898 : return -1;
10899 423 : x9 = XVECEXP (x1, 0, 31);
10900 423 : if (XWINT (x9, 0) != 63L)
10901 0 : return -1;
10902 : return 0;
10903 : }
10904 :
10905 : int
10906 59699369 : recog_6 (rtx x1 ATTRIBUTE_UNUSED,
10907 : rtx_insn *insn ATTRIBUTE_UNUSED,
10908 : int *pnum_clobbers ATTRIBUTE_UNUSED)
10909 : {
10910 59699369 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10911 59699369 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10912 59699369 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10913 59699369 : rtx x18, x19, x20, x21, x22, x23;
10914 59699369 : int res ATTRIBUTE_UNUSED;
10915 59699369 : x2 = XEXP (x1, 0);
10916 59699369 : if (GET_CODE (x2) != REG
10917 59699369 : || REGNO (x2) != 17)
10918 : return -1;
10919 59586056 : x3 = XEXP (x1, 1);
10920 59586056 : x4 = XEXP (x3, 0);
10921 59586056 : switch (GET_CODE (x4))
10922 : {
10923 55646988 : case REG:
10924 55646988 : case SUBREG:
10925 55646988 : case MEM:
10926 55646988 : return recog_5 (x1, insn, pnum_clobbers);
10927 :
10928 234620 : case MINUS:
10929 234620 : x5 = XEXP (x3, 1);
10930 234620 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10931 : return -1;
10932 39425 : x6 = XEXP (x4, 0);
10933 39425 : operands[0] = x6;
10934 39425 : x7 = XEXP (x4, 1);
10935 39425 : operands[1] = x7;
10936 39425 : switch (GET_MODE (x4))
10937 : {
10938 131 : case E_QImode:
10939 131 : if (!nonimmediate_operand (operands[0], E_QImode)
10940 120 : || !general_operand (operands[1], E_QImode)
10941 192 : || !insn_condition_44 (operands, insn))
10942 70 : return -1;
10943 : return 17; /* *cmpqi_minus_1 */
10944 :
10945 40 : case E_HImode:
10946 40 : if (!nonimmediate_operand (operands[0], E_HImode)
10947 30 : || !general_operand (operands[1], E_HImode)
10948 70 : || !insn_condition_44 (operands, insn))
10949 10 : return -1;
10950 : return 18; /* *cmphi_minus_1 */
10951 :
10952 14909 : case E_SImode:
10953 14909 : if (!nonimmediate_operand (operands[0], E_SImode)
10954 11703 : || !x86_64_general_operand (operands[1], E_SImode)
10955 26530 : || !insn_condition_44 (operands, insn))
10956 8153 : return -1;
10957 : return 19; /* *cmpsi_minus_1 */
10958 :
10959 24301 : case E_DImode:
10960 24301 : if (!nonimmediate_operand (operands[0], E_DImode)
10961 24223 : || !x86_64_general_operand (operands[1], E_DImode)
10962 48420 : || !insn_condition_45 (operands, insn))
10963 10038 : return -1;
10964 : return 20; /* *cmpdi_minus_1 */
10965 :
10966 : default:
10967 : return -1;
10968 : }
10969 :
10970 916076 : case PLUS:
10971 916076 : x5 = XEXP (x3, 1);
10972 916076 : switch (GET_CODE (x5))
10973 : {
10974 361438 : case CONST_INT:
10975 361438 : if (XWINT (x5, 0) != 0L)
10976 : return -1;
10977 51908 : x6 = XEXP (x4, 0);
10978 51908 : operands[0] = x6;
10979 51908 : x7 = XEXP (x4, 1);
10980 51908 : operands[1] = x7;
10981 51908 : switch (GET_MODE (x4))
10982 : {
10983 478 : case E_QImode:
10984 478 : if (!nonimmediate_operand (operands[0], E_QImode)
10985 388 : || !x86_64_neg_const_int_operand (operands[1], E_QImode)
10986 809 : || !insn_condition_46 (operands, insn))
10987 154 : return -1;
10988 : return 21; /* *cmpqi_plus_1 */
10989 :
10990 2562 : case E_HImode:
10991 2562 : if (!nonimmediate_operand (operands[0], E_HImode)
10992 2530 : || !x86_64_neg_const_int_operand (operands[1], E_HImode)
10993 5046 : || !insn_condition_46 (operands, insn))
10994 90 : return -1;
10995 : return 22; /* *cmphi_plus_1 */
10996 :
10997 18097 : case E_SImode:
10998 18097 : if (!nonimmediate_operand (operands[0], E_SImode)
10999 17401 : || !x86_64_neg_const_int_operand (operands[1], E_SImode)
11000 33200 : || !insn_condition_46 (operands, insn))
11001 10284 : return -1;
11002 : return 23; /* *cmpsi_plus_1 */
11003 :
11004 30683 : case E_DImode:
11005 30683 : if (!nonimmediate_operand (operands[0], E_DImode)
11006 28003 : || !x86_64_neg_const_int_operand (operands[1], E_DImode)
11007 46542 : || !insn_condition_47 (operands, insn))
11008 19374 : return -1;
11009 : return 24; /* *cmpdi_plus_1 */
11010 :
11011 : default:
11012 : return -1;
11013 : }
11014 :
11015 496744 : case REG:
11016 496744 : case SUBREG:
11017 496744 : case MEM:
11018 496744 : if (pnum_clobbers == NULL
11019 495105 : || GET_MODE (x2) != E_CCCmode
11020 11080 : || GET_MODE (x3) != E_CCCmode)
11021 : return -1;
11022 11080 : x6 = XEXP (x4, 0);
11023 11080 : operands[1] = x6;
11024 11080 : x7 = XEXP (x4, 1);
11025 11080 : operands[2] = x7;
11026 11080 : if (!rtx_equal_p (x5, operands[1]))
11027 : return -1;
11028 9719 : switch (pattern51 (x4))
11029 : {
11030 8797 : case 0:
11031 8797 : if (!insn_condition_48 (operands, insn))
11032 : return -1;
11033 8797 : *pnum_clobbers = 1;
11034 8797 : return 563; /* *addqi3_cconly_overflow_1 */
11035 :
11036 43 : case 1:
11037 43 : if (!insn_condition_48 (operands, insn))
11038 : return -1;
11039 43 : *pnum_clobbers = 1;
11040 43 : return 564; /* *addhi3_cconly_overflow_1 */
11041 :
11042 229 : case 2:
11043 229 : if (!insn_condition_48 (operands, insn))
11044 : return -1;
11045 204 : *pnum_clobbers = 1;
11046 204 : return 565; /* *addsi3_cconly_overflow_1 */
11047 :
11048 613 : case 3:
11049 613 : if (!insn_condition_49 (operands, insn))
11050 : return -1;
11051 530 : *pnum_clobbers = 1;
11052 530 : return 566; /* *adddi3_cconly_overflow_1 */
11053 :
11054 : default:
11055 : return -1;
11056 : }
11057 :
11058 : default:
11059 : return -1;
11060 : }
11061 :
11062 25392 : case NEG:
11063 25392 : if (GET_MODE (x4) != E_QImode
11064 9266 : || GET_MODE (x2) != E_CCCmode
11065 9080 : || GET_MODE (x3) != E_CCCmode)
11066 : return -1;
11067 9080 : x6 = XEXP (x4, 0);
11068 9080 : if (GET_MODE (x6) != E_QImode)
11069 : return -1;
11070 9080 : x5 = XEXP (x3, 1);
11071 9080 : if (GET_MODE (x5) != E_QImode)
11072 : return -1;
11073 9080 : switch (GET_CODE (x6))
11074 : {
11075 39 : case LTU:
11076 39 : x8 = XEXP (x6, 0);
11077 39 : if (GET_CODE (x8) != REG
11078 39 : || REGNO (x8) != 17
11079 78 : || GET_MODE (x8) != E_CCCmode)
11080 : return -1;
11081 3 : x9 = XEXP (x6, 1);
11082 3 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
11083 3 : || GET_CODE (x5) != GEU)
11084 : return -1;
11085 3 : x10 = XEXP (x5, 0);
11086 3 : if (GET_CODE (x10) != REG
11087 3 : || REGNO (x10) != 17
11088 6 : || GET_MODE (x10) != E_CCCmode)
11089 : return -1;
11090 3 : x11 = XEXP (x5, 1);
11091 3 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11092 0 : return -1;
11093 : return 68; /* *x86_cmc */
11094 :
11095 8570 : case GEU:
11096 8570 : x8 = XEXP (x6, 0);
11097 8570 : if (GET_CODE (x8) != REG
11098 8570 : || REGNO (x8) != 17)
11099 : return -1;
11100 8247 : x9 = XEXP (x6, 1);
11101 8247 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
11102 8247 : || GET_CODE (x5) != LTU)
11103 : return -1;
11104 8247 : x10 = XEXP (x5, 0);
11105 8247 : if (GET_CODE (x10) != REG
11106 8247 : || REGNO (x10) != 17)
11107 : return -1;
11108 8247 : x11 = XEXP (x5, 1);
11109 8247 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11110 : return -1;
11111 8247 : switch (GET_MODE (x8))
11112 : {
11113 769 : case E_CCmode:
11114 769 : if (GET_MODE (x10) != E_CCmode
11115 1538 : || !insn_condition_50 (operands, insn))
11116 0 : return -1;
11117 : return 556; /* *setcc_qi_addqi3_cconly_overflow_1_cc */
11118 :
11119 7478 : case E_CCCmode:
11120 7478 : if (GET_MODE (x10) != E_CCCmode
11121 14956 : || !insn_condition_50 (operands, insn))
11122 0 : return -1;
11123 : return 557; /* *setcc_qi_addqi3_cconly_overflow_1_ccc */
11124 :
11125 : default:
11126 : return -1;
11127 : }
11128 :
11129 : default:
11130 : return -1;
11131 : }
11132 :
11133 135743 : case ZERO_EXTEND:
11134 135743 : if (pnum_clobbers == NULL)
11135 : return -1;
11136 135743 : x5 = XEXP (x3, 1);
11137 135743 : if (pattern456 (x5,
11138 : E_CCmode,
11139 : PLUS) != 0
11140 25545 : || GET_MODE (x2) != E_CCCmode
11141 161288 : || GET_MODE (x3) != E_CCCmode)
11142 : return -1;
11143 25545 : x6 = XEXP (x4, 0);
11144 25545 : operands[1] = x6;
11145 25545 : x11 = XEXP (x5, 1);
11146 25545 : switch (GET_CODE (x11))
11147 : {
11148 23693 : case ZERO_EXTEND:
11149 23693 : x12 = XEXP (x11, 0);
11150 23693 : operands[2] = x12;
11151 23693 : switch (GET_MODE (x4))
11152 : {
11153 14174 : case E_DImode:
11154 14174 : if (pattern1629 (x5,
11155 : E_SImode,
11156 : E_DImode) != 0
11157 14174 : || !insn_condition_51 (operands, insn))
11158 : return -1;
11159 4091 : *pnum_clobbers = 1;
11160 4091 : return 546; /* subsi3_carry_ccc */
11161 :
11162 9519 : case E_TImode:
11163 9519 : if (pattern1629 (x5,
11164 : E_DImode,
11165 : E_TImode) != 0
11166 9519 : || !insn_condition_52 (operands, insn))
11167 : return -1;
11168 5772 : *pnum_clobbers = 1;
11169 5772 : return 547; /* subdi3_carry_ccc */
11170 :
11171 : default:
11172 : return -1;
11173 : }
11174 :
11175 1852 : case CONST_INT:
11176 1852 : case CONST_WIDE_INT:
11177 1852 : operands[2] = x11;
11178 1852 : switch (GET_MODE (x4))
11179 : {
11180 0 : case E_DImode:
11181 0 : if (pattern1630 (x5,
11182 : E_DImode,
11183 : E_SImode) != 0
11184 0 : || !insn_condition_51 (operands, insn))
11185 : return -1;
11186 0 : *pnum_clobbers = 1;
11187 0 : return 548; /* *subsi3_carry_ccc_1 */
11188 :
11189 1852 : case E_TImode:
11190 1852 : if (pattern1630 (x5,
11191 : E_TImode,
11192 : E_DImode) != 0
11193 1852 : || !insn_condition_52 (operands, insn))
11194 : return -1;
11195 300 : *pnum_clobbers = 1;
11196 300 : return 549; /* *subdi3_carry_ccc_1 */
11197 :
11198 : default:
11199 : return -1;
11200 : }
11201 :
11202 : default:
11203 : return -1;
11204 : }
11205 :
11206 714595 : case AND:
11207 714595 : x5 = XEXP (x3, 1);
11208 714595 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
11209 571230 : || GET_MODE (x2) != E_CCZmode
11210 559145 : || GET_MODE (x3) != E_CCZmode)
11211 : return -1;
11212 559145 : x6 = XEXP (x4, 0);
11213 559145 : switch (GET_CODE (x6))
11214 : {
11215 371043 : case REG:
11216 371043 : case SUBREG:
11217 371043 : operands[0] = x6;
11218 371043 : if (!register_operand (operands[0], E_TImode)
11219 371043 : || GET_MODE (x4) != E_TImode)
11220 : return -1;
11221 343 : x7 = XEXP (x4, 1);
11222 343 : operands[1] = x7;
11223 343 : if (!general_operand (operands[1], E_TImode)
11224 343 : || !insn_condition_53 (operands, insn))
11225 0 : return -1;
11226 : return 725; /* *testti_doubleword */
11227 :
11228 20384 : case NOT:
11229 20384 : switch (pattern892 (x4))
11230 : {
11231 278 : case 0:
11232 278 : if (!insn_condition_54 (operands, insn))
11233 111 : return -1;
11234 : return 729; /* *testqi_not */
11235 :
11236 1288 : case 1:
11237 1288 : if (!insn_condition_54 (operands, insn))
11238 503 : return -1;
11239 : return 730; /* *testhi_not */
11240 :
11241 8433 : case 2:
11242 8433 : if (!insn_condition_54 (operands, insn))
11243 3813 : return -1;
11244 : return 731; /* *testsi_not */
11245 :
11246 6828 : case 3:
11247 6828 : if (register_operand (operands[0], E_DImode)
11248 5783 : && x86_64_szext_nonmemory_operand (operands[1], E_DImode)
11249 11043 : && insn_condition_55 (operands, insn))
11250 : return 732; /* *testdi_not */
11251 4821 : if (!nonimmediate_operand (operands[0], E_DImode)
11252 4667 : || !nonimmediate_operand (operands[1], E_DImode)
11253 6335 : || !insn_condition_36 (operands, insn))
11254 4783 : return -1;
11255 : return 733; /* *testdi_not_doubleword */
11256 :
11257 359 : case 4:
11258 359 : if (!insn_condition_37 (operands, insn))
11259 0 : return -1;
11260 : return 734; /* *testti_not_doubleword */
11261 :
11262 : default:
11263 : return -1;
11264 : }
11265 :
11266 25185 : case PLUS:
11267 25185 : if (pnum_clobbers == NULL)
11268 : return -1;
11269 25181 : x9 = XEXP (x6, 1);
11270 25181 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
11271 : return -1;
11272 4236 : switch (pattern790 (x4))
11273 : {
11274 1077 : case 0:
11275 1077 : if (!insn_condition_56 (operands, insn))
11276 : return -1;
11277 1 : *pnum_clobbers = 1;
11278 1 : return 1726; /* *bmi_blsr_si_ccz */
11279 :
11280 1513 : case 1:
11281 1513 : if (!insn_condition_57 (operands, insn))
11282 : return -1;
11283 0 : *pnum_clobbers = 1;
11284 0 : return 1727; /* *bmi_blsr_di_ccz */
11285 :
11286 : default:
11287 : return -1;
11288 : }
11289 :
11290 : default:
11291 : return -1;
11292 : }
11293 :
11294 125511 : case IOR:
11295 125511 : if (pnum_clobbers == NULL)
11296 : return -1;
11297 125505 : x5 = XEXP (x3, 1);
11298 125505 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
11299 114333 : || GET_MODE (x2) != E_CCZmode
11300 109503 : || GET_MODE (x3) != E_CCZmode)
11301 : return -1;
11302 109503 : switch (pattern52 (x4))
11303 : {
11304 12603 : case 0:
11305 12603 : if (!insn_condition_58 (operands, insn))
11306 : return -1;
11307 24 : *pnum_clobbers = 1;
11308 24 : return 916; /* *iorqi_ccz_1 */
11309 :
11310 359 : case 1:
11311 359 : if (!insn_condition_59 (operands, insn))
11312 : return -1;
11313 42 : *pnum_clobbers = 1;
11314 42 : return 917; /* *iorhi_ccz_1 */
11315 :
11316 13197 : case 2:
11317 13197 : if (!insn_condition_60 (operands, insn))
11318 : return -1;
11319 13 : *pnum_clobbers = 1;
11320 13 : return 918; /* *iorsi_ccz_1 */
11321 :
11322 12922 : case 3:
11323 12922 : if (!insn_condition_61 (operands, insn))
11324 : return -1;
11325 4 : *pnum_clobbers = 1;
11326 4 : return 919; /* *iordi_ccz_1 */
11327 :
11328 : default:
11329 : return -1;
11330 : }
11331 :
11332 388579 : case CONST_INT:
11333 388579 : if (XWINT (x4, 0) != 0L)
11334 : return -1;
11335 140305 : x5 = XEXP (x3, 1);
11336 140305 : if (GET_CODE (x5) != ZERO_EXTRACT)
11337 : return -1;
11338 15406 : x11 = XEXP (x5, 1);
11339 15406 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
11340 15406 : || GET_MODE (x2) != E_CCCmode
11341 15406 : || GET_MODE (x3) != E_CCCmode)
11342 : return -1;
11343 15406 : x10 = XEXP (x5, 0);
11344 15406 : operands[0] = x10;
11345 15406 : x13 = XEXP (x5, 2);
11346 15406 : operands[1] = x13;
11347 15406 : if (nonmemory_operand (operands[1], E_QImode))
11348 : {
11349 14681 : switch (GET_MODE (x5))
11350 : {
11351 6468 : case E_SImode:
11352 6468 : if (nonimmediate_operand (operands[0], E_SImode))
11353 : return 1548; /* *btsi */
11354 : break;
11355 :
11356 8213 : case E_DImode:
11357 8213 : if (nonimmediate_operand (operands[0], E_DImode)
11358 8213 : && insn_condition_52 (operands, insn))
11359 : return 1549; /* *btdi */
11360 : break;
11361 :
11362 : default:
11363 : break;
11364 : }
11365 : }
11366 8368 : if (GET_CODE (x13) != SUBREG
11367 3673 : || maybe_ne (SUBREG_BYTE (x13), 0)
11368 12041 : || GET_MODE (x13) != E_QImode)
11369 : return -1;
11370 3673 : x14 = XEXP (x13, 0);
11371 3673 : if (GET_CODE (x14) != AND)
11372 : return -1;
11373 0 : switch (pattern1495 (x5))
11374 : {
11375 0 : case 0:
11376 0 : if (!insn_condition_62 (operands, insn))
11377 0 : return -1;
11378 : return 1550; /* *btsi_mask */
11379 :
11380 0 : case 1:
11381 0 : if (!insn_condition_63 (operands, insn))
11382 0 : return -1;
11383 : return 1551; /* *btdi_mask */
11384 :
11385 : default:
11386 : return -1;
11387 : }
11388 :
11389 16861 : case UNSPEC:
11390 16861 : if (GET_MODE (x2) != E_CCZmode
11391 14193 : || GET_MODE (x3) != E_CCZmode)
11392 : return -1;
11393 14193 : switch (XVECLEN (x4, 0))
11394 : {
11395 232 : case 2:
11396 232 : if (pnum_clobbers == NULL
11397 232 : || XINT (x4, 1) != 97)
11398 : return -1;
11399 8 : x5 = XEXP (x3, 1);
11400 8 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11401 : return -1;
11402 2 : x15 = XVECEXP (x4, 0, 0);
11403 2 : operands[1] = x15;
11404 2 : x16 = XVECEXP (x4, 0, 1);
11405 2 : operands[2] = x16;
11406 2 : switch (GET_MODE (x4))
11407 : {
11408 2 : case E_SImode:
11409 2 : if (!nonimmediate_operand (operands[1], E_SImode)
11410 2 : || !register_operand (operands[2], E_SImode)
11411 4 : || !insn_condition_56 (operands, insn))
11412 : return -1;
11413 2 : *pnum_clobbers = 1;
11414 2 : return 1706; /* *bmi_bextr_si_ccz */
11415 :
11416 0 : case E_DImode:
11417 0 : if (!nonimmediate_operand (operands[1], E_DImode)
11418 0 : || !register_operand (operands[2], E_DImode)
11419 0 : || !insn_condition_57 (operands, insn))
11420 : return -1;
11421 0 : *pnum_clobbers = 1;
11422 0 : return 1707; /* *bmi_bextr_di_ccz */
11423 :
11424 : default:
11425 : return -1;
11426 : }
11427 :
11428 11622 : case 1:
11429 11622 : if (XINT (x4, 1) != 46
11430 11509 : || GET_MODE (x4) != E_SImode)
11431 : return -1;
11432 11509 : x15 = XVECEXP (x4, 0, 0);
11433 11509 : if (GET_CODE (x15) != VEC_MERGE)
11434 : return -1;
11435 1 : x5 = XEXP (x3, 1);
11436 1 : operands[2] = x5;
11437 1 : if (!const_int_operand (operands[2], E_VOIDmode))
11438 : return -1;
11439 1 : switch (pattern1299 (x15))
11440 : {
11441 0 : case 0:
11442 0 : if (!insn_condition_64 (operands, insn))
11443 0 : return -1;
11444 : return 7241; /* *pmovsk_mask_cmp_v32qi_avx512 */
11445 :
11446 0 : case 1:
11447 0 : if (!insn_condition_65 (operands, insn))
11448 0 : return -1;
11449 : return 7242; /* *pmovsk_mask_cmp_v16qi_avx512 */
11450 :
11451 0 : case 2:
11452 0 : if (!insn_condition_66 (operands, insn))
11453 0 : return -1;
11454 : return 7243; /* *pmovsk_ptest_v32qi_avx512 */
11455 :
11456 1 : case 3:
11457 1 : if (!insn_condition_67 (operands, insn))
11458 0 : return -1;
11459 : return 7244; /* *pmovsk_ptest_v16qi_avx512 */
11460 :
11461 : default:
11462 : return -1;
11463 : }
11464 :
11465 : default:
11466 : return -1;
11467 : }
11468 :
11469 290218 : case IF_THEN_ELSE:
11470 290218 : if (pnum_clobbers == NULL)
11471 : return -1;
11472 290218 : x6 = XEXP (x4, 0);
11473 290218 : if (GET_CODE (x6) != NE
11474 4288 : || GET_MODE (x6) != E_QImode)
11475 : return -1;
11476 6 : x9 = XEXP (x6, 1);
11477 6 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11478 : return -1;
11479 6 : x7 = XEXP (x4, 1);
11480 6 : if (GET_CODE (x7) != ZERO_EXTRACT)
11481 : return -1;
11482 6 : x17 = XEXP (x7, 1);
11483 6 : if (GET_CODE (x17) != UMIN
11484 6 : || GET_MODE (x17) != E_QImode)
11485 : return -1;
11486 6 : x18 = XEXP (x7, 2);
11487 6 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11488 : return -1;
11489 6 : x19 = XEXP (x4, 2);
11490 6 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11491 : return -1;
11492 6 : x5 = XEXP (x3, 1);
11493 6 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
11494 2 : || GET_MODE (x2) != E_CCZmode
11495 2 : || GET_MODE (x3) != E_CCZmode)
11496 : return -1;
11497 2 : x8 = XEXP (x6, 0);
11498 2 : operands[2] = x8;
11499 2 : if (!register_operand (operands[2], E_QImode))
11500 : return -1;
11501 2 : x20 = XEXP (x7, 0);
11502 2 : operands[1] = x20;
11503 2 : x21 = XEXP (x17, 1);
11504 2 : operands[3] = x21;
11505 2 : if (!const_int_operand (operands[3], E_QImode))
11506 : return -1;
11507 2 : x22 = XEXP (x17, 0);
11508 2 : if (!rtx_equal_p (x22, operands[2]))
11509 : return -1;
11510 2 : switch (GET_MODE (x4))
11511 : {
11512 2 : case E_SImode:
11513 2 : if (GET_MODE (x7) != E_SImode
11514 2 : || !nonimmediate_operand (operands[1], E_SImode)
11515 2 : || !insn_condition_68 (operands, insn))
11516 : return -1;
11517 2 : *pnum_clobbers = 1;
11518 2 : return 1730; /* *bmi2_bzhi_si3_1_ccz */
11519 :
11520 0 : case E_DImode:
11521 0 : if (GET_MODE (x7) != E_DImode
11522 0 : || !nonimmediate_operand (operands[1], E_DImode)
11523 0 : || !insn_condition_69 (operands, insn))
11524 : return -1;
11525 0 : *pnum_clobbers = 1;
11526 0 : return 1731; /* *bmi2_bzhi_di3_1_ccz */
11527 :
11528 : default:
11529 : return -1;
11530 : }
11531 :
11532 38349 : case VEC_SELECT:
11533 38349 : x7 = XEXP (x4, 1);
11534 38349 : if (GET_CODE (x7) != PARALLEL
11535 38349 : || XVECLEN (x7, 0) != 1)
11536 : return -1;
11537 38349 : x23 = XVECEXP (x7, 0, 0);
11538 38349 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11539 : return -1;
11540 27924 : x5 = XEXP (x3, 1);
11541 27924 : if (pattern292 (x5) != 0
11542 1932 : || GET_MODE (x2) != E_CCFPmode
11543 29659 : || GET_MODE (x3) != E_CCFPmode)
11544 : return -1;
11545 1735 : x6 = XEXP (x4, 0);
11546 1735 : operands[0] = x6;
11547 1735 : x10 = XEXP (x5, 0);
11548 1735 : operands[1] = x10;
11549 1735 : switch (GET_MODE (x4))
11550 : {
11551 0 : case E_HFmode:
11552 0 : if (!register_operand (operands[0], E_V8HFmode)
11553 0 : || GET_MODE (x5) != E_HFmode
11554 0 : || !nonimmediate_operand (operands[1], E_V8HFmode)
11555 0 : || !insn_condition_70 (operands, insn))
11556 0 : return -1;
11557 : return 3864; /* avx512fp16_comi */
11558 :
11559 679 : case E_SFmode:
11560 679 : if (!register_operand (operands[0], E_V4SFmode)
11561 640 : || GET_MODE (x5) != E_SFmode
11562 640 : || !nonimmediate_operand (operands[1], E_V4SFmode)
11563 1297 : || !insn_condition_71 (operands, insn))
11564 61 : return -1;
11565 : return 3868; /* sse_comi */
11566 :
11567 588 : case E_DFmode:
11568 588 : if (!register_operand (operands[0], E_V2DFmode)
11569 572 : || GET_MODE (x5) != E_DFmode
11570 572 : || !nonimmediate_operand (operands[1], E_V2DFmode)
11571 1160 : || !insn_condition_72 (operands, insn))
11572 16 : return -1;
11573 : return 3872; /* sse2_comi */
11574 :
11575 468 : case E_BFmode:
11576 468 : if (!register_operand (operands[0], E_V8BFmode)
11577 452 : || GET_MODE (x5) != E_BFmode
11578 452 : || !nonimmediate_operand (operands[1], E_V8BFmode)
11579 912 : || !insn_condition_41 (operands, insn))
11580 24 : return -1;
11581 : return 3876; /* avx10_2_comisbf16_v8bf */
11582 :
11583 : default:
11584 : return -1;
11585 : }
11586 :
11587 : default:
11588 : return -1;
11589 : }
11590 : }
11591 :
11592 : int
11593 1345440754 : recog_18 (rtx x1 ATTRIBUTE_UNUSED,
11594 : rtx_insn *insn ATTRIBUTE_UNUSED,
11595 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11596 : {
11597 1345440754 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11598 1345440754 : rtx x2, x3, x4;
11599 1345440754 : int res ATTRIBUTE_UNUSED;
11600 1345440754 : x2 = XEXP (x1, 0);
11601 1345440754 : operands[0] = x2;
11602 1345440754 : x3 = XEXP (x1, 1);
11603 1345440754 : operands[1] = x3;
11604 1345440754 : switch (GET_MODE (operands[0]))
11605 : {
11606 11614217 : case E_V1TImode:
11607 11614217 : if (push_operand (operands[0], E_V1TImode)
11608 11614217 : && register_operand (operands[1], E_V1TImode))
11609 : {
11610 1000 : if (insn_condition_172 (operands, insn))
11611 : return 69; /* *pushv1ti2 */
11612 1000 : if (insn_condition_173 (operands, insn))
11613 : return 70; /* *pushv1ti2 */
11614 : }
11615 : break;
11616 :
11617 215437223 : case E_DImode:
11618 215437223 : if (push_operand (operands[0], E_DImode)
11619 215437223 : && general_no_elim_operand (operands[1], E_DImode))
11620 : {
11621 3803687 : if (insn_condition_51 (operands, insn))
11622 : return 71; /* *pushdi2 */
11623 2342624 : if (insn_condition_52 (operands, insn))
11624 2342624 : return 73; /* *pushdi2_rex64 */
11625 : }
11626 211633536 : if (nonimmediate_operand (operands[0], E_DImode)
11627 207212670 : && pop_operand (operands[1], E_DImode)
11628 212747741 : && insn_condition_140 (operands, insn))
11629 : return 81; /* *popdi1 */
11630 210519331 : if (pnum_clobbers != NULL
11631 210519331 : && const0_operand (operands[1], E_DImode))
11632 : {
11633 5629391 : if (register_operand (operands[0], E_DImode)
11634 5629391 : && insn_condition_174 (operands, insn))
11635 : {
11636 4928 : *pnum_clobbers = 1;
11637 4928 : return 89; /* *movdi_xor */
11638 : }
11639 5624463 : if (memory_operand (operands[0], E_DImode)
11640 5624463 : && insn_condition_174 (operands, insn))
11641 : {
11642 7199 : *pnum_clobbers = 1;
11643 7199 : return 92; /* *movdi_and */
11644 : }
11645 : }
11646 210507204 : if (nonimmediate_operand (operands[0], E_DImode))
11647 : {
11648 206086338 : if (pnum_clobbers != NULL
11649 138260444 : && constm1_operand (operands[1], E_DImode)
11650 206086338 : && insn_condition_174 (operands, insn))
11651 : {
11652 711 : *pnum_clobbers = 1;
11653 711 : return 95; /* *movdi_or */
11654 : }
11655 206085627 : if (general_operand (operands[1], E_DImode)
11656 206085627 : && insn_condition_171 (operands, insn))
11657 : return 99; /* *movdi_internal */
11658 : }
11659 : break;
11660 :
11661 25640132 : case E_TImode:
11662 25640132 : if (push_operand (operands[0], E_TImode)
11663 85888 : && general_no_elim_operand (operands[1], E_TImode)
11664 25725958 : && insn_condition_52 (operands, insn))
11665 : return 72; /* *pushti2 */
11666 25554306 : if (nonimmediate_operand (operands[0], E_TImode)
11667 21408970 : && general_operand (operands[1], E_TImode)
11668 46951240 : && insn_condition_175 (operands, insn))
11669 : return 98; /* *movti_internal */
11670 : break;
11671 :
11672 103182311 : case E_SImode:
11673 103182311 : res = recog_17 (x1, insn, pnum_clobbers);
11674 103182311 : if (res >= 0)
11675 : return res;
11676 : break;
11677 :
11678 27259668 : case E_QImode:
11679 27259668 : if (push_operand (operands[0], E_QImode)
11680 27259668 : && nonmemory_no_elim_operand (operands[1], E_QImode))
11681 : return 76; /* *pushqi2 */
11682 27258024 : if (nonimmediate_operand (operands[0], E_QImode)
11683 22927652 : && general_operand (operands[1], E_QImode)
11684 49909009 : && insn_condition_171 (operands, insn))
11685 : return 102; /* *movqi_internal */
11686 : break;
11687 :
11688 16344313 : case E_HImode:
11689 16344313 : if (push_operand (operands[0], E_HImode)
11690 16344313 : && nonmemory_no_elim_operand (operands[1], E_HImode))
11691 : return 77; /* *pushhi2 */
11692 16343433 : if (pnum_clobbers != NULL
11693 3250872 : && memory_operand (operands[0], E_HImode)
11694 1283030 : && const0_operand (operands[1], E_HImode)
11695 16419998 : && insn_condition_170 (operands, insn))
11696 : {
11697 644 : *pnum_clobbers = 1;
11698 644 : return 90; /* *movhi_and */
11699 : }
11700 16342789 : if (nonimmediate_operand (operands[0], E_HImode))
11701 : {
11702 12048861 : if (pnum_clobbers != NULL
11703 3241933 : && constm1_operand (operands[1], E_HImode)
11704 12064886 : && insn_condition_170 (operands, insn))
11705 : {
11706 88 : *pnum_clobbers = 1;
11707 88 : return 93; /* *movhi_or */
11708 : }
11709 12048773 : if (general_operand (operands[1], E_HImode)
11710 12048773 : && insn_condition_171 (operands, insn))
11711 : return 101; /* *movhi_internal */
11712 : }
11713 : break;
11714 :
11715 15013567 : case E_TFmode:
11716 15013567 : if (push_operand (operands[0], E_TFmode)
11717 258218 : && general_no_elim_operand (operands[1], E_TFmode)
11718 15013567 : && insn_condition_176 (operands, insn))
11719 : return 157; /* *pushtf */
11720 14755687 : if (nonimmediate_operand (operands[0], E_TFmode)
11721 10611427 : && general_operand (operands[1], E_TFmode)
11722 25364539 : && insn_condition_177 (operands, insn))
11723 : return 172; /* *movtf_internal */
11724 : break;
11725 :
11726 13634778 : case E_XFmode:
11727 13634778 : if (push_operand (operands[0], E_XFmode)
11728 13634778 : && general_no_elim_operand (operands[1], E_XFmode))
11729 : return 158; /* *pushxf */
11730 13479424 : if (nonimmediate_operand (operands[0], E_XFmode)
11731 9233492 : && general_operand (operands[1], E_XFmode)
11732 22705464 : && insn_condition_178 (operands, insn))
11733 : return 173; /* *movxf_internal */
11734 : break;
11735 :
11736 21711341 : case E_DFmode:
11737 21711341 : if (push_operand (operands[0], E_DFmode)
11738 21711341 : && general_no_elim_operand (operands[1], E_DFmode))
11739 : return 159; /* *pushdf */
11740 21522753 : if (nonimmediate_operand (operands[0], E_DFmode)
11741 17218231 : && general_operand (operands[1], E_DFmode)
11742 38684163 : && insn_condition_179 (operands, insn))
11743 : return 174; /* *movdf_internal */
11744 : break;
11745 :
11746 13268716 : case E_HFmode:
11747 13268716 : if (push_operand (operands[0], E_HFmode))
11748 : {
11749 4038 : if (nonmemory_no_elim_operand (operands[1], E_HFmode)
11750 4038 : && insn_condition_52 (operands, insn))
11751 : return 160; /* *pushhf_rex64 */
11752 3154 : if (general_no_elim_operand (operands[1], E_HFmode)
11753 3154 : && insn_condition_51 (operands, insn))
11754 : return 162; /* *pushhf */
11755 : }
11756 13264858 : if (nonimmediate_operand (operands[0], E_HFmode)
11757 8978944 : && general_operand (operands[1], E_HFmode)
11758 22243461 : && insn_condition_180 (operands, insn))
11759 : return 176; /* *movhf_internal */
11760 : break;
11761 :
11762 12810631 : case E_BFmode:
11763 12810631 : if (push_operand (operands[0], E_BFmode))
11764 : {
11765 1260 : if (nonmemory_no_elim_operand (operands[1], E_BFmode)
11766 1260 : && insn_condition_52 (operands, insn))
11767 : return 161; /* *pushbf_rex64 */
11768 60 : if (general_no_elim_operand (operands[1], E_BFmode)
11769 60 : && insn_condition_51 (operands, insn))
11770 : return 163; /* *pushbf */
11771 : }
11772 12809371 : if (nonimmediate_operand (operands[0], E_BFmode)
11773 8523677 : && general_operand (operands[1], E_BFmode)
11774 21322183 : && insn_condition_181 (operands, insn))
11775 : return 177; /* *movbf_internal */
11776 : break;
11777 :
11778 24888158 : case E_SFmode:
11779 24888158 : if (push_operand (operands[0], E_SFmode))
11780 : {
11781 14311 : if (nonmemory_no_elim_operand (operands[1], E_SFmode)
11782 14311 : && insn_condition_52 (operands, insn))
11783 : return 170; /* *pushsf_rex64 */
11784 6601 : if (general_no_elim_operand (operands[1], E_SFmode)
11785 6601 : && insn_condition_51 (operands, insn))
11786 : return 171; /* *pushsf */
11787 : }
11788 24875529 : if (nonimmediate_operand (operands[0], E_SFmode)
11789 20549991 : && general_operand (operands[1], E_SFmode)
11790 45364345 : && insn_condition_182 (operands, insn))
11791 : return 175; /* *movsf_internal */
11792 : break;
11793 :
11794 14640378 : case E_V8QImode:
11795 14640378 : if (nonimmediate_operand (operands[0], E_V8QImode)
11796 10282958 : && nonimm_or_0_operand (operands[1], E_V8QImode)
11797 24857796 : && insn_condition_183 (operands, insn))
11798 : return 2176; /* *movv8qi_internal */
11799 4480324 : if (memory_operand (operands[0], E_V8QImode)
11800 79017 : && x86_64_const_vector_operand (operands[1], E_V8QImode)
11801 4480324 : && insn_condition_184 (operands, insn))
11802 : return 2200; /* *movv8qi_imm */
11803 : break;
11804 :
11805 14645448 : case E_V4HImode:
11806 14645448 : if (nonimmediate_operand (operands[0], E_V4HImode)
11807 10288772 : && nonimm_or_0_operand (operands[1], E_V4HImode)
11808 24855134 : && insn_condition_183 (operands, insn))
11809 : return 2177; /* *movv4hi_internal */
11810 4488000 : if (memory_operand (operands[0], E_V4HImode)
11811 88713 : && x86_64_const_vector_operand (operands[1], E_V4HImode)
11812 4488000 : && insn_condition_185 (operands, insn))
11813 : return 2201; /* *movv4hi_imm */
11814 : break;
11815 :
11816 18510388 : case E_V2SImode:
11817 18510388 : if (nonimmediate_operand (operands[0], E_V2SImode)
11818 14151593 : && nonimm_or_0_operand (operands[1], E_V2SImode)
11819 32193827 : && insn_condition_183 (operands, insn))
11820 : return 2178; /* *movv2si_internal */
11821 5148927 : if (memory_operand (operands[0], E_V2SImode)
11822 397060 : && x86_64_const_vector_operand (operands[1], E_V2SImode)
11823 5148927 : && insn_condition_186 (operands, insn))
11824 : return 2204; /* *movv2si_imm */
11825 : break;
11826 :
11827 14499323 : case E_V1DImode:
11828 14499323 : if (nonimmediate_operand (operands[0], E_V1DImode)
11829 10142733 : && nonimm_or_0_operand (operands[1], E_V1DImode)
11830 24596166 : && insn_condition_183 (operands, insn))
11831 : return 2179; /* *movv1di_internal */
11832 4450851 : if (memory_operand (operands[0], E_V1DImode)
11833 65213 : && x86_64_const_vector_operand (operands[1], E_V1DImode)
11834 4450851 : && insn_condition_187 (operands, insn))
11835 : return 2206; /* *movv1di_imm */
11836 : break;
11837 :
11838 14755319 : case E_V2SFmode:
11839 14755319 : if (nonimmediate_operand (operands[0], E_V2SFmode)
11840 10397690 : && nonimm_or_0_operand (operands[1], E_V2SFmode)
11841 25075023 : && insn_condition_183 (operands, insn))
11842 : return 2180; /* *movv2sf_internal */
11843 4490959 : if (memory_operand (operands[0], E_V2SFmode)
11844 81629 : && x86_64_const_vector_operand (operands[1], E_V2SFmode)
11845 4490959 : && insn_condition_188 (operands, insn))
11846 : return 2205; /* *movv2sf_imm */
11847 : break;
11848 :
11849 14493674 : case E_V4HFmode:
11850 14493674 : if (nonimmediate_operand (operands[0], E_V4HFmode)
11851 10137084 : && nonimm_or_0_operand (operands[1], E_V4HFmode)
11852 24584483 : && insn_condition_183 (operands, insn))
11853 : return 2181; /* *movv4hf_internal */
11854 4451210 : if (memory_operand (operands[0], E_V4HFmode)
11855 65344 : && x86_64_const_vector_operand (operands[1], E_V4HFmode)
11856 4451210 : && insn_condition_189 (operands, insn))
11857 : return 2202; /* *movv4hf_imm */
11858 : break;
11859 :
11860 14490574 : case E_V4BFmode:
11861 14490574 : if (nonimmediate_operand (operands[0], E_V4BFmode)
11862 10133984 : && nonimm_or_0_operand (operands[1], E_V4BFmode)
11863 24578782 : && insn_condition_183 (operands, insn))
11864 : return 2182; /* *movv4bf_internal */
11865 4450592 : if (memory_operand (operands[0], E_V4BFmode)
11866 65066 : && x86_64_const_vector_operand (operands[1], E_V4BFmode)
11867 4450592 : && insn_condition_190 (operands, insn))
11868 : return 2203; /* *movv4bf_imm */
11869 : break;
11870 :
11871 12868361 : case E_V4QImode:
11872 12868361 : if (nonimmediate_operand (operands[0], E_V4QImode)
11873 8573538 : && nonimm_or_0_operand (operands[1], E_V4QImode)
11874 21382874 : && insn_condition_171 (operands, insn))
11875 : return 2183; /* *movv4qi_internal */
11876 4361804 : if (push_operand (operands[0], E_V4QImode)
11877 3 : && nonmemory_no_elim_operand (operands[1], E_V4QImode)
11878 4361807 : && insn_condition_52 (operands, insn))
11879 : return 2188; /* *pushv4qi2_rex64 */
11880 4361801 : if (memory_operand (operands[0], E_V4QImode)
11881 4361801 : && x86_64_const_vector_operand (operands[1], E_V4QImode))
11882 : return 2195; /* *movv4qi_imm */
11883 : break;
11884 :
11885 12716449 : case E_V2HImode:
11886 12716449 : if (nonimmediate_operand (operands[0], E_V2HImode)
11887 8421451 : && nonimm_or_0_operand (operands[1], E_V2HImode)
11888 21115084 : && insn_condition_171 (operands, insn))
11889 : return 2184; /* *movv2hi_internal */
11890 4320811 : if (push_operand (operands[0], E_V2HImode)
11891 0 : && nonmemory_no_elim_operand (operands[1], E_V2HImode)
11892 4320811 : && insn_condition_52 (operands, insn))
11893 : return 2189; /* *pushv2hi2_rex64 */
11894 4320811 : if (memory_operand (operands[0], E_V2HImode)
11895 4320811 : && x86_64_const_vector_operand (operands[1], E_V2HImode))
11896 : return 2196; /* *movv2hi_imm */
11897 : break;
11898 :
11899 12600808 : case E_V1SImode:
11900 12600808 : if (nonimmediate_operand (operands[0], E_V1SImode)
11901 8306210 : && nonimm_or_0_operand (operands[1], E_V1SImode)
11902 20906357 : && insn_condition_171 (operands, insn))
11903 : return 2185; /* *movv1si_internal */
11904 4295343 : if (push_operand (operands[0], E_V1SImode)
11905 0 : && nonmemory_no_elim_operand (operands[1], E_V1SImode)
11906 4295343 : && insn_condition_52 (operands, insn))
11907 : return 2190; /* *pushv1si2_rex64 */
11908 4295343 : if (memory_operand (operands[0], E_V1SImode)
11909 4295343 : && x86_64_const_vector_operand (operands[1], E_V1SImode))
11910 : return 2197; /* *movv1si_imm */
11911 : break;
11912 :
11913 12605073 : case E_V2HFmode:
11914 12605073 : if (nonimmediate_operand (operands[0], E_V2HFmode)
11915 8310481 : && nonimm_or_0_operand (operands[1], E_V2HFmode)
11916 20914881 : && insn_condition_171 (operands, insn))
11917 : return 2186; /* *movv2hf_internal */
11918 4295478 : if (push_operand (operands[0], E_V2HFmode)
11919 0 : && nonmemory_no_elim_operand (operands[1], E_V2HFmode)
11920 4295478 : && insn_condition_52 (operands, insn))
11921 : return 2191; /* *pushv2hf2_rex64 */
11922 4295478 : if (memory_operand (operands[0], E_V2HFmode)
11923 4295478 : && x86_64_const_vector_operand (operands[1], E_V2HFmode))
11924 : return 2198; /* *movv2hf_imm */
11925 : break;
11926 :
11927 12595884 : case E_V2BFmode:
11928 12595884 : if (nonimmediate_operand (operands[0], E_V2BFmode)
11929 8301292 : && nonimm_or_0_operand (operands[1], E_V2BFmode)
11930 20897088 : && insn_condition_171 (operands, insn))
11931 : return 2187; /* *movv2bf_internal */
11932 4294722 : if (push_operand (operands[0], E_V2BFmode)
11933 0 : && nonmemory_no_elim_operand (operands[1], E_V2BFmode)
11934 4294722 : && insn_condition_52 (operands, insn))
11935 : return 2192; /* *pushv2bf2_rex64 */
11936 4294722 : if (memory_operand (operands[0], E_V2BFmode)
11937 4294722 : && x86_64_const_vector_operand (operands[1], E_V2BFmode))
11938 : return 2199; /* *movv2bf_imm */
11939 : break;
11940 :
11941 13019703 : case E_V2QImode:
11942 13019703 : if (nonimmediate_operand (operands[0], E_V2QImode)
11943 8732640 : && nonimm_or_0_operand (operands[1], E_V2QImode)
11944 21676443 : && insn_condition_171 (operands, insn))
11945 : return 2193; /* *movv2qi_internal */
11946 4394556 : if (memory_operand (operands[0], E_V2QImode)
11947 46483 : && x86_64_const_vector_operand (operands[1], E_V2QImode)
11948 4394556 : && insn_condition_191 (operands, insn))
11949 : return 2194; /* *movv2qi_imm */
11950 4394556 : if (push_operand (operands[0], E_V2QImode)
11951 4394556 : && nonmemory_no_elim_operand (operands[1], E_V2QImode))
11952 : return 2207; /* *pushv2qi2 */
11953 : break;
11954 :
11955 4436834 : case E_P2QImode:
11956 4436834 : if (nonimmediate_operand (operands[0], E_P2QImode)
11957 1839662 : && nonimmediate_operand (operands[1], E_P2QImode)
11958 4541680 : && insn_condition_192 (operands, insn))
11959 : return 9025; /* *movp2qi_internal */
11960 : break;
11961 :
11962 4436798 : case E_P2HImode:
11963 4436798 : if (nonimmediate_operand (operands[0], E_P2HImode)
11964 1839626 : && nonimmediate_operand (operands[1], E_P2HImode)
11965 4541608 : && insn_condition_192 (operands, insn))
11966 : return 9026; /* *movp2hi_internal */
11967 : break;
11968 :
11969 : default:
11970 : break;
11971 : }
11972 786861348 : if (GET_CODE (x2) != MEM)
11973 : return -1;
11974 265025496 : x4 = XEXP (x2, 0);
11975 265025496 : operands[0] = x4;
11976 265025496 : if (!x86_64_movabs_operand (operands[0], E_DImode))
11977 : return -1;
11978 242525024 : operands[1] = x3;
11979 242525024 : switch (GET_MODE (x2))
11980 : {
11981 106669 : case E_QImode:
11982 106669 : if (!nonmemory_operand (operands[1], E_QImode)
11983 106669 : || !insn_condition_193 (operands, insn))
11984 106650 : return -1;
11985 : return 103; /* *movabsqi_1 */
11986 :
11987 57068 : case E_HImode:
11988 57068 : if (!nonmemory_operand (operands[1], E_HImode)
11989 57068 : || !insn_condition_193 (operands, insn))
11990 57054 : return -1;
11991 : return 104; /* *movabshi_1 */
11992 :
11993 163626 : case E_SImode:
11994 163626 : if (!nonmemory_operand (operands[1], E_SImode)
11995 163626 : || !insn_condition_193 (operands, insn))
11996 163600 : return -1;
11997 : return 105; /* *movabssi_1 */
11998 :
11999 129095 : case E_DImode:
12000 129095 : if (!nonmemory_operand (operands[1], E_DImode)
12001 129095 : || !insn_condition_193 (operands, insn))
12002 129080 : return -1;
12003 : return 106; /* *movabsdi_1 */
12004 :
12005 : default:
12006 : return -1;
12007 : }
12008 : }
12009 :
12010 : int
12011 6757947 : recog_31 (rtx x1 ATTRIBUTE_UNUSED,
12012 : rtx_insn *insn ATTRIBUTE_UNUSED,
12013 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12014 : {
12015 6757947 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12016 6757947 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
12017 6757947 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
12018 6757947 : int res ATTRIBUTE_UNUSED;
12019 6757947 : x2 = XEXP (x1, 0);
12020 6757947 : operands[0] = x2;
12021 6757947 : x3 = XEXP (x1, 1);
12022 6757947 : x4 = XEXP (x3, 0);
12023 6757947 : switch (GET_CODE (x4))
12024 : {
12025 6072590 : case CONST_INT:
12026 6072590 : case CONST:
12027 6072590 : case REG:
12028 6072590 : case SUBREG:
12029 6072590 : case MEM:
12030 6072590 : case LABEL_REF:
12031 6072590 : case SYMBOL_REF:
12032 6072590 : operands[1] = x4;
12033 6072590 : switch (GET_MODE (operands[0]))
12034 : {
12035 289013 : case E_TImode:
12036 289013 : if (!nonimmediate_operand (operands[0], E_TImode)
12037 289013 : || GET_MODE (x3) != E_TImode
12038 289013 : || !nonimmediate_operand (operands[1], E_DImode)
12039 575186 : || !insn_condition_52 (operands, insn))
12040 2840 : return -1;
12041 : return 179; /* zero_extendditi2 */
12042 :
12043 3656437 : case E_DImode:
12044 3656437 : if (GET_MODE (x3) != E_DImode)
12045 : return -1;
12046 3656437 : if (nonimmediate_operand (operands[0], E_DImode)
12047 3656437 : && x86_64_zext_operand (operands[1], E_SImode))
12048 : return 180; /* *zero_extendsidi2 */
12049 883832 : if (!register_operand (operands[0], E_DImode))
12050 : return -1;
12051 866926 : switch (GET_MODE (operands[1]))
12052 : {
12053 649863 : case E_QImode:
12054 649863 : if (!nonimmediate_operand (operands[1], E_QImode)
12055 649863 : || !insn_condition_52 (operands, insn))
12056 9890 : return -1;
12057 : return 181; /* zero_extendqidi2 */
12058 :
12059 202323 : case E_HImode:
12060 202323 : if (!nonimmediate_operand (operands[1], E_HImode)
12061 202323 : || !insn_condition_52 (operands, insn))
12062 2575 : return -1;
12063 : return 182; /* zero_extendhidi2 */
12064 :
12065 : default:
12066 : return -1;
12067 : }
12068 :
12069 1991741 : case E_SImode:
12070 1991741 : if (!register_operand (operands[0], E_SImode)
12071 1991741 : || GET_MODE (x3) != E_SImode)
12072 : return -1;
12073 1955493 : switch (GET_MODE (operands[1]))
12074 : {
12075 1595747 : case E_QImode:
12076 1595747 : if (!nonimmediate_operand (operands[1], E_QImode))
12077 : return -1;
12078 1583434 : if (pnum_clobbers != NULL
12079 1583434 : && insn_condition_289 (operands, insn))
12080 : {
12081 0 : *pnum_clobbers = 1;
12082 0 : return 183; /* zero_extendqisi2_and */
12083 : }
12084 1583434 : if (!insn_condition_290 (operands, insn))
12085 0 : return -1;
12086 : return 185; /* *zero_extendqisi2 */
12087 :
12088 359746 : case E_HImode:
12089 359746 : if (!nonimmediate_operand (operands[1], E_HImode))
12090 : return -1;
12091 355872 : if (pnum_clobbers != NULL
12092 355872 : && insn_condition_289 (operands, insn))
12093 : {
12094 0 : *pnum_clobbers = 1;
12095 0 : return 184; /* zero_extendhisi2_and */
12096 : }
12097 355872 : if (!insn_condition_290 (operands, insn))
12098 0 : return -1;
12099 : return 186; /* *zero_extendhisi2 */
12100 :
12101 : default:
12102 : return -1;
12103 : }
12104 :
12105 122780 : case E_HImode:
12106 122780 : if (!register_operand (operands[0], E_HImode)
12107 122303 : || GET_MODE (x3) != E_HImode
12108 245083 : || !nonimmediate_operand (operands[1], E_QImode))
12109 : return -1;
12110 120800 : if (pnum_clobbers != NULL
12111 120800 : && insn_condition_289 (operands, insn))
12112 : {
12113 0 : *pnum_clobbers = 1;
12114 0 : return 187; /* zero_extendqihi2_and */
12115 : }
12116 120800 : if (!insn_condition_290 (operands, insn))
12117 0 : return -1;
12118 : return 188; /* *zero_extendqihi2 */
12119 :
12120 : default:
12121 : return -1;
12122 : }
12123 :
12124 580 : case SIGN_EXTEND:
12125 580 : if (GET_MODE (x4) != E_SImode
12126 498 : || !register_operand (operands[0], E_DImode)
12127 1078 : || GET_MODE (x3) != E_DImode)
12128 : return -1;
12129 498 : x5 = XEXP (x4, 0);
12130 498 : operands[1] = x5;
12131 498 : switch (GET_MODE (operands[1]))
12132 : {
12133 92 : case E_HImode:
12134 92 : if (!nonimmediate_operand (operands[1], E_HImode)
12135 92 : || !insn_condition_52 (operands, insn))
12136 1 : return -1;
12137 : return 195; /* *extendhisi2_zext */
12138 :
12139 406 : case E_QImode:
12140 406 : if (!nonimmediate_operand (operands[1], E_QImode)
12141 406 : || !insn_condition_52 (operands, insn))
12142 17 : return -1;
12143 : return 197; /* *extendqisi2_zext */
12144 :
12145 : default:
12146 : return -1;
12147 : }
12148 :
12149 2 : case UNSIGNED_FIX:
12150 2 : if (GET_MODE (x4) != E_SImode
12151 2 : || !register_operand (operands[0], E_DImode)
12152 4 : || GET_MODE (x3) != E_DImode)
12153 : return -1;
12154 2 : x5 = XEXP (x4, 0);
12155 2 : operands[1] = x5;
12156 2 : switch (GET_MODE (operands[1]))
12157 : {
12158 2 : case E_HFmode:
12159 2 : if (!nonimmediate_operand (operands[1], E_HFmode)
12160 2 : || !insn_condition_291 (operands, insn))
12161 0 : return -1;
12162 : return 225; /* *fixuns_trunchfsi2zext */
12163 :
12164 0 : case E_SFmode:
12165 0 : if (!nonimmediate_operand (operands[1], E_SFmode)
12166 0 : || !insn_condition_292 (operands, insn))
12167 0 : return -1;
12168 : return 226; /* *fixuns_truncsfsi2_avx512f_zext */
12169 :
12170 0 : case E_DFmode:
12171 0 : if (!nonimmediate_operand (operands[1], E_DFmode)
12172 0 : || !insn_condition_292 (operands, insn))
12173 0 : return -1;
12174 : return 227; /* *fixuns_truncdfsi2_avx512f_zext */
12175 :
12176 : default:
12177 : return -1;
12178 : }
12179 :
12180 225933 : case PLUS:
12181 225933 : if (GET_MODE (x4) != E_QImode
12182 14948 : || !register_operand (operands[0], E_HImode)
12183 229150 : || GET_MODE (x3) != E_HImode)
12184 : return -1;
12185 3217 : x5 = XEXP (x4, 0);
12186 3217 : switch (GET_CODE (x5))
12187 : {
12188 3129 : case REG:
12189 3129 : case SUBREG:
12190 3129 : case MEM:
12191 3129 : operands[1] = x5;
12192 3129 : if (!nonimmediate_operand (operands[1], E_QImode))
12193 : return -1;
12194 3126 : x6 = XEXP (x4, 1);
12195 3126 : operands[2] = x6;
12196 3126 : if (!general_operand (operands[2], E_QImode))
12197 : return -1;
12198 3126 : if (insn_condition_293 (operands, insn))
12199 : return 291; /* *addqi_1_zexthi_nf */
12200 3126 : if (pnum_clobbers == NULL
12201 3126 : || !insn_condition_294 (operands, insn))
12202 : return -1;
12203 6 : *pnum_clobbers = 1;
12204 6 : return 292; /* *addqi_1_zexthi */
12205 :
12206 0 : case PLUS:
12207 0 : if (pnum_clobbers == NULL
12208 0 : || GET_MODE (x5) != E_QImode)
12209 : return -1;
12210 0 : x7 = XEXP (x5, 0);
12211 0 : if (!ix86_carry_flag_operator (x7, E_QImode))
12212 : return -1;
12213 0 : operands[3] = x7;
12214 0 : x8 = XEXP (x7, 0);
12215 0 : if (GET_CODE (x8) != REG
12216 0 : || REGNO (x8) != 17)
12217 : return -1;
12218 0 : x9 = XEXP (x7, 1);
12219 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
12220 : return -1;
12221 0 : x10 = XEXP (x5, 1);
12222 0 : operands[1] = x10;
12223 0 : if (!nonimmediate_operand (operands[1], E_QImode))
12224 : return -1;
12225 0 : x6 = XEXP (x4, 1);
12226 0 : operands[2] = x6;
12227 0 : if (!x86_64_general_operand (operands[2], E_QImode)
12228 0 : || !insn_condition_295 (operands, insn))
12229 : return -1;
12230 0 : *pnum_clobbers = 1;
12231 0 : return 482; /* *addqi3_carry_zexthi */
12232 :
12233 3 : case LTU:
12234 3 : case UNLT:
12235 3 : if (pnum_clobbers == NULL)
12236 : return -1;
12237 3 : operands[2] = x5;
12238 3 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
12239 1 : || pattern1118 (x4) != 0
12240 4 : || !insn_condition_296 (operands, insn))
12241 : return -1;
12242 1 : *pnum_clobbers = 1;
12243 1 : return 488; /* *addqi3_carry_zexthi_0 */
12244 :
12245 3 : case GE:
12246 3 : case GEU:
12247 3 : if (pnum_clobbers == NULL)
12248 : return -1;
12249 3 : operands[2] = x5;
12250 3 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
12251 1 : || pattern1118 (x4) != 0
12252 4 : || !insn_condition_296 (operands, insn))
12253 : return -1;
12254 1 : *pnum_clobbers = 1;
12255 1 : return 494; /* *addqi3_carry_zexthi_0r */
12256 :
12257 : default:
12258 : return -1;
12259 : }
12260 :
12261 67596 : case MINUS:
12262 67596 : if (GET_MODE (x4) != E_QImode
12263 2495 : || !register_operand (operands[0], E_HImode)
12264 68771 : || GET_MODE (x3) != E_HImode)
12265 : return -1;
12266 1175 : x6 = XEXP (x4, 1);
12267 1175 : operands[2] = x6;
12268 1175 : x5 = XEXP (x4, 0);
12269 1175 : switch (GET_CODE (x5))
12270 : {
12271 1170 : case REG:
12272 1170 : case SUBREG:
12273 1170 : case MEM:
12274 1170 : operands[1] = x5;
12275 1170 : if (!nonimmediate_operand (operands[1], E_QImode))
12276 : return -1;
12277 1170 : switch (GET_CODE (operands[2]))
12278 : {
12279 1164 : case CONST_INT:
12280 1164 : case CONST_WIDE_INT:
12281 1164 : case CONST_POLY_INT:
12282 1164 : case CONST_FIXED:
12283 1164 : case CONST_DOUBLE:
12284 1164 : case CONST_VECTOR:
12285 1164 : case CONST:
12286 1164 : case REG:
12287 1164 : case SUBREG:
12288 1164 : case MEM:
12289 1164 : case LABEL_REF:
12290 1164 : case SYMBOL_REF:
12291 1164 : case HIGH:
12292 1164 : if (!x86_64_general_operand (operands[2], E_QImode))
12293 : return -1;
12294 1164 : if (insn_condition_293 (operands, insn))
12295 : return 397; /* *subqi_1_zexthi_nf */
12296 1164 : if (pnum_clobbers == NULL
12297 1164 : || !insn_condition_294 (operands, insn))
12298 : return -1;
12299 6 : *pnum_clobbers = 1;
12300 6 : return 398; /* *subqi_1_zexthi */
12301 :
12302 3 : case LTU:
12303 3 : case UNLT:
12304 3 : if (pnum_clobbers == NULL
12305 3 : || !ix86_carry_flag_operator (operands[2], E_QImode))
12306 : return -1;
12307 1 : x11 = XEXP (x6, 0);
12308 1 : if (GET_CODE (x11) != REG
12309 1 : || REGNO (x11) != 17)
12310 : return -1;
12311 1 : x12 = XEXP (x6, 1);
12312 1 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
12313 1 : || !insn_condition_296 (operands, insn))
12314 : return -1;
12315 1 : *pnum_clobbers = 1;
12316 1 : return 534; /* *subqi3_carry_zexthi_0 */
12317 :
12318 3 : case GE:
12319 3 : case GEU:
12320 3 : if (pnum_clobbers == NULL
12321 3 : || !ix86_carry_flag_unset_operator (operands[2], E_QImode))
12322 : return -1;
12323 1 : x11 = XEXP (x6, 0);
12324 1 : if (GET_CODE (x11) != REG
12325 1 : || REGNO (x11) != 17)
12326 : return -1;
12327 1 : x12 = XEXP (x6, 1);
12328 1 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
12329 1 : || !insn_condition_296 (operands, insn))
12330 : return -1;
12331 1 : *pnum_clobbers = 1;
12332 1 : return 540; /* *subqi3_carry_zexthi_0r */
12333 :
12334 : default:
12335 : return -1;
12336 : }
12337 :
12338 0 : case MINUS:
12339 0 : if (pnum_clobbers == NULL
12340 0 : || GET_MODE (x5) != E_QImode)
12341 : return -1;
12342 0 : x10 = XEXP (x5, 1);
12343 0 : if (!ix86_carry_flag_operator (x10, E_QImode))
12344 : return -1;
12345 0 : operands[3] = x10;
12346 0 : x13 = XEXP (x10, 0);
12347 0 : if (GET_CODE (x13) != REG
12348 0 : || REGNO (x13) != 17)
12349 : return -1;
12350 0 : x14 = XEXP (x10, 1);
12351 0 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
12352 : return -1;
12353 0 : x7 = XEXP (x5, 0);
12354 0 : operands[1] = x7;
12355 0 : if (!nonimmediate_operand (operands[1], E_QImode)
12356 0 : || !x86_64_general_operand (operands[2], E_QImode)
12357 0 : || !insn_condition_295 (operands, insn))
12358 : return -1;
12359 0 : *pnum_clobbers = 1;
12360 0 : return 528; /* *subqi3_carry_zexthi */
12361 :
12362 : default:
12363 : return -1;
12364 : }
12365 :
12366 7053 : case AND:
12367 7053 : if (!register_operand (operands[0], E_HImode)
12368 7053 : || GET_MODE (x3) != E_HImode)
12369 : return -1;
12370 65 : x5 = XEXP (x4, 0);
12371 65 : switch (GET_CODE (x5))
12372 : {
12373 60 : case REG:
12374 60 : case SUBREG:
12375 60 : case MEM:
12376 60 : operands[1] = x5;
12377 60 : if (!nonimmediate_operand (operands[1], E_QImode)
12378 60 : || GET_MODE (x4) != E_QImode)
12379 : return -1;
12380 56 : x6 = XEXP (x4, 1);
12381 56 : operands[2] = x6;
12382 56 : if (!x86_64_general_operand (operands[2], E_QImode))
12383 : return -1;
12384 56 : if (insn_condition_293 (operands, insn))
12385 : return 740; /* *andqi_1_zexthi_nf */
12386 56 : if (pnum_clobbers == NULL
12387 56 : || !insn_condition_294 (operands, insn))
12388 : return -1;
12389 3 : *pnum_clobbers = 1;
12390 3 : return 741; /* *andqi_1_zexthi */
12391 :
12392 0 : case UNSPEC:
12393 0 : if (XVECLEN (x5, 0) != 2)
12394 : return -1;
12395 0 : x15 = XVECEXP (x5, 0, 0);
12396 0 : operands[1] = x15;
12397 0 : x16 = XVECEXP (x5, 0, 1);
12398 0 : operands[2] = x16;
12399 0 : x6 = XEXP (x4, 1);
12400 0 : operands[3] = x6;
12401 0 : switch (XINT (x5, 1))
12402 : {
12403 0 : case 157:
12404 0 : switch (pattern1130 (x4))
12405 : {
12406 : case 0:
12407 : if (!insn_condition_281 (operands, insn))
12408 : return -1;
12409 : return 6860; /* *avx512bw_testmv64qi3_zext_mask */
12410 :
12411 : case 1:
12412 : if (!insn_condition_282 (operands, insn))
12413 : return -1;
12414 : return 6863; /* *avx512vl_testmv32qi3_zext_mask */
12415 :
12416 : case 2:
12417 : if (!insn_condition_283 (operands, insn))
12418 : return -1;
12419 : return 6869; /* *avx512bw_testmv32hi3_zext_mask */
12420 :
12421 : case 3:
12422 : if (!insn_condition_284 (operands, insn))
12423 : return -1;
12424 : return 6866; /* *avx512vl_testmv16qi3_zext_mask */
12425 :
12426 : case 4:
12427 : if (!insn_condition_284 (operands, insn))
12428 : return -1;
12429 : return 6872; /* *avx512vl_testmv16hi3_zext_mask */
12430 :
12431 : case 5:
12432 : if (!insn_condition_285 (operands, insn))
12433 : return -1;
12434 : return 6878; /* *avx512f_testmv16si3_zext_mask */
12435 :
12436 0 : case 6:
12437 0 : if (!insn_condition_286 (operands, insn))
12438 0 : return -1;
12439 : return 6875; /* *avx512vl_testmv8hi3_zext_mask */
12440 :
12441 0 : case 7:
12442 0 : if (!insn_condition_287 (operands, insn))
12443 0 : return -1;
12444 : return 6881; /* *avx512vl_testmv8si3_zext_mask */
12445 :
12446 0 : case 8:
12447 0 : if (!insn_condition_287 (operands, insn))
12448 0 : return -1;
12449 : return 6884; /* *avx512vl_testmv4si3_zext_mask */
12450 :
12451 0 : case 9:
12452 0 : if (!insn_condition_288 (operands, insn))
12453 0 : return -1;
12454 : return 6887; /* *avx512f_testmv8di3_zext_mask */
12455 :
12456 0 : case 10:
12457 0 : if (!insn_condition_287 (operands, insn))
12458 0 : return -1;
12459 : return 6890; /* *avx512vl_testmv4di3_zext_mask */
12460 :
12461 0 : case 11:
12462 0 : if (!insn_condition_287 (operands, insn))
12463 0 : return -1;
12464 : return 6893; /* *avx512vl_testmv2di3_zext_mask */
12465 :
12466 : default:
12467 : return -1;
12468 : }
12469 :
12470 0 : case 158:
12471 0 : switch (pattern1130 (x4))
12472 : {
12473 : case 0:
12474 : if (!insn_condition_281 (operands, insn))
12475 : return -1;
12476 : return 6932; /* *avx512bw_testnmv64qi3_zext_mask */
12477 :
12478 : case 1:
12479 : if (!insn_condition_282 (operands, insn))
12480 : return -1;
12481 : return 6935; /* *avx512vl_testnmv32qi3_zext_mask */
12482 :
12483 : case 2:
12484 : if (!insn_condition_283 (operands, insn))
12485 : return -1;
12486 : return 6941; /* *avx512bw_testnmv32hi3_zext_mask */
12487 :
12488 : case 3:
12489 : if (!insn_condition_284 (operands, insn))
12490 : return -1;
12491 : return 6938; /* *avx512vl_testnmv16qi3_zext_mask */
12492 :
12493 : case 4:
12494 : if (!insn_condition_284 (operands, insn))
12495 : return -1;
12496 : return 6944; /* *avx512vl_testnmv16hi3_zext_mask */
12497 :
12498 : case 5:
12499 : if (!insn_condition_285 (operands, insn))
12500 : return -1;
12501 : return 6950; /* *avx512f_testnmv16si3_zext_mask */
12502 :
12503 0 : case 6:
12504 0 : if (!insn_condition_286 (operands, insn))
12505 0 : return -1;
12506 : return 6947; /* *avx512vl_testnmv8hi3_zext_mask */
12507 :
12508 0 : case 7:
12509 0 : if (!insn_condition_287 (operands, insn))
12510 0 : return -1;
12511 : return 6953; /* *avx512vl_testnmv8si3_zext_mask */
12512 :
12513 0 : case 8:
12514 0 : if (!insn_condition_287 (operands, insn))
12515 0 : return -1;
12516 : return 6956; /* *avx512vl_testnmv4si3_zext_mask */
12517 :
12518 0 : case 9:
12519 0 : if (!insn_condition_288 (operands, insn))
12520 0 : return -1;
12521 : return 6959; /* *avx512f_testnmv8di3_zext_mask */
12522 :
12523 0 : case 10:
12524 0 : if (!insn_condition_287 (operands, insn))
12525 0 : return -1;
12526 : return 6962; /* *avx512vl_testnmv4di3_zext_mask */
12527 :
12528 0 : case 11:
12529 0 : if (!insn_condition_287 (operands, insn))
12530 0 : return -1;
12531 : return 6965; /* *avx512vl_testnmv2di3_zext_mask */
12532 :
12533 : default:
12534 : return -1;
12535 : }
12536 :
12537 : default:
12538 : return -1;
12539 : }
12540 :
12541 : default:
12542 : return -1;
12543 : }
12544 :
12545 7028 : case IOR:
12546 7028 : if (pattern103 (x3) != 0)
12547 : return -1;
12548 32 : if (insn_condition_293 (operands, insn))
12549 : return 875; /* *iorqi_1_zexthi_nf */
12550 32 : if (pnum_clobbers == NULL
12551 32 : || !insn_condition_294 (operands, insn))
12552 : return -1;
12553 4 : *pnum_clobbers = 1;
12554 4 : return 876; /* *iorqi_1_zexthi */
12555 :
12556 7268 : case XOR:
12557 7268 : if (pattern103 (x3) != 0)
12558 : return -1;
12559 147 : if (insn_condition_293 (operands, insn))
12560 : return 877; /* *xorqi_1_zexthi_nf */
12561 147 : if (pnum_clobbers == NULL
12562 147 : || !insn_condition_294 (operands, insn))
12563 : return -1;
12564 4 : *pnum_clobbers = 1;
12565 4 : return 878; /* *xorqi_1_zexthi */
12566 :
12567 1911 : case NEG:
12568 1911 : if (pattern104 (x3) != 0)
12569 : return -1;
12570 171 : if (insn_condition_297 (operands, insn))
12571 : return 998; /* *negqi_1_zexthi_nf */
12572 171 : if (pnum_clobbers == NULL
12573 171 : || !insn_condition_298 (operands, insn))
12574 : return -1;
12575 1 : *pnum_clobbers = 1;
12576 1 : return 999; /* *negqi_1_zexthi */
12577 :
12578 1451 : case NOT:
12579 1451 : if (pattern104 (x3) != 0
12580 1451 : || !insn_condition_296 (operands, insn))
12581 1450 : return -1;
12582 : return 1071; /* *one_cmplqi2_1_zexthi */
12583 :
12584 11553 : case ASHIFT:
12585 11553 : if (pattern105 (x3) != 0)
12586 : return -1;
12587 8 : if (insn_condition_297 (operands, insn))
12588 : return 1177; /* *ashlqi3_1_zexthi_nf */
12589 8 : if (pnum_clobbers == NULL
12590 8 : || !insn_condition_298 (operands, insn))
12591 : return -1;
12592 2 : *pnum_clobbers = 1;
12593 2 : return 1178; /* *ashlqi3_1_zexthi */
12594 :
12595 29953 : case LSHIFTRT:
12596 29953 : if (pattern105 (x3) != 0)
12597 : return -1;
12598 504 : if (insn_condition_297 (operands, insn))
12599 : return 1318; /* *lshrqi3_1_zexthi_nf */
12600 504 : if (pnum_clobbers == NULL
12601 504 : || !insn_condition_298 (operands, insn))
12602 : return -1;
12603 2 : *pnum_clobbers = 1;
12604 2 : return 1319; /* *lshrqi3_1_zexthi */
12605 :
12606 12114 : case ASHIFTRT:
12607 12114 : if (pattern105 (x3) != 0)
12608 : return -1;
12609 2 : if (insn_condition_297 (operands, insn))
12610 : return 1320; /* *ashrqi3_1_zexthi_nf */
12611 2 : if (pnum_clobbers == NULL
12612 2 : || !insn_condition_298 (operands, insn))
12613 : return -1;
12614 2 : *pnum_clobbers = 1;
12615 2 : return 1321; /* *ashrqi3_1_zexthi */
12616 :
12617 12 : case ROTATE:
12618 12 : if (pattern105 (x3) != 0)
12619 : return -1;
12620 2 : if (insn_condition_297 (operands, insn))
12621 : return 1483; /* *rotlqi3_1_zexthi_nf */
12622 2 : if (pnum_clobbers == NULL
12623 2 : || !insn_condition_298 (operands, insn))
12624 : return -1;
12625 2 : *pnum_clobbers = 1;
12626 2 : return 1484; /* *rotlqi3_1_zexthi */
12627 :
12628 125 : case ROTATERT:
12629 125 : if (pattern105 (x3) != 0)
12630 : return -1;
12631 2 : if (insn_condition_297 (operands, insn))
12632 : return 1485; /* *rotrqi3_1_zexthi_nf */
12633 2 : if (pnum_clobbers == NULL
12634 2 : || !insn_condition_298 (operands, insn))
12635 : return -1;
12636 2 : *pnum_clobbers = 1;
12637 2 : return 1486; /* *rotrqi3_1_zexthi */
12638 :
12639 147691 : case VEC_SELECT:
12640 147691 : x6 = XEXP (x4, 1);
12641 147691 : if (GET_CODE (x6) != PARALLEL)
12642 : return -1;
12643 147691 : x5 = XEXP (x4, 0);
12644 147691 : operands[1] = x5;
12645 147691 : switch (XVECLEN (x6, 0))
12646 : {
12647 3895 : case 4:
12648 3895 : if (pattern637 (x3) != 0
12649 3895 : || !insn_condition_115 (operands, insn))
12650 3469 : return -1;
12651 : return 2465; /* sse4_1_zero_extendv4qiv4hi2 */
12652 :
12653 2368 : case 2:
12654 2368 : switch (pattern638 (x3))
12655 : {
12656 458 : case 0:
12657 458 : if (!insn_condition_115 (operands, insn))
12658 0 : return -1;
12659 : return 2467; /* sse4_1_zero_extendv2hiv2si2 */
12660 :
12661 27 : case 1:
12662 27 : if (!insn_condition_115 (operands, insn))
12663 0 : return -1;
12664 : return 2469; /* sse4_1_zero_extendv2qiv2si2 */
12665 :
12666 145 : case 2:
12667 145 : if (!insn_condition_92 (operands, insn))
12668 0 : return -1;
12669 : return 2471; /* sse4_1_zero_extendv2qiv2hi2 */
12670 :
12671 : default:
12672 : return -1;
12673 : }
12674 :
12675 121109 : case 1:
12676 121109 : if (!register_operand (operands[0], E_HImode)
12677 232 : || GET_MODE (x3) != E_HImode
12678 121341 : || GET_MODE (x4) != E_QImode)
12679 : return -1;
12680 232 : x17 = XVECEXP (x6, 0, 0);
12681 232 : operands[2] = x17;
12682 232 : switch (pattern1025 ())
12683 : {
12684 220 : case 0:
12685 220 : if (!insn_condition_115 (operands, insn))
12686 0 : return -1;
12687 : return 2487; /* *mmx_pextrb_zext */
12688 :
12689 0 : case 1:
12690 0 : if (!insn_condition_92 (operands, insn))
12691 0 : return -1;
12692 : return 2525; /* *pextrb_zext */
12693 :
12694 3 : case 2:
12695 3 : if (!insn_condition_92 (operands, insn))
12696 0 : return -1;
12697 : return 7130; /* *vec_extractv16qi_zext */
12698 :
12699 : default:
12700 : return -1;
12701 : }
12702 :
12703 : default:
12704 : return -1;
12705 : }
12706 :
12707 1882 : case UNSPEC:
12708 1882 : return recog_30 (x1, insn, pnum_clobbers);
12709 :
12710 : default:
12711 : return -1;
12712 : }
12713 : }
12714 :
12715 : int
12716 16124 : recog_49 (rtx x1 ATTRIBUTE_UNUSED,
12717 : rtx_insn *insn ATTRIBUTE_UNUSED,
12718 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12719 : {
12720 16124 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12721 16124 : rtx x2, x3, x4;
12722 16124 : int res ATTRIBUTE_UNUSED;
12723 16124 : switch (pattern2 (x1, pnum_clobbers))
12724 : {
12725 0 : case 0:
12726 0 : if (!insn_condition_414 (operands, insn))
12727 : return -1;
12728 0 : *pnum_clobbers = 1;
12729 0 : return 1425; /* *rotrqi3_mask_1 */
12730 :
12731 0 : case 1:
12732 0 : if (!insn_condition_415 (operands, insn))
12733 : return -1;
12734 0 : *pnum_clobbers = 1;
12735 0 : return 1427; /* *rotrhi3_mask_1 */
12736 :
12737 0 : case 2:
12738 0 : if (!insn_condition_416 (operands, insn))
12739 : return -1;
12740 0 : *pnum_clobbers = 1;
12741 0 : return 1441; /* *rotrqi3_add_1 */
12742 :
12743 0 : case 3:
12744 0 : if (!insn_condition_417 (operands, insn))
12745 : return -1;
12746 0 : *pnum_clobbers = 1;
12747 0 : return 1443; /* *rotrhi3_add_1 */
12748 :
12749 0 : case 4:
12750 0 : if (!insn_condition_416 (operands, insn))
12751 : return -1;
12752 0 : *pnum_clobbers = 1;
12753 0 : return 1457; /* *rotrqi3_sub_1 */
12754 :
12755 0 : case 5:
12756 0 : if (!insn_condition_417 (operands, insn))
12757 : return -1;
12758 0 : *pnum_clobbers = 1;
12759 0 : return 1459; /* *rotrhi3_sub_1 */
12760 :
12761 16077 : case 6:
12762 16077 : x2 = XEXP (x1, 0);
12763 16077 : operands[0] = x2;
12764 16077 : x3 = XEXP (x1, 1);
12765 16077 : switch (pattern305 (x3, pnum_clobbers))
12766 : {
12767 10 : case 0:
12768 10 : if (insn_condition_414 (operands, insn))
12769 : {
12770 4 : *pnum_clobbers = 1;
12771 4 : return 1417; /* *rotrqi3_mask */
12772 : }
12773 : break;
12774 :
12775 0 : case 1:
12776 0 : if (insn_condition_415 (operands, insn))
12777 : {
12778 0 : *pnum_clobbers = 1;
12779 0 : return 1419; /* *rotrhi3_mask */
12780 : }
12781 : break;
12782 :
12783 0 : case 2:
12784 0 : if (insn_condition_416 (operands, insn))
12785 : {
12786 0 : *pnum_clobbers = 1;
12787 0 : return 1433; /* *rotrqi3_add */
12788 : }
12789 : break;
12790 :
12791 0 : case 3:
12792 0 : if (insn_condition_417 (operands, insn))
12793 : {
12794 0 : *pnum_clobbers = 1;
12795 0 : return 1435; /* *rotrhi3_add */
12796 : }
12797 : break;
12798 :
12799 0 : case 4:
12800 0 : if (insn_condition_416 (operands, insn))
12801 : {
12802 0 : *pnum_clobbers = 1;
12803 0 : return 1449; /* *rotrqi3_sub */
12804 : }
12805 : break;
12806 :
12807 0 : case 5:
12808 0 : if (insn_condition_417 (operands, insn))
12809 : {
12810 0 : *pnum_clobbers = 1;
12811 0 : return 1451; /* *rotrhi3_sub */
12812 : }
12813 : break;
12814 :
12815 9748 : case 6:
12816 9748 : if (pnum_clobbers != NULL
12817 9478 : && pattern644 (x3) == 0
12818 9768 : && insn_condition_52 (operands, insn))
12819 : {
12820 20 : *pnum_clobbers = 2;
12821 20 : return 1467; /* ix86_rotrti3_doubleword */
12822 : }
12823 9728 : x4 = XEXP (x3, 1);
12824 9728 : if (XWINT (x4, 0) == 64L
12825 0 : && register_operand (operands[0], E_TImode)
12826 0 : && GET_MODE (x3) == E_TImode
12827 0 : && register_operand (operands[1], E_TImode)
12828 9728 : && insn_condition_52 (operands, insn))
12829 : return 1471; /* rotr64ti2_doubleword */
12830 : break;
12831 :
12832 : default:
12833 : break;
12834 : }
12835 16053 : x4 = XEXP (x3, 1);
12836 16053 : operands[2] = x4;
12837 16053 : switch (pattern306 (x1, pnum_clobbers))
12838 : {
12839 1345 : case 0:
12840 1345 : if (insn_condition_418 (operands, insn))
12841 : return 1507; /* *rotrqi3_1_nf */
12842 1345 : if (pnum_clobbers == NULL
12843 1345 : || !insn_condition_419 (operands, insn))
12844 : return -1;
12845 1323 : *pnum_clobbers = 1;
12846 1323 : return 1508; /* *rotrqi3_1 */
12847 :
12848 1316 : case 1:
12849 1316 : if (insn_condition_420 (operands, insn))
12850 : return 1511; /* *rotrhi3_1_nf */
12851 1316 : if (pnum_clobbers == NULL
12852 1316 : || !insn_condition_421 (operands, insn))
12853 : return -1;
12854 1308 : *pnum_clobbers = 1;
12855 1308 : return 1512; /* *rotrhi3_1 */
12856 :
12857 1 : case 2:
12858 1 : if (!insn_condition_194 (operands, insn))
12859 : return -1;
12860 1 : *pnum_clobbers = 1;
12861 1 : return 1514; /* *rotrqi3_1_slp */
12862 :
12863 1 : case 3:
12864 1 : if (!insn_condition_194 (operands, insn))
12865 : return -1;
12866 1 : *pnum_clobbers = 1;
12867 1 : return 1516; /* *rotrhi3_1_slp */
12868 :
12869 : default:
12870 : return -1;
12871 : }
12872 :
12873 : default:
12874 : return -1;
12875 : }
12876 : }
12877 :
12878 : int
12879 6661011 : recog_55 (rtx x1 ATTRIBUTE_UNUSED,
12880 : rtx_insn *insn ATTRIBUTE_UNUSED,
12881 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12882 : {
12883 6661011 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12884 6661011 : rtx x2, x3, x4, x5;
12885 6661011 : int res ATTRIBUTE_UNUSED;
12886 6661011 : x2 = XEXP (x1, 1);
12887 6661011 : switch (GET_CODE (x2))
12888 : {
12889 443729 : case LTU:
12890 443729 : switch (pattern48 (x1))
12891 : {
12892 0 : case 0:
12893 0 : if (insn_condition_50 (operands, insn))
12894 : return 559; /* *setcc_qi_negqi_ccc_1_cc */
12895 : break;
12896 :
12897 0 : case 1:
12898 0 : if (insn_condition_50 (operands, insn))
12899 : return 560; /* *setcc_qi_negqi_ccc_1_ccc */
12900 : break;
12901 :
12902 : default:
12903 : break;
12904 : }
12905 : break;
12906 :
12907 5847932 : case NE:
12908 5847932 : case EQ:
12909 5847932 : case GE:
12910 5847932 : case GT:
12911 5847932 : case LE:
12912 5847932 : case LT:
12913 5847932 : case LTGT:
12914 5847932 : case UNORDERED:
12915 5847932 : case ORDERED:
12916 5847932 : case UNEQ:
12917 5847932 : case UNGE:
12918 5847932 : case UNGT:
12919 5847932 : case UNLE:
12920 5847932 : case UNLT:
12921 5847932 : res = recog_53 (x1, insn, pnum_clobbers);
12922 5847932 : if (res >= 0)
12923 : return res;
12924 : break;
12925 :
12926 : default:
12927 : break;
12928 : }
12929 6614897 : operands[1] = x2;
12930 6614897 : x3 = XEXP (x2, 0);
12931 6614897 : if (GET_CODE (x3) == REG
12932 6614897 : && REGNO (x3) == 17)
12933 : {
12934 4208894 : res = recog_54 (x1, insn, pnum_clobbers);
12935 4208894 : if (res >= 0)
12936 : return res;
12937 : }
12938 2629653 : switch (GET_CODE (operands[1]))
12939 : {
12940 1739850 : case NE:
12941 1739850 : case EQ:
12942 1739850 : case GEU:
12943 1739850 : case GTU:
12944 1739850 : case LEU:
12945 1739850 : case LTU:
12946 1739850 : x4 = XEXP (x1, 0);
12947 1739850 : operands[0] = x4;
12948 1739850 : operands[2] = x3;
12949 1739850 : x5 = XEXP (x2, 1);
12950 1739850 : operands[3] = x5;
12951 1739850 : switch (GET_MODE (operands[0]))
12952 : {
12953 2266 : case E_V8QImode:
12954 2266 : if (pattern777 (
12955 : E_V8QImode) != 0
12956 2266 : || !insn_condition_24 (operands, insn))
12957 2266 : return -1;
12958 : return 2395; /* *xop_maskcmp_unsv8qi3 */
12959 :
12960 1967 : case E_V4HImode:
12961 1967 : if (pattern777 (
12962 : E_V4HImode) != 0
12963 1967 : || !insn_condition_24 (operands, insn))
12964 1967 : return -1;
12965 : return 2396; /* *xop_maskcmp_unsv4hi3 */
12966 :
12967 9553 : case E_V2SImode:
12968 9553 : if (pattern777 (
12969 : E_V2SImode) != 0
12970 9553 : || !insn_condition_24 (operands, insn))
12971 9553 : return -1;
12972 : return 2397; /* *xop_maskcmp_unsv2si3 */
12973 :
12974 1251 : case E_V4QImode:
12975 1251 : if (pattern777 (
12976 : E_V4QImode) != 0
12977 1251 : || !insn_condition_24 (operands, insn))
12978 1251 : return -1;
12979 : return 2398; /* *xop_maskcmp_unsv4qi3 */
12980 :
12981 899 : case E_V2QImode:
12982 899 : if (pattern777 (
12983 : E_V2QImode) != 0
12984 899 : || !insn_condition_24 (operands, insn))
12985 827 : return -1;
12986 : return 2399; /* *xop_maskcmp_unsv2qi3 */
12987 :
12988 909 : case E_V2HImode:
12989 909 : if (pattern777 (
12990 : E_V2HImode) != 0
12991 909 : || !insn_condition_24 (operands, insn))
12992 909 : return -1;
12993 : return 2400; /* *xop_maskcmp_unsv2hi3 */
12994 :
12995 : default:
12996 : return -1;
12997 : }
12998 :
12999 : default:
13000 : return -1;
13001 : }
13002 : }
13003 :
13004 : int
13005 4130278 : recog_62 (rtx x1 ATTRIBUTE_UNUSED,
13006 : rtx_insn *insn ATTRIBUTE_UNUSED,
13007 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13008 : {
13009 4130278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13010 4130278 : rtx x2, x3, x4, x5, x6, x7;
13011 4130278 : int res ATTRIBUTE_UNUSED;
13012 4130278 : x2 = XEXP (x1, 1);
13013 4130278 : x3 = XEXP (x2, 0);
13014 4130278 : switch (GET_CODE (x3))
13015 : {
13016 3570363 : case CONST_INT:
13017 3570363 : case CONST_WIDE_INT:
13018 3570363 : case CONST_POLY_INT:
13019 3570363 : case CONST_FIXED:
13020 3570363 : case CONST_DOUBLE:
13021 3570363 : case CONST_VECTOR:
13022 3570363 : case CONST:
13023 3570363 : case REG:
13024 3570363 : case SUBREG:
13025 3570363 : case MEM:
13026 3570363 : case LABEL_REF:
13027 3570363 : case SYMBOL_REF:
13028 3570363 : case HIGH:
13029 3570363 : operands[1] = x3;
13030 3570363 : res = recog_61 (x1, insn, pnum_clobbers);
13031 3570363 : if (res >= 0)
13032 : return res;
13033 3513134 : if (pnum_clobbers == NULL
13034 3356115 : || GET_CODE (x3) != SUBREG
13035 109281 : || maybe_ne (SUBREG_BYTE (x3), 0)
13036 3622227 : || GET_MODE (x3) != E_QImode)
13037 : return -1;
13038 2282 : x4 = XEXP (x3, 0);
13039 2282 : switch (GET_CODE (x4))
13040 : {
13041 456 : case ASHIFTRT:
13042 456 : case LSHIFTRT:
13043 456 : case SIGN_EXTRACT:
13044 456 : case ZERO_EXTRACT:
13045 456 : operands[3] = x4;
13046 456 : x5 = XEXP (x2, 1);
13047 456 : if (pattern629 (x5) != 0)
13048 : return -1;
13049 40 : x6 = XEXP (x5, 0);
13050 40 : operands[4] = x6;
13051 40 : if (GET_MODE (x2) != E_QImode)
13052 : return -1;
13053 40 : switch (pattern1116 (x1))
13054 : {
13055 2 : case 0:
13056 2 : if (!insn_condition_194 (operands, insn))
13057 : return -1;
13058 2 : *pnum_clobbers = 1;
13059 2 : return 413; /* *subqi_exthi_2_slp */
13060 :
13061 2 : case 1:
13062 2 : if (!insn_condition_194 (operands, insn))
13063 : return -1;
13064 2 : *pnum_clobbers = 1;
13065 2 : return 414; /* *subqi_extsi_2_slp */
13066 :
13067 2 : case 2:
13068 2 : if (!insn_condition_195 (operands, insn))
13069 : return -1;
13070 2 : *pnum_clobbers = 1;
13071 2 : return 415; /* *subqi_extdi_2_slp */
13072 :
13073 2 : case 3:
13074 2 : *pnum_clobbers = 1;
13075 2 : return 424; /* *subqi_ext2hi_0 */
13076 :
13077 2 : case 4:
13078 2 : *pnum_clobbers = 1;
13079 2 : return 425; /* *subqi_ext2si_0 */
13080 :
13081 2 : case 5:
13082 2 : if (!insn_condition_52 (operands, insn))
13083 : return -1;
13084 2 : *pnum_clobbers = 1;
13085 2 : return 426; /* *subqi_ext2di_0 */
13086 :
13087 : default:
13088 : return -1;
13089 : }
13090 :
13091 : default:
13092 : return -1;
13093 : }
13094 :
13095 83534 : case MINUS:
13096 83534 : if (pnum_clobbers == NULL)
13097 : return -1;
13098 83534 : x7 = XEXP (x1, 0);
13099 83534 : operands[0] = x7;
13100 83534 : switch (pattern321 (x2))
13101 : {
13102 5152 : case 0:
13103 5152 : switch (GET_MODE (operands[0]))
13104 : {
13105 22 : case E_QImode:
13106 22 : if (pattern1404 (x2,
13107 : E_QImode) != 0
13108 22 : || !insn_condition_474 (operands, insn))
13109 : return -1;
13110 9 : *pnum_clobbers = 1;
13111 9 : return 504; /* subqi3_carry */
13112 :
13113 9 : case E_HImode:
13114 9 : if (pattern1404 (x2,
13115 : E_HImode) != 0
13116 9 : || !insn_condition_475 (operands, insn))
13117 : return -1;
13118 6 : *pnum_clobbers = 1;
13119 6 : return 505; /* subhi3_carry */
13120 :
13121 : default:
13122 : return -1;
13123 : }
13124 :
13125 18 : case 1:
13126 18 : switch (GET_MODE (operands[0]))
13127 : {
13128 0 : case E_QImode:
13129 0 : if (pattern1304 (x2,
13130 : E_QImode) != 0
13131 0 : || !insn_condition_476 (operands, insn))
13132 : return -1;
13133 0 : *pnum_clobbers = 1;
13134 0 : return 599; /* *subqi3_eq */
13135 :
13136 0 : case E_HImode:
13137 0 : if (pattern1304 (x2,
13138 : E_HImode) != 0
13139 0 : || !insn_condition_477 (operands, insn))
13140 : return -1;
13141 0 : *pnum_clobbers = 1;
13142 0 : return 600; /* *subhi3_eq */
13143 :
13144 : default:
13145 : return -1;
13146 : }
13147 :
13148 : default:
13149 : return -1;
13150 : }
13151 :
13152 15515 : case VEC_SELECT:
13153 15515 : switch (pattern116 (x1))
13154 : {
13155 1193 : case 0:
13156 1193 : x4 = XEXP (x3, 0);
13157 1193 : operands[1] = x4;
13158 1193 : if (pattern1013 (x2) != 0)
13159 : return -1;
13160 126 : x5 = XEXP (x2, 1);
13161 126 : x6 = XEXP (x5, 0);
13162 126 : if (!rtx_equal_p (x6, operands[1]))
13163 : return -1;
13164 126 : switch (GET_MODE (operands[0]))
13165 : {
13166 50 : case E_SFmode:
13167 50 : if (pattern1555 (x2,
13168 : E_SFmode,
13169 : E_V2SFmode) != 0
13170 50 : || !insn_condition_478 (operands, insn))
13171 48 : return -1;
13172 : return 2227; /* *mmx_hsubv2sf3_low */
13173 :
13174 17 : case E_DFmode:
13175 17 : if (pattern1555 (x2,
13176 : E_DFmode,
13177 : E_V2DFmode) != 0
13178 17 : || !insn_condition_479 (operands, insn))
13179 11 : return -1;
13180 : return 3337; /* *sse3_hsubv2df3_low */
13181 :
13182 : default:
13183 : return -1;
13184 : }
13185 :
13186 759 : case 1:
13187 759 : switch (pattern902 (x2))
13188 : {
13189 115 : case 0:
13190 115 : if (!insn_condition_121 (operands, insn))
13191 0 : return -1;
13192 : return 7263; /* ssse3_phsubwv4hi3 */
13193 :
13194 119 : case 1:
13195 119 : if (!insn_condition_121 (operands, insn))
13196 0 : return -1;
13197 : return 7270; /* ssse3_phsubdv2si3 */
13198 :
13199 : default:
13200 : return -1;
13201 : }
13202 :
13203 : default:
13204 : return -1;
13205 : }
13206 :
13207 : default:
13208 : return -1;
13209 : }
13210 : }
13211 :
13212 : int
13213 219813 : recog_65 (rtx x1 ATTRIBUTE_UNUSED,
13214 : rtx_insn *insn ATTRIBUTE_UNUSED,
13215 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13216 : {
13217 219813 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13218 219813 : rtx x2, x3, x4, x5, x6, x7, x8;
13219 219813 : int res ATTRIBUTE_UNUSED;
13220 219813 : x2 = XEXP (x1, 1);
13221 219813 : switch (XVECLEN (x2, 0))
13222 : {
13223 170036 : case 1:
13224 170036 : switch (XINT (x2, 1))
13225 : {
13226 79 : case 20:
13227 79 : if (GET_MODE (x2) != E_BLKmode)
13228 : return -1;
13229 79 : x3 = XVECEXP (x2, 0, 0);
13230 79 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13231 : return -1;
13232 79 : x4 = XEXP (x1, 0);
13233 79 : operands[0] = x4;
13234 79 : if (!memory_operand (operands[0], E_BLKmode)
13235 79 : || !insn_condition_500 (operands, insn))
13236 0 : return -1;
13237 : return 2058; /* fxsave */
13238 :
13239 98 : case 22:
13240 98 : if (GET_MODE (x2) != E_BLKmode)
13241 : return -1;
13242 98 : x3 = XVECEXP (x2, 0, 0);
13243 98 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13244 : return -1;
13245 98 : x4 = XEXP (x1, 0);
13246 98 : operands[0] = x4;
13247 98 : if (!memory_operand (operands[0], E_BLKmode)
13248 98 : || !insn_condition_501 (operands, insn))
13249 0 : return -1;
13250 : return 2059; /* fxsave64 */
13251 :
13252 0 : case 24:
13253 0 : if (GET_MODE (x2) != E_BLKmode)
13254 : return -1;
13255 0 : x4 = XEXP (x1, 0);
13256 0 : operands[0] = x4;
13257 0 : if (!memory_operand (operands[0], E_BLKmode))
13258 : return -1;
13259 0 : x3 = XVECEXP (x2, 0, 0);
13260 0 : operands[1] = x3;
13261 0 : if (!register_operand (operands[1], E_DImode)
13262 0 : || !insn_condition_502 (operands, insn))
13263 0 : return -1;
13264 : return 2062; /* xsave */
13265 :
13266 0 : case 28:
13267 0 : if (GET_MODE (x2) != E_BLKmode)
13268 : return -1;
13269 0 : x4 = XEXP (x1, 0);
13270 0 : operands[0] = x4;
13271 0 : if (!memory_operand (operands[0], E_BLKmode))
13272 : return -1;
13273 0 : x3 = XVECEXP (x2, 0, 0);
13274 0 : operands[1] = x3;
13275 0 : if (!register_operand (operands[1], E_DImode)
13276 0 : || !insn_condition_503 (operands, insn))
13277 0 : return -1;
13278 : return 2063; /* xsaveopt */
13279 :
13280 0 : case 34:
13281 0 : if (GET_MODE (x2) != E_BLKmode)
13282 : return -1;
13283 0 : x4 = XEXP (x1, 0);
13284 0 : operands[0] = x4;
13285 0 : if (!memory_operand (operands[0], E_BLKmode))
13286 : return -1;
13287 0 : x3 = XVECEXP (x2, 0, 0);
13288 0 : operands[1] = x3;
13289 0 : if (!register_operand (operands[1], E_DImode)
13290 0 : || !insn_condition_504 (operands, insn))
13291 0 : return -1;
13292 : return 2064; /* xsavec */
13293 :
13294 0 : case 30:
13295 0 : if (GET_MODE (x2) != E_BLKmode)
13296 : return -1;
13297 0 : x4 = XEXP (x1, 0);
13298 0 : operands[0] = x4;
13299 0 : if (!memory_operand (operands[0], E_BLKmode))
13300 : return -1;
13301 0 : x3 = XVECEXP (x2, 0, 0);
13302 0 : operands[1] = x3;
13303 0 : if (!register_operand (operands[1], E_DImode)
13304 0 : || !insn_condition_505 (operands, insn))
13305 0 : return -1;
13306 : return 2065; /* xsaves */
13307 :
13308 0 : case 40:
13309 0 : if (pnum_clobbers == NULL
13310 0 : || GET_MODE (x2) != E_BLKmode)
13311 : return -1;
13312 0 : x3 = XVECEXP (x2, 0, 0);
13313 0 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13314 : return -1;
13315 0 : x4 = XEXP (x1, 0);
13316 0 : operands[0] = x4;
13317 0 : if (!memory_operand (operands[0], E_BLKmode)
13318 0 : || !insn_condition_74 (operands, insn))
13319 : return -1;
13320 0 : *pnum_clobbers = 8;
13321 0 : return 2084; /* fnstenv */
13322 :
13323 44322 : case 42:
13324 44322 : if (GET_MODE (x2) != E_HImode)
13325 : return -1;
13326 44322 : x3 = XVECEXP (x2, 0, 0);
13327 44322 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13328 : return -1;
13329 44322 : x4 = XEXP (x1, 0);
13330 44322 : operands[0] = x4;
13331 44322 : if (!nonimmediate_operand (operands[0], E_HImode)
13332 44322 : || !insn_condition_74 (operands, insn))
13333 0 : return -1;
13334 : return 2086; /* fnstsw */
13335 :
13336 144 : case 49:
13337 144 : if (pattern80 (x1,
13338 : E_CCZmode) != 0
13339 144 : || !insn_condition_506 (operands, insn))
13340 0 : return -1;
13341 : return 2129; /* xtest_1 */
13342 :
13343 64 : case 73:
13344 64 : if (pattern80 (x1,
13345 : E_CCCmode) != 0
13346 64 : || !insn_condition_507 (operands, insn))
13347 0 : return -1;
13348 : return 2155; /* testui */
13349 :
13350 863 : case 87:
13351 863 : if (GET_MODE (x2) != E_BLKmode)
13352 : return -1;
13353 863 : x3 = XVECEXP (x2, 0, 0);
13354 863 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13355 : return -1;
13356 863 : x4 = XEXP (x1, 0);
13357 863 : operands[0] = x4;
13358 863 : if (!memory_operand (operands[0], E_BLKmode)
13359 863 : || !insn_condition_508 (operands, insn))
13360 0 : return -1;
13361 : return 2171; /* sttilecfg */
13362 :
13363 211 : case 88:
13364 211 : x4 = XEXP (x1, 0);
13365 211 : operands[0] = x4;
13366 211 : x3 = XVECEXP (x2, 0, 0);
13367 211 : operands[1] = x3;
13368 211 : switch (GET_MODE (operands[0]))
13369 : {
13370 46 : case E_QImode:
13371 46 : if (!register_operand (operands[0], E_QImode)
13372 45 : || GET_MODE (x2) != E_QImode
13373 45 : || !memory_operand (operands[1], E_QImode)
13374 46 : || !insn_condition_509 (operands, insn))
13375 1 : return -1;
13376 : return 2172; /* movrsqi */
13377 :
13378 51 : case E_HImode:
13379 51 : if (!register_operand (operands[0], E_HImode)
13380 49 : || GET_MODE (x2) != E_HImode
13381 49 : || !memory_operand (operands[1], E_HImode)
13382 51 : || !insn_condition_509 (operands, insn))
13383 6 : return -1;
13384 : return 2173; /* movrshi */
13385 :
13386 : default:
13387 : return -1;
13388 : }
13389 :
13390 38 : case 108:
13391 38 : if (pattern79 (x1,
13392 : E_V32SImode,
13393 : 92) != 0)
13394 : return -1;
13395 38 : x3 = XVECEXP (x2, 0, 0);
13396 38 : operands[0] = x3;
13397 38 : if (!const_0_to_7_operand (operands[0], E_QImode)
13398 38 : || !insn_condition_510 (operands, insn))
13399 0 : return -1;
13400 : return 9809; /* tilezero */
13401 :
13402 : default:
13403 : return -1;
13404 : }
13405 :
13406 29259 : case 2:
13407 29259 : switch (XINT (x2, 1))
13408 : {
13409 154 : case 24:
13410 154 : if (pattern117 (x1) != 0
13411 154 : || !insn_condition_511 (operands, insn))
13412 66 : return -1;
13413 : return 2066; /* xsave_rex64 */
13414 :
13415 154 : case 28:
13416 154 : if (pattern117 (x1) != 0
13417 154 : || !insn_condition_512 (operands, insn))
13418 66 : return -1;
13419 : return 2067; /* xsaveopt_rex64 */
13420 :
13421 149 : case 34:
13422 149 : if (pattern117 (x1) != 0
13423 149 : || !insn_condition_513 (operands, insn))
13424 60 : return -1;
13425 : return 2068; /* xsavec_rex64 */
13426 :
13427 147 : case 30:
13428 147 : if (pattern117 (x1) != 0
13429 147 : || !insn_condition_514 (operands, insn))
13430 58 : return -1;
13431 : return 2069; /* xsaves_rex64 */
13432 :
13433 187 : case 26:
13434 187 : if (pattern117 (x1) != 0
13435 187 : || !insn_condition_511 (operands, insn))
13436 89 : return -1;
13437 : return 2070; /* xsave64 */
13438 :
13439 154 : case 29:
13440 154 : if (pattern117 (x1) != 0
13441 154 : || !insn_condition_512 (operands, insn))
13442 66 : return -1;
13443 : return 2071; /* xsaveopt64 */
13444 :
13445 149 : case 35:
13446 149 : if (pattern117 (x1) != 0
13447 149 : || !insn_condition_513 (operands, insn))
13448 60 : return -1;
13449 : return 2072; /* xsavec64 */
13450 :
13451 147 : case 32:
13452 147 : if (pattern117 (x1) != 0
13453 147 : || !insn_condition_514 (operands, insn))
13454 58 : return -1;
13455 : return 2073; /* xsaves64 */
13456 :
13457 84 : case 78:
13458 84 : switch (pattern118 (x1))
13459 : {
13460 0 : case 0:
13461 0 : if (!insn_condition_515 (operands, insn))
13462 0 : return -1;
13463 : return 2149; /* enqcmd_si */
13464 :
13465 77 : case 1:
13466 77 : if (!insn_condition_516 (operands, insn))
13467 0 : return -1;
13468 : return 2151; /* enqcmd_di */
13469 :
13470 : default:
13471 : return -1;
13472 : }
13473 :
13474 84 : case 79:
13475 84 : switch (pattern118 (x1))
13476 : {
13477 0 : case 0:
13478 0 : if (!insn_condition_515 (operands, insn))
13479 0 : return -1;
13480 : return 2150; /* enqcmds_si */
13481 :
13482 77 : case 1:
13483 77 : if (!insn_condition_516 (operands, insn))
13484 0 : return -1;
13485 : return 2152; /* enqcmds_di */
13486 :
13487 : default:
13488 : return -1;
13489 : }
13490 :
13491 0 : case 68:
13492 0 : if (pattern119 (x1) != 0
13493 0 : || !insn_condition_517 (operands, insn))
13494 0 : return -1;
13495 : return 2157; /* umwait */
13496 :
13497 0 : case 70:
13498 0 : if (pattern119 (x1) != 0
13499 0 : || !insn_condition_517 (operands, insn))
13500 0 : return -1;
13501 : return 2161; /* tpause */
13502 :
13503 6265 : case 127:
13504 6265 : if (pnum_clobbers == NULL)
13505 : return -1;
13506 6265 : x4 = XEXP (x1, 0);
13507 6265 : operands[0] = x4;
13508 6265 : x5 = XVECEXP (x2, 0, 1);
13509 6265 : operands[2] = x5;
13510 6265 : if (!const_int_operand (operands[2], E_SImode))
13511 : return -1;
13512 6265 : x3 = XVECEXP (x2, 0, 0);
13513 6265 : switch (GET_CODE (x3))
13514 : {
13515 3509 : case PLUS:
13516 3509 : switch (pattern907 (x2))
13517 : {
13518 0 : case 0:
13519 0 : *pnum_clobbers = 1;
13520 0 : return 9876; /* atomic_addqi */
13521 :
13522 0 : case 1:
13523 0 : *pnum_clobbers = 1;
13524 0 : return 9877; /* atomic_addhi */
13525 :
13526 : default:
13527 : return -1;
13528 : }
13529 :
13530 337 : case MINUS:
13531 337 : switch (pattern907 (x2))
13532 : {
13533 0 : case 0:
13534 0 : *pnum_clobbers = 1;
13535 0 : return 9880; /* atomic_subqi */
13536 :
13537 0 : case 1:
13538 0 : *pnum_clobbers = 1;
13539 0 : return 9881; /* atomic_subhi */
13540 :
13541 : default:
13542 : return -1;
13543 : }
13544 :
13545 693 : case AND:
13546 693 : switch (pattern907 (x2))
13547 : {
13548 0 : case 0:
13549 0 : *pnum_clobbers = 1;
13550 0 : return 9884; /* atomic_andqi */
13551 :
13552 0 : case 1:
13553 0 : *pnum_clobbers = 1;
13554 0 : return 9887; /* atomic_andhi */
13555 :
13556 : default:
13557 : return -1;
13558 : }
13559 :
13560 950 : case IOR:
13561 950 : switch (pattern907 (x2))
13562 : {
13563 0 : case 0:
13564 0 : *pnum_clobbers = 1;
13565 0 : return 9885; /* atomic_orqi */
13566 :
13567 0 : case 1:
13568 0 : *pnum_clobbers = 1;
13569 0 : return 9888; /* atomic_orhi */
13570 :
13571 : default:
13572 : return -1;
13573 : }
13574 :
13575 302 : case XOR:
13576 302 : switch (pattern907 (x2))
13577 : {
13578 0 : case 0:
13579 0 : *pnum_clobbers = 1;
13580 0 : return 9886; /* atomic_xorqi */
13581 :
13582 0 : case 1:
13583 0 : *pnum_clobbers = 1;
13584 0 : return 9889; /* atomic_xorhi */
13585 :
13586 : default:
13587 : return -1;
13588 : }
13589 :
13590 : default:
13591 : return -1;
13592 : }
13593 :
13594 : default:
13595 : return -1;
13596 : }
13597 :
13598 1040 : case 3:
13599 1040 : x4 = XEXP (x1, 0);
13600 1040 : if (GET_CODE (x4) != REG)
13601 : return -1;
13602 1040 : x3 = XVECEXP (x2, 0, 0);
13603 1040 : operands[0] = x3;
13604 1040 : x5 = XVECEXP (x2, 0, 1);
13605 1040 : operands[1] = x5;
13606 1040 : x6 = XVECEXP (x2, 0, 2);
13607 1040 : operands[2] = x6;
13608 1040 : switch (XINT (x2, 1))
13609 : {
13610 151 : case 15:
13611 151 : if (GET_MODE (x2) != E_CCCmode
13612 151 : || REGNO (x4) != 17
13613 151 : || GET_MODE (x4) != E_CCCmode
13614 151 : || !nonimmediate_operand (operands[1], E_SImode)
13615 302 : || !const_int_operand (operands[2], E_SImode))
13616 : return -1;
13617 151 : switch (GET_MODE (operands[0]))
13618 : {
13619 72 : case E_SImode:
13620 72 : if (!register_operand (operands[0], E_SImode)
13621 72 : || !insn_condition_518 (operands, insn))
13622 0 : return -1;
13623 : return 2094; /* lwp_lwpinssi */
13624 :
13625 79 : case E_DImode:
13626 79 : if (!register_operand (operands[0], E_DImode)
13627 79 : || !insn_condition_519 (operands, insn))
13628 0 : return -1;
13629 : return 2095; /* lwp_lwpinsdi */
13630 :
13631 : default:
13632 : return -1;
13633 : }
13634 :
13635 220 : case 68:
13636 220 : if (pattern780 (x1) != 0
13637 220 : || !insn_condition_520 (operands, insn))
13638 117 : return -1;
13639 : return 2158; /* umwait_rex64 */
13640 :
13641 235 : case 70:
13642 235 : if (pattern780 (x1) != 0
13643 235 : || !insn_condition_520 (operands, insn))
13644 130 : return -1;
13645 : return 2162; /* tpause_rex64 */
13646 :
13647 59 : case 113:
13648 59 : if (pattern781 (x1) != 0
13649 59 : || !insn_condition_510 (operands, insn))
13650 2 : return -1;
13651 : return 9822; /* tilemovrow_insert */
13652 :
13653 61 : case 114:
13654 61 : if (pattern781 (x1) != 0
13655 61 : || !insn_condition_510 (operands, insn))
13656 4 : return -1;
13657 : return 9823; /* tilemovcol_insert */
13658 :
13659 57 : case 115:
13660 57 : if (pattern782 (x1,
13661 : E_V32BFmode,
13662 : E_V32SFmode) != 0
13663 57 : || !insn_condition_510 (operands, insn))
13664 7 : return -1;
13665 : return 9824; /* top2bf16ps */
13666 :
13667 67 : case 116:
13668 67 : if (pattern782 (x1,
13669 : E_V64QImode,
13670 : E_V32SImode) != 0
13671 67 : || !insn_condition_510 (operands, insn))
13672 5 : return -1;
13673 : return 9825; /* top4bssd */
13674 :
13675 63 : case 117:
13676 63 : if (pattern782 (x1,
13677 : E_V64QImode,
13678 : E_V32SImode) != 0
13679 63 : || !insn_condition_510 (operands, insn))
13680 1 : return -1;
13681 : return 9826; /* top4bsud */
13682 :
13683 63 : case 118:
13684 63 : if (pattern782 (x1,
13685 : E_V64QImode,
13686 : E_V32SImode) != 0
13687 63 : || !insn_condition_510 (operands, insn))
13688 1 : return -1;
13689 : return 9827; /* top4busd */
13690 :
13691 63 : case 119:
13692 63 : if (pattern782 (x1,
13693 : E_V64QImode,
13694 : E_V32SImode) != 0
13695 63 : || !insn_condition_510 (operands, insn))
13696 1 : return -1;
13697 : return 9828; /* top4buud */
13698 :
13699 : default:
13700 : return -1;
13701 : }
13702 :
13703 1204 : case 5:
13704 1204 : x7 = XVECEXP (x2, 0, 4);
13705 1204 : if (GET_CODE (x7) != REG
13706 315 : || REGNO (x7) != 93
13707 315 : || GET_MODE (x7) != E_V32SImode
13708 1519 : || pattern436 (x1,
13709 : E_V32SFmode,
13710 : 92) != 0)
13711 : return -1;
13712 315 : x3 = XVECEXP (x2, 0, 0);
13713 315 : operands[0] = x3;
13714 315 : if (!const_0_to_7_operand (operands[0], E_QImode))
13715 : return -1;
13716 315 : x5 = XVECEXP (x2, 0, 1);
13717 315 : operands[1] = x5;
13718 315 : if (!register_operand (operands[1], E_V64QImode))
13719 : return -1;
13720 310 : x6 = XVECEXP (x2, 0, 2);
13721 310 : operands[2] = x6;
13722 310 : if (!register_operand (operands[2], E_V64QImode))
13723 : return -1;
13724 310 : x8 = XVECEXP (x2, 0, 3);
13725 310 : operands[3] = x8;
13726 310 : if (!const_0_to_255_operand (operands[3], E_SImode))
13727 : return -1;
13728 310 : switch (XINT (x2, 1))
13729 : {
13730 62 : case 120:
13731 62 : if (!insn_condition_510 (operands, insn))
13732 0 : return -1;
13733 : return 9829; /* top4mxbf8ps */
13734 :
13735 62 : case 121:
13736 62 : if (!insn_condition_510 (operands, insn))
13737 0 : return -1;
13738 : return 9830; /* top4mxbhf8ps */
13739 :
13740 62 : case 122:
13741 62 : if (!insn_condition_510 (operands, insn))
13742 0 : return -1;
13743 : return 9831; /* top4mxhbf8ps */
13744 :
13745 62 : case 123:
13746 62 : if (!insn_condition_510 (operands, insn))
13747 0 : return -1;
13748 : return 9832; /* top4mxhf8ps */
13749 :
13750 62 : case 124:
13751 62 : if (!insn_condition_510 (operands, insn))
13752 0 : return -1;
13753 : return 9833; /* top4mxbssps */
13754 :
13755 : default:
13756 : return -1;
13757 : }
13758 :
13759 : default:
13760 : return -1;
13761 : }
13762 : }
13763 :
13764 : int
13765 958113 : recog_77 (rtx x1 ATTRIBUTE_UNUSED,
13766 : rtx_insn *insn ATTRIBUTE_UNUSED,
13767 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13768 : {
13769 958113 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13770 958113 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
13771 958113 : rtx x10, x11, x12, x13, x14, x15;
13772 958113 : int res ATTRIBUTE_UNUSED;
13773 958113 : x2 = XEXP (x1, 1);
13774 958113 : x3 = XEXP (x2, 0);
13775 958113 : x4 = XEXP (x3, 0);
13776 958113 : switch (GET_CODE (x4))
13777 : {
13778 600166 : case REG:
13779 600166 : case SUBREG:
13780 600166 : case MEM:
13781 600166 : x5 = XEXP (x3, 1);
13782 600166 : switch (GET_CODE (x5))
13783 : {
13784 599619 : case CONST_INT:
13785 599619 : case CONST_WIDE_INT:
13786 599619 : case CONST_POLY_INT:
13787 599619 : case CONST_FIXED:
13788 599619 : case CONST_DOUBLE:
13789 599619 : case CONST_VECTOR:
13790 599619 : case CONST:
13791 599619 : case REG:
13792 599619 : case SUBREG:
13793 599619 : case LABEL_REF:
13794 599619 : case SYMBOL_REF:
13795 599619 : case HIGH:
13796 599619 : x6 = XEXP (x2, 1);
13797 599619 : switch (GET_CODE (x6))
13798 : {
13799 26078 : case ZERO_EXTEND:
13800 26078 : if (pattern138 (x2) != 0
13801 26078 : || !insn_condition_572 (operands, insn))
13802 24705 : return -1;
13803 : return 928; /* *concatsidi3_1 */
13804 :
13805 73915 : case CONST_INT:
13806 73915 : case CONST_WIDE_INT:
13807 73915 : operands[3] = x6;
13808 73915 : if (!const_scalar_int_operand (operands[3], E_DImode)
13809 73910 : || !nonimmediate_operand (operands[0], E_DImode)
13810 56971 : || GET_MODE (x2) != E_DImode
13811 130886 : || GET_MODE (x3) != E_DImode)
13812 : return -1;
13813 56971 : operands[1] = x4;
13814 56971 : if (!register_operand (operands[1], E_DImode))
13815 : return -1;
13816 18570 : operands[2] = x5;
13817 18570 : if (!const_int_operand (operands[2], E_QImode)
13818 18570 : || !insn_condition_573 (operands, insn))
13819 18567 : return -1;
13820 : return 964; /* *concatsidi3_5 */
13821 :
13822 6751 : case SUBREG:
13823 6751 : switch (pattern139 (x2,
13824 : LSHIFTRT))
13825 : {
13826 0 : case 0:
13827 0 : operands[2] = x5;
13828 0 : if (pattern1406 (x2) == 0)
13829 : {
13830 0 : if (insn_condition_564 (operands, insn))
13831 : return 1110; /* *x86_64_shld_1_nf */
13832 0 : if (pnum_clobbers != NULL
13833 0 : && insn_condition_565 (operands, insn))
13834 : {
13835 0 : *pnum_clobbers = 1;
13836 0 : return 1111; /* *x86_64_shld_1 */
13837 : }
13838 : }
13839 0 : operands[3] = x5;
13840 0 : if (pattern1407 (x2) != 0)
13841 : return -1;
13842 0 : if (insn_condition_566 (operands, insn))
13843 : return 1116; /* *x86_64_shld_ndd_1_nf */
13844 0 : if (pnum_clobbers == NULL
13845 0 : || !insn_condition_567 (operands, insn))
13846 : return -1;
13847 0 : *pnum_clobbers = 1;
13848 0 : return 1117; /* *x86_64_shld_ndd_1 */
13849 :
13850 0 : case 1:
13851 0 : operands[2] = x5;
13852 0 : if (pattern1408 (x2) == 0)
13853 : {
13854 0 : if (insn_condition_574 (operands, insn))
13855 : return 1146; /* *x86_shld_1_nf */
13856 0 : if (pnum_clobbers != NULL
13857 0 : && insn_condition_575 (operands, insn))
13858 : {
13859 0 : *pnum_clobbers = 1;
13860 0 : return 1147; /* *x86_shld_1 */
13861 : }
13862 : }
13863 0 : operands[3] = x5;
13864 0 : if (pattern1409 (x2) != 0)
13865 : return -1;
13866 0 : if (insn_condition_576 (operands, insn))
13867 : return 1152; /* *x86_shld_ndd_1_nf */
13868 0 : if (pnum_clobbers == NULL
13869 0 : || !insn_condition_577 (operands, insn))
13870 : return -1;
13871 0 : *pnum_clobbers = 1;
13872 0 : return 1153; /* *x86_shld_ndd_1 */
13873 :
13874 : default:
13875 : return -1;
13876 : }
13877 :
13878 1915 : case LSHIFTRT:
13879 1915 : switch (pattern141 (x2, pnum_clobbers))
13880 : {
13881 696 : case 0:
13882 696 : if (insn_condition_578 (operands, insn))
13883 : return 1122; /* *x86_64_shld_shrd_1_nozext_nf */
13884 696 : if (pnum_clobbers == NULL
13885 696 : || !insn_condition_579 (operands, insn))
13886 : return -1;
13887 370 : *pnum_clobbers = 1;
13888 370 : return 1125; /* *x86_64_shld_shrd_1_nozext */
13889 :
13890 147 : case 1:
13891 147 : if (insn_condition_580 (operands, insn))
13892 : return 1158; /* *x86_shld_shrd_1_nozext_nf */
13893 147 : if (pnum_clobbers == NULL
13894 147 : || !insn_condition_581 (operands, insn))
13895 : return -1;
13896 48 : *pnum_clobbers = 1;
13897 48 : return 1161; /* *x86_shld_shrd_1_nozext */
13898 :
13899 3 : case 2:
13900 3 : x7 = XEXP (x6, 0);
13901 3 : operands[1] = x7;
13902 3 : if (nonimmediate_operand (operands[0], E_DImode))
13903 : {
13904 3 : operands[2] = x5;
13905 3 : if (rtx_equal_p (x4, operands[0]))
13906 : {
13907 0 : x8 = XEXP (x6, 1);
13908 0 : x9 = XEXP (x8, 1);
13909 0 : if (rtx_equal_p (x9, operands[2])
13910 0 : && insn_condition_582 (operands, insn))
13911 : {
13912 0 : *pnum_clobbers = 1;
13913 0 : return 1128; /* *x86_64_shld_2 */
13914 : }
13915 : }
13916 : }
13917 3 : operands[2] = x7;
13918 3 : if (!register_operand (operands[0], E_DImode))
13919 : return -1;
13920 3 : operands[1] = x4;
13921 3 : if (!nonimmediate_operand (operands[1], E_DImode))
13922 : return -1;
13923 3 : operands[3] = x5;
13924 3 : x8 = XEXP (x6, 1);
13925 3 : x9 = XEXP (x8, 1);
13926 3 : if (!rtx_equal_p (x9, operands[3])
13927 3 : || !insn_condition_583 (operands, insn))
13928 : return -1;
13929 0 : *pnum_clobbers = 1;
13930 0 : return 1131; /* *x86_64_shld_ndd_2 */
13931 :
13932 0 : case 3:
13933 0 : x7 = XEXP (x6, 0);
13934 0 : operands[1] = x7;
13935 0 : if (nonimmediate_operand (operands[0], E_SImode))
13936 : {
13937 0 : operands[2] = x5;
13938 0 : if (rtx_equal_p (x4, operands[0]))
13939 : {
13940 0 : x8 = XEXP (x6, 1);
13941 0 : x9 = XEXP (x8, 1);
13942 0 : if (rtx_equal_p (x9, operands[2])
13943 0 : && insn_condition_582 (operands, insn))
13944 : {
13945 0 : *pnum_clobbers = 1;
13946 0 : return 1164; /* *x86_shld_2 */
13947 : }
13948 : }
13949 : }
13950 0 : operands[2] = x7;
13951 0 : if (!register_operand (operands[0], E_SImode))
13952 : return -1;
13953 0 : operands[1] = x4;
13954 0 : if (!nonimmediate_operand (operands[1], E_SImode))
13955 : return -1;
13956 0 : operands[3] = x5;
13957 0 : x8 = XEXP (x6, 1);
13958 0 : x9 = XEXP (x8, 1);
13959 0 : if (!rtx_equal_p (x9, operands[3])
13960 0 : || !insn_condition_583 (operands, insn))
13961 : return -1;
13962 0 : *pnum_clobbers = 1;
13963 0 : return 1167; /* *x86_shld_ndd_2 */
13964 :
13965 : default:
13966 : return -1;
13967 : }
13968 :
13969 : default:
13970 : return -1;
13971 : }
13972 :
13973 190 : case AND:
13974 190 : switch (pattern144 (x2))
13975 : {
13976 0 : case 0:
13977 0 : x6 = XEXP (x2, 1);
13978 0 : x7 = XEXP (x6, 0);
13979 0 : x10 = XEXP (x7, 0);
13980 0 : x11 = XEXP (x10, 0);
13981 0 : operands[1] = x11;
13982 0 : if (nonimmediate_operand (operands[0], E_DImode))
13983 : {
13984 0 : res = recog_74 (x1, insn, pnum_clobbers);
13985 0 : if (res >= 0)
13986 : return res;
13987 : }
13988 0 : operands[2] = x11;
13989 0 : if (!register_operand (operands[0], E_DImode))
13990 : return -1;
13991 0 : operands[1] = x4;
13992 0 : if (!nonimmediate_operand (operands[1], E_DImode))
13993 : return -1;
13994 0 : x12 = XEXP (x5, 0);
13995 0 : operands[3] = x12;
13996 0 : x13 = XEXP (x7, 1);
13997 0 : x14 = XEXP (x13, 1);
13998 0 : x15 = XEXP (x14, 0);
13999 0 : if (!rtx_equal_p (x15, operands[3]))
14000 : return -1;
14001 0 : if (insn_condition_297 (operands, insn))
14002 : return 1104; /* *x86_64_shld_ndd_nf */
14003 0 : if (pnum_clobbers == NULL
14004 0 : || !insn_condition_298 (operands, insn))
14005 : return -1;
14006 0 : *pnum_clobbers = 1;
14007 0 : return 1105; /* *x86_64_shld_ndd */
14008 :
14009 0 : case 1:
14010 0 : x6 = XEXP (x2, 1);
14011 0 : x7 = XEXP (x6, 0);
14012 0 : x10 = XEXP (x7, 0);
14013 0 : x11 = XEXP (x10, 0);
14014 0 : operands[1] = x11;
14015 0 : x12 = XEXP (x5, 0);
14016 0 : operands[2] = x12;
14017 0 : if (rtx_equal_p (x4, operands[0]))
14018 : {
14019 0 : x13 = XEXP (x7, 1);
14020 0 : x14 = XEXP (x13, 1);
14021 0 : x15 = XEXP (x14, 0);
14022 0 : if (rtx_equal_p (x15, operands[2]))
14023 : {
14024 0 : if (insn_condition_584 (operands, insn))
14025 : return 1134; /* *x86_shld_nf */
14026 0 : if (pnum_clobbers != NULL)
14027 : {
14028 0 : *pnum_clobbers = 1;
14029 0 : return 1135; /* *x86_shld */
14030 : }
14031 : }
14032 : }
14033 0 : operands[2] = x11;
14034 0 : operands[1] = x4;
14035 0 : if (!nonimmediate_operand (operands[1], E_SImode))
14036 : return -1;
14037 0 : operands[3] = x12;
14038 0 : x13 = XEXP (x7, 1);
14039 0 : x14 = XEXP (x13, 1);
14040 0 : x15 = XEXP (x14, 0);
14041 0 : if (!rtx_equal_p (x15, operands[3]))
14042 : return -1;
14043 0 : if (insn_condition_297 (operands, insn))
14044 : return 1140; /* *x86_shld_ndd_nf */
14045 0 : if (pnum_clobbers == NULL
14046 0 : || !insn_condition_298 (operands, insn))
14047 : return -1;
14048 0 : *pnum_clobbers = 1;
14049 0 : return 1141; /* *x86_shld_ndd */
14050 :
14051 : default:
14052 : return -1;
14053 : }
14054 :
14055 : default:
14056 : return -1;
14057 : }
14058 :
14059 49894 : case SIGN_EXTEND:
14060 49894 : switch (pattern145 (x2,
14061 : E_SImode,
14062 : E_DImode))
14063 : {
14064 11 : case 0:
14065 11 : if (!insn_condition_572 (operands, insn))
14066 11 : return -1;
14067 : return 940; /* *concatsidi3_3 */
14068 :
14069 3232 : case 1:
14070 3232 : if (!insn_condition_585 (operands, insn))
14071 3232 : return -1;
14072 : return 970; /* *concatsidi3_6 */
14073 :
14074 : default:
14075 : return -1;
14076 : }
14077 :
14078 11127 : case ZERO_EXTEND:
14079 11127 : switch (pattern145 (x2,
14080 : E_SImode,
14081 : E_DImode))
14082 : {
14083 1473 : case 0:
14084 1473 : if (!insn_condition_572 (operands, insn))
14085 1297 : return -1;
14086 : return 943; /* *concatsidi3_3 */
14087 :
14088 123 : case 1:
14089 123 : if (!insn_condition_585 (operands, insn))
14090 123 : return -1;
14091 : return 973; /* *concatsidi3_6 */
14092 :
14093 : default:
14094 : return -1;
14095 : }
14096 :
14097 : default:
14098 : return -1;
14099 : }
14100 : }
14101 :
14102 : int
14103 67588 : recog_84 (rtx x1 ATTRIBUTE_UNUSED,
14104 : rtx_insn *insn ATTRIBUTE_UNUSED,
14105 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14106 : {
14107 67588 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14108 67588 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14109 67588 : rtx x10, x11;
14110 67588 : int res ATTRIBUTE_UNUSED;
14111 67588 : x2 = XEXP (x1, 1);
14112 67588 : x3 = XEXP (x2, 0);
14113 67588 : x4 = XEXP (x3, 0);
14114 67588 : switch (GET_CODE (x4))
14115 : {
14116 36871 : case REG:
14117 36871 : case SUBREG:
14118 36871 : case MEM:
14119 36871 : operands[1] = x4;
14120 36871 : x5 = XEXP (x3, 1);
14121 36871 : operands[2] = x5;
14122 36871 : switch (GET_CODE (operands[2]))
14123 : {
14124 30606 : case CONST_INT:
14125 30606 : case CONST_WIDE_INT:
14126 30606 : case CONST_POLY_INT:
14127 30606 : case CONST_FIXED:
14128 30606 : case CONST_DOUBLE:
14129 30606 : case CONST_VECTOR:
14130 30606 : case CONST:
14131 30606 : case REG:
14132 30606 : case SUBREG:
14133 30606 : case MEM:
14134 30606 : case LABEL_REF:
14135 30606 : case SYMBOL_REF:
14136 30606 : case HIGH:
14137 30606 : switch (pattern132 (x2, pnum_clobbers))
14138 : {
14139 539 : case 0:
14140 539 : if (insn_condition_293 (operands, insn))
14141 : return 399; /* *subqi_1_zextsi_nf */
14142 539 : if (pnum_clobbers == NULL
14143 539 : || !insn_condition_294 (operands, insn))
14144 : return -1;
14145 6 : *pnum_clobbers = 1;
14146 6 : return 400; /* *subqi_1_zextsi */
14147 :
14148 1388 : case 1:
14149 1388 : if (insn_condition_293 (operands, insn))
14150 : return 403; /* *subhi_1_zextsi_nf */
14151 1388 : if (pnum_clobbers == NULL
14152 1388 : || !insn_condition_294 (operands, insn))
14153 : return -1;
14154 6 : *pnum_clobbers = 1;
14155 6 : return 404; /* *subhi_1_zextsi */
14156 :
14157 553 : case 2:
14158 553 : if (insn_condition_293 (operands, insn))
14159 : return 401; /* *subqi_1_zextdi_nf */
14160 553 : if (pnum_clobbers == NULL
14161 553 : || !insn_condition_294 (operands, insn))
14162 : return -1;
14163 6 : *pnum_clobbers = 1;
14164 6 : return 402; /* *subqi_1_zextdi */
14165 :
14166 72 : case 3:
14167 72 : if (insn_condition_293 (operands, insn))
14168 : return 405; /* *subhi_1_zextdi_nf */
14169 72 : if (pnum_clobbers == NULL
14170 72 : || !insn_condition_294 (operands, insn))
14171 : return -1;
14172 6 : *pnum_clobbers = 1;
14173 6 : return 406; /* *subhi_1_zextdi */
14174 :
14175 23077 : case 4:
14176 23077 : if (!insn_condition_698 (operands, insn))
14177 : return -1;
14178 21742 : *pnum_clobbers = 1;
14179 21742 : return 407; /* *subsi_1_zext */
14180 :
14181 : default:
14182 : return -1;
14183 : }
14184 :
14185 36 : case LTU:
14186 36 : case UNLT:
14187 36 : switch (pattern789 (x2, pnum_clobbers))
14188 : {
14189 3 : case 0:
14190 3 : if (!nonimmediate_operand (operands[1], E_QImode)
14191 3 : || !ix86_carry_flag_operator (operands[2], E_QImode)
14192 6 : || !insn_condition_296 (operands, insn))
14193 : return -1;
14194 1 : *pnum_clobbers = 1;
14195 1 : return 535; /* *subqi3_carry_zextsi_0 */
14196 :
14197 1 : case 1:
14198 1 : if (!nonimmediate_operand (operands[1], E_HImode)
14199 1 : || !ix86_carry_flag_operator (operands[2], E_HImode)
14200 2 : || !insn_condition_296 (operands, insn))
14201 : return -1;
14202 1 : *pnum_clobbers = 1;
14203 1 : return 537; /* *subhi3_carry_zextsi_0 */
14204 :
14205 1 : case 2:
14206 1 : if (!nonimmediate_operand (operands[1], E_QImode)
14207 1 : || !ix86_carry_flag_operator (operands[2], E_QImode)
14208 2 : || !insn_condition_296 (operands, insn))
14209 : return -1;
14210 1 : *pnum_clobbers = 1;
14211 1 : return 536; /* *subqi3_carry_zextdi_0 */
14212 :
14213 1 : case 3:
14214 1 : if (!nonimmediate_operand (operands[1], E_HImode)
14215 1 : || !ix86_carry_flag_operator (operands[2], E_HImode)
14216 2 : || !insn_condition_296 (operands, insn))
14217 : return -1;
14218 1 : *pnum_clobbers = 1;
14219 1 : return 538; /* *subhi3_carry_zextdi_0 */
14220 :
14221 16 : case 4:
14222 16 : if (!nonimmediate_operand (operands[1], E_SImode)
14223 16 : || !ix86_carry_flag_operator (operands[2], E_SImode)
14224 32 : || !insn_condition_52 (operands, insn))
14225 : return -1;
14226 16 : *pnum_clobbers = 1;
14227 16 : return 539; /* *subsi3_carry_zext_0 */
14228 :
14229 : default:
14230 : return -1;
14231 : }
14232 :
14233 17 : case GE:
14234 17 : case GEU:
14235 17 : switch (pattern789 (x2, pnum_clobbers))
14236 : {
14237 1 : case 0:
14238 1 : if (!nonimmediate_operand (operands[1], E_QImode)
14239 1 : || !ix86_carry_flag_unset_operator (operands[2], E_QImode)
14240 2 : || !insn_condition_296 (operands, insn))
14241 : return -1;
14242 1 : *pnum_clobbers = 1;
14243 1 : return 541; /* *subqi3_carry_zextsi_0r */
14244 :
14245 1 : case 1:
14246 1 : if (!nonimmediate_operand (operands[1], E_HImode)
14247 1 : || !ix86_carry_flag_unset_operator (operands[2], E_HImode)
14248 2 : || !insn_condition_296 (operands, insn))
14249 : return -1;
14250 1 : *pnum_clobbers = 1;
14251 1 : return 543; /* *subhi3_carry_zextsi_0r */
14252 :
14253 1 : case 2:
14254 1 : if (!nonimmediate_operand (operands[1], E_QImode)
14255 1 : || !ix86_carry_flag_unset_operator (operands[2], E_QImode)
14256 2 : || !insn_condition_296 (operands, insn))
14257 : return -1;
14258 1 : *pnum_clobbers = 1;
14259 1 : return 542; /* *subqi3_carry_zextdi_0r */
14260 :
14261 1 : case 3:
14262 1 : if (!nonimmediate_operand (operands[1], E_HImode)
14263 1 : || !ix86_carry_flag_unset_operator (operands[2], E_HImode)
14264 2 : || !insn_condition_296 (operands, insn))
14265 : return -1;
14266 1 : *pnum_clobbers = 1;
14267 1 : return 544; /* *subhi3_carry_zextdi_0r */
14268 :
14269 1 : case 4:
14270 1 : if (!nonimmediate_operand (operands[1], E_SImode)
14271 1 : || !ix86_carry_flag_unset_operator (operands[2], E_SImode)
14272 2 : || !insn_condition_52 (operands, insn))
14273 : return -1;
14274 1 : *pnum_clobbers = 1;
14275 1 : return 545; /* *subsi3_carry_zext_0r */
14276 :
14277 : default:
14278 : return -1;
14279 : }
14280 :
14281 : default:
14282 : return -1;
14283 : }
14284 :
14285 623 : case MINUS:
14286 623 : if (pnum_clobbers == NULL)
14287 : return -1;
14288 621 : x6 = XEXP (x4, 1);
14289 621 : switch (GET_CODE (x6))
14290 : {
14291 7 : case LTU:
14292 7 : case UNLT:
14293 7 : operands[3] = x6;
14294 7 : x7 = XEXP (x6, 0);
14295 7 : if (GET_CODE (x7) != REG
14296 7 : || REGNO (x7) != 17)
14297 : return -1;
14298 3 : x8 = XEXP (x6, 1);
14299 3 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
14300 : return -1;
14301 3 : x9 = XEXP (x4, 0);
14302 3 : operands[1] = x9;
14303 3 : x5 = XEXP (x3, 1);
14304 3 : operands[2] = x5;
14305 3 : switch (pattern316 (x2))
14306 : {
14307 0 : case 0:
14308 0 : if (pattern1587 (x4,
14309 : E_QImode) != 0
14310 0 : || !insn_condition_295 (operands, insn))
14311 : return -1;
14312 0 : *pnum_clobbers = 1;
14313 0 : return 529; /* *subqi3_carry_zextsi */
14314 :
14315 0 : case 1:
14316 0 : if (pattern1587 (x4,
14317 : E_HImode) != 0
14318 0 : || !insn_condition_295 (operands, insn))
14319 : return -1;
14320 0 : *pnum_clobbers = 1;
14321 0 : return 531; /* *subhi3_carry_zextsi */
14322 :
14323 0 : case 2:
14324 0 : if (pattern1587 (x4,
14325 : E_QImode) != 0
14326 0 : || !insn_condition_295 (operands, insn))
14327 : return -1;
14328 0 : *pnum_clobbers = 1;
14329 0 : return 530; /* *subqi3_carry_zextdi */
14330 :
14331 0 : case 3:
14332 0 : if (pattern1587 (x4,
14333 : E_HImode) != 0
14334 0 : || !insn_condition_295 (operands, insn))
14335 : return -1;
14336 0 : *pnum_clobbers = 1;
14337 0 : return 532; /* *subhi3_carry_zextdi */
14338 :
14339 3 : case 4:
14340 3 : if (pattern1587 (x4,
14341 : E_SImode) != 0
14342 3 : || !insn_condition_698 (operands, insn))
14343 : return -1;
14344 1 : *pnum_clobbers = 1;
14345 1 : return 533; /* *subsi3_carry_zext */
14346 :
14347 : default:
14348 : return -1;
14349 : }
14350 :
14351 : default:
14352 : return -1;
14353 : }
14354 :
14355 13316 : case CONST_INT:
14356 13316 : if (pnum_clobbers == NULL
14357 13076 : || !register_operand (operands[0], E_DImode)
14358 13002 : || GET_MODE (x2) != E_DImode
14359 26318 : || GET_MODE (x3) != E_SImode)
14360 : return -1;
14361 12967 : x5 = XEXP (x3, 1);
14362 12967 : if (GET_MODE (x5) != E_SImode)
14363 : return -1;
14364 12967 : switch (XWINT (x4, 0))
14365 : {
14366 1440 : case 63L:
14367 1440 : if (GET_CODE (x5) != SUBREG
14368 1440 : || maybe_ne (SUBREG_BYTE (x5), 0))
14369 : return -1;
14370 1200 : x10 = XEXP (x5, 0);
14371 1200 : if (GET_CODE (x10) != CLZ
14372 250 : || GET_MODE (x10) != E_DImode)
14373 : return -1;
14374 250 : x11 = XEXP (x10, 0);
14375 250 : operands[1] = x11;
14376 250 : if (!nonimmediate_operand (operands[1], E_DImode)
14377 250 : || !insn_condition_699 (operands, insn))
14378 : return -1;
14379 12 : *pnum_clobbers = 1;
14380 12 : return 1658; /* bsr_rex64_1_zext */
14381 :
14382 1143 : case 31L:
14383 1143 : if (GET_CODE (x5) != CLZ)
14384 : return -1;
14385 20 : x10 = XEXP (x5, 0);
14386 20 : operands[1] = x10;
14387 20 : if (!nonimmediate_operand (operands[1], E_SImode)
14388 20 : || !insn_condition_699 (operands, insn))
14389 : return -1;
14390 11 : *pnum_clobbers = 1;
14391 11 : return 1664; /* bsr_zext_1 */
14392 :
14393 : default:
14394 : return -1;
14395 : }
14396 :
14397 : default:
14398 : return -1;
14399 : }
14400 : }
14401 :
14402 : int
14403 360 : recog_90 (rtx x1 ATTRIBUTE_UNUSED,
14404 : rtx_insn *insn ATTRIBUTE_UNUSED,
14405 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14406 : {
14407 360 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14408 360 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14409 360 : rtx x10, x11;
14410 360 : int res ATTRIBUTE_UNUSED;
14411 360 : x2 = XEXP (x1, 1);
14412 360 : x3 = XEXP (x2, 0);
14413 360 : x4 = XEXP (x3, 1);
14414 360 : x5 = XEXP (x4, 0);
14415 360 : operands[2] = x5;
14416 360 : x6 = XEXP (x3, 0);
14417 360 : if (!rtx_equal_p (x6, operands[0]))
14418 : return -1;
14419 15 : x7 = XEXP (x2, 1);
14420 15 : x8 = XEXP (x7, 0);
14421 15 : x9 = XEXP (x8, 1);
14422 15 : x10 = XEXP (x9, 1);
14423 15 : x11 = XEXP (x10, 0);
14424 15 : if (!rtx_equal_p (x11, operands[2]))
14425 : return -1;
14426 15 : if (insn_condition_562 (operands, insn))
14427 : return 1100; /* x86_64_shld_nf */
14428 15 : if (pnum_clobbers == NULL
14429 15 : || !insn_condition_563 (operands, insn))
14430 : return -1;
14431 15 : *pnum_clobbers = 1;
14432 15 : return 1101; /* x86_64_shld */
14433 : }
14434 :
14435 : int
14436 184 : recog_91 (rtx x1 ATTRIBUTE_UNUSED,
14437 : rtx_insn *insn ATTRIBUTE_UNUSED,
14438 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14439 : {
14440 184 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14441 184 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14442 184 : rtx x10, x11;
14443 184 : int res ATTRIBUTE_UNUSED;
14444 184 : x2 = XEXP (x1, 1);
14445 184 : x3 = XEXP (x2, 0);
14446 184 : x4 = XEXP (x3, 1);
14447 184 : x5 = XEXP (x4, 0);
14448 184 : operands[2] = x5;
14449 184 : x6 = XEXP (x3, 0);
14450 184 : if (!rtx_equal_p (x6, operands[0]))
14451 : return -1;
14452 10 : x7 = XEXP (x2, 1);
14453 10 : x8 = XEXP (x7, 0);
14454 10 : x9 = XEXP (x8, 1);
14455 10 : x10 = XEXP (x9, 1);
14456 10 : x11 = XEXP (x10, 0);
14457 10 : if (!rtx_equal_p (x11, operands[2]))
14458 : return -1;
14459 10 : if (insn_condition_562 (operands, insn))
14460 : return 1228; /* x86_64_shrd_nf */
14461 10 : if (pnum_clobbers == NULL
14462 10 : || !insn_condition_563 (operands, insn))
14463 : return -1;
14464 10 : *pnum_clobbers = 1;
14465 10 : return 1229; /* x86_64_shrd */
14466 : }
14467 :
14468 : int
14469 299031 : recog_92 (rtx x1 ATTRIBUTE_UNUSED,
14470 : rtx_insn *insn ATTRIBUTE_UNUSED,
14471 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14472 : {
14473 299031 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14474 299031 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14475 299031 : rtx x10, x11, x12, x13, x14, x15;
14476 299031 : int res ATTRIBUTE_UNUSED;
14477 299031 : x2 = XEXP (x1, 1);
14478 299031 : switch (pattern149 (x2, pnum_clobbers))
14479 : {
14480 1548 : case 0:
14481 1548 : if (!insn_condition_748 (operands, insn))
14482 57 : return -1;
14483 : return 381; /* *leasi_general_4 */
14484 :
14485 1436 : case 1:
14486 1436 : if (register_operand (operands[0], E_DImode)
14487 1060 : && register_no_SP_operand (operands[1], E_DImode)
14488 1058 : && const_0_to_3_operand (operands[2], E_VOIDmode)
14489 346 : && const_int_operand (operands[3], E_VOIDmode)
14490 1436 : && insn_condition_749 (operands, insn))
14491 : return 383; /* *leadi_general_4 */
14492 1259 : if (!nonimmediate_operand (operands[0], E_DImode)
14493 1219 : || !register_operand (operands[1], E_DImode)
14494 1217 : || !const_int_operand (operands[2], E_QImode)
14495 1207 : || !const_scalar_int_operand (operands[3], E_DImode)
14496 2466 : || !insn_condition_573 (operands, insn))
14497 1259 : return -1;
14498 : return 965; /* *concatsidi3_5 */
14499 :
14500 361 : case 2:
14501 361 : if (!insn_condition_572 (operands, insn))
14502 210 : return -1;
14503 : return 929; /* *concatsidi3_1 */
14504 :
14505 739 : case 3:
14506 739 : x3 = XEXP (x2, 0);
14507 739 : x4 = XEXP (x3, 1);
14508 739 : operands[2] = x4;
14509 739 : if (pattern1406 (x2) == 0)
14510 : {
14511 0 : if (insn_condition_564 (operands, insn))
14512 : return 1112; /* x86_64_shld_1_nf */
14513 0 : if (pnum_clobbers != NULL
14514 0 : && insn_condition_565 (operands, insn))
14515 : {
14516 0 : *pnum_clobbers = 1;
14517 0 : return 1113; /* x86_64_shld_1 */
14518 : }
14519 : }
14520 739 : operands[3] = x4;
14521 739 : if (pattern1407 (x2) != 0)
14522 : return -1;
14523 527 : if (insn_condition_566 (operands, insn))
14524 : return 1118; /* x86_64_shld_ndd_1_nf */
14525 527 : if (pnum_clobbers == NULL
14526 527 : || !insn_condition_567 (operands, insn))
14527 : return -1;
14528 0 : *pnum_clobbers = 1;
14529 0 : return 1119; /* x86_64_shld_ndd_1 */
14530 :
14531 68 : case 4:
14532 68 : x3 = XEXP (x2, 0);
14533 68 : x4 = XEXP (x3, 1);
14534 68 : operands[2] = x4;
14535 68 : if (pattern1408 (x2) == 0)
14536 : {
14537 0 : if (insn_condition_574 (operands, insn))
14538 : return 1148; /* x86_shld_1_nf */
14539 0 : if (pnum_clobbers != NULL
14540 0 : && insn_condition_575 (operands, insn))
14541 : {
14542 0 : *pnum_clobbers = 1;
14543 0 : return 1149; /* x86_shld_1 */
14544 : }
14545 : }
14546 68 : operands[3] = x4;
14547 68 : if (pattern1409 (x2) != 0)
14548 : return -1;
14549 47 : if (insn_condition_576 (operands, insn))
14550 : return 1154; /* x86_shld_ndd_1_nf */
14551 47 : if (pnum_clobbers == NULL
14552 47 : || !insn_condition_577 (operands, insn))
14553 : return -1;
14554 0 : *pnum_clobbers = 1;
14555 0 : return 1155; /* x86_shld_ndd_1 */
14556 :
14557 304 : case 5:
14558 304 : if (insn_condition_578 (operands, insn))
14559 : return 1123; /* *x86_64_shld_shrd_1_nozext_nf */
14560 304 : if (pnum_clobbers == NULL
14561 304 : || !insn_condition_579 (operands, insn))
14562 : return -1;
14563 14 : *pnum_clobbers = 1;
14564 14 : return 1126; /* *x86_64_shld_shrd_1_nozext */
14565 :
14566 138 : case 6:
14567 138 : if (insn_condition_580 (operands, insn))
14568 : return 1159; /* *x86_shld_shrd_1_nozext_nf */
14569 138 : if (pnum_clobbers == NULL
14570 138 : || !insn_condition_581 (operands, insn))
14571 : return -1;
14572 0 : *pnum_clobbers = 1;
14573 0 : return 1162; /* *x86_shld_shrd_1_nozext */
14574 :
14575 9 : case 7:
14576 9 : x5 = XEXP (x2, 1);
14577 9 : x6 = XEXP (x5, 0);
14578 9 : operands[1] = x6;
14579 9 : if (nonimmediate_operand (operands[0], E_DImode))
14580 : {
14581 9 : x3 = XEXP (x2, 0);
14582 9 : x4 = XEXP (x3, 1);
14583 9 : operands[2] = x4;
14584 9 : x7 = XEXP (x3, 0);
14585 9 : if (rtx_equal_p (x7, operands[0]))
14586 : {
14587 0 : x8 = XEXP (x5, 1);
14588 0 : x9 = XEXP (x8, 1);
14589 0 : if (rtx_equal_p (x9, operands[2])
14590 0 : && insn_condition_582 (operands, insn))
14591 : {
14592 0 : *pnum_clobbers = 1;
14593 0 : return 1129; /* *x86_64_shld_2 */
14594 : }
14595 : }
14596 : }
14597 9 : operands[2] = x6;
14598 9 : if (!register_operand (operands[0], E_DImode))
14599 : return -1;
14600 7 : x3 = XEXP (x2, 0);
14601 7 : x7 = XEXP (x3, 0);
14602 7 : operands[1] = x7;
14603 7 : if (!nonimmediate_operand (operands[1], E_DImode))
14604 : return -1;
14605 7 : x4 = XEXP (x3, 1);
14606 7 : operands[3] = x4;
14607 7 : x8 = XEXP (x5, 1);
14608 7 : x9 = XEXP (x8, 1);
14609 7 : if (!rtx_equal_p (x9, operands[3])
14610 7 : || !insn_condition_583 (operands, insn))
14611 : return -1;
14612 0 : *pnum_clobbers = 1;
14613 0 : return 1132; /* *x86_64_shld_ndd_2 */
14614 :
14615 7 : case 8:
14616 7 : x5 = XEXP (x2, 1);
14617 7 : x6 = XEXP (x5, 0);
14618 7 : operands[1] = x6;
14619 7 : if (nonimmediate_operand (operands[0], E_SImode))
14620 : {
14621 7 : x3 = XEXP (x2, 0);
14622 7 : x4 = XEXP (x3, 1);
14623 7 : operands[2] = x4;
14624 7 : x7 = XEXP (x3, 0);
14625 7 : if (rtx_equal_p (x7, operands[0]))
14626 : {
14627 0 : x8 = XEXP (x5, 1);
14628 0 : x9 = XEXP (x8, 1);
14629 0 : if (rtx_equal_p (x9, operands[2])
14630 0 : && insn_condition_582 (operands, insn))
14631 : {
14632 0 : *pnum_clobbers = 1;
14633 0 : return 1165; /* *x86_shld_2 */
14634 : }
14635 : }
14636 : }
14637 7 : operands[2] = x6;
14638 7 : if (!register_operand (operands[0], E_SImode))
14639 : return -1;
14640 7 : x3 = XEXP (x2, 0);
14641 7 : x7 = XEXP (x3, 0);
14642 7 : operands[1] = x7;
14643 7 : if (!nonimmediate_operand (operands[1], E_SImode))
14644 : return -1;
14645 7 : x4 = XEXP (x3, 1);
14646 7 : operands[3] = x4;
14647 7 : x8 = XEXP (x5, 1);
14648 7 : x9 = XEXP (x8, 1);
14649 7 : if (!rtx_equal_p (x9, operands[3])
14650 7 : || !insn_condition_583 (operands, insn))
14651 : return -1;
14652 0 : *pnum_clobbers = 1;
14653 0 : return 1168; /* *x86_shld_ndd_2 */
14654 :
14655 360 : case 9:
14656 360 : x5 = XEXP (x2, 1);
14657 360 : x6 = XEXP (x5, 0);
14658 360 : x10 = XEXP (x6, 0);
14659 360 : x11 = XEXP (x10, 0);
14660 360 : operands[1] = x11;
14661 360 : if (nonimmediate_operand (operands[0], E_DImode))
14662 : {
14663 360 : res = recog_90 (x1, insn, pnum_clobbers);
14664 360 : if (res >= 0)
14665 : return res;
14666 : }
14667 345 : operands[2] = x11;
14668 345 : if (!register_operand (operands[0], E_DImode))
14669 : return -1;
14670 345 : x3 = XEXP (x2, 0);
14671 345 : x7 = XEXP (x3, 0);
14672 345 : operands[1] = x7;
14673 345 : if (!nonimmediate_operand (operands[1], E_DImode))
14674 : return -1;
14675 345 : x4 = XEXP (x3, 1);
14676 345 : x12 = XEXP (x4, 0);
14677 345 : operands[3] = x12;
14678 345 : x13 = XEXP (x6, 1);
14679 345 : x14 = XEXP (x13, 1);
14680 345 : x15 = XEXP (x14, 0);
14681 345 : if (!rtx_equal_p (x15, operands[3]))
14682 : return -1;
14683 345 : if (insn_condition_297 (operands, insn))
14684 : return 1106; /* x86_64_shld_ndd_nf */
14685 345 : if (pnum_clobbers == NULL
14686 345 : || !insn_condition_298 (operands, insn))
14687 : return -1;
14688 0 : *pnum_clobbers = 1;
14689 0 : return 1107; /* x86_64_shld_ndd */
14690 :
14691 0 : case 10:
14692 0 : x5 = XEXP (x2, 1);
14693 0 : x6 = XEXP (x5, 0);
14694 0 : x10 = XEXP (x6, 0);
14695 0 : x11 = XEXP (x10, 0);
14696 0 : operands[1] = x11;
14697 0 : x3 = XEXP (x2, 0);
14698 0 : x4 = XEXP (x3, 1);
14699 0 : x12 = XEXP (x4, 0);
14700 0 : operands[2] = x12;
14701 0 : x7 = XEXP (x3, 0);
14702 0 : if (rtx_equal_p (x7, operands[0]))
14703 : {
14704 0 : x13 = XEXP (x6, 1);
14705 0 : x14 = XEXP (x13, 1);
14706 0 : x15 = XEXP (x14, 0);
14707 0 : if (rtx_equal_p (x15, operands[2]))
14708 : {
14709 0 : if (insn_condition_584 (operands, insn))
14710 : return 1136; /* x86_shld_nf */
14711 0 : if (pnum_clobbers != NULL)
14712 : {
14713 0 : *pnum_clobbers = 1;
14714 0 : return 1137; /* x86_shld */
14715 : }
14716 : }
14717 : }
14718 0 : operands[2] = x11;
14719 0 : operands[1] = x7;
14720 0 : if (!nonimmediate_operand (operands[1], E_SImode))
14721 : return -1;
14722 0 : operands[3] = x12;
14723 0 : x13 = XEXP (x6, 1);
14724 0 : x14 = XEXP (x13, 1);
14725 0 : x15 = XEXP (x14, 0);
14726 0 : if (!rtx_equal_p (x15, operands[3]))
14727 : return -1;
14728 0 : if (insn_condition_297 (operands, insn))
14729 : return 1142; /* x86_shld_ndd_nf */
14730 0 : if (pnum_clobbers == NULL
14731 0 : || !insn_condition_298 (operands, insn))
14732 : return -1;
14733 0 : *pnum_clobbers = 1;
14734 0 : return 1143; /* x86_shld_ndd */
14735 :
14736 39 : case 11:
14737 39 : if (!insn_condition_572 (operands, insn))
14738 0 : return -1;
14739 : return 941; /* *concatsidi3_3 */
14740 :
14741 23 : case 12:
14742 23 : if (!insn_condition_585 (operands, insn))
14743 23 : return -1;
14744 : return 971; /* *concatsidi3_6 */
14745 :
14746 447 : case 13:
14747 447 : if (!insn_condition_572 (operands, insn))
14748 101 : return -1;
14749 : return 944; /* *concatsidi3_3 */
14750 :
14751 5 : case 14:
14752 5 : if (!insn_condition_585 (operands, insn))
14753 5 : return -1;
14754 : return 974; /* *concatsidi3_6 */
14755 :
14756 596 : case 15:
14757 596 : x3 = XEXP (x2, 0);
14758 596 : x4 = XEXP (x3, 1);
14759 596 : operands[2] = x4;
14760 596 : if (register_operand (operands[2], E_QImode))
14761 : {
14762 518 : switch (pattern788 (x2))
14763 : {
14764 63 : case 0:
14765 63 : if (insn_condition_750 (operands, insn))
14766 : {
14767 63 : *pnum_clobbers = 1;
14768 63 : return 1523; /* *btssi */
14769 : }
14770 : break;
14771 :
14772 52 : case 1:
14773 52 : if (insn_condition_751 (operands, insn))
14774 : {
14775 20 : *pnum_clobbers = 1;
14776 20 : return 1525; /* *btsdi */
14777 : }
14778 : break;
14779 :
14780 : default:
14781 : break;
14782 : }
14783 : }
14784 513 : if (GET_CODE (x4) != SUBREG)
14785 : return -1;
14786 478 : switch (pattern797 (x2))
14787 : {
14788 0 : case 0:
14789 0 : if (!insn_condition_62 (operands, insn))
14790 : return -1;
14791 0 : *pnum_clobbers = 1;
14792 0 : return 1527; /* *btssi_mask */
14793 :
14794 0 : case 1:
14795 0 : if (!insn_condition_63 (operands, insn))
14796 : return -1;
14797 0 : *pnum_clobbers = 1;
14798 0 : return 1529; /* *btsdi_mask */
14799 :
14800 : default:
14801 : return -1;
14802 : }
14803 :
14804 0 : case 16:
14805 0 : if (!insn_condition_62 (operands, insn))
14806 : return -1;
14807 0 : *pnum_clobbers = 1;
14808 0 : return 1531; /* *btssi_mask_1 */
14809 :
14810 0 : case 17:
14811 0 : if (!insn_condition_63 (operands, insn))
14812 : return -1;
14813 0 : *pnum_clobbers = 1;
14814 0 : return 1533; /* *btsdi_mask_1 */
14815 :
14816 : default:
14817 : return -1;
14818 : }
14819 : }
14820 :
14821 : int
14822 2941199 : recog_98 (rtx x1 ATTRIBUTE_UNUSED,
14823 : rtx_insn *insn ATTRIBUTE_UNUSED,
14824 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14825 : {
14826 2941199 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14827 2941199 : rtx x2, x3;
14828 2941199 : int res ATTRIBUTE_UNUSED;
14829 2941199 : x2 = XEXP (x1, 1);
14830 2941199 : x3 = XEXP (x2, 1);
14831 2941199 : switch (GET_CODE (x3))
14832 : {
14833 2477668 : case CONST_INT:
14834 2477668 : case CONST_WIDE_INT:
14835 2477668 : case CONST_POLY_INT:
14836 2477668 : case CONST_FIXED:
14837 2477668 : case CONST_DOUBLE:
14838 2477668 : case CONST_VECTOR:
14839 2477668 : case CONST:
14840 2477668 : case REG:
14841 2477668 : case SUBREG:
14842 2477668 : case MEM:
14843 2477668 : case LABEL_REF:
14844 2477668 : case SYMBOL_REF:
14845 2477668 : case HIGH:
14846 2477668 : operands[2] = x3;
14847 2477668 : switch (pattern471 (x2))
14848 : {
14849 1075112 : case 0:
14850 1075112 : if (pnum_clobbers != NULL
14851 1058208 : && x86_64_hilo_general_operand (operands[2], E_DImode)
14852 2121397 : && insn_condition_767 (operands, insn))
14853 : {
14854 7464 : *pnum_clobbers = 1;
14855 7464 : return 385; /* *subdi3_doubleword */
14856 : }
14857 1067648 : if (!x86_64_general_operand (operands[2], E_DImode))
14858 : return -1;
14859 1066810 : if (insn_condition_768 (operands, insn))
14860 : return 395; /* *subdi_1_nf */
14861 1066799 : if (pnum_clobbers == NULL
14862 1066799 : || !insn_condition_769 (operands, insn))
14863 : return -1;
14864 684543 : *pnum_clobbers = 1;
14865 684543 : return 396; /* *subdi_1 */
14866 :
14867 304302 : case 1:
14868 304302 : if (insn_condition_770 (operands, insn))
14869 : return 393; /* *subsi_1_nf */
14870 304280 : if (pnum_clobbers == NULL
14871 304280 : || !insn_condition_771 (operands, insn))
14872 : return -1;
14873 232603 : *pnum_clobbers = 1;
14874 232603 : return 394; /* *subsi_1 */
14875 :
14876 : default:
14877 : return -1;
14878 : }
14879 :
14880 27697 : case ZERO_EXTEND:
14881 27697 : if (pnum_clobbers == NULL
14882 27697 : || GET_MODE (x3) != E_DImode
14883 13573 : || pattern794 (x2,
14884 : E_SImode,
14885 : E_DImode) != 0
14886 34552 : || !insn_condition_592 (operands, insn))
14887 : return -1;
14888 908 : *pnum_clobbers = 1;
14889 908 : return 387; /* *subdi3_doubleword_zext */
14890 :
14891 1713 : case LTU:
14892 1713 : case UNLT:
14893 1713 : switch (pattern476 (x3, pnum_clobbers))
14894 : {
14895 994 : case 0:
14896 994 : if (pattern1246 (x2,
14897 : E_SImode) != 0
14898 994 : || !insn_condition_456 (operands, insn))
14899 : return -1;
14900 28 : *pnum_clobbers = 1;
14901 28 : return 514; /* *subsi3_carry_0 */
14902 :
14903 450 : case 1:
14904 450 : if (pattern1246 (x2,
14905 : E_DImode) != 0
14906 450 : || !insn_condition_601 (operands, insn))
14907 : return -1;
14908 129 : *pnum_clobbers = 1;
14909 129 : return 515; /* *subdi3_carry_0 */
14910 :
14911 : default:
14912 : return -1;
14913 : }
14914 :
14915 1994 : case GE:
14916 1994 : case GEU:
14917 1994 : switch (pattern476 (x3, pnum_clobbers))
14918 : {
14919 176 : case 0:
14920 176 : if (pattern1247 (x2,
14921 : E_SImode) != 0
14922 176 : || !insn_condition_456 (operands, insn))
14923 : return -1;
14924 62 : *pnum_clobbers = 1;
14925 62 : return 522; /* *subsi3_carry_0r */
14926 :
14927 73 : case 1:
14928 73 : if (pattern1247 (x2,
14929 : E_DImode) != 0
14930 73 : || !insn_condition_601 (operands, insn))
14931 : return -1;
14932 61 : *pnum_clobbers = 1;
14933 61 : return 523; /* *subdi3_carry_0r */
14934 :
14935 : default:
14936 : return -1;
14937 : }
14938 :
14939 2345 : case EQ:
14940 2345 : switch (pattern478 (x2, pnum_clobbers))
14941 : {
14942 53 : case 0:
14943 53 : if (!insn_condition_772 (operands, insn))
14944 : return -1;
14945 10 : *pnum_clobbers = 1;
14946 10 : return 613; /* *subsi3_eq_0 */
14947 :
14948 103 : case 1:
14949 103 : if (!insn_condition_773 (operands, insn))
14950 : return -1;
14951 68 : *pnum_clobbers = 1;
14952 68 : return 614; /* *subdi3_eq_0 */
14953 :
14954 : default:
14955 : return -1;
14956 : }
14957 :
14958 6839 : case NE:
14959 6839 : switch (pattern478 (x2, pnum_clobbers))
14960 : {
14961 145 : case 0:
14962 145 : if (!insn_condition_772 (operands, insn))
14963 : return -1;
14964 39 : *pnum_clobbers = 1;
14965 39 : return 617; /* *subsi3_ne_0 */
14966 :
14967 3312 : case 1:
14968 3312 : if (!insn_condition_773 (operands, insn))
14969 : return -1;
14970 564 : *pnum_clobbers = 1;
14971 564 : return 618; /* *subdi3_ne_0 */
14972 :
14973 : default:
14974 : return -1;
14975 : }
14976 :
14977 : default:
14978 : return -1;
14979 : }
14980 : }
14981 :
14982 : int
14983 3497759 : recog_99 (rtx x1 ATTRIBUTE_UNUSED,
14984 : rtx_insn *insn ATTRIBUTE_UNUSED,
14985 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14986 : {
14987 3497759 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14988 3497759 : rtx x2, x3, x4, x5, x6;
14989 3497759 : int res ATTRIBUTE_UNUSED;
14990 3497759 : x2 = XEXP (x1, 0);
14991 3497759 : operands[0] = x2;
14992 3497759 : x3 = XEXP (x1, 1);
14993 3497759 : x4 = XEXP (x3, 0);
14994 3497759 : switch (GET_CODE (x4))
14995 : {
14996 2941199 : case CONST_INT:
14997 2941199 : case CONST_WIDE_INT:
14998 2941199 : case CONST_POLY_INT:
14999 2941199 : case CONST_FIXED:
15000 2941199 : case CONST_DOUBLE:
15001 2941199 : case CONST_VECTOR:
15002 2941199 : case CONST:
15003 2941199 : case REG:
15004 2941199 : case SUBREG:
15005 2941199 : case MEM:
15006 2941199 : case LABEL_REF:
15007 2941199 : case SYMBOL_REF:
15008 2941199 : case HIGH:
15009 2941199 : operands[1] = x4;
15010 2941199 : res = recog_98 (x1, insn, pnum_clobbers);
15011 2941199 : if (res >= 0)
15012 : return res;
15013 2014687 : if (pnum_clobbers == NULL
15014 1951691 : || GET_CODE (x4) != CONST_INT)
15015 : return -1;
15016 596616 : x5 = XEXP (x3, 1);
15017 596616 : if (GET_CODE (x5) != CLZ)
15018 : return -1;
15019 8764 : x6 = XEXP (x5, 0);
15020 8764 : operands[1] = x6;
15021 8764 : switch (XWINT (x4, 0))
15022 : {
15023 4198 : case 63L:
15024 4198 : if (pattern919 (x3,
15025 : E_DImode) != 0
15026 4198 : || !insn_condition_699 (operands, insn))
15027 : return -1;
15028 3533 : *pnum_clobbers = 1;
15029 3533 : return 1656; /* bsr_rex64_1 */
15030 :
15031 3716 : case 31L:
15032 3716 : if (pattern919 (x3,
15033 : E_SImode) != 0
15034 3716 : || !insn_condition_774 (operands, insn))
15035 : return -1;
15036 2933 : *pnum_clobbers = 1;
15037 2933 : return 1662; /* bsr_1 */
15038 :
15039 : default:
15040 : return -1;
15041 : }
15042 :
15043 83519 : case MINUS:
15044 83519 : if (pnum_clobbers == NULL)
15045 : return -1;
15046 83519 : switch (pattern321 (x3))
15047 : {
15048 5137 : case 0:
15049 5137 : switch (GET_MODE (operands[0]))
15050 : {
15051 140 : case E_SImode:
15052 140 : if (pattern1306 (x3,
15053 : E_SImode) != 0
15054 140 : || !insn_condition_775 (operands, insn))
15055 : return -1;
15056 95 : *pnum_clobbers = 1;
15057 95 : return 506; /* subsi3_carry */
15058 :
15059 4981 : case E_DImode:
15060 4981 : if (pattern1306 (x3,
15061 : E_DImode) != 0
15062 4981 : || !insn_condition_463 (operands, insn))
15063 : return -1;
15064 3186 : *pnum_clobbers = 1;
15065 3186 : return 507; /* subdi3_carry */
15066 :
15067 : default:
15068 : return -1;
15069 : }
15070 :
15071 18 : case 1:
15072 18 : switch (GET_MODE (operands[0]))
15073 : {
15074 14 : case E_SImode:
15075 14 : if (pattern1248 (x3,
15076 : E_SImode) != 0
15077 14 : || !insn_condition_776 (operands, insn))
15078 : return -1;
15079 1 : *pnum_clobbers = 1;
15080 1 : return 601; /* *subsi3_eq */
15081 :
15082 4 : case E_DImode:
15083 4 : if (pattern1248 (x3,
15084 : E_DImode) != 0
15085 4 : || !insn_condition_777 (operands, insn))
15086 : return -1;
15087 0 : *pnum_clobbers = 1;
15088 0 : return 602; /* *subdi3_eq */
15089 :
15090 : default:
15091 : return -1;
15092 : }
15093 :
15094 : default:
15095 : return -1;
15096 : }
15097 :
15098 : default:
15099 : return -1;
15100 : }
15101 : }
15102 :
15103 : int
15104 2303604 : recog_103 (rtx x1 ATTRIBUTE_UNUSED,
15105 : rtx_insn *insn ATTRIBUTE_UNUSED,
15106 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15107 : {
15108 2303604 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15109 2303604 : rtx x2, x3, x4, x5;
15110 2303604 : int res ATTRIBUTE_UNUSED;
15111 2303604 : x2 = XEXP (x1, 0);
15112 2303604 : operands[0] = x2;
15113 2303604 : x3 = XEXP (x1, 1);
15114 2303604 : x4 = XEXP (x3, 0);
15115 2303604 : switch (GET_CODE (x4))
15116 : {
15117 1170789 : case REG:
15118 1170789 : case SUBREG:
15119 1170789 : case MEM:
15120 1170789 : operands[1] = x4;
15121 1170789 : x5 = XEXP (x3, 1);
15122 1170789 : operands[2] = x5;
15123 1170789 : switch (GET_MODE (operands[0]))
15124 : {
15125 194261 : case E_SImode:
15126 194261 : if (pattern654 (x3,
15127 : E_SImode) != 0)
15128 : return -1;
15129 148637 : if (insn_condition_784 (operands, insn))
15130 : return 621; /* *mulsi3_1_nf */
15131 148634 : if (pnum_clobbers == NULL
15132 148634 : || !insn_condition_785 (operands, insn))
15133 : return -1;
15134 134759 : *pnum_clobbers = 1;
15135 134759 : return 622; /* *mulsi3_1 */
15136 :
15137 462146 : case E_DImode:
15138 462146 : if (pattern654 (x3,
15139 : E_DImode) != 0)
15140 : return -1;
15141 304026 : if (insn_condition_786 (operands, insn))
15142 : return 623; /* *muldi3_1_nf */
15143 304021 : if (pnum_clobbers == NULL
15144 304021 : || !insn_condition_787 (operands, insn))
15145 : return -1;
15146 288884 : *pnum_clobbers = 1;
15147 288884 : return 624; /* *muldi3_1 */
15148 :
15149 : default:
15150 : return -1;
15151 : }
15152 :
15153 396682 : case ZERO_EXTEND:
15154 396682 : if (pnum_clobbers == NULL
15155 372807 : || pattern152 (x3,
15156 : ZERO_EXTEND) != 0
15157 418192 : || !insn_condition_51 (operands, insn))
15158 : return -1;
15159 21130 : *pnum_clobbers = 1;
15160 21130 : return 646; /* *umulsidi3_1 */
15161 :
15162 92792 : case SIGN_EXTEND:
15163 92792 : if (pattern152 (x3,
15164 : SIGN_EXTEND) != 0)
15165 : return -1;
15166 1354 : if (insn_condition_788 (operands, insn))
15167 : return 648; /* *mulsidi3_1_nf */
15168 1354 : if (pnum_clobbers == NULL
15169 1354 : || !insn_condition_789 (operands, insn))
15170 : return -1;
15171 594 : *pnum_clobbers = 1;
15172 594 : return 649; /* *mulsidi3_1 */
15173 :
15174 : default:
15175 : return -1;
15176 : }
15177 : }
15178 :
15179 : int
15180 626757 : recog_107 (rtx x1 ATTRIBUTE_UNUSED,
15181 : rtx_insn *insn ATTRIBUTE_UNUSED,
15182 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15183 : {
15184 626757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15185 626757 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15186 626757 : int res ATTRIBUTE_UNUSED;
15187 626757 : x2 = XEXP (x1, 0);
15188 626757 : operands[0] = x2;
15189 626757 : x3 = XEXP (x1, 1);
15190 626757 : x4 = XEXP (x3, 0);
15191 626757 : switch (GET_CODE (x4))
15192 : {
15193 4030 : case XOR:
15194 4030 : if (pnum_clobbers == NULL)
15195 : return -1;
15196 3990 : x5 = XEXP (x4, 0);
15197 3990 : operands[1] = x5;
15198 3990 : x6 = XEXP (x4, 1);
15199 3990 : operands[2] = x6;
15200 3990 : switch (GET_MODE (operands[0]))
15201 : {
15202 799 : case E_SImode:
15203 799 : if (!nonimmediate_operand (operands[0], E_SImode)
15204 799 : || pattern21 (x3,
15205 : E_SImode) != 0
15206 1392 : || !insn_condition_807 (operands, insn))
15207 : return -1;
15208 507 : *pnum_clobbers = 1;
15209 507 : return 868; /* *notxorsi_1 */
15210 :
15211 838 : case E_DImode:
15212 838 : if (!nonimmediate_operand (operands[0], E_DImode)
15213 838 : || pattern21 (x3,
15214 : E_DImode) != 0
15215 1434 : || !insn_condition_808 (operands, insn))
15216 : return -1;
15217 301 : *pnum_clobbers = 1;
15218 301 : return 869; /* *notxordi_1 */
15219 :
15220 : default:
15221 : return -1;
15222 : }
15223 :
15224 562131 : case REG:
15225 562131 : case SUBREG:
15226 562131 : case MEM:
15227 562131 : switch (pattern153 (x3))
15228 : {
15229 332961 : case 0:
15230 332961 : if (insn_condition_809 (operands, insn))
15231 : return 1066; /* *one_cmpldi2_doubleword */
15232 299745 : if (!insn_condition_810 (operands, insn))
15233 4159 : return -1;
15234 : return 1070; /* *one_cmpldi2_1 */
15235 :
15236 201695 : case 1:
15237 201695 : if (!insn_condition_811 (operands, insn))
15238 6116 : return -1;
15239 : return 1069; /* *one_cmplsi2_1 */
15240 :
15241 : default:
15242 : return -1;
15243 : }
15244 :
15245 449 : case UNSPEC:
15246 449 : if (XVECLEN (x4, 0) != 3)
15247 : return -1;
15248 114 : x7 = XVECEXP (x4, 0, 0);
15249 114 : operands[1] = x7;
15250 114 : x8 = XVECEXP (x4, 0, 1);
15251 114 : operands[2] = x8;
15252 114 : x9 = XVECEXP (x4, 0, 2);
15253 114 : operands[3] = x9;
15254 114 : switch (XINT (x4, 1))
15255 : {
15256 106 : case 56:
15257 106 : switch (GET_MODE (operands[0]))
15258 : {
15259 18 : case E_SImode:
15260 18 : switch (pattern1029 (x3))
15261 : {
15262 0 : case 0:
15263 0 : if (!insn_condition_812 (operands, insn))
15264 0 : return -1;
15265 : return 3558; /* *avx512bw_cmpv32hf3 */
15266 :
15267 2 : case 1:
15268 2 : if (!insn_condition_370 (operands, insn))
15269 0 : return -1;
15270 : return 3646; /* *avx512vl_cmpv32qi3 */
15271 :
15272 16 : case 2:
15273 16 : if (!insn_condition_813 (operands, insn))
15274 0 : return -1;
15275 : return 3648; /* *avx512bw_cmpv32hi3 */
15276 :
15277 : default:
15278 : return -1;
15279 : }
15280 :
15281 16 : case E_DImode:
15282 16 : if (pattern1030 (x3) != 0
15283 16 : || !insn_condition_813 (operands, insn))
15284 0 : return -1;
15285 : return 3642; /* *avx512bw_cmpv64qi3 */
15286 :
15287 : default:
15288 : return -1;
15289 : }
15290 :
15291 2 : case 156:
15292 2 : if (!const_0_to_7_operand (operands[3], E_SImode))
15293 : return -1;
15294 2 : switch (GET_MODE (operands[0]))
15295 : {
15296 0 : case E_DImode:
15297 0 : if (pattern1137 (x3) != 0
15298 0 : || !insn_condition_813 (operands, insn))
15299 0 : return -1;
15300 : return 3643; /* *avx512bw_cmpv64qi3 */
15301 :
15302 0 : case E_SImode:
15303 0 : switch (pattern1138 (x3))
15304 : {
15305 0 : case 0:
15306 0 : if (!insn_condition_370 (operands, insn))
15307 0 : return -1;
15308 : return 3647; /* *avx512vl_cmpv32qi3 */
15309 :
15310 0 : case 1:
15311 0 : if (!insn_condition_813 (operands, insn))
15312 0 : return -1;
15313 : return 3649; /* *avx512bw_cmpv32hi3 */
15314 :
15315 : default:
15316 : return -1;
15317 : }
15318 :
15319 : default:
15320 : return -1;
15321 : }
15322 :
15323 : default:
15324 : return -1;
15325 : }
15326 :
15327 : default:
15328 : return -1;
15329 : }
15330 : }
15331 :
15332 : int
15333 426853 : recog_114 (rtx x1 ATTRIBUTE_UNUSED,
15334 : rtx_insn *insn ATTRIBUTE_UNUSED,
15335 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15336 : {
15337 426853 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15338 426853 : rtx x2;
15339 426853 : int res ATTRIBUTE_UNUSED;
15340 426853 : switch (GET_MODE (operands[0]))
15341 : {
15342 303631 : case E_DImode:
15343 303631 : if (pnum_clobbers != NULL)
15344 : {
15345 303081 : x2 = XEXP (x1, 1);
15346 303081 : if (pattern896 (x2,
15347 : E_DImode,
15348 : E_QImode) == 0
15349 303081 : && insn_condition_51 (operands, insn))
15350 : {
15351 1722 : *pnum_clobbers = 1;
15352 1722 : return 1215; /* ashrdi3_doubleword */
15353 : }
15354 : }
15355 301909 : x2 = XEXP (x1, 1);
15356 301909 : if (GET_MODE (x2) != E_DImode
15357 301909 : || !nonimmediate_operand (operands[1], E_DImode))
15358 : return -1;
15359 301654 : if (nonimmediate_operand (operands[0], E_DImode)
15360 301654 : && const_int_operand (operands[2], E_QImode))
15361 : {
15362 292520 : if (insn_condition_844 (operands, insn))
15363 : return 1300; /* ashrdi3_cvt_nf */
15364 292509 : if (pnum_clobbers != NULL
15365 292509 : && insn_condition_845 (operands, insn))
15366 : {
15367 51019 : *pnum_clobbers = 1;
15368 51019 : return 1301; /* ashrdi3_cvt */
15369 : }
15370 : }
15371 250624 : if (register_operand (operands[0], E_DImode)
15372 227923 : && register_operand (operands[2], E_DImode)
15373 250624 : && insn_condition_801 (operands, insn))
15374 : return 1306; /* *bmi2_ashrdi3_1 */
15375 250573 : if (!nonimmediate_operand (operands[0], E_DImode)
15376 250573 : || !nonmemory_operand (operands[2], E_QImode))
15377 : return -1;
15378 244454 : if (insn_condition_846 (operands, insn))
15379 : return 1309; /* *ashrdi3_1_nf */
15380 244452 : if (pnum_clobbers == NULL
15381 244452 : || !insn_condition_847 (operands, insn))
15382 : return -1;
15383 223020 : *pnum_clobbers = 1;
15384 223020 : return 1310; /* *ashrdi3_1 */
15385 :
15386 64439 : case E_SImode:
15387 64439 : x2 = XEXP (x1, 1);
15388 64439 : if (pattern659 (x2,
15389 : E_SImode) != 0)
15390 : return -1;
15391 56901 : if (insn_condition_848 (operands, insn))
15392 : return 1307; /* *ashrsi3_1_nf */
15393 56901 : if (pnum_clobbers == NULL
15394 56901 : || !insn_condition_849 (operands, insn))
15395 : return -1;
15396 49252 : *pnum_clobbers = 1;
15397 49252 : return 1308; /* *ashrsi3_1 */
15398 :
15399 : default:
15400 : return -1;
15401 : }
15402 : }
15403 :
15404 : int
15405 13467 : recog_118 (rtx x1 ATTRIBUTE_UNUSED,
15406 : rtx_insn *insn ATTRIBUTE_UNUSED,
15407 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15408 : {
15409 13467 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15410 13467 : rtx x2, x3;
15411 13467 : int res ATTRIBUTE_UNUSED;
15412 13467 : switch (pattern18 (x1, pnum_clobbers))
15413 : {
15414 0 : case 0:
15415 0 : if (!insn_condition_873 (operands, insn))
15416 : return -1;
15417 0 : *pnum_clobbers = 1;
15418 0 : return 1429; /* *rotrsi3_mask_1 */
15419 :
15420 0 : case 1:
15421 0 : if (!insn_condition_874 (operands, insn))
15422 : return -1;
15423 0 : *pnum_clobbers = 1;
15424 0 : return 1431; /* *rotrdi3_mask_1 */
15425 :
15426 0 : case 2:
15427 0 : if (!insn_condition_875 (operands, insn))
15428 : return -1;
15429 0 : *pnum_clobbers = 1;
15430 0 : return 1445; /* *rotrsi3_add_1 */
15431 :
15432 0 : case 3:
15433 0 : if (!insn_condition_876 (operands, insn))
15434 : return -1;
15435 0 : *pnum_clobbers = 1;
15436 0 : return 1447; /* *rotrdi3_add_1 */
15437 :
15438 0 : case 4:
15439 0 : if (!insn_condition_875 (operands, insn))
15440 : return -1;
15441 0 : *pnum_clobbers = 1;
15442 0 : return 1461; /* *rotrsi3_sub_1 */
15443 :
15444 0 : case 5:
15445 0 : if (!insn_condition_876 (operands, insn))
15446 : return -1;
15447 0 : *pnum_clobbers = 1;
15448 0 : return 1463; /* *rotrdi3_sub_1 */
15449 :
15450 13420 : case 6:
15451 13420 : x2 = XEXP (x1, 1);
15452 13420 : x3 = XEXP (x2, 1);
15453 13420 : switch (GET_CODE (x3))
15454 : {
15455 2418 : case SUBREG:
15456 2418 : switch (pattern482 (x2, pnum_clobbers))
15457 : {
15458 100 : case 0:
15459 100 : if (insn_condition_873 (operands, insn))
15460 : {
15461 34 : *pnum_clobbers = 1;
15462 34 : return 1421; /* *rotrsi3_mask */
15463 : }
15464 : break;
15465 :
15466 90 : case 1:
15467 90 : if (insn_condition_874 (operands, insn))
15468 : {
15469 30 : *pnum_clobbers = 1;
15470 30 : return 1423; /* *rotrdi3_mask */
15471 : }
15472 : break;
15473 :
15474 0 : case 2:
15475 0 : if (insn_condition_875 (operands, insn))
15476 : {
15477 0 : *pnum_clobbers = 1;
15478 0 : return 1437; /* *rotrsi3_add */
15479 : }
15480 : break;
15481 :
15482 0 : case 3:
15483 0 : if (insn_condition_876 (operands, insn))
15484 : {
15485 0 : *pnum_clobbers = 1;
15486 0 : return 1439; /* *rotrdi3_add */
15487 : }
15488 : break;
15489 :
15490 0 : case 4:
15491 0 : if (insn_condition_875 (operands, insn))
15492 : {
15493 0 : *pnum_clobbers = 1;
15494 0 : return 1453; /* *rotrsi3_sub */
15495 : }
15496 : break;
15497 :
15498 0 : case 5:
15499 0 : if (insn_condition_876 (operands, insn))
15500 : {
15501 0 : *pnum_clobbers = 1;
15502 0 : return 1455; /* *rotrdi3_sub */
15503 : }
15504 : break;
15505 :
15506 : default:
15507 : break;
15508 : }
15509 : break;
15510 :
15511 9712 : case CONST_INT:
15512 9712 : operands[2] = x3;
15513 9712 : switch (GET_MODE (operands[0]))
15514 : {
15515 1712 : case E_DImode:
15516 1712 : if (pattern642 (x2, pnum_clobbers,
15517 : E_DImode) == 0
15518 564 : && const_1_to_31_operand (operands[2], E_QImode)
15519 2276 : && insn_condition_51 (operands, insn))
15520 : {
15521 77 : *pnum_clobbers = 2;
15522 77 : return 1466; /* ix86_rotrdi3_doubleword */
15523 : }
15524 : break;
15525 :
15526 6841 : case E_SImode:
15527 6841 : if (register_operand (operands[0], E_SImode)
15528 6777 : && GET_MODE (x2) == E_SImode
15529 6777 : && nonimmediate_operand (operands[1], E_SImode)
15530 3608 : && const_0_to_31_operand (operands[2], E_QImode)
15531 10449 : && insn_condition_877 (operands, insn))
15532 : return 1472; /* *bmi2_rorxsi3_1 */
15533 : break;
15534 :
15535 : default:
15536 : break;
15537 : }
15538 9025 : if (register_operand (operands[0], E_DImode)
15539 9025 : && GET_MODE (x2) == E_DImode)
15540 : {
15541 1390 : if (XWINT (x3, 0) == 32L
15542 0 : && register_operand (operands[1], E_DImode)
15543 1390 : && insn_condition_51 (operands, insn))
15544 : return 1469; /* rotr32di2_doubleword */
15545 1390 : if (nonimmediate_operand (operands[1], E_DImode))
15546 : {
15547 516 : operands[2] = x3;
15548 516 : if (const_0_to_63_operand (operands[2], E_QImode)
15549 516 : && insn_condition_878 (operands, insn))
15550 : return 1473; /* *bmi2_rorxdi3_1 */
15551 : }
15552 : }
15553 : break;
15554 :
15555 : default:
15556 : break;
15557 : }
15558 12658 : operands[2] = x3;
15559 12658 : if (!nonmemory_operand (operands[2], E_QImode))
15560 : return -1;
15561 11650 : switch (pattern14 (x2))
15562 : {
15563 4722 : case 0:
15564 4722 : if (insn_condition_879 (operands, insn))
15565 : return 1476; /* *rotrsi3_1_nf */
15566 4722 : if (pnum_clobbers == NULL
15567 4722 : || !insn_condition_880 (operands, insn))
15568 : return -1;
15569 4551 : *pnum_clobbers = 1;
15570 4551 : return 1477; /* *rotrsi3_1 */
15571 :
15572 1411 : case 1:
15573 1411 : if (insn_condition_881 (operands, insn))
15574 : return 1480; /* *rotrdi3_1_nf */
15575 1411 : if (pnum_clobbers == NULL
15576 1411 : || !insn_condition_882 (operands, insn))
15577 : return -1;
15578 1061 : *pnum_clobbers = 1;
15579 1061 : return 1481; /* *rotrdi3_1 */
15580 :
15581 : default:
15582 : return -1;
15583 : }
15584 :
15585 : default:
15586 : return -1;
15587 : }
15588 : }
15589 :
15590 : int
15591 2149243 : recog_123 (rtx x1 ATTRIBUTE_UNUSED,
15592 : rtx_insn *insn ATTRIBUTE_UNUSED,
15593 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15594 : {
15595 2149243 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15596 2149243 : rtx x2, x3, x4, x5, x6;
15597 2149243 : int res ATTRIBUTE_UNUSED;
15598 2149243 : x2 = XEXP (x1, 1);
15599 2149243 : switch (XINT (x2, 1))
15600 : {
15601 980428 : case 16:
15602 980428 : if (GET_MODE (x2) != E_BLKmode)
15603 : return -1;
15604 980428 : x3 = XEXP (x1, 0);
15605 980428 : operands[0] = x3;
15606 980428 : x4 = XVECEXP (x2, 0, 0);
15607 980428 : if (!rtx_equal_p (x4, operands[0]))
15608 0 : return -1;
15609 : return 1617; /* *memory_blockage */
15610 :
15611 6496 : case 13:
15612 6496 : x3 = XEXP (x1, 0);
15613 6496 : operands[0] = x3;
15614 6496 : x4 = XVECEXP (x2, 0, 0);
15615 6496 : switch (GET_CODE (x4))
15616 : {
15617 6496 : case CONST_INT:
15618 6496 : if (XWINT (x4, 0) != 0L)
15619 : return -1;
15620 6496 : switch (GET_MODE (operands[0]))
15621 : {
15622 6480 : case E_SImode:
15623 6480 : if (pnum_clobbers == NULL
15624 6480 : || !register_operand (operands[0], E_SImode)
15625 3817 : || GET_MODE (x2) != E_SImode
15626 10297 : || !insn_condition_51 (operands, insn))
15627 : return -1;
15628 3817 : *pnum_clobbers = 1;
15629 3817 : return 1628; /* *set_got */
15630 :
15631 16 : case E_DImode:
15632 16 : if (!register_operand (operands[0], E_DImode)
15633 16 : || GET_MODE (x2) != E_DImode
15634 32 : || !insn_condition_52 (operands, insn))
15635 0 : return -1;
15636 : return 1630; /* set_got_rex64 */
15637 :
15638 : default:
15639 : return -1;
15640 : }
15641 :
15642 0 : case LABEL_REF:
15643 0 : if (pnum_clobbers == NULL
15644 0 : || !register_operand (operands[0], E_SImode)
15645 0 : || GET_MODE (x2) != E_SImode)
15646 : return -1;
15647 0 : x5 = XEXP (x4, 0);
15648 0 : operands[1] = x5;
15649 0 : if (!insn_condition_51 (operands, insn))
15650 : return -1;
15651 0 : *pnum_clobbers = 1;
15652 0 : return 1629; /* *set_got_labelled */
15653 :
15654 : default:
15655 : return -1;
15656 : }
15657 :
15658 59 : case 14:
15659 59 : if (GET_MODE (x2) != E_DImode)
15660 : return -1;
15661 59 : x4 = XVECEXP (x2, 0, 0);
15662 59 : if (GET_CODE (x4) != LABEL_REF)
15663 : return -1;
15664 59 : x3 = XEXP (x1, 0);
15665 59 : operands[0] = x3;
15666 59 : if (!register_operand (operands[0], E_DImode))
15667 : return -1;
15668 59 : x5 = XEXP (x4, 0);
15669 59 : operands[1] = x5;
15670 59 : if (!insn_condition_52 (operands, insn))
15671 0 : return -1;
15672 : return 1631; /* set_rip_rex64 */
15673 :
15674 59 : case 15:
15675 59 : if (GET_MODE (x2) != E_DImode)
15676 : return -1;
15677 59 : x4 = XVECEXP (x2, 0, 0);
15678 59 : if (GET_CODE (x4) != LABEL_REF)
15679 : return -1;
15680 59 : x3 = XEXP (x1, 0);
15681 59 : operands[0] = x3;
15682 59 : if (!register_operand (operands[0], E_DImode))
15683 : return -1;
15684 59 : x5 = XEXP (x4, 0);
15685 59 : operands[1] = x5;
15686 59 : if (!insn_condition_889 (operands, insn))
15687 0 : return -1;
15688 : return 1632; /* set_got_offset_rex64 */
15689 :
15690 95 : case 96:
15691 95 : x3 = XEXP (x1, 0);
15692 95 : operands[0] = x3;
15693 95 : switch (pattern335 (x2))
15694 : {
15695 45 : case 0:
15696 45 : if (insn_condition_142 (operands, insn))
15697 : return 1684; /* tzcnt_si_nf */
15698 45 : if (pnum_clobbers == NULL
15699 45 : || !insn_condition_56 (operands, insn))
15700 : return -1;
15701 45 : *pnum_clobbers = 1;
15702 45 : return 1688; /* tzcnt_si */
15703 :
15704 44 : case 1:
15705 44 : if (insn_condition_890 (operands, insn))
15706 : return 1686; /* tzcnt_di_nf */
15707 44 : if (pnum_clobbers == NULL
15708 44 : || !insn_condition_891 (operands, insn))
15709 : return -1;
15710 44 : *pnum_clobbers = 1;
15711 44 : return 1690; /* tzcnt_di */
15712 :
15713 : default:
15714 : return -1;
15715 : }
15716 :
15717 83 : case 95:
15718 83 : x3 = XEXP (x1, 0);
15719 83 : operands[0] = x3;
15720 83 : switch (pattern335 (x2))
15721 : {
15722 40 : case 0:
15723 40 : if (insn_condition_144 (operands, insn))
15724 : return 1685; /* lzcnt_si_nf */
15725 40 : if (pnum_clobbers == NULL
15726 40 : || !insn_condition_892 (operands, insn))
15727 : return -1;
15728 40 : *pnum_clobbers = 1;
15729 40 : return 1689; /* lzcnt_si */
15730 :
15731 42 : case 1:
15732 42 : if (insn_condition_893 (operands, insn))
15733 : return 1687; /* lzcnt_di_nf */
15734 42 : if (pnum_clobbers == NULL
15735 42 : || !insn_condition_894 (operands, insn))
15736 : return -1;
15737 42 : *pnum_clobbers = 1;
15738 42 : return 1691; /* lzcnt_di */
15739 :
15740 : default:
15741 : return -1;
15742 : }
15743 :
15744 30938 : case 18:
15745 30938 : x4 = XVECEXP (x2, 0, 0);
15746 30938 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15747 : return -1;
15748 30938 : x3 = XEXP (x1, 0);
15749 30938 : operands[0] = x3;
15750 30938 : switch (pattern24 (x2))
15751 : {
15752 761 : case 0:
15753 761 : if (!insn_condition_609 (operands, insn))
15754 0 : return -1;
15755 : return 1797; /* *load_tp_si */
15756 :
15757 30177 : case 1:
15758 30177 : if (!insn_condition_610 (operands, insn))
15759 0 : return -1;
15760 : return 1798; /* *load_tp_di */
15761 :
15762 : default:
15763 : return -1;
15764 : }
15765 :
15766 526 : case 21:
15767 526 : x3 = XEXP (x1, 0);
15768 526 : operands[0] = x3;
15769 526 : x4 = XVECEXP (x2, 0, 0);
15770 526 : operands[1] = x4;
15771 526 : if (!tls_symbolic_operand (operands[1], E_VOIDmode))
15772 : return -1;
15773 526 : switch (pattern24 (x2))
15774 : {
15775 86 : case 0:
15776 86 : if (!insn_condition_607 (operands, insn))
15777 0 : return -1;
15778 : return 1806; /* *tls_dynamic_gnu2_lea_64_si */
15779 :
15780 440 : case 1:
15781 440 : if (!insn_condition_608 (operands, insn))
15782 0 : return -1;
15783 : return 1807; /* *tls_dynamic_gnu2_lea_64_di */
15784 :
15785 : default:
15786 : return -1;
15787 : }
15788 :
15789 210 : case 67:
15790 210 : x3 = XEXP (x1, 0);
15791 210 : operands[0] = x3;
15792 210 : x4 = XVECEXP (x2, 0, 0);
15793 210 : operands[1] = x4;
15794 210 : if (!register_operand (operands[1], E_XFmode))
15795 : return -1;
15796 92 : switch (GET_MODE (operands[0]))
15797 : {
15798 28 : case E_DImode:
15799 28 : if (pnum_clobbers == NULL
15800 28 : || !nonimmediate_operand (operands[0], E_DImode)
15801 28 : || GET_MODE (x2) != E_DImode
15802 56 : || !insn_condition_147 (operands, insn))
15803 : return -1;
15804 28 : *pnum_clobbers = 1;
15805 28 : return 1872; /* lrintxfdi2 */
15806 :
15807 64 : case E_SImode:
15808 64 : if (!nonimmediate_operand (operands[0], E_SImode)
15809 64 : || GET_MODE (x2) != E_SImode
15810 128 : || !insn_condition_147 (operands, insn))
15811 0 : return -1;
15812 : return 1874; /* lrintxfsi2 */
15813 :
15814 : default:
15815 : return -1;
15816 : }
15817 :
15818 180 : case 75:
15819 180 : switch (pattern158 (x1, pnum_clobbers))
15820 : {
15821 12 : case 0:
15822 12 : if (!insn_condition_150 (operands, insn))
15823 : return -1;
15824 12 : *pnum_clobbers = 1;
15825 12 : return 1885; /* *fistsi2_floor_1 */
15826 :
15827 36 : case 1:
15828 36 : if (!insn_condition_150 (operands, insn))
15829 : return -1;
15830 36 : *pnum_clobbers = 1;
15831 36 : return 1887; /* *fistdi2_floor_1 */
15832 :
15833 : default:
15834 : return -1;
15835 : }
15836 :
15837 70 : case 76:
15838 70 : switch (pattern158 (x1, pnum_clobbers))
15839 : {
15840 8 : case 0:
15841 8 : if (!insn_condition_150 (operands, insn))
15842 : return -1;
15843 8 : *pnum_clobbers = 1;
15844 8 : return 1886; /* *fistsi2_ceil_1 */
15845 :
15846 18 : case 1:
15847 18 : if (!insn_condition_150 (operands, insn))
15848 : return -1;
15849 18 : *pnum_clobbers = 1;
15850 18 : return 1888; /* *fistdi2_ceil_1 */
15851 :
15852 : default:
15853 : return -1;
15854 : }
15855 :
15856 72237 : case 46:
15857 72237 : return recog_122 (x1, insn, pnum_clobbers);
15858 :
15859 2978 : case 30:
15860 2978 : if (GET_MODE (x2) != E_BLKmode)
15861 : return -1;
15862 2978 : x3 = XEXP (x1, 0);
15863 2978 : operands[0] = x3;
15864 2978 : x4 = XVECEXP (x2, 0, 0);
15865 2978 : if (!rtx_equal_p (x4, operands[0]))
15866 0 : return -1;
15867 : return 2112; /* *pause */
15868 :
15869 210 : case 101:
15870 210 : switch (pattern159 (x1))
15871 : {
15872 87 : case 0:
15873 87 : if (!insn_condition_895 (operands, insn))
15874 0 : return -1;
15875 : return 2143; /* movdirisi */
15876 :
15877 85 : case 1:
15878 85 : if (!insn_condition_896 (operands, insn))
15879 0 : return -1;
15880 : return 2144; /* movdiridi */
15881 :
15882 : default:
15883 : return -1;
15884 : }
15885 :
15886 134 : case 102:
15887 134 : if (GET_MODE (x2) != E_XImode)
15888 : return -1;
15889 134 : x3 = XEXP (x1, 0);
15890 134 : if (GET_CODE (x3) != MEM
15891 133 : || GET_MODE (x3) != E_XImode)
15892 : return -1;
15893 133 : x6 = XEXP (x3, 0);
15894 133 : operands[0] = x6;
15895 133 : x4 = XVECEXP (x2, 0, 0);
15896 133 : operands[1] = x4;
15897 133 : if (!memory_operand (operands[1], E_XImode))
15898 : return -1;
15899 129 : switch (GET_MODE (operands[0]))
15900 : {
15901 13 : case E_SImode:
15902 13 : if (!register_operand (operands[0], E_SImode)
15903 13 : || !insn_condition_897 (operands, insn))
15904 6 : return -1;
15905 : return 2145; /* movdir64b_si */
15906 :
15907 116 : case E_DImode:
15908 116 : if (!register_operand (operands[0], E_DImode)
15909 116 : || !insn_condition_898 (operands, insn))
15910 23 : return -1;
15911 : return 2146; /* movdir64b_di */
15912 :
15913 : default:
15914 : return -1;
15915 : }
15916 :
15917 68 : case 110:
15918 68 : if (GET_MODE (x2) != E_DImode)
15919 : return -1;
15920 68 : x3 = XEXP (x1, 0);
15921 68 : operands[0] = x3;
15922 68 : if (!memory_operand (operands[0], E_DImode))
15923 : return -1;
15924 68 : x4 = XVECEXP (x2, 0, 0);
15925 68 : operands[1] = x4;
15926 68 : if (!register_operand (operands[1], E_DImode)
15927 68 : || !insn_condition_542 (operands, insn))
15928 6 : return -1;
15929 : return 2208; /* sse_movntq */
15930 :
15931 1262 : case 116:
15932 1262 : switch (pattern159 (x1))
15933 : {
15934 499 : case 0:
15935 499 : if (!insn_condition_141 (operands, insn))
15936 0 : return -1;
15937 : return 2727; /* sse2_movntisi */
15938 :
15939 46 : case 1:
15940 46 : if (!insn_condition_701 (operands, insn))
15941 0 : return -1;
15942 : return 2728; /* sse2_movntidi */
15943 :
15944 : default:
15945 : return -1;
15946 : }
15947 :
15948 1138 : case 155:
15949 1138 : x3 = XEXP (x1, 0);
15950 1138 : operands[0] = x3;
15951 1138 : x4 = XVECEXP (x2, 0, 0);
15952 1138 : switch (GET_CODE (x4))
15953 : {
15954 222 : case VEC_SELECT:
15955 222 : switch (pattern485 (x4))
15956 : {
15957 90 : case 0:
15958 90 : switch (pattern1142 (x2,
15959 : E_SImode))
15960 : {
15961 17 : case 0:
15962 17 : if (!insn_condition_40 (operands, insn))
15963 0 : return -1;
15964 : return 4696; /* avx512fp16_vcvtsh2usi */
15965 :
15966 29 : case 1:
15967 29 : if (!insn_condition_27 (operands, insn))
15968 0 : return -1;
15969 : return 5073; /* avx512f_vcvtss2usi */
15970 :
15971 29 : case 2:
15972 29 : if (!insn_condition_27 (operands, insn))
15973 0 : return -1;
15974 : return 5091; /* avx512f_vcvtsd2usi */
15975 :
15976 : default:
15977 : return -1;
15978 : }
15979 :
15980 69 : case 1:
15981 69 : switch (pattern1142 (x2,
15982 : E_DImode))
15983 : {
15984 10 : case 0:
15985 10 : if (!insn_condition_306 (operands, insn))
15986 0 : return -1;
15987 : return 4700; /* avx512fp16_vcvtsh2usiq */
15988 :
15989 22 : case 1:
15990 22 : if (!insn_condition_899 (operands, insn))
15991 0 : return -1;
15992 : return 5075; /* avx512f_vcvtss2usiq */
15993 :
15994 22 : case 2:
15995 22 : if (!insn_condition_899 (operands, insn))
15996 0 : return -1;
15997 : return 5093; /* avx512f_vcvtsd2usiq */
15998 :
15999 : default:
16000 : return -1;
16001 : }
16002 :
16003 : default:
16004 : return -1;
16005 : }
16006 :
16007 882 : case REG:
16008 882 : case SUBREG:
16009 882 : case MEM:
16010 882 : operands[1] = x4;
16011 882 : if (!nonimmediate_operand (operands[1], E_HFmode))
16012 : return -1;
16013 0 : switch (pattern24 (x2))
16014 : {
16015 0 : case 0:
16016 0 : if (!insn_condition_40 (operands, insn))
16017 0 : return -1;
16018 : return 4708; /* avx512fp16_vcvtsh2usi_2 */
16019 :
16020 0 : case 1:
16021 0 : if (!insn_condition_306 (operands, insn))
16022 0 : return -1;
16023 : return 4710; /* avx512fp16_vcvtsh2usiq_2 */
16024 :
16025 : default:
16026 : return -1;
16027 : }
16028 :
16029 : default:
16030 : return -1;
16031 : }
16032 :
16033 3559 : case 43:
16034 3559 : x3 = XEXP (x1, 0);
16035 3559 : operands[0] = x3;
16036 3559 : x4 = XVECEXP (x2, 0, 0);
16037 3559 : switch (GET_CODE (x4))
16038 : {
16039 919 : case VEC_SELECT:
16040 919 : switch (pattern485 (x4))
16041 : {
16042 414 : case 0:
16043 414 : switch (pattern1143 (x2,
16044 : E_SImode))
16045 : {
16046 17 : case 0:
16047 17 : if (!insn_condition_40 (operands, insn))
16048 0 : return -1;
16049 : return 4698; /* avx512fp16_vcvtsh2si */
16050 :
16051 232 : case 1:
16052 232 : if (!insn_condition_148 (operands, insn))
16053 0 : return -1;
16054 : return 4955; /* sse_cvtss2si */
16055 :
16056 150 : case 2:
16057 150 : if (!insn_condition_141 (operands, insn))
16058 0 : return -1;
16059 : return 5109; /* sse2_cvtsd2si */
16060 :
16061 : default:
16062 : return -1;
16063 : }
16064 :
16065 431 : case 1:
16066 431 : switch (pattern1143 (x2,
16067 : E_DImode))
16068 : {
16069 10 : case 0:
16070 10 : if (!insn_condition_306 (operands, insn))
16071 0 : return -1;
16072 : return 4702; /* avx512fp16_vcvtsh2siq */
16073 :
16074 203 : case 1:
16075 203 : if (!insn_condition_900 (operands, insn))
16076 0 : return -1;
16077 : return 4957; /* sse_cvtss2siq */
16078 :
16079 203 : case 2:
16080 203 : if (!insn_condition_701 (operands, insn))
16081 0 : return -1;
16082 : return 5111; /* sse2_cvtsd2siq */
16083 :
16084 : default:
16085 : return -1;
16086 : }
16087 :
16088 : default:
16089 : return -1;
16090 : }
16091 :
16092 2592 : case REG:
16093 2592 : case SUBREG:
16094 2592 : case MEM:
16095 2592 : operands[1] = x4;
16096 2592 : switch (GET_MODE (operands[0]))
16097 : {
16098 36 : case E_SImode:
16099 36 : switch (pattern801 (x2,
16100 : E_SImode))
16101 : {
16102 0 : case 0:
16103 0 : if (!insn_condition_40 (operands, insn))
16104 0 : return -1;
16105 : return 4709; /* avx512fp16_vcvtsh2si_2 */
16106 :
16107 10 : case 1:
16108 10 : if (!insn_condition_148 (operands, insn))
16109 0 : return -1;
16110 : return 4961; /* sse_cvtss2si_2 */
16111 :
16112 23 : case 2:
16113 23 : if (!insn_condition_141 (operands, insn))
16114 0 : return -1;
16115 : return 5115; /* sse2_cvtsd2si_2 */
16116 :
16117 : default:
16118 : return -1;
16119 : }
16120 :
16121 1316 : case E_DImode:
16122 1316 : switch (pattern801 (x2,
16123 : E_DImode))
16124 : {
16125 0 : case 0:
16126 0 : if (!insn_condition_306 (operands, insn))
16127 0 : return -1;
16128 : return 4711; /* avx512fp16_vcvtsh2siq_2 */
16129 :
16130 146 : case 1:
16131 146 : if (!insn_condition_900 (operands, insn))
16132 0 : return -1;
16133 : return 4962; /* sse_cvtss2siq_2 */
16134 :
16135 1160 : case 2:
16136 1160 : if (!insn_condition_701 (operands, insn))
16137 0 : return -1;
16138 : return 5116; /* sse2_cvtsd2siq_2 */
16139 :
16140 : default:
16141 : return -1;
16142 : }
16143 :
16144 : default:
16145 : return -1;
16146 : }
16147 :
16148 : default:
16149 : return -1;
16150 : }
16151 :
16152 1837 : case 171:
16153 1837 : switch (pattern161 (x1))
16154 : {
16155 17 : case 0:
16156 17 : if (!insn_condition_40 (operands, insn))
16157 0 : return -1;
16158 : return 4854; /* unspec_avx512fp16_fix_truncsi2 */
16159 :
16160 195 : case 1:
16161 195 : if (!insn_condition_148 (operands, insn))
16162 0 : return -1;
16163 : return 4964; /* unspec_sse_cvttss2si */
16164 :
16165 104 : case 2:
16166 104 : if (!insn_condition_141 (operands, insn))
16167 0 : return -1;
16168 : return 5118; /* unspec_sse2_cvttsd2si */
16169 :
16170 10 : case 3:
16171 10 : if (!insn_condition_306 (operands, insn))
16172 0 : return -1;
16173 : return 4858; /* unspec_avx512fp16_fix_truncdi2 */
16174 :
16175 156 : case 4:
16176 156 : if (!insn_condition_900 (operands, insn))
16177 0 : return -1;
16178 : return 4966; /* unspec_sse_cvttss2siq */
16179 :
16180 156 : case 5:
16181 156 : if (!insn_condition_701 (operands, insn))
16182 0 : return -1;
16183 : return 5120; /* unspec_sse2_cvttsd2siq */
16184 :
16185 : default:
16186 : return -1;
16187 : }
16188 :
16189 1137 : case 172:
16190 1137 : switch (pattern161 (x1))
16191 : {
16192 17 : case 0:
16193 17 : if (!insn_condition_40 (operands, insn))
16194 0 : return -1;
16195 : return 4856; /* unspec_avx512fp16_fixuns_truncsi2 */
16196 :
16197 26 : case 1:
16198 26 : if (!insn_condition_27 (operands, insn))
16199 0 : return -1;
16200 : return 5079; /* unspec_avx512f_vcvttss2usi */
16201 :
16202 26 : case 2:
16203 26 : if (!insn_condition_27 (operands, insn))
16204 0 : return -1;
16205 : return 5097; /* unspec_avx512f_vcvttsd2usi */
16206 :
16207 10 : case 3:
16208 10 : if (!insn_condition_306 (operands, insn))
16209 0 : return -1;
16210 : return 4860; /* unspec_avx512fp16_fixuns_truncdi2 */
16211 :
16212 19 : case 4:
16213 19 : if (!insn_condition_899 (operands, insn))
16214 0 : return -1;
16215 : return 5081; /* unspec_avx512f_vcvttss2usiq */
16216 :
16217 19 : case 5:
16218 19 : if (!insn_condition_899 (operands, insn))
16219 0 : return -1;
16220 : return 5099; /* unspec_avx512f_vcvttsd2usiq */
16221 :
16222 : default:
16223 : return -1;
16224 : }
16225 :
16226 329 : case 190:
16227 329 : x3 = XEXP (x1, 0);
16228 329 : operands[0] = x3;
16229 329 : x4 = XVECEXP (x2, 0, 0);
16230 329 : operands[1] = x4;
16231 329 : switch (GET_MODE (operands[0]))
16232 : {
16233 94 : case E_DImode:
16234 94 : if (!register_operand (operands[0], E_DImode)
16235 92 : || GET_MODE (x2) != E_DImode
16236 92 : || !register_operand (operands[1], E_V64QImode)
16237 178 : || !insn_condition_12 (operands, insn))
16238 10 : return -1;
16239 : return 5357; /* avx512bw_cvtb2maskv64qi */
16240 :
16241 168 : case E_SImode:
16242 168 : if (!register_operand (operands[0], E_SImode)
16243 168 : || GET_MODE (x2) != E_SImode)
16244 : return -1;
16245 164 : switch (GET_MODE (operands[1]))
16246 : {
16247 80 : case E_V32QImode:
16248 80 : if (!register_operand (operands[1], E_V32QImode)
16249 80 : || !insn_condition_77 (operands, insn))
16250 7 : return -1;
16251 : return 5359; /* avx512vl_cvtb2maskv32qi */
16252 :
16253 84 : case E_V32HImode:
16254 84 : if (!register_operand (operands[1], E_V32HImode)
16255 84 : || !insn_condition_12 (operands, insn))
16256 7 : return -1;
16257 : return 5360; /* avx512bw_cvtw2maskv32hi */
16258 :
16259 : default:
16260 : return -1;
16261 : }
16262 :
16263 : default:
16264 : return -1;
16265 : }
16266 :
16267 963 : case 274:
16268 963 : switch (pattern163 (x1))
16269 : {
16270 44 : case 0:
16271 44 : if (!insn_condition_41 (operands, insn))
16272 0 : return -1;
16273 : return 9577; /* avx10_2_vcvttsd2sissi */
16274 :
16275 44 : case 1:
16276 44 : if (!insn_condition_41 (operands, insn))
16277 0 : return -1;
16278 : return 9589; /* avx10_2_vcvttss2sissi */
16279 :
16280 29 : case 2:
16281 29 : if (!insn_condition_901 (operands, insn))
16282 0 : return -1;
16283 : return 9581; /* avx10_2_vcvttsd2sisdi */
16284 :
16285 29 : case 3:
16286 29 : if (!insn_condition_901 (operands, insn))
16287 0 : return -1;
16288 : return 9593; /* avx10_2_vcvttss2sisdi */
16289 :
16290 : default:
16291 : return -1;
16292 : }
16293 :
16294 900 : case 275:
16295 900 : switch (pattern163 (x1))
16296 : {
16297 36 : case 0:
16298 36 : if (!insn_condition_41 (operands, insn))
16299 0 : return -1;
16300 : return 9579; /* avx10_2_vcvttsd2usissi */
16301 :
16302 36 : case 1:
16303 36 : if (!insn_condition_41 (operands, insn))
16304 0 : return -1;
16305 : return 9591; /* avx10_2_vcvttss2usissi */
16306 :
16307 20 : case 2:
16308 20 : if (!insn_condition_901 (operands, insn))
16309 0 : return -1;
16310 : return 9583; /* avx10_2_vcvttsd2usisdi */
16311 :
16312 20 : case 3:
16313 20 : if (!insn_condition_901 (operands, insn))
16314 0 : return -1;
16315 : return 9595; /* avx10_2_vcvttss2usisdi */
16316 :
16317 : default:
16318 : return -1;
16319 : }
16320 :
16321 54 : case 309:
16322 54 : if (GET_MODE (x2) != E_BLKmode)
16323 : return -1;
16324 54 : x3 = XEXP (x1, 0);
16325 54 : operands[0] = x3;
16326 54 : x4 = XVECEXP (x2, 0, 0);
16327 54 : if (!rtx_equal_p (x4, operands[0])
16328 54 : || !insn_condition_141 (operands, insn))
16329 0 : return -1;
16330 : return 9834; /* *sse2_lfence */
16331 :
16332 34 : case 310:
16333 34 : if (GET_MODE (x2) != E_BLKmode)
16334 : return -1;
16335 34 : x3 = XEXP (x1, 0);
16336 34 : operands[0] = x3;
16337 34 : x4 = XVECEXP (x2, 0, 0);
16338 34 : if (!rtx_equal_p (x4, operands[0])
16339 34 : || !insn_condition_902 (operands, insn))
16340 0 : return -1;
16341 : return 9835; /* *sse_sfence */
16342 :
16343 171 : case 311:
16344 171 : if (GET_MODE (x2) != E_BLKmode)
16345 : return -1;
16346 171 : x3 = XEXP (x1, 0);
16347 171 : operands[0] = x3;
16348 171 : x4 = XVECEXP (x2, 0, 0);
16349 171 : if (!rtx_equal_p (x4, operands[0]))
16350 : return -1;
16351 171 : if (insn_condition_903 (operands, insn))
16352 : return 9836; /* mfence_sse2 */
16353 0 : if (pnum_clobbers == NULL)
16354 : return -1;
16355 0 : *pnum_clobbers = 1;
16356 0 : return 9837; /* mfence_nosse */
16357 :
16358 0 : case 313:
16359 0 : if (GET_MODE (x2) != E_DImode)
16360 : return -1;
16361 0 : x3 = XEXP (x1, 0);
16362 0 : operands[0] = x3;
16363 0 : if (!memory_operand (operands[0], E_DImode))
16364 : return -1;
16365 0 : x4 = XVECEXP (x2, 0, 0);
16366 0 : operands[1] = x4;
16367 0 : if (!register_operand (operands[1], E_DFmode)
16368 0 : || !insn_condition_74 (operands, insn))
16369 0 : return -1;
16370 : return 9845; /* storedi_via_fpu */
16371 :
16372 52 : case 315:
16373 52 : if (GET_MODE (x2) != E_DImode)
16374 : return -1;
16375 22 : x3 = XEXP (x1, 0);
16376 22 : operands[0] = x3;
16377 22 : if (!memory_operand (operands[0], E_DImode))
16378 : return -1;
16379 22 : x4 = XVECEXP (x2, 0, 0);
16380 22 : operands[1] = x4;
16381 22 : if (!register_operand (operands[1], E_DFmode)
16382 22 : || !insn_condition_148 (operands, insn))
16383 0 : return -1;
16384 : return 9847; /* storedi_via_sse */
16385 :
16386 : default:
16387 : return -1;
16388 : }
16389 : }
16390 :
16391 : int
16392 1748 : recog_142 (rtx x1 ATTRIBUTE_UNUSED,
16393 : rtx_insn *insn ATTRIBUTE_UNUSED,
16394 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16395 : {
16396 1748 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16397 1748 : rtx x2, x3, x4, x5;
16398 1748 : int res ATTRIBUTE_UNUSED;
16399 1748 : x2 = XEXP (x1, 1);
16400 1748 : x3 = XEXP (x2, 0);
16401 1748 : x4 = XVECEXP (x3, 0, 0);
16402 1748 : operands[1] = x4;
16403 1748 : x5 = XEXP (x2, 2);
16404 1748 : switch (GET_CODE (x5))
16405 : {
16406 304 : case CONST_INT:
16407 304 : switch (pattern931 (x2))
16408 : {
16409 99 : case 0:
16410 99 : if (!insn_condition_148 (operands, insn))
16411 0 : return -1;
16412 : return 3052; /* sse_vmrcpv4sf2 */
16413 :
16414 83 : case 1:
16415 83 : if (!insn_condition_40 (operands, insn))
16416 0 : return -1;
16417 : return 3060; /* avx512fp16_vmrcpv8hf2 */
16418 :
16419 : default:
16420 : return -1;
16421 : }
16422 :
16423 1431 : case REG:
16424 1431 : case SUBREG:
16425 1431 : operands[3] = x5;
16426 1431 : switch (GET_MODE (operands[0]))
16427 : {
16428 241 : case E_V32HFmode:
16429 241 : if (pattern662 (x2,
16430 : E_V32HFmode,
16431 : E_SImode) != 0
16432 241 : || !insn_condition_26 (operands, insn))
16433 12 : return -1;
16434 : return 3055; /* avx512fp16_rcpv32hf2_mask */
16435 :
16436 231 : case E_V16HFmode:
16437 231 : if (pattern662 (x2,
16438 : E_V16HFmode,
16439 : E_HImode) != 0
16440 231 : || !insn_condition_965 (operands, insn))
16441 12 : return -1;
16442 : return 3057; /* avx512fp16_rcpv16hf2_mask */
16443 :
16444 231 : case E_V8HFmode:
16445 231 : if (pattern662 (x2,
16446 : E_V8HFmode,
16447 : E_QImode) != 0
16448 231 : || !insn_condition_965 (operands, insn))
16449 12 : return -1;
16450 : return 3059; /* avx512fp16_rcpv8hf2_mask */
16451 :
16452 243 : case E_V32BFmode:
16453 243 : if (pattern662 (x2,
16454 : E_V32BFmode,
16455 : E_SImode) != 0
16456 243 : || !insn_condition_83 (operands, insn))
16457 24 : return -1;
16458 : return 9384; /* avx10_2_rcpbf16_v32bf_mask */
16459 :
16460 244 : case E_V16BFmode:
16461 244 : if (pattern662 (x2,
16462 : E_V16BFmode,
16463 : E_HImode) != 0
16464 244 : || !insn_condition_83 (operands, insn))
16465 22 : return -1;
16466 : return 9386; /* avx10_2_rcpbf16_v16bf_mask */
16467 :
16468 241 : case E_V8BFmode:
16469 241 : if (pattern662 (x2,
16470 : E_V8BFmode,
16471 : E_QImode) != 0
16472 241 : || !insn_condition_83 (operands, insn))
16473 18 : return -1;
16474 : return 9388; /* avx10_2_rcpbf16_v8bf_mask */
16475 :
16476 : default:
16477 : return -1;
16478 : }
16479 :
16480 : default:
16481 : return -1;
16482 : }
16483 : }
16484 :
16485 : int
16486 1946 : recog_147 (rtx x1 ATTRIBUTE_UNUSED,
16487 : rtx_insn *insn ATTRIBUTE_UNUSED,
16488 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16489 : {
16490 1946 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16491 1946 : rtx x2, x3, x4, x5, x6, x7;
16492 1946 : int res ATTRIBUTE_UNUSED;
16493 1946 : x2 = XEXP (x1, 1);
16494 1946 : x3 = XEXP (x2, 0);
16495 1946 : x4 = XVECEXP (x3, 0, 0);
16496 1946 : operands[1] = x4;
16497 1946 : x5 = XVECEXP (x3, 0, 1);
16498 1946 : operands[2] = x5;
16499 1946 : if (!const_0_to_15_operand (operands[2], E_SImode))
16500 : return -1;
16501 1946 : x6 = XEXP (x2, 1);
16502 1946 : operands[3] = x6;
16503 1946 : x7 = XEXP (x2, 2);
16504 1946 : operands[4] = x7;
16505 1946 : switch (GET_MODE (operands[0]))
16506 : {
16507 106 : case E_V32HFmode:
16508 106 : if (pattern498 (x2,
16509 : E_V32HFmode,
16510 : E_SImode) != 0
16511 106 : || !insn_condition_89 (operands, insn))
16512 28 : return -1;
16513 : return 8703; /* avx512bw_getmantv32hf_mask */
16514 :
16515 215 : case E_V16HFmode:
16516 215 : if (pattern498 (x2,
16517 : E_V16HFmode,
16518 : E_HImode) != 0
16519 215 : || !insn_condition_980 (operands, insn))
16520 31 : return -1;
16521 : return 8707; /* avx512vl_getmantv16hf_mask */
16522 :
16523 215 : case E_V8HFmode:
16524 215 : if (pattern498 (x2,
16525 : E_V8HFmode,
16526 : E_QImode) != 0
16527 215 : || !insn_condition_980 (operands, insn))
16528 31 : return -1;
16529 : return 8711; /* avx512fp16_getmantv8hf_mask */
16530 :
16531 131 : case E_V16SFmode:
16532 131 : if (pattern498 (x2,
16533 : E_V16SFmode,
16534 : E_HImode) != 0
16535 131 : || !insn_condition_27 (operands, insn))
16536 51 : return -1;
16537 : return 8715; /* avx512f_getmantv16sf_mask */
16538 :
16539 248 : case E_V8SFmode:
16540 248 : if (pattern498 (x2,
16541 : E_V8SFmode,
16542 : E_QImode) != 0
16543 248 : || !insn_condition_341 (operands, insn))
16544 42 : return -1;
16545 : return 8719; /* avx512vl_getmantv8sf_mask */
16546 :
16547 405 : case E_V4SFmode:
16548 405 : if (pattern498 (x2,
16549 : E_V4SFmode,
16550 : E_QImode) != 0
16551 405 : || !insn_condition_341 (operands, insn))
16552 34 : return -1;
16553 : return 8723; /* avx512vl_getmantv4sf_mask */
16554 :
16555 127 : case E_V8DFmode:
16556 127 : if (pattern498 (x2,
16557 : E_V8DFmode,
16558 : E_QImode) != 0
16559 127 : || !insn_condition_27 (operands, insn))
16560 45 : return -1;
16561 : return 8727; /* avx512f_getmantv8df_mask */
16562 :
16563 252 : case E_V4DFmode:
16564 252 : if (pattern498 (x2,
16565 : E_V4DFmode,
16566 : E_QImode) != 0
16567 252 : || !insn_condition_341 (operands, insn))
16568 42 : return -1;
16569 : return 8731; /* avx512vl_getmantv4df_mask */
16570 :
16571 247 : case E_V2DFmode:
16572 247 : if (pattern498 (x2,
16573 : E_V2DFmode,
16574 : E_QImode) != 0
16575 247 : || !insn_condition_341 (operands, insn))
16576 34 : return -1;
16577 : return 8735; /* avx512vl_getmantv2df_mask */
16578 :
16579 : default:
16580 : return -1;
16581 : }
16582 : }
16583 :
16584 : int
16585 5697 : recog_150 (rtx x1 ATTRIBUTE_UNUSED,
16586 : rtx_insn *insn ATTRIBUTE_UNUSED,
16587 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16588 : {
16589 5697 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16590 5697 : rtx x2, x3, x4, x5, x6, x7, x8;
16591 5697 : int res ATTRIBUTE_UNUSED;
16592 5697 : x2 = XEXP (x1, 1);
16593 5697 : x3 = XEXP (x2, 0);
16594 5697 : x4 = XVECEXP (x3, 0, 0);
16595 5697 : operands[1] = x4;
16596 5697 : x5 = XVECEXP (x3, 0, 1);
16597 5697 : operands[2] = x5;
16598 5697 : x6 = XVECEXP (x3, 0, 2);
16599 5697 : operands[3] = x6;
16600 5697 : if (!const_0_to_255_operand (operands[3], E_SImode))
16601 : return -1;
16602 5697 : x7 = XEXP (x2, 2);
16603 5697 : switch (GET_CODE (x7))
16604 : {
16605 4297 : case REG:
16606 4297 : case SUBREG:
16607 4297 : operands[5] = x7;
16608 4297 : x8 = XEXP (x2, 1);
16609 4297 : operands[4] = x8;
16610 4297 : switch (GET_MODE (operands[0]))
16611 : {
16612 627 : case E_V32HFmode:
16613 627 : if (pattern504 (x2,
16614 : E_V32HFmode,
16615 : E_SImode) != 0
16616 627 : || !insn_condition_82 (operands, insn))
16617 52 : return -1;
16618 : return 9609; /* avx10_2_minmaxpv32hf_mask */
16619 :
16620 400 : case E_V16HFmode:
16621 400 : if (pattern504 (x2,
16622 : E_V16HFmode,
16623 : E_HImode) != 0
16624 400 : || !insn_condition_1000 (operands, insn))
16625 45 : return -1;
16626 : return 9613; /* avx10_2_minmaxpv16hf_mask */
16627 :
16628 395 : case E_V8HFmode:
16629 395 : if (pattern504 (x2,
16630 : E_V8HFmode,
16631 : E_QImode) != 0
16632 395 : || !insn_condition_1000 (operands, insn))
16633 22 : return -1;
16634 : return 9617; /* avx10_2_minmaxpv8hf_mask */
16635 :
16636 627 : case E_V16SFmode:
16637 627 : if (pattern504 (x2,
16638 : E_V16SFmode,
16639 : E_HImode) != 0
16640 627 : || !insn_condition_83 (operands, insn))
16641 52 : return -1;
16642 : return 9621; /* avx10_2_minmaxpv16sf_mask */
16643 :
16644 400 : case E_V8SFmode:
16645 400 : if (pattern504 (x2,
16646 : E_V8SFmode,
16647 : E_QImode) != 0
16648 400 : || !insn_condition_1001 (operands, insn))
16649 45 : return -1;
16650 : return 9625; /* avx10_2_minmaxpv8sf_mask */
16651 :
16652 395 : case E_V4SFmode:
16653 395 : if (pattern504 (x2,
16654 : E_V4SFmode,
16655 : E_QImode) != 0
16656 395 : || !insn_condition_1001 (operands, insn))
16657 22 : return -1;
16658 : return 9629; /* avx10_2_minmaxpv4sf_mask */
16659 :
16660 627 : case E_V8DFmode:
16661 627 : if (pattern504 (x2,
16662 : E_V8DFmode,
16663 : E_QImode) != 0
16664 627 : || !insn_condition_83 (operands, insn))
16665 52 : return -1;
16666 : return 9633; /* avx10_2_minmaxpv8df_mask */
16667 :
16668 400 : case E_V4DFmode:
16669 400 : if (pattern504 (x2,
16670 : E_V4DFmode,
16671 : E_QImode) != 0
16672 400 : || !insn_condition_1001 (operands, insn))
16673 45 : return -1;
16674 : return 9637; /* avx10_2_minmaxpv4df_mask */
16675 :
16676 426 : case E_V2DFmode:
16677 426 : if (pattern504 (x2,
16678 : E_V2DFmode,
16679 : E_QImode) != 0
16680 426 : || !insn_condition_1001 (operands, insn))
16681 22 : return -1;
16682 : return 9641; /* avx10_2_minmaxpv2df_mask */
16683 :
16684 : default:
16685 : return -1;
16686 : }
16687 :
16688 1361 : case CONST_INT:
16689 1361 : if (XWINT (x7, 0) != 1L)
16690 : return -1;
16691 754 : switch (pattern488 (x2))
16692 : {
16693 203 : case 0:
16694 203 : if (!insn_condition_73 (operands, insn))
16695 0 : return -1;
16696 : return 9643; /* avx10_2_minmaxsv8hf */
16697 :
16698 203 : case 1:
16699 203 : if (!insn_condition_41 (operands, insn))
16700 0 : return -1;
16701 : return 9647; /* avx10_2_minmaxsv4sf */
16702 :
16703 245 : case 2:
16704 245 : if (!insn_condition_1002 (operands, insn))
16705 0 : return -1;
16706 : return 9651; /* avx10_2_minmaxsv2df */
16707 :
16708 : default:
16709 : return -1;
16710 : }
16711 :
16712 : default:
16713 : return -1;
16714 : }
16715 : }
16716 :
16717 : int
16718 579 : recog_155 (rtx x1 ATTRIBUTE_UNUSED,
16719 : rtx_insn *insn ATTRIBUTE_UNUSED,
16720 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16721 : {
16722 579 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16723 579 : rtx x2, x3, x4, x5, x6, x7, x8;
16724 579 : int res ATTRIBUTE_UNUSED;
16725 579 : x2 = XEXP (x1, 1);
16726 579 : x3 = XEXP (x2, 0);
16727 579 : x4 = XVECEXP (x3, 0, 0);
16728 579 : operands[1] = x4;
16729 579 : x5 = XVECEXP (x3, 0, 1);
16730 579 : operands[2] = x5;
16731 579 : x6 = XVECEXP (x3, 0, 2);
16732 579 : operands[3] = x6;
16733 579 : x7 = XEXP (x2, 1);
16734 579 : switch (GET_CODE (x7))
16735 : {
16736 276 : case CONST_INT:
16737 276 : case CONST_DOUBLE:
16738 276 : case CONST_VECTOR:
16739 276 : operands[4] = x7;
16740 276 : x8 = XEXP (x2, 2);
16741 276 : operands[5] = x8;
16742 276 : switch (GET_MODE (operands[0]))
16743 : {
16744 100 : case E_V16SFmode:
16745 100 : if (pattern1314 (x2,
16746 : E_V16SFmode,
16747 : E_V32BFmode,
16748 : E_HImode) != 0
16749 100 : || !insn_condition_1007 (operands, insn))
16750 5 : return -1;
16751 : return 9047; /* avx512f_dpbf16ps_v16sf_maskz_1 */
16752 :
16753 88 : case E_V8SFmode:
16754 88 : if (pattern1314 (x2,
16755 : E_V8SFmode,
16756 : E_V16BFmode,
16757 : E_QImode) != 0
16758 88 : || !insn_condition_1008 (operands, insn))
16759 5 : return -1;
16760 : return 9049; /* avx512f_dpbf16ps_v8sf_maskz_1 */
16761 :
16762 88 : case E_V4SFmode:
16763 88 : if (pattern1314 (x2,
16764 : E_V4SFmode,
16765 : E_V8BFmode,
16766 : E_QImode) != 0
16767 88 : || !insn_condition_1008 (operands, insn))
16768 5 : return -1;
16769 : return 9051; /* avx512f_dpbf16ps_v4sf_maskz_1 */
16770 :
16771 : default:
16772 : return -1;
16773 : }
16774 :
16775 291 : case REG:
16776 291 : case SUBREG:
16777 291 : if (!rtx_equal_p (x7, operands[1]))
16778 : return -1;
16779 291 : x8 = XEXP (x2, 2);
16780 291 : operands[4] = x8;
16781 291 : switch (GET_MODE (operands[0]))
16782 : {
16783 119 : case E_V16SFmode:
16784 119 : if (pattern1315 (x2,
16785 : E_V32BFmode,
16786 : E_V16SFmode,
16787 : E_HImode) != 0
16788 119 : || !insn_condition_1007 (operands, insn))
16789 14 : return -1;
16790 : return 9052; /* avx512f_dpbf16ps_v16sf_mask */
16791 :
16792 86 : case E_V8SFmode:
16793 86 : if (pattern1315 (x2,
16794 : E_V16BFmode,
16795 : E_V8SFmode,
16796 : E_QImode) != 0
16797 86 : || !insn_condition_1008 (operands, insn))
16798 3 : return -1;
16799 : return 9053; /* avx512f_dpbf16ps_v8sf_mask */
16800 :
16801 86 : case E_V4SFmode:
16802 86 : if (pattern1315 (x2,
16803 : E_V8BFmode,
16804 : E_V4SFmode,
16805 : E_QImode) != 0
16806 86 : || !insn_condition_1008 (operands, insn))
16807 3 : return -1;
16808 : return 9054; /* avx512f_dpbf16ps_v4sf_mask */
16809 :
16810 : default:
16811 : return -1;
16812 : }
16813 :
16814 : default:
16815 : return -1;
16816 : }
16817 : }
16818 :
16819 : int
16820 65628 : recog_161 (rtx x1 ATTRIBUTE_UNUSED,
16821 : rtx_insn *insn ATTRIBUTE_UNUSED,
16822 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16823 : {
16824 65628 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16825 65628 : rtx x2, x3, x4, x5, x6;
16826 65628 : int res ATTRIBUTE_UNUSED;
16827 65628 : x2 = XEXP (x1, 1);
16828 65628 : x3 = XEXP (x2, 1);
16829 65628 : operands[2] = x3;
16830 65628 : x4 = XEXP (x2, 0);
16831 65628 : switch (XINT (x4, 1))
16832 : {
16833 12736 : case 176:
16834 12736 : return recog_135 (x1, insn, pnum_clobbers);
16835 :
16836 1748 : case 51:
16837 1748 : return recog_142 (x1, insn, pnum_clobbers);
16838 :
16839 1715 : case 160:
16840 1715 : switch (pattern664 (x2))
16841 : {
16842 222 : case 0:
16843 222 : if (!insn_condition_27 (operands, insn))
16844 0 : return -1;
16845 : return 3064; /* rcp14v16sf_mask */
16846 :
16847 223 : case 1:
16848 223 : if (!insn_condition_341 (operands, insn))
16849 0 : return -1;
16850 : return 3066; /* rcp14v8sf_mask */
16851 :
16852 222 : case 2:
16853 222 : if (!insn_condition_341 (operands, insn))
16854 0 : return -1;
16855 : return 3068; /* rcp14v4sf_mask */
16856 :
16857 222 : case 3:
16858 222 : if (!insn_condition_27 (operands, insn))
16859 0 : return -1;
16860 : return 3070; /* rcp14v8df_mask */
16861 :
16862 223 : case 4:
16863 223 : if (!insn_condition_341 (operands, insn))
16864 0 : return -1;
16865 : return 3072; /* rcp14v4df_mask */
16866 :
16867 222 : case 5:
16868 222 : if (!insn_condition_341 (operands, insn))
16869 0 : return -1;
16870 : return 3074; /* rcp14v2df_mask */
16871 :
16872 80 : case 6:
16873 80 : if (!insn_condition_27 (operands, insn))
16874 0 : return -1;
16875 : return 3075; /* srcp14v4sf */
16876 :
16877 89 : case 7:
16878 89 : if (!insn_condition_342 (operands, insn))
16879 0 : return -1;
16880 : return 3076; /* srcp14v2df */
16881 :
16882 : default:
16883 : return -1;
16884 : }
16885 :
16886 1748 : case 52:
16887 1748 : return recog_143 (x1, insn, pnum_clobbers);
16888 :
16889 1727 : case 161:
16890 1727 : switch (pattern664 (x2))
16891 : {
16892 224 : case 0:
16893 224 : if (!insn_condition_27 (operands, insn))
16894 0 : return -1;
16895 : return 3136; /* rsqrt14v16sf_mask */
16896 :
16897 225 : case 1:
16898 225 : if (!insn_condition_341 (operands, insn))
16899 0 : return -1;
16900 : return 3138; /* rsqrt14v8sf_mask */
16901 :
16902 226 : case 2:
16903 226 : if (!insn_condition_341 (operands, insn))
16904 0 : return -1;
16905 : return 3140; /* rsqrt14v4sf_mask */
16906 :
16907 228 : case 3:
16908 228 : if (!insn_condition_27 (operands, insn))
16909 0 : return -1;
16910 : return 3142; /* rsqrt14v8df_mask */
16911 :
16912 225 : case 4:
16913 225 : if (!insn_condition_341 (operands, insn))
16914 0 : return -1;
16915 : return 3144; /* rsqrt14v4df_mask */
16916 :
16917 230 : case 5:
16918 230 : if (!insn_condition_341 (operands, insn))
16919 0 : return -1;
16920 : return 3146; /* rsqrt14v2df_mask */
16921 :
16922 80 : case 6:
16923 80 : if (!insn_condition_27 (operands, insn))
16924 0 : return -1;
16925 : return 3147; /* rsqrt14v4sf */
16926 :
16927 81 : case 7:
16928 81 : if (!insn_condition_342 (operands, insn))
16929 0 : return -1;
16930 : return 3148; /* rsqrt14v2df */
16931 :
16932 : default:
16933 : return -1;
16934 : }
16935 :
16936 3918 : case 155:
16937 3918 : return recog_139 (x1, insn, pnum_clobbers);
16938 :
16939 3788 : case 43:
16940 3788 : return recog_136 (x1, insn, pnum_clobbers);
16941 :
16942 3948 : case 171:
16943 3948 : return recog_138 (x1, insn, pnum_clobbers);
16944 :
16945 3893 : case 172:
16946 3893 : return recog_137 (x1, insn, pnum_clobbers);
16947 :
16948 2717 : case 164:
16949 2717 : return recog_141 (x1, insn, pnum_clobbers);
16950 :
16951 199 : case 135:
16952 199 : x5 = XEXP (x2, 2);
16953 199 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
16954 : return -1;
16955 199 : x6 = XVECEXP (x4, 0, 0);
16956 199 : operands[1] = x6;
16957 199 : switch (GET_MODE (operands[0]))
16958 : {
16959 100 : case E_V4SFmode:
16960 100 : if (pattern1039 (x2,
16961 : E_V4SFmode) != 0
16962 100 : || !insn_condition_24 (operands, insn))
16963 33 : return -1;
16964 : return 7735; /* *xop_vmfrczv4sf2 */
16965 :
16966 99 : case E_V2DFmode:
16967 99 : if (pattern1039 (x2,
16968 : E_V2DFmode) != 0
16969 99 : || !insn_condition_1073 (operands, insn))
16970 33 : return -1;
16971 : return 7736; /* *xop_vmfrczv2df2 */
16972 :
16973 : default:
16974 : return -1;
16975 : }
16976 :
16977 950 : case 148:
16978 950 : x6 = XVECEXP (x4, 0, 0);
16979 950 : operands[1] = x6;
16980 950 : x5 = XEXP (x2, 2);
16981 950 : operands[3] = x5;
16982 950 : switch (GET_MODE (operands[0]))
16983 : {
16984 0 : case E_V4SFmode:
16985 0 : if (!register_operand (operands[0], E_V4SFmode)
16986 0 : || GET_MODE (x2) != E_V4SFmode
16987 0 : || GET_MODE (x4) != E_V4SFmode
16988 0 : || !memory_operand (operands[1], E_V4HImode)
16989 0 : || !nonimm_or_0_operand (operands[2], E_V4SFmode)
16990 0 : || !register_operand (operands[3], E_QImode)
16991 0 : || !insn_condition_1047 (operands, insn))
16992 0 : return -1;
16993 : return 8345; /* vcvtph2ps_load_mask */
16994 :
16995 231 : case E_V8SFmode:
16996 231 : if (pattern666 (x2,
16997 : E_V8SFmode,
16998 : E_QImode,
16999 : E_V8HImode) != 0
17000 231 : || !insn_condition_1047 (operands, insn))
17001 41 : return -1;
17002 : return 8347; /* vcvtph2ps256_mask */
17003 :
17004 719 : case E_V16SFmode:
17005 719 : if (pattern668 (x2,
17006 : E_V16SFmode,
17007 : E_HImode,
17008 : E_V16HImode) != 0
17009 719 : || !insn_condition_27 (operands, insn))
17010 43 : return -1;
17011 : return 8350; /* avx512f_vcvtph2ps512_mask */
17012 :
17013 : default:
17014 : return -1;
17015 : }
17016 :
17017 1319 : case 167:
17018 1319 : x6 = XVECEXP (x4, 0, 0);
17019 1319 : operands[1] = x6;
17020 1319 : x5 = XEXP (x2, 2);
17021 1319 : operands[3] = x5;
17022 1319 : switch (GET_MODE (operands[0]))
17023 : {
17024 238 : case E_V16SImode:
17025 238 : if (pattern662 (x2,
17026 : E_V16SImode,
17027 : E_HImode) != 0
17028 238 : || !insn_condition_1074 (operands, insn))
17029 37 : return -1;
17030 : return 8768; /* conflictv16si_mask */
17031 :
17032 182 : case E_V8SImode:
17033 182 : if (pattern662 (x2,
17034 : E_V8SImode,
17035 : E_QImode) != 0
17036 182 : || !insn_condition_1075 (operands, insn))
17037 7 : return -1;
17038 : return 8770; /* conflictv8si_mask */
17039 :
17040 180 : case E_V4SImode:
17041 180 : if (pattern662 (x2,
17042 : E_V4SImode,
17043 : E_QImode) != 0
17044 180 : || !insn_condition_1075 (operands, insn))
17045 6 : return -1;
17046 : return 8772; /* conflictv4si_mask */
17047 :
17048 298 : case E_V8DImode:
17049 298 : if (pattern662 (x2,
17050 : E_V8DImode,
17051 : E_QImode) != 0
17052 298 : || !insn_condition_1074 (operands, insn))
17053 44 : return -1;
17054 : return 8774; /* conflictv8di_mask */
17055 :
17056 212 : case E_V4DImode:
17057 212 : if (pattern662 (x2,
17058 : E_V4DImode,
17059 : E_QImode) != 0
17060 212 : || !insn_condition_1075 (operands, insn))
17061 12 : return -1;
17062 : return 8776; /* conflictv4di_mask */
17063 :
17064 209 : case E_V2DImode:
17065 209 : if (pattern662 (x2,
17066 : E_V2DImode,
17067 : E_QImode) != 0
17068 209 : || !insn_condition_1075 (operands, insn))
17069 10 : return -1;
17070 : return 8778; /* conflictv2di_mask */
17071 :
17072 : default:
17073 : return -1;
17074 : }
17075 :
17076 539 : case 252:
17077 539 : switch (pattern667 (x2))
17078 : {
17079 236 : case 0:
17080 236 : if (!insn_condition_1052 (operands, insn))
17081 0 : return -1;
17082 : return 9197; /* vcvtph2bf8v16hf_mask */
17083 :
17084 235 : case 1:
17085 235 : if (!insn_condition_1052 (operands, insn))
17086 0 : return -1;
17087 : return 9205; /* vcvtph2bf8v32hf_mask */
17088 :
17089 : default:
17090 : return -1;
17091 : }
17092 :
17093 539 : case 253:
17094 539 : switch (pattern667 (x2))
17095 : {
17096 236 : case 0:
17097 236 : if (!insn_condition_1052 (operands, insn))
17098 0 : return -1;
17099 : return 9199; /* vcvtph2bf8sv16hf_mask */
17100 :
17101 235 : case 1:
17102 235 : if (!insn_condition_1052 (operands, insn))
17103 0 : return -1;
17104 : return 9207; /* vcvtph2bf8sv32hf_mask */
17105 :
17106 : default:
17107 : return -1;
17108 : }
17109 :
17110 551 : case 254:
17111 551 : switch (pattern667 (x2))
17112 : {
17113 242 : case 0:
17114 242 : if (!insn_condition_1052 (operands, insn))
17115 0 : return -1;
17116 : return 9201; /* vcvtph2hf8v16hf_mask */
17117 :
17118 241 : case 1:
17119 241 : if (!insn_condition_1052 (operands, insn))
17120 0 : return -1;
17121 : return 9209; /* vcvtph2hf8v32hf_mask */
17122 :
17123 : default:
17124 : return -1;
17125 : }
17126 :
17127 551 : case 255:
17128 551 : switch (pattern667 (x2))
17129 : {
17130 242 : case 0:
17131 242 : if (!insn_condition_1052 (operands, insn))
17132 0 : return -1;
17133 : return 9203; /* vcvtph2hf8sv16hf_mask */
17134 :
17135 241 : case 1:
17136 241 : if (!insn_condition_1052 (operands, insn))
17137 0 : return -1;
17138 : return 9211; /* vcvtph2hf8sv32hf_mask */
17139 :
17140 : default:
17141 : return -1;
17142 : }
17143 :
17144 835 : case 256:
17145 835 : x6 = XVECEXP (x4, 0, 0);
17146 835 : operands[1] = x6;
17147 835 : x5 = XEXP (x2, 2);
17148 835 : operands[3] = x5;
17149 835 : switch (GET_MODE (operands[0]))
17150 : {
17151 281 : case E_V32HFmode:
17152 281 : if (pattern666 (x2,
17153 : E_V32HFmode,
17154 : E_SImode,
17155 : E_V32QImode) != 0
17156 281 : || !insn_condition_1052 (operands, insn))
17157 45 : return -1;
17158 : return 9213; /* vcvthf82phv32hf_mask */
17159 :
17160 280 : case E_V16HFmode:
17161 280 : if (pattern666 (x2,
17162 : E_V16HFmode,
17163 : E_HImode,
17164 : E_V16QImode) != 0
17165 280 : || !insn_condition_1053 (operands, insn))
17166 43 : return -1;
17167 : return 9215; /* vcvthf82phv16hf_mask */
17168 :
17169 274 : case E_V8HFmode:
17170 274 : if (pattern666 (x2,
17171 : E_V8HFmode,
17172 : E_QImode,
17173 : E_V16QImode) != 0
17174 274 : || !insn_condition_1053 (operands, insn))
17175 37 : return -1;
17176 : return 9217; /* vcvthf82phv8hf_mask */
17177 :
17178 : default:
17179 : return -1;
17180 : }
17181 :
17182 760 : case 262:
17183 760 : switch (pattern669 (x2,
17184 : E_V32BFmode,
17185 : E_V16BFmode,
17186 : E_V8BFmode))
17187 : {
17188 223 : case 0:
17189 223 : if (!insn_condition_83 (operands, insn))
17190 0 : return -1;
17191 : return 9426; /* avx10_2_cvtbf162ibsv32bf_mask */
17192 :
17193 225 : case 1:
17194 225 : if (!insn_condition_83 (operands, insn))
17195 0 : return -1;
17196 : return 9434; /* avx10_2_cvtbf162ibsv16bf_mask */
17197 :
17198 228 : case 2:
17199 228 : if (!insn_condition_83 (operands, insn))
17200 0 : return -1;
17201 : return 9442; /* avx10_2_cvtbf162ibsv8bf_mask */
17202 :
17203 : default:
17204 : return -1;
17205 : }
17206 :
17207 760 : case 263:
17208 760 : switch (pattern669 (x2,
17209 : E_V32BFmode,
17210 : E_V16BFmode,
17211 : E_V8BFmode))
17212 : {
17213 223 : case 0:
17214 223 : if (!insn_condition_83 (operands, insn))
17215 0 : return -1;
17216 : return 9428; /* avx10_2_cvtbf162iubsv32bf_mask */
17217 :
17218 225 : case 1:
17219 225 : if (!insn_condition_83 (operands, insn))
17220 0 : return -1;
17221 : return 9436; /* avx10_2_cvtbf162iubsv16bf_mask */
17222 :
17223 228 : case 2:
17224 228 : if (!insn_condition_83 (operands, insn))
17225 0 : return -1;
17226 : return 9444; /* avx10_2_cvtbf162iubsv8bf_mask */
17227 :
17228 : default:
17229 : return -1;
17230 : }
17231 :
17232 760 : case 268:
17233 760 : switch (pattern669 (x2,
17234 : E_V32BFmode,
17235 : E_V16BFmode,
17236 : E_V8BFmode))
17237 : {
17238 223 : case 0:
17239 223 : if (!insn_condition_83 (operands, insn))
17240 0 : return -1;
17241 : return 9430; /* avx10_2_cvttbf162ibsv32bf_mask */
17242 :
17243 225 : case 1:
17244 225 : if (!insn_condition_83 (operands, insn))
17245 0 : return -1;
17246 : return 9438; /* avx10_2_cvttbf162ibsv16bf_mask */
17247 :
17248 228 : case 2:
17249 228 : if (!insn_condition_83 (operands, insn))
17250 0 : return -1;
17251 : return 9446; /* avx10_2_cvttbf162ibsv8bf_mask */
17252 :
17253 : default:
17254 : return -1;
17255 : }
17256 :
17257 760 : case 269:
17258 760 : switch (pattern669 (x2,
17259 : E_V32BFmode,
17260 : E_V16BFmode,
17261 : E_V8BFmode))
17262 : {
17263 223 : case 0:
17264 223 : if (!insn_condition_83 (operands, insn))
17265 0 : return -1;
17266 : return 9432; /* avx10_2_cvttbf162iubsv32bf_mask */
17267 :
17268 225 : case 1:
17269 225 : if (!insn_condition_83 (operands, insn))
17270 0 : return -1;
17271 : return 9440; /* avx10_2_cvttbf162iubsv16bf_mask */
17272 :
17273 228 : case 2:
17274 228 : if (!insn_condition_83 (operands, insn))
17275 0 : return -1;
17276 : return 9448; /* avx10_2_cvttbf162iubsv8bf_mask */
17277 :
17278 : default:
17279 : return -1;
17280 : }
17281 :
17282 763 : case 264:
17283 763 : switch (pattern669 (x2,
17284 : E_V32HFmode,
17285 : E_V16HFmode,
17286 : E_V8HFmode))
17287 : {
17288 229 : case 0:
17289 229 : if (!insn_condition_1076 (operands, insn))
17290 0 : return -1;
17291 : return 9451; /* avx10_2_cvtph2ibsv32hf_mask */
17292 :
17293 225 : case 1:
17294 225 : if (!insn_condition_1077 (operands, insn))
17295 0 : return -1;
17296 : return 9458; /* avx10_2_cvtph2ibsv16hf_mask */
17297 :
17298 226 : case 2:
17299 226 : if (!insn_condition_1077 (operands, insn))
17300 0 : return -1;
17301 : return 9462; /* avx10_2_cvtph2ibsv8hf_mask */
17302 :
17303 : default:
17304 : return -1;
17305 : }
17306 :
17307 763 : case 265:
17308 763 : switch (pattern669 (x2,
17309 : E_V32HFmode,
17310 : E_V16HFmode,
17311 : E_V8HFmode))
17312 : {
17313 229 : case 0:
17314 229 : if (!insn_condition_1076 (operands, insn))
17315 0 : return -1;
17316 : return 9455; /* avx10_2_cvtph2iubsv32hf_mask */
17317 :
17318 225 : case 1:
17319 225 : if (!insn_condition_1077 (operands, insn))
17320 0 : return -1;
17321 : return 9460; /* avx10_2_cvtph2iubsv16hf_mask */
17322 :
17323 226 : case 2:
17324 226 : if (!insn_condition_1077 (operands, insn))
17325 0 : return -1;
17326 : return 9464; /* avx10_2_cvtph2iubsv8hf_mask */
17327 :
17328 : default:
17329 : return -1;
17330 : }
17331 :
17332 763 : case 270:
17333 763 : switch (pattern669 (x2,
17334 : E_V32HFmode,
17335 : E_V16HFmode,
17336 : E_V8HFmode))
17337 : {
17338 229 : case 0:
17339 229 : if (!insn_condition_1076 (operands, insn))
17340 0 : return -1;
17341 : return 9467; /* avx10_2_cvttph2ibsv32hf_mask */
17342 :
17343 225 : case 1:
17344 225 : if (!insn_condition_1077 (operands, insn))
17345 0 : return -1;
17346 : return 9474; /* avx10_2_cvttph2ibsv16hf_mask */
17347 :
17348 226 : case 2:
17349 226 : if (!insn_condition_1077 (operands, insn))
17350 0 : return -1;
17351 : return 9478; /* avx10_2_cvttph2ibsv8hf_mask */
17352 :
17353 : default:
17354 : return -1;
17355 : }
17356 :
17357 763 : case 271:
17358 763 : switch (pattern669 (x2,
17359 : E_V32HFmode,
17360 : E_V16HFmode,
17361 : E_V8HFmode))
17362 : {
17363 229 : case 0:
17364 229 : if (!insn_condition_1076 (operands, insn))
17365 0 : return -1;
17366 : return 9471; /* avx10_2_cvttph2iubsv32hf_mask */
17367 :
17368 225 : case 1:
17369 225 : if (!insn_condition_1077 (operands, insn))
17370 0 : return -1;
17371 : return 9476; /* avx10_2_cvttph2iubsv16hf_mask */
17372 :
17373 226 : case 2:
17374 226 : if (!insn_condition_1077 (operands, insn))
17375 0 : return -1;
17376 : return 9480; /* avx10_2_cvttph2iubsv8hf_mask */
17377 :
17378 : default:
17379 : return -1;
17380 : }
17381 :
17382 762 : case 266:
17383 762 : switch (pattern670 (x2))
17384 : {
17385 228 : case 0:
17386 228 : if (!insn_condition_1076 (operands, insn))
17387 0 : return -1;
17388 : return 9483; /* avx10_2_cvtps2ibsv16sf_mask */
17389 :
17390 224 : case 1:
17391 224 : if (!insn_condition_1077 (operands, insn))
17392 0 : return -1;
17393 : return 9490; /* avx10_2_cvtps2ibsv8sf_mask */
17394 :
17395 225 : case 2:
17396 225 : if (!insn_condition_1077 (operands, insn))
17397 0 : return -1;
17398 : return 9494; /* avx10_2_cvtps2ibsv4sf_mask */
17399 :
17400 : default:
17401 : return -1;
17402 : }
17403 :
17404 762 : case 267:
17405 762 : switch (pattern670 (x2))
17406 : {
17407 228 : case 0:
17408 228 : if (!insn_condition_1076 (operands, insn))
17409 0 : return -1;
17410 : return 9487; /* avx10_2_cvtps2iubsv16sf_mask */
17411 :
17412 224 : case 1:
17413 224 : if (!insn_condition_1077 (operands, insn))
17414 0 : return -1;
17415 : return 9492; /* avx10_2_cvtps2iubsv8sf_mask */
17416 :
17417 225 : case 2:
17418 225 : if (!insn_condition_1077 (operands, insn))
17419 0 : return -1;
17420 : return 9496; /* avx10_2_cvtps2iubsv4sf_mask */
17421 :
17422 : default:
17423 : return -1;
17424 : }
17425 :
17426 762 : case 272:
17427 762 : switch (pattern670 (x2))
17428 : {
17429 228 : case 0:
17430 228 : if (!insn_condition_1076 (operands, insn))
17431 0 : return -1;
17432 : return 9499; /* avx10_2_cvttps2ibsv16sf_mask */
17433 :
17434 224 : case 1:
17435 224 : if (!insn_condition_1077 (operands, insn))
17436 0 : return -1;
17437 : return 9506; /* avx10_2_cvttps2ibsv8sf_mask */
17438 :
17439 225 : case 2:
17440 225 : if (!insn_condition_1077 (operands, insn))
17441 0 : return -1;
17442 : return 9510; /* avx10_2_cvttps2ibsv4sf_mask */
17443 :
17444 : default:
17445 : return -1;
17446 : }
17447 :
17448 762 : case 273:
17449 762 : switch (pattern670 (x2))
17450 : {
17451 228 : case 0:
17452 228 : if (!insn_condition_1076 (operands, insn))
17453 0 : return -1;
17454 : return 9503; /* avx10_2_cvttps2iubsv16sf_mask */
17455 :
17456 224 : case 1:
17457 224 : if (!insn_condition_1077 (operands, insn))
17458 0 : return -1;
17459 : return 9508; /* avx10_2_cvttps2iubsv8sf_mask */
17460 :
17461 225 : case 2:
17462 225 : if (!insn_condition_1077 (operands, insn))
17463 0 : return -1;
17464 : return 9512; /* avx10_2_cvttps2iubsv4sf_mask */
17465 :
17466 : default:
17467 : return -1;
17468 : }
17469 :
17470 3102 : case 274:
17471 3102 : switch (pattern671 (x2))
17472 : {
17473 226 : case 0:
17474 226 : if (!insn_condition_1078 (operands, insn))
17475 0 : return -1;
17476 : return 9515; /* avx10_2_vcvttps2dqsv16sf_mask */
17477 :
17478 224 : case 1:
17479 224 : if (!insn_condition_1079 (operands, insn))
17480 0 : return -1;
17481 : return 9522; /* avx10_2_vcvttps2dqsv8sf_mask */
17482 :
17483 230 : case 2:
17484 230 : if (!insn_condition_1078 (operands, insn))
17485 0 : return -1;
17486 : return 9531; /* avx10_2_vcvttpd2dqsv8df_mask */
17487 :
17488 225 : case 3:
17489 225 : if (!insn_condition_1076 (operands, insn))
17490 0 : return -1;
17491 : return 9526; /* avx10_2_vcvttps2dqsv4sf_mask */
17492 :
17493 226 : case 4:
17494 226 : if (!insn_condition_1079 (operands, insn))
17495 0 : return -1;
17496 : return 9538; /* avx10_2_vcvttpd2dqsv4df_mask */
17497 :
17498 226 : case 5:
17499 226 : if (!insn_condition_1080 (operands, insn))
17500 0 : return -1;
17501 : return 9542; /* avx10_2_vcvttpd2dqsv2df_mask */
17502 :
17503 230 : case 6:
17504 230 : if (!insn_condition_1078 (operands, insn))
17505 0 : return -1;
17506 : return 9547; /* avx10_2_vcvttpd2qqsv8df_mask */
17507 :
17508 226 : case 7:
17509 226 : if (!insn_condition_1078 (operands, insn))
17510 0 : return -1;
17511 : return 9563; /* avx10_2_vcvttps2qqsv8di_mask */
17512 :
17513 228 : case 8:
17514 228 : if (!insn_condition_1079 (operands, insn))
17515 0 : return -1;
17516 : return 9554; /* avx10_2_vcvttpd2qqsv4df_mask */
17517 :
17518 226 : case 9:
17519 226 : if (!insn_condition_1079 (operands, insn))
17520 0 : return -1;
17521 : return 9570; /* avx10_2_vcvttps2qqsv4di_mask */
17522 :
17523 227 : case 10:
17524 227 : if (!insn_condition_1076 (operands, insn))
17525 0 : return -1;
17526 : return 9558; /* avx10_2_vcvttpd2qqsv2df_mask */
17527 :
17528 231 : case 11:
17529 231 : if (!insn_condition_1076 (operands, insn))
17530 0 : return -1;
17531 : return 9574; /* avx10_2_vcvttps2qqsv2di_mask */
17532 :
17533 : default:
17534 : return -1;
17535 : }
17536 :
17537 3076 : case 275:
17538 3076 : switch (pattern671 (x2))
17539 : {
17540 226 : case 0:
17541 226 : if (!insn_condition_1078 (operands, insn))
17542 0 : return -1;
17543 : return 9519; /* avx10_2_vcvttps2udqsv16sf_mask */
17544 :
17545 224 : case 1:
17546 224 : if (!insn_condition_1079 (operands, insn))
17547 0 : return -1;
17548 : return 9524; /* avx10_2_vcvttps2udqsv8sf_mask */
17549 :
17550 230 : case 2:
17551 230 : if (!insn_condition_1078 (operands, insn))
17552 0 : return -1;
17553 : return 9535; /* avx10_2_vcvttpd2udqsv8df_mask */
17554 :
17555 225 : case 3:
17556 225 : if (!insn_condition_1076 (operands, insn))
17557 0 : return -1;
17558 : return 9528; /* avx10_2_vcvttps2udqsv4sf_mask */
17559 :
17560 226 : case 4:
17561 226 : if (!insn_condition_1079 (operands, insn))
17562 0 : return -1;
17563 : return 9540; /* avx10_2_vcvttpd2udqsv4df_mask */
17564 :
17565 226 : case 5:
17566 226 : if (!insn_condition_1080 (operands, insn))
17567 0 : return -1;
17568 : return 9544; /* avx10_2_vcvttpd2udqsv2df_mask */
17569 :
17570 230 : case 6:
17571 230 : if (!insn_condition_1078 (operands, insn))
17572 0 : return -1;
17573 : return 9551; /* avx10_2_vcvttpd2uqqsv8df_mask */
17574 :
17575 226 : case 7:
17576 226 : if (!insn_condition_1078 (operands, insn))
17577 0 : return -1;
17578 : return 9567; /* avx10_2_vcvttps2uqqsv8di_mask */
17579 :
17580 228 : case 8:
17581 228 : if (!insn_condition_1079 (operands, insn))
17582 0 : return -1;
17583 : return 9556; /* avx10_2_vcvttpd2uqqsv4df_mask */
17584 :
17585 218 : case 9:
17586 218 : if (!insn_condition_1079 (operands, insn))
17587 0 : return -1;
17588 : return 9572; /* avx10_2_vcvttps2uqqsv4di_mask */
17589 :
17590 227 : case 10:
17591 227 : if (!insn_condition_1076 (operands, insn))
17592 0 : return -1;
17593 : return 9560; /* avx10_2_vcvttpd2uqqsv2df_mask */
17594 :
17595 220 : case 11:
17596 220 : if (!insn_condition_1076 (operands, insn))
17597 0 : return -1;
17598 : return 9576; /* avx10_2_vcvttps2uqqsv2di_mask */
17599 :
17600 : default:
17601 : return -1;
17602 : }
17603 :
17604 1971 : case 281:
17605 1971 : return recog_140 (x1, insn, pnum_clobbers);
17606 :
17607 582 : case 280:
17608 582 : x6 = XVECEXP (x4, 0, 0);
17609 582 : operands[1] = x6;
17610 582 : x5 = XEXP (x2, 2);
17611 582 : operands[3] = x5;
17612 582 : switch (GET_MODE (operands[0]))
17613 : {
17614 194 : case E_V64QImode:
17615 194 : if (pattern1041 (x2,
17616 : E_DImode,
17617 : E_V64QImode) != 0
17618 194 : || !insn_condition_1081 (operands, insn))
17619 4 : return -1;
17620 : return 9683; /* avx512bmm_vbitrevb_v64qi_mask */
17621 :
17622 194 : case E_V16QImode:
17623 194 : if (pattern1041 (x2,
17624 : E_HImode,
17625 : E_V16QImode) != 0
17626 194 : || !insn_condition_1082 (operands, insn))
17627 4 : return -1;
17628 : return 9684; /* avx512bmm_vbitrevb_v16qi_mask */
17629 :
17630 194 : case E_V32QImode:
17631 194 : if (pattern1041 (x2,
17632 : E_SImode,
17633 : E_V32QImode) != 0
17634 194 : || !insn_condition_1082 (operands, insn))
17635 4 : return -1;
17636 : return 9685; /* avx512bmm_vbitrevb_v32qi_mask */
17637 :
17638 : default:
17639 : return -1;
17640 : }
17641 :
17642 224 : case 282:
17643 224 : if (pattern672 (x2) != 0
17644 224 : || !insn_condition_1054 (operands, insn))
17645 28 : return -1;
17646 : return 9714; /* vcvtps2bf8v16sf_mask */
17647 :
17648 224 : case 283:
17649 224 : if (pattern672 (x2) != 0
17650 224 : || !insn_condition_1054 (operands, insn))
17651 28 : return -1;
17652 : return 9716; /* vcvtps2bf8sv16sf_mask */
17653 :
17654 224 : case 284:
17655 224 : if (pattern672 (x2) != 0
17656 224 : || !insn_condition_1054 (operands, insn))
17657 28 : return -1;
17658 : return 9718; /* vcvtps2hf8v16sf_mask */
17659 :
17660 224 : case 285:
17661 224 : if (pattern672 (x2) != 0
17662 224 : || !insn_condition_1054 (operands, insn))
17663 28 : return -1;
17664 : return 9720; /* vcvtps2hf8sv16sf_mask */
17665 :
17666 224 : case 286:
17667 224 : if (pattern672 (x2) != 0
17668 224 : || !insn_condition_1054 (operands, insn))
17669 28 : return -1;
17670 : return 9722; /* vcvtrops2hf8v16sf_mask */
17671 :
17672 224 : case 287:
17673 224 : if (pattern672 (x2) != 0
17674 224 : || !insn_condition_1054 (operands, insn))
17675 28 : return -1;
17676 : return 9724; /* vcvtrops2hf8sv16sf_mask */
17677 :
17678 570 : case 292:
17679 570 : switch (pattern673 (x2))
17680 : {
17681 180 : case 0:
17682 180 : if (!insn_condition_1054 (operands, insn))
17683 0 : return -1;
17684 : return 9750; /* vcvtbf82psv16sf_mask */
17685 :
17686 180 : case 1:
17687 180 : if (!insn_condition_1055 (operands, insn))
17688 0 : return -1;
17689 : return 9754; /* vcvtbf82psv8sf_mask */
17690 :
17691 180 : case 2:
17692 180 : if (!insn_condition_1055 (operands, insn))
17693 0 : return -1;
17694 : return 9758; /* vcvtbf82psv4sf_mask */
17695 :
17696 : default:
17697 : return -1;
17698 : }
17699 :
17700 570 : case 293:
17701 570 : switch (pattern673 (x2))
17702 : {
17703 180 : case 0:
17704 180 : if (!insn_condition_1054 (operands, insn))
17705 0 : return -1;
17706 : return 9752; /* vcvthf82psv16sf_mask */
17707 :
17708 180 : case 1:
17709 180 : if (!insn_condition_1055 (operands, insn))
17710 0 : return -1;
17711 : return 9756; /* vcvthf82psv8sf_mask */
17712 :
17713 180 : case 2:
17714 180 : if (!insn_condition_1055 (operands, insn))
17715 0 : return -1;
17716 : return 9760; /* vcvthf82psv4sf_mask */
17717 :
17718 : default:
17719 : return -1;
17720 : }
17721 :
17722 522 : case 296:
17723 522 : x6 = XVECEXP (x4, 0, 0);
17724 522 : operands[1] = x6;
17725 522 : x5 = XEXP (x2, 2);
17726 522 : operands[3] = x5;
17727 522 : switch (GET_MODE (operands[0]))
17728 : {
17729 174 : case E_V64QImode:
17730 174 : if (pattern666 (x2,
17731 : E_V64QImode,
17732 : E_DImode,
17733 : E_V32QImode) != 0
17734 174 : || !insn_condition_1054 (operands, insn))
17735 2 : return -1;
17736 : return 9768; /* vcvtbf42hf8v64qi_mask */
17737 :
17738 174 : case E_V16QImode:
17739 174 : if (pattern662 (x2,
17740 : E_V16QImode,
17741 : E_HImode) != 0
17742 174 : || !insn_condition_1055 (operands, insn))
17743 2 : return -1;
17744 : return 9770; /* vcvtbf42hf8v16qi_mask */
17745 :
17746 174 : case E_V32QImode:
17747 174 : if (pattern666 (x2,
17748 : E_V32QImode,
17749 : E_SImode,
17750 : E_V16QImode) != 0
17751 174 : || !insn_condition_1055 (operands, insn))
17752 2 : return -1;
17753 : return 9772; /* vcvtbf42hf8v32qi_mask */
17754 :
17755 : default:
17756 : return -1;
17757 : }
17758 :
17759 522 : case 299:
17760 522 : switch (pattern675 (x2))
17761 : {
17762 172 : case 0:
17763 172 : if (!insn_condition_1054 (operands, insn))
17764 0 : return -1;
17765 : return 9780; /* vcvtbf62hf8v64qi_mask */
17766 :
17767 172 : case 1:
17768 172 : if (!insn_condition_1055 (operands, insn))
17769 0 : return -1;
17770 : return 9784; /* vcvtbf62hf8v16qi_mask */
17771 :
17772 172 : case 2:
17773 172 : if (!insn_condition_1055 (operands, insn))
17774 0 : return -1;
17775 : return 9788; /* vcvtbf62hf8v32qi_mask */
17776 :
17777 : default:
17778 : return -1;
17779 : }
17780 :
17781 522 : case 300:
17782 522 : switch (pattern675 (x2))
17783 : {
17784 172 : case 0:
17785 172 : if (!insn_condition_1054 (operands, insn))
17786 0 : return -1;
17787 : return 9782; /* vcvthf62hf8v64qi_mask */
17788 :
17789 172 : case 1:
17790 172 : if (!insn_condition_1055 (operands, insn))
17791 0 : return -1;
17792 : return 9786; /* vcvthf62hf8v16qi_mask */
17793 :
17794 172 : case 2:
17795 172 : if (!insn_condition_1055 (operands, insn))
17796 0 : return -1;
17797 : return 9790; /* vcvthf62hf8v32qi_mask */
17798 :
17799 : default:
17800 : return -1;
17801 : }
17802 :
17803 286 : case 302:
17804 286 : if (GET_MODE (x4) != E_V16QImode
17805 250 : || !nonimmediate_operand (operands[0], E_V16QImode)
17806 532 : || GET_MODE (x2) != E_V16QImode)
17807 : return -1;
17808 246 : x6 = XVECEXP (x4, 0, 0);
17809 246 : operands[1] = x6;
17810 246 : if (!register_operand (operands[1], E_V16SImode)
17811 246 : || !nonimm_or_0_operand (operands[2], E_V16QImode))
17812 : return -1;
17813 246 : x5 = XEXP (x2, 2);
17814 246 : operands[3] = x5;
17815 246 : if (!register_operand (operands[3], E_HImode)
17816 246 : || !insn_condition_156 (operands, insn))
17817 3 : return -1;
17818 : return 9802; /* avx10v2aux_sym_truncatev16siv16qi2_mask */
17819 :
17820 : default:
17821 : return -1;
17822 : }
17823 : }
17824 :
17825 : int
17826 35 : recog_167 (rtx x1 ATTRIBUTE_UNUSED,
17827 : rtx_insn *insn ATTRIBUTE_UNUSED,
17828 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17829 : {
17830 35 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17831 35 : rtx x2, x3, x4, x5;
17832 35 : int res ATTRIBUTE_UNUSED;
17833 35 : x2 = XEXP (x1, 1);
17834 35 : if (GET_MODE (x2) != E_V8BFmode)
17835 : return -1;
17836 35 : x3 = XEXP (x2, 2);
17837 35 : if (!register_operand (x3, E_QImode))
17838 : return -1;
17839 35 : operands[3] = x3;
17840 35 : if (register_operand (operands[0], E_V8BFmode))
17841 : {
17842 27 : x4 = XEXP (x2, 0);
17843 27 : operands[2] = x4;
17844 27 : if (nonimmediate_operand (operands[2], E_V8BFmode))
17845 : {
17846 27 : x5 = XEXP (x2, 1);
17847 27 : operands[1] = x5;
17848 27 : if (nonimm_or_0_operand (operands[1], E_V8BFmode)
17849 27 : && insn_condition_77 (operands, insn))
17850 : return 2695; /* avx512vl_blendmv8bf */
17851 : }
17852 : }
17853 8 : operands[2] = x3;
17854 8 : if (!memory_operand (operands[0], E_V8BFmode))
17855 : return -1;
17856 0 : x4 = XEXP (x2, 0);
17857 0 : operands[1] = x4;
17858 0 : if (!register_operand (operands[1], E_V8BFmode))
17859 : return -1;
17860 0 : x5 = XEXP (x2, 1);
17861 0 : if (!rtx_equal_p (x5, operands[0])
17862 0 : || !insn_condition_77 (operands, insn))
17863 0 : return -1;
17864 : return 2719; /* *avx512vl_storev8bf_mask */
17865 : }
17866 :
17867 : int
17868 1532 : recog_170 (rtx x1 ATTRIBUTE_UNUSED,
17869 : rtx_insn *insn ATTRIBUTE_UNUSED,
17870 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17871 : {
17872 1532 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17873 1532 : rtx x2, x3, x4, x5;
17874 1532 : int res ATTRIBUTE_UNUSED;
17875 1532 : x2 = XEXP (x1, 1);
17876 1532 : if (GET_MODE (x2) != E_V8HFmode)
17877 : return -1;
17878 1532 : x3 = XEXP (x2, 2);
17879 1532 : if (!register_operand (x3, E_QImode))
17880 : return -1;
17881 1532 : operands[3] = x3;
17882 1532 : if (register_operand (operands[0], E_V8HFmode))
17883 : {
17884 1521 : x4 = XEXP (x2, 0);
17885 1521 : operands[2] = x4;
17886 1521 : if (nonimmediate_operand (operands[2], E_V8HFmode))
17887 : {
17888 1493 : x5 = XEXP (x2, 1);
17889 1493 : operands[1] = x5;
17890 1493 : if (nonimm_or_0_operand (operands[1], E_V8HFmode)
17891 1493 : && insn_condition_77 (operands, insn))
17892 : return 2692; /* avx512fp16_blendmv8hf */
17893 : }
17894 : }
17895 45 : operands[2] = x3;
17896 45 : if (!memory_operand (operands[0], E_V8HFmode))
17897 : return -1;
17898 5 : x4 = XEXP (x2, 0);
17899 5 : operands[1] = x4;
17900 5 : if (!register_operand (operands[1], E_V8HFmode))
17901 : return -1;
17902 5 : x5 = XEXP (x2, 1);
17903 5 : if (!rtx_equal_p (x5, operands[0])
17904 5 : || !insn_condition_77 (operands, insn))
17905 4 : return -1;
17906 : return 2716; /* *avx512fp16_storev8hf_mask */
17907 : }
17908 :
17909 : int
17910 2424 : recog_174 (rtx x1 ATTRIBUTE_UNUSED,
17911 : rtx_insn *insn ATTRIBUTE_UNUSED,
17912 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17913 : {
17914 2424 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17915 2424 : rtx x2, x3, x4;
17916 2424 : int res ATTRIBUTE_UNUSED;
17917 2424 : switch (GET_CODE (operands[4]))
17918 : {
17919 2315 : case REG:
17920 2315 : case SUBREG:
17921 2315 : case MEM:
17922 2315 : x2 = XEXP (x1, 1);
17923 2315 : switch (pattern1325 (x2))
17924 : {
17925 18 : case 0:
17926 18 : if (insn_condition_1127 (operands, insn))
17927 : return 3394; /* *avx_cmpv8sf3_1 */
17928 : break;
17929 :
17930 24 : case 1:
17931 24 : if (insn_condition_197 (operands, insn))
17932 : return 3395; /* *avx_cmpv4sf3_1 */
17933 : break;
17934 :
17935 18 : case 2:
17936 18 : if (insn_condition_1127 (operands, insn))
17937 : return 3396; /* *avx_cmpv4df3_1 */
17938 : break;
17939 :
17940 18 : case 3:
17941 18 : if (insn_condition_1128 (operands, insn))
17942 : return 3397; /* *avx_cmpv2df3_1 */
17943 : break;
17944 :
17945 : default:
17946 : break;
17947 : }
17948 : break;
17949 :
17950 99 : case CONST_INT:
17951 99 : case CONST_DOUBLE:
17952 99 : case CONST_VECTOR:
17953 99 : x2 = XEXP (x1, 1);
17954 99 : x3 = XEXP (x2, 2);
17955 99 : x4 = XVECEXP (x3, 0, 2);
17956 99 : if (x4 == const_int_rtx[MAX_SAVED_CONST_INT + 1])
17957 : {
17958 3 : switch (GET_MODE (operands[0]))
17959 : {
17960 0 : case E_V32HImode:
17961 0 : if (pattern1512 (x2,
17962 : E_V32HImode,
17963 : E_SImode) == 0
17964 0 : && insn_condition_1129 (operands, insn))
17965 : return 6339; /* *avx512_ashrv32hi3_1 */
17966 : break;
17967 :
17968 0 : case E_V16HImode:
17969 0 : if (pattern1512 (x2,
17970 : E_V16HImode,
17971 : E_HImode) == 0
17972 0 : && insn_condition_1130 (operands, insn))
17973 : return 6340; /* *avx512_ashrv16hi3_1 */
17974 : break;
17975 :
17976 0 : case E_V8HImode:
17977 0 : if (pattern1512 (x2,
17978 : E_V8HImode,
17979 : E_QImode) == 0
17980 0 : && insn_condition_1130 (operands, insn))
17981 : return 6341; /* *avx512_ashrv8hi3_1 */
17982 : break;
17983 :
17984 0 : case E_V16SImode:
17985 0 : if (pattern1512 (x2,
17986 : E_V16SImode,
17987 : E_HImode) == 0
17988 0 : && insn_condition_864 (operands, insn))
17989 : return 6342; /* *avx512_ashrv16si3_1 */
17990 : break;
17991 :
17992 0 : case E_V8SImode:
17993 0 : if (pattern1512 (x2,
17994 : E_V8SImode,
17995 : E_QImode) == 0
17996 0 : && insn_condition_1131 (operands, insn))
17997 : return 6343; /* *avx512_ashrv8si3_1 */
17998 : break;
17999 :
18000 0 : case E_V4SImode:
18001 0 : if (pattern1512 (x2,
18002 : E_V4SImode,
18003 : E_QImode) == 0
18004 0 : && insn_condition_1131 (operands, insn))
18005 : return 6344; /* *avx512_ashrv4si3_1 */
18006 : break;
18007 :
18008 0 : case E_V8DImode:
18009 0 : if (pattern1512 (x2,
18010 : E_V8DImode,
18011 : E_QImode) == 0
18012 0 : && insn_condition_864 (operands, insn))
18013 : return 6345; /* *avx512_ashrv8di3_1 */
18014 : break;
18015 :
18016 0 : case E_V4DImode:
18017 0 : if (pattern1512 (x2,
18018 : E_V4DImode,
18019 : E_QImode) == 0
18020 0 : && insn_condition_1131 (operands, insn))
18021 : return 6346; /* *avx512_ashrv4di3_1 */
18022 : break;
18023 :
18024 0 : case E_V2DImode:
18025 0 : if (pattern1512 (x2,
18026 : E_V2DImode,
18027 : E_QImode) == 0
18028 0 : && insn_condition_1131 (operands, insn))
18029 : return 6347; /* *avx512_ashrv2di3_1 */
18030 : break;
18031 :
18032 : default:
18033 : break;
18034 : }
18035 : }
18036 : break;
18037 :
18038 : default:
18039 : break;
18040 : }
18041 2346 : x2 = XEXP (x1, 1);
18042 2346 : x3 = XEXP (x2, 2);
18043 2346 : x4 = XVECEXP (x3, 0, 2);
18044 2346 : operands[5] = x4;
18045 2346 : switch (pattern1326 (x2))
18046 : {
18047 82 : case 0:
18048 82 : if (vector_all_ones_operand (operands[1], E_V16QImode)
18049 82 : && const0_operand (operands[2], E_V16QImode))
18050 : {
18051 76 : if (nonimm_or_0_operand (operands[3], E_V16QImode)
18052 76 : && nonimm_or_0_operand (operands[4], E_V16QImode)
18053 152 : && insn_condition_1132 (operands, insn))
18054 : return 6603; /* *avx2_pcmpv16qi3_1 */
18055 15 : if (nonimmediate_operand (operands[3], E_V16QImode)
18056 15 : && nonimmediate_operand (operands[4], E_V16QImode)
18057 30 : && insn_condition_1133 (operands, insn))
18058 : return 6625; /* *avx2_pcmpv16qi3_6 */
18059 : }
18060 21 : if (!const0_operand (operands[1], E_V16QImode)
18061 6 : || !vector_all_ones_operand (operands[2], E_V16QImode)
18062 3 : || !nonimmediate_operand (operands[3], E_V16QImode)
18063 3 : || !nonimmediate_operand (operands[4], E_V16QImode)
18064 24 : || !insn_condition_1134 (operands, insn))
18065 18 : return -1;
18066 : return 6641; /* *avx2_pcmpv16qi3_7 */
18067 :
18068 107 : case 1:
18069 107 : if (vector_all_ones_operand (operands[1], E_V8HImode)
18070 107 : && const0_operand (operands[2], E_V8HImode))
18071 : {
18072 101 : if (nonimm_or_0_operand (operands[3], E_V8HImode)
18073 77 : && nonimm_or_0_operand (operands[4], E_V8HImode)
18074 178 : && insn_condition_1132 (operands, insn))
18075 : return 6604; /* *avx2_pcmpv8hi3_1 */
18076 42 : if (nonimmediate_operand (operands[3], E_V8HImode)
18077 18 : && nonimmediate_operand (operands[4], E_V8HImode)
18078 60 : && insn_condition_1133 (operands, insn))
18079 : return 6627; /* *avx2_pcmpv8hi3_6 */
18080 : }
18081 48 : if (!const0_operand (operands[1], E_V8HImode)
18082 6 : || !vector_all_ones_operand (operands[2], E_V8HImode)
18083 3 : || !nonimmediate_operand (operands[3], E_V8HImode)
18084 3 : || !nonimmediate_operand (operands[4], E_V8HImode)
18085 51 : || !insn_condition_1134 (operands, insn))
18086 45 : return -1;
18087 : return 6642; /* *avx2_pcmpv8hi3_7 */
18088 :
18089 508 : case 2:
18090 508 : if (vector_all_ones_operand (operands[1], E_V4SImode)
18091 508 : && const0_operand (operands[2], E_V4SImode))
18092 : {
18093 94 : if (nonimm_or_0_operand (operands[3], E_V4SImode)
18094 86 : && nonimm_or_0_operand (operands[4], E_V4SImode)
18095 178 : && insn_condition_1132 (operands, insn))
18096 : return 6605; /* *avx2_pcmpv4si3_1 */
18097 32 : if (nonimmediate_operand (operands[3], E_V4SImode)
18098 24 : && nonimmediate_operand (operands[4], E_V4SImode)
18099 54 : && insn_condition_1133 (operands, insn))
18100 : return 6629; /* *avx2_pcmpv4si3_6 */
18101 : }
18102 446 : if (!const0_operand (operands[1], E_V4SImode)
18103 10 : || !vector_all_ones_operand (operands[2], E_V4SImode)
18104 3 : || !nonimmediate_operand (operands[3], E_V4SImode)
18105 3 : || !nonimmediate_operand (operands[4], E_V4SImode)
18106 449 : || !insn_condition_1134 (operands, insn))
18107 443 : return -1;
18108 : return 6643; /* *avx2_pcmpv4si3_7 */
18109 :
18110 54 : case 3:
18111 54 : if (vector_all_ones_operand (operands[1], E_V2DImode)
18112 54 : && const0_operand (operands[2], E_V2DImode))
18113 : {
18114 48 : if (nonimm_or_0_operand (operands[3], E_V2DImode)
18115 48 : && nonimm_or_0_operand (operands[4], E_V2DImode)
18116 96 : && insn_condition_1132 (operands, insn))
18117 : return 6606; /* *avx2_pcmpv2di3_1 */
18118 16 : if (nonimmediate_operand (operands[3], E_V2DImode)
18119 16 : && nonimmediate_operand (operands[4], E_V2DImode)
18120 32 : && insn_condition_1133 (operands, insn))
18121 : return 6631; /* *avx2_pcmpv2di3_6 */
18122 : }
18123 22 : if (!const0_operand (operands[1], E_V2DImode)
18124 6 : || !vector_all_ones_operand (operands[2], E_V2DImode)
18125 3 : || !nonimmediate_operand (operands[3], E_V2DImode)
18126 3 : || !nonimmediate_operand (operands[4], E_V2DImode)
18127 25 : || !insn_condition_1134 (operands, insn))
18128 19 : return -1;
18129 : return 6644; /* *avx2_pcmpv2di3_7 */
18130 :
18131 71 : case 4:
18132 71 : if (vector_all_ones_operand (operands[1], E_V32QImode)
18133 71 : && const0_operand (operands[2], E_V32QImode))
18134 : {
18135 65 : if (nonimm_or_0_operand (operands[3], E_V32QImode)
18136 65 : && nonimm_or_0_operand (operands[4], E_V32QImode)
18137 129 : && insn_condition_1132 (operands, insn))
18138 : return 6607; /* *avx2_pcmpv32qi3_1 */
18139 19 : if (nonimmediate_operand (operands[3], E_V32QImode)
18140 19 : && nonimmediate_operand (operands[4], E_V32QImode)
18141 37 : && insn_condition_1133 (operands, insn))
18142 : return 6633; /* *avx2_pcmpv32qi3_6 */
18143 : }
18144 17 : if (!const0_operand (operands[1], E_V32QImode)
18145 6 : || !vector_all_ones_operand (operands[2], E_V32QImode)
18146 3 : || !nonimmediate_operand (operands[3], E_V32QImode)
18147 3 : || !nonimmediate_operand (operands[4], E_V32QImode)
18148 20 : || !insn_condition_1134 (operands, insn))
18149 14 : return -1;
18150 : return 6645; /* *avx2_pcmpv32qi3_7 */
18151 :
18152 90 : case 5:
18153 90 : if (vector_all_ones_operand (operands[1], E_V16HImode)
18154 90 : && const0_operand (operands[2], E_V16HImode))
18155 : {
18156 84 : if (nonimm_or_0_operand (operands[3], E_V16HImode)
18157 60 : && nonimm_or_0_operand (operands[4], E_V16HImode)
18158 144 : && insn_condition_1132 (operands, insn))
18159 : return 6608; /* *avx2_pcmpv16hi3_1 */
18160 42 : if (nonimmediate_operand (operands[3], E_V16HImode)
18161 18 : && nonimmediate_operand (operands[4], E_V16HImode)
18162 60 : && insn_condition_1133 (operands, insn))
18163 : return 6635; /* *avx2_pcmpv16hi3_6 */
18164 : }
18165 40 : if (!const0_operand (operands[1], E_V16HImode)
18166 6 : || !vector_all_ones_operand (operands[2], E_V16HImode)
18167 3 : || !nonimmediate_operand (operands[3], E_V16HImode)
18168 3 : || !nonimmediate_operand (operands[4], E_V16HImode)
18169 43 : || !insn_condition_1134 (operands, insn))
18170 37 : return -1;
18171 : return 6646; /* *avx2_pcmpv16hi3_7 */
18172 :
18173 465 : case 6:
18174 465 : if (vector_all_ones_operand (operands[1], E_V8SImode)
18175 465 : && const0_operand (operands[2], E_V8SImode))
18176 : {
18177 77 : if (nonimm_or_0_operand (operands[3], E_V8SImode)
18178 73 : && nonimm_or_0_operand (operands[4], E_V8SImode)
18179 148 : && insn_condition_1132 (operands, insn))
18180 : return 6609; /* *avx2_pcmpv8si3_1 */
18181 29 : if (nonimmediate_operand (operands[3], E_V8SImode)
18182 25 : && nonimmediate_operand (operands[4], E_V8SImode)
18183 50 : && insn_condition_1133 (operands, insn))
18184 : return 6637; /* *avx2_pcmpv8si3_6 */
18185 : }
18186 409 : if (!const0_operand (operands[1], E_V8SImode)
18187 7 : || !vector_all_ones_operand (operands[2], E_V8SImode)
18188 3 : || !nonimmediate_operand (operands[3], E_V8SImode)
18189 3 : || !nonimmediate_operand (operands[4], E_V8SImode)
18190 412 : || !insn_condition_1134 (operands, insn))
18191 406 : return -1;
18192 : return 6647; /* *avx2_pcmpv8si3_7 */
18193 :
18194 54 : case 7:
18195 54 : if (vector_all_ones_operand (operands[1], E_V4DImode)
18196 54 : && const0_operand (operands[2], E_V4DImode))
18197 : {
18198 48 : if (nonimm_or_0_operand (operands[3], E_V4DImode)
18199 48 : && nonimm_or_0_operand (operands[4], E_V4DImode)
18200 96 : && insn_condition_1132 (operands, insn))
18201 : return 6610; /* *avx2_pcmpv4di3_1 */
18202 18 : if (nonimmediate_operand (operands[3], E_V4DImode)
18203 18 : && nonimmediate_operand (operands[4], E_V4DImode)
18204 36 : && insn_condition_1133 (operands, insn))
18205 : return 6639; /* *avx2_pcmpv4di3_6 */
18206 : }
18207 16 : if (!const0_operand (operands[1], E_V4DImode)
18208 6 : || !vector_all_ones_operand (operands[2], E_V4DImode)
18209 3 : || !nonimmediate_operand (operands[3], E_V4DImode)
18210 3 : || !nonimmediate_operand (operands[4], E_V4DImode)
18211 19 : || !insn_condition_1134 (operands, insn))
18212 13 : return -1;
18213 : return 6648; /* *avx2_pcmpv4di3_7 */
18214 :
18215 : default:
18216 : return -1;
18217 : }
18218 : }
18219 :
18220 : int
18221 3190 : recog_178 (rtx x1 ATTRIBUTE_UNUSED,
18222 : rtx_insn *insn ATTRIBUTE_UNUSED,
18223 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18224 : {
18225 3190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18226 3190 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18227 3190 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
18228 3190 : rtx x18, x19, x20, x21, x22, x23, x24;
18229 3190 : int res ATTRIBUTE_UNUSED;
18230 3190 : x2 = XEXP (x1, 1);
18231 3190 : x3 = XEXP (x2, 0);
18232 3190 : x4 = XEXP (x3, 1);
18233 3190 : x5 = XVECEXP (x4, 0, 2);
18234 3190 : if (GET_CODE (x5) != CONST_INT)
18235 : return -1;
18236 3190 : x6 = XVECEXP (x4, 0, 3);
18237 3190 : if (GET_CODE (x6) != CONST_INT
18238 3190 : || pattern1336 (x4) != 0)
18239 : return -1;
18240 3190 : x7 = XVECEXP (x4, 0, 12);
18241 3190 : if (GET_CODE (x7) != CONST_INT)
18242 : return -1;
18243 3190 : x8 = XVECEXP (x4, 0, 13);
18244 3190 : if (GET_CODE (x8) != CONST_INT)
18245 : return -1;
18246 3190 : x9 = XVECEXP (x4, 0, 14);
18247 3190 : if (GET_CODE (x9) != CONST_INT)
18248 : return -1;
18249 3190 : x10 = XVECEXP (x4, 0, 15);
18250 3190 : if (GET_CODE (x10) != CONST_INT)
18251 : return -1;
18252 3190 : x11 = XEXP (x2, 2);
18253 3190 : if (!register_operand (x11, E_HImode))
18254 : return -1;
18255 2921 : x12 = XVECEXP (x4, 0, 0);
18256 2921 : switch (XWINT (x12, 0))
18257 : {
18258 464 : case 2L:
18259 464 : x13 = XVECEXP (x4, 0, 1);
18260 464 : if (XWINT (x13, 0) != 18L
18261 464 : || XWINT (x5, 0) != 3L
18262 464 : || XWINT (x6, 0) != 19L
18263 928 : || pattern1909 (x4) != 0)
18264 : return -1;
18265 464 : x14 = XVECEXP (x4, 0, 8);
18266 464 : if (XWINT (x14, 0) != 10L)
18267 : return -1;
18268 464 : x15 = XVECEXP (x4, 0, 9);
18269 464 : if (XWINT (x15, 0) != 26L)
18270 : return -1;
18271 464 : x16 = XVECEXP (x4, 0, 10);
18272 464 : if (XWINT (x16, 0) != 11L)
18273 : return -1;
18274 464 : x17 = XVECEXP (x4, 0, 11);
18275 464 : if (XWINT (x17, 0) != 27L
18276 464 : || pattern1941 (x2) != 0)
18277 : return -1;
18278 464 : switch (GET_MODE (operands[0]))
18279 : {
18280 241 : case E_V16SFmode:
18281 241 : if (pattern1635 (x2,
18282 : E_V16SFmode,
18283 : E_V32SFmode) != 0
18284 241 : || !insn_condition_27 (operands, insn))
18285 35 : return -1;
18286 : return 5409; /* avx512f_unpckhps512_mask */
18287 :
18288 223 : case E_V16SImode:
18289 223 : if (pattern1635 (x2,
18290 : E_V16SImode,
18291 : E_V32SImode) != 0
18292 223 : || !insn_condition_27 (operands, insn))
18293 17 : return -1;
18294 : return 7035; /* avx512f_interleave_highv16si_mask */
18295 :
18296 : default:
18297 : return -1;
18298 : }
18299 :
18300 1172 : case 0L:
18301 1172 : x13 = XVECEXP (x4, 0, 1);
18302 1172 : switch (XWINT (x13, 0))
18303 : {
18304 867 : case 16L:
18305 867 : if (XWINT (x5, 0) != 1L
18306 867 : || XWINT (x6, 0) != 17L)
18307 : return -1;
18308 867 : x18 = XEXP (x3, 0);
18309 867 : x19 = XEXP (x18, 1);
18310 867 : operands[2] = x19;
18311 867 : x20 = XEXP (x2, 1);
18312 867 : operands[3] = x20;
18313 867 : operands[4] = x11;
18314 867 : x21 = XVECEXP (x4, 0, 4);
18315 867 : switch (XWINT (x21, 0))
18316 : {
18317 467 : case 4L:
18318 467 : x22 = XVECEXP (x4, 0, 5);
18319 467 : if (XWINT (x22, 0) != 20L)
18320 : return -1;
18321 467 : x23 = XVECEXP (x4, 0, 6);
18322 467 : if (XWINT (x23, 0) != 5L)
18323 : return -1;
18324 467 : x24 = XVECEXP (x4, 0, 7);
18325 467 : if (XWINT (x24, 0) != 21L)
18326 : return -1;
18327 467 : x14 = XVECEXP (x4, 0, 8);
18328 467 : if (XWINT (x14, 0) != 8L)
18329 : return -1;
18330 467 : x15 = XVECEXP (x4, 0, 9);
18331 467 : if (XWINT (x15, 0) != 24L)
18332 : return -1;
18333 467 : x16 = XVECEXP (x4, 0, 10);
18334 467 : if (XWINT (x16, 0) != 9L)
18335 : return -1;
18336 467 : x17 = XVECEXP (x4, 0, 11);
18337 467 : if (XWINT (x17, 0) != 25L
18338 467 : || XWINT (x7, 0) != 12L
18339 467 : || XWINT (x8, 0) != 28L
18340 467 : || XWINT (x9, 0) != 13L
18341 467 : || XWINT (x10, 0) != 29L)
18342 : return -1;
18343 467 : switch (GET_MODE (operands[0]))
18344 : {
18345 244 : case E_V16SFmode:
18346 244 : if (pattern1635 (x2,
18347 : E_V16SFmode,
18348 : E_V32SFmode) != 0
18349 244 : || !insn_condition_27 (operands, insn))
18350 37 : return -1;
18351 : return 5415; /* avx512f_unpcklps512_mask */
18352 :
18353 223 : case E_V16SImode:
18354 223 : if (pattern1635 (x2,
18355 : E_V16SImode,
18356 : E_V32SImode) != 0
18357 223 : || !insn_condition_27 (operands, insn))
18358 17 : return -1;
18359 : return 7041; /* avx512f_interleave_lowv16si_mask */
18360 :
18361 : default:
18362 : return -1;
18363 : }
18364 :
18365 400 : case 2L:
18366 400 : x22 = XVECEXP (x4, 0, 5);
18367 400 : if (XWINT (x22, 0) != 18L)
18368 : return -1;
18369 400 : x23 = XVECEXP (x4, 0, 6);
18370 400 : if (XWINT (x23, 0) != 3L)
18371 : return -1;
18372 400 : x24 = XVECEXP (x4, 0, 7);
18373 400 : if (XWINT (x24, 0) != 19L)
18374 : return -1;
18375 400 : x14 = XVECEXP (x4, 0, 8);
18376 400 : switch (XWINT (x14, 0))
18377 : {
18378 198 : case 4L:
18379 198 : x15 = XVECEXP (x4, 0, 9);
18380 198 : if (XWINT (x15, 0) != 20L)
18381 : return -1;
18382 198 : x16 = XVECEXP (x4, 0, 10);
18383 198 : if (XWINT (x16, 0) != 5L)
18384 : return -1;
18385 198 : x17 = XVECEXP (x4, 0, 11);
18386 198 : if (XWINT (x17, 0) != 21L
18387 198 : || XWINT (x7, 0) != 6L
18388 198 : || XWINT (x8, 0) != 22L
18389 198 : || XWINT (x9, 0) != 7L
18390 198 : || XWINT (x10, 0) != 23L
18391 198 : || pattern1636 (x2,
18392 : E_V16QImode,
18393 : E_V32QImode) != 0
18394 388 : || !insn_condition_1140 (operands, insn))
18395 8 : return -1;
18396 : return 6995; /* vec_interleave_lowv16qi_mask */
18397 :
18398 202 : case 8L:
18399 202 : x15 = XVECEXP (x4, 0, 9);
18400 202 : if (XWINT (x15, 0) != 24L)
18401 : return -1;
18402 202 : x16 = XVECEXP (x4, 0, 10);
18403 202 : if (XWINT (x16, 0) != 9L)
18404 : return -1;
18405 202 : x17 = XVECEXP (x4, 0, 11);
18406 202 : if (XWINT (x17, 0) != 25L
18407 202 : || XWINT (x7, 0) != 10L
18408 202 : || XWINT (x8, 0) != 26L
18409 202 : || XWINT (x9, 0) != 11L
18410 202 : || XWINT (x10, 0) != 27L)
18411 : return -1;
18412 202 : switch (GET_MODE (operands[0]))
18413 : {
18414 202 : case E_V16HImode:
18415 202 : if (pattern1635 (x2,
18416 : E_V16HImode,
18417 : E_V32HImode) != 0
18418 202 : || !insn_condition_1141 (operands, insn))
18419 15 : return -1;
18420 : return 7021; /* avx2_interleave_lowv16hi_mask */
18421 :
18422 0 : case E_V16HFmode:
18423 0 : if (pattern1635 (x2,
18424 : E_V16HFmode,
18425 : E_V32HFmode) != 0
18426 0 : || !insn_condition_1141 (operands, insn))
18427 0 : return -1;
18428 : return 7023; /* avx2_interleave_lowv16hf_mask */
18429 :
18430 0 : case E_V16BFmode:
18431 0 : if (pattern1635 (x2,
18432 : E_V16BFmode,
18433 : E_V32BFmode) != 0
18434 0 : || !insn_condition_1141 (operands, insn))
18435 0 : return -1;
18436 : return 7025; /* avx2_interleave_lowv16bf_mask */
18437 :
18438 : default:
18439 : return -1;
18440 : }
18441 :
18442 : default:
18443 : return -1;
18444 : }
18445 :
18446 : default:
18447 : return -1;
18448 : }
18449 :
18450 235 : case 0L:
18451 235 : if (pattern1731 (x4) != 0)
18452 : return -1;
18453 235 : x14 = XVECEXP (x4, 0, 8);
18454 235 : if (XWINT (x14, 0) != 8L)
18455 : return -1;
18456 235 : x15 = XVECEXP (x4, 0, 9);
18457 235 : if (XWINT (x15, 0) != 8L)
18458 : return -1;
18459 235 : x16 = XVECEXP (x4, 0, 10);
18460 235 : if (XWINT (x16, 0) != 10L)
18461 : return -1;
18462 235 : x17 = XVECEXP (x4, 0, 11);
18463 235 : if (XWINT (x17, 0) != 10L
18464 235 : || XWINT (x7, 0) != 12L
18465 235 : || XWINT (x8, 0) != 12L
18466 235 : || XWINT (x9, 0) != 14L
18467 235 : || XWINT (x10, 0) != 14L
18468 235 : || pattern1878 (x2,
18469 : E_V16SFmode,
18470 : E_V32SFmode) != 0
18471 452 : || !insn_condition_27 (operands, insn))
18472 18 : return -1;
18473 : return 5431; /* avx512f_movsldup512_mask */
18474 :
18475 : default:
18476 : return -1;
18477 : }
18478 :
18479 395 : case 1L:
18480 395 : x13 = XVECEXP (x4, 0, 1);
18481 395 : if (XWINT (x13, 0) != 1L
18482 239 : || XWINT (x5, 0) != 3L
18483 239 : || XWINT (x6, 0) != 3L)
18484 : return -1;
18485 239 : x21 = XVECEXP (x4, 0, 4);
18486 239 : if (XWINT (x21, 0) != 5L)
18487 : return -1;
18488 239 : x22 = XVECEXP (x4, 0, 5);
18489 239 : if (XWINT (x22, 0) != 5L)
18490 : return -1;
18491 239 : x23 = XVECEXP (x4, 0, 6);
18492 239 : if (XWINT (x23, 0) != 7L)
18493 : return -1;
18494 239 : x24 = XVECEXP (x4, 0, 7);
18495 239 : if (XWINT (x24, 0) != 7L)
18496 : return -1;
18497 239 : x14 = XVECEXP (x4, 0, 8);
18498 239 : if (XWINT (x14, 0) != 9L)
18499 : return -1;
18500 239 : x15 = XVECEXP (x4, 0, 9);
18501 239 : if (XWINT (x15, 0) != 9L)
18502 : return -1;
18503 239 : x16 = XVECEXP (x4, 0, 10);
18504 239 : if (XWINT (x16, 0) != 11L)
18505 : return -1;
18506 239 : x17 = XVECEXP (x4, 0, 11);
18507 239 : if (XWINT (x17, 0) != 11L
18508 239 : || XWINT (x7, 0) != 13L
18509 239 : || XWINT (x8, 0) != 13L
18510 239 : || XWINT (x9, 0) != 15L
18511 239 : || XWINT (x10, 0) != 15L
18512 239 : || pattern1878 (x2,
18513 : E_V16SFmode,
18514 : E_V32SFmode) != 0
18515 460 : || !insn_condition_27 (operands, insn))
18516 18 : return -1;
18517 : return 5425; /* avx512f_movshdup512_mask */
18518 :
18519 198 : case 8L:
18520 198 : x13 = XVECEXP (x4, 0, 1);
18521 198 : if (XWINT (x13, 0) != 24L
18522 198 : || XWINT (x5, 0) != 9L
18523 198 : || XWINT (x6, 0) != 25L)
18524 : return -1;
18525 198 : x21 = XVECEXP (x4, 0, 4);
18526 198 : if (XWINT (x21, 0) != 10L)
18527 : return -1;
18528 198 : x22 = XVECEXP (x4, 0, 5);
18529 198 : if (XWINT (x22, 0) != 26L)
18530 : return -1;
18531 198 : x23 = XVECEXP (x4, 0, 6);
18532 198 : if (XWINT (x23, 0) != 11L)
18533 : return -1;
18534 198 : x24 = XVECEXP (x4, 0, 7);
18535 198 : if (XWINT (x24, 0) != 27L
18536 198 : || pattern1924 (x4) != 0
18537 198 : || XWINT (x7, 0) != 14L
18538 198 : || XWINT (x8, 0) != 30L
18539 198 : || XWINT (x9, 0) != 15L
18540 198 : || XWINT (x10, 0) != 31L
18541 198 : || pattern808 (x2,
18542 : E_V32QImode,
18543 : E_V16QImode) != 0
18544 394 : || !register_operand (operands[1], E_V16QImode))
18545 : return -1;
18546 196 : x18 = XEXP (x3, 0);
18547 196 : x19 = XEXP (x18, 1);
18548 196 : operands[2] = x19;
18549 196 : if (!vector_operand (operands[2], E_V16QImode))
18550 : return -1;
18551 196 : x20 = XEXP (x2, 1);
18552 196 : operands[3] = x20;
18553 196 : if (!nonimm_or_0_operand (operands[3], E_V16QImode))
18554 : return -1;
18555 190 : operands[4] = x11;
18556 190 : if (!insn_condition_1140 (operands, insn))
18557 0 : return -1;
18558 : return 6989; /* vec_interleave_highv16qi_mask */
18559 :
18560 544 : case 4L:
18561 544 : x13 = XVECEXP (x4, 0, 1);
18562 544 : if (XWINT (x13, 0) != 20L
18563 202 : || XWINT (x5, 0) != 5L
18564 202 : || XWINT (x6, 0) != 21L
18565 202 : || pattern1909 (x4) != 0
18566 202 : || pattern1924 (x4) != 0
18567 746 : || pattern1941 (x2) != 0)
18568 : return -1;
18569 202 : switch (GET_MODE (operands[0]))
18570 : {
18571 202 : case E_V16HImode:
18572 202 : if (pattern1635 (x2,
18573 : E_V16HImode,
18574 : E_V32HImode) != 0
18575 202 : || !insn_condition_1141 (operands, insn))
18576 15 : return -1;
18577 : return 7003; /* avx2_interleave_highv16hi_mask */
18578 :
18579 0 : case E_V16HFmode:
18580 0 : if (pattern1635 (x2,
18581 : E_V16HFmode,
18582 : E_V32HFmode) != 0
18583 0 : || !insn_condition_1141 (operands, insn))
18584 0 : return -1;
18585 : return 7005; /* avx2_interleave_highv16hf_mask */
18586 :
18587 0 : case E_V16BFmode:
18588 0 : if (pattern1635 (x2,
18589 : E_V16BFmode,
18590 : E_V32BFmode) != 0
18591 0 : || !insn_condition_1141 (operands, insn))
18592 0 : return -1;
18593 : return 7007; /* avx2_interleave_highv16bf_mask */
18594 :
18595 : default:
18596 : return -1;
18597 : }
18598 :
18599 : default:
18600 : return -1;
18601 : }
18602 : }
18603 :
18604 : int
18605 2568 : recog_188 (rtx x1 ATTRIBUTE_UNUSED,
18606 : rtx_insn *insn ATTRIBUTE_UNUSED,
18607 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18608 : {
18609 2568 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18610 2568 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18611 2568 : rtx x10, x11, x12;
18612 2568 : int res ATTRIBUTE_UNUSED;
18613 2568 : x2 = XEXP (x1, 1);
18614 2568 : x3 = XEXP (x2, 0);
18615 2568 : x4 = XEXP (x3, 1);
18616 2568 : x5 = XVECEXP (x4, 0, 1);
18617 2568 : operands[3] = x5;
18618 2568 : x6 = XVECEXP (x4, 0, 2);
18619 2568 : operands[4] = x6;
18620 2568 : x7 = XVECEXP (x4, 0, 3);
18621 2568 : operands[5] = x7;
18622 2568 : x8 = XVECEXP (x4, 0, 5);
18623 2568 : operands[7] = x8;
18624 2568 : x9 = XVECEXP (x4, 0, 6);
18625 2568 : operands[8] = x9;
18626 2568 : x10 = XVECEXP (x4, 0, 7);
18627 2568 : operands[9] = x10;
18628 2568 : x11 = XEXP (x2, 1);
18629 2568 : operands[10] = x11;
18630 2568 : x12 = XEXP (x2, 2);
18631 2568 : operands[11] = x12;
18632 2568 : if (!register_operand (operands[11], E_QImode))
18633 : return -1;
18634 1486 : switch (GET_MODE (operands[0]))
18635 : {
18636 477 : case E_V8DFmode:
18637 477 : if (pattern1795 (x2,
18638 : E_V8DFmode) != 0
18639 477 : || !insn_condition_1157 (operands, insn))
18640 477 : return -1;
18641 : return 7088; /* *avx512f_shuf_f64x2_1_mask_1 */
18642 :
18643 287 : case E_V8DImode:
18644 287 : if (pattern1795 (x2,
18645 : E_V8DImode) != 0
18646 287 : || !insn_condition_1157 (operands, insn))
18647 287 : return -1;
18648 : return 7090; /* *avx512f_shuf_i64x2_1_mask_1 */
18649 :
18650 192 : case E_V8SImode:
18651 192 : if (pattern791 (x2,
18652 : E_V8SImode) != 0
18653 181 : || pattern1879 () != 0
18654 181 : || !nonimm_or_0_operand (operands[10], E_V8SImode)
18655 366 : || !insn_condition_1158 (operands, insn))
18656 18 : return -1;
18657 : return 7106; /* avx2_pshufd_1_mask */
18658 :
18659 : default:
18660 : return -1;
18661 : }
18662 : }
18663 :
18664 : int
18665 3192 : recog_190 (rtx x1 ATTRIBUTE_UNUSED,
18666 : rtx_insn *insn ATTRIBUTE_UNUSED,
18667 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18668 : {
18669 3192 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18670 3192 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18671 3192 : rtx x10;
18672 3192 : int res ATTRIBUTE_UNUSED;
18673 3192 : x2 = XEXP (x1, 1);
18674 3192 : x3 = XEXP (x2, 0);
18675 3192 : x4 = XEXP (x3, 1);
18676 3192 : x5 = XVECEXP (x4, 0, 0);
18677 3192 : if (GET_CODE (x5) != CONST_INT)
18678 : return -1;
18679 3192 : x6 = XVECEXP (x4, 0, 1);
18680 3192 : if (GET_CODE (x6) == CONST_INT)
18681 : {
18682 3192 : res = recog_187 (x1, insn, pnum_clobbers);
18683 3192 : if (res >= 0)
18684 : return res;
18685 : }
18686 2568 : operands[2] = x5;
18687 2568 : res = recog_189 (x1, insn, pnum_clobbers);
18688 2568 : if (res >= 0)
18689 : return res;
18690 2231 : if (XWINT (x5, 0) != 0L
18691 760 : || x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18692 : return -1;
18693 188 : x7 = XVECEXP (x4, 0, 2);
18694 188 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
18695 : return -1;
18696 188 : x8 = XVECEXP (x4, 0, 3);
18697 188 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
18698 188 : || pattern1337 (x2,
18699 : E_V8HImode) != 0
18700 356 : || pattern1596 (x4) != 0)
18701 : return -1;
18702 168 : x9 = XEXP (x2, 1);
18703 168 : operands[6] = x9;
18704 168 : if (!nonimm_or_0_operand (operands[6], E_V8HImode))
18705 : return -1;
18706 167 : x10 = XEXP (x2, 2);
18707 167 : operands[7] = x10;
18708 167 : if (!register_operand (operands[7], E_QImode)
18709 167 : || !insn_condition_1159 (operands, insn))
18710 4 : return -1;
18711 : return 7120; /* sse2_pshufhw_1_mask */
18712 : }
18713 :
18714 : int
18715 336 : recog_194 (rtx x1 ATTRIBUTE_UNUSED,
18716 : rtx_insn *insn ATTRIBUTE_UNUSED,
18717 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18718 : {
18719 336 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18720 336 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18721 336 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
18722 336 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
18723 336 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
18724 336 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
18725 336 : rtx x42, x43, x44, x45;
18726 336 : int res ATTRIBUTE_UNUSED;
18727 336 : x2 = XEXP (x1, 1);
18728 336 : x3 = XEXP (x2, 0);
18729 336 : x4 = XEXP (x3, 0);
18730 336 : x5 = XEXP (x4, 0);
18731 336 : x6 = XEXP (x5, 1);
18732 336 : if (GET_CODE (x6) != CONST_VECTOR
18733 336 : || XVECLEN (x6, 0) != 32
18734 336 : || GET_MODE (x6) != E_V32HImode)
18735 : return -1;
18736 336 : x7 = XVECEXP (x6, 0, 0);
18737 336 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18738 : return -1;
18739 336 : x8 = XVECEXP (x6, 0, 1);
18740 336 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18741 : return -1;
18742 336 : x9 = XVECEXP (x6, 0, 2);
18743 336 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18744 : return -1;
18745 336 : x10 = XVECEXP (x6, 0, 3);
18746 336 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18747 : return -1;
18748 336 : x11 = XVECEXP (x6, 0, 4);
18749 336 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18750 : return -1;
18751 336 : x12 = XVECEXP (x6, 0, 5);
18752 336 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18753 : return -1;
18754 336 : x13 = XVECEXP (x6, 0, 6);
18755 336 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18756 : return -1;
18757 336 : x14 = XVECEXP (x6, 0, 7);
18758 336 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18759 : return -1;
18760 336 : x15 = XVECEXP (x6, 0, 8);
18761 336 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18762 : return -1;
18763 336 : x16 = XVECEXP (x6, 0, 9);
18764 336 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18765 : return -1;
18766 336 : x17 = XVECEXP (x6, 0, 10);
18767 336 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18768 : return -1;
18769 336 : x18 = XVECEXP (x6, 0, 11);
18770 336 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18771 : return -1;
18772 336 : x19 = XVECEXP (x6, 0, 12);
18773 336 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18774 : return -1;
18775 336 : x20 = XVECEXP (x6, 0, 13);
18776 336 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18777 : return -1;
18778 336 : x21 = XVECEXP (x6, 0, 14);
18779 336 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18780 : return -1;
18781 336 : x22 = XVECEXP (x6, 0, 15);
18782 336 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18783 : return -1;
18784 336 : x23 = XVECEXP (x6, 0, 16);
18785 336 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18786 : return -1;
18787 336 : x24 = XVECEXP (x6, 0, 17);
18788 336 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18789 : return -1;
18790 336 : x25 = XVECEXP (x6, 0, 18);
18791 336 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18792 : return -1;
18793 336 : x26 = XVECEXP (x6, 0, 19);
18794 336 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18795 : return -1;
18796 336 : x27 = XVECEXP (x6, 0, 20);
18797 336 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18798 : return -1;
18799 336 : x28 = XVECEXP (x6, 0, 21);
18800 336 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18801 : return -1;
18802 336 : x29 = XVECEXP (x6, 0, 22);
18803 336 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18804 : return -1;
18805 336 : x30 = XVECEXP (x6, 0, 23);
18806 336 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18807 : return -1;
18808 336 : x31 = XVECEXP (x6, 0, 24);
18809 336 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18810 : return -1;
18811 336 : x32 = XVECEXP (x6, 0, 25);
18812 336 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18813 : return -1;
18814 336 : x33 = XVECEXP (x6, 0, 26);
18815 336 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18816 : return -1;
18817 336 : x34 = XVECEXP (x6, 0, 27);
18818 336 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18819 : return -1;
18820 336 : x35 = XVECEXP (x6, 0, 28);
18821 336 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18822 : return -1;
18823 336 : x36 = XVECEXP (x6, 0, 29);
18824 336 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18825 : return -1;
18826 336 : x37 = XVECEXP (x6, 0, 30);
18827 336 : if (x37 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18828 : return -1;
18829 336 : x38 = XVECEXP (x6, 0, 31);
18830 336 : if (x38 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
18831 336 : || !register_operand (operands[0], E_V32HImode)
18832 328 : || GET_MODE (x2) != E_V32HImode
18833 328 : || GET_MODE (x3) != E_V32HImode
18834 328 : || GET_MODE (x4) != E_V32SImode
18835 664 : || GET_MODE (x5) != E_V32SImode)
18836 : return -1;
18837 328 : x39 = XEXP (x5, 0);
18838 328 : if (GET_MODE (x39) != E_V32SImode)
18839 : return -1;
18840 328 : x40 = XEXP (x39, 0);
18841 328 : if (GET_MODE (x40) != E_V32SImode)
18842 : return -1;
18843 328 : x41 = XEXP (x40, 0);
18844 328 : if (GET_MODE (x41) != E_V32SImode)
18845 : return -1;
18846 328 : x42 = XEXP (x40, 1);
18847 328 : if (GET_MODE (x42) != E_V32SImode)
18848 : return -1;
18849 328 : x43 = XEXP (x42, 0);
18850 328 : operands[2] = x43;
18851 328 : if (!nonimmediate_operand (operands[2], E_V32HImode))
18852 : return -1;
18853 328 : x44 = XEXP (x2, 1);
18854 328 : operands[3] = x44;
18855 328 : if (!nonimm_or_0_operand (operands[3], E_V32HImode))
18856 : return -1;
18857 321 : x45 = XEXP (x2, 2);
18858 321 : operands[4] = x45;
18859 321 : if (!register_operand (operands[4], E_SImode)
18860 321 : || !insn_condition_120 (operands, insn))
18861 18 : return -1;
18862 : return 7279; /* avx512bw_umulhrswv32hi3_mask */
18863 : }
18864 :
18865 : int
18866 24003 : recog_199 (rtx x1 ATTRIBUTE_UNUSED,
18867 : rtx_insn *insn ATTRIBUTE_UNUSED,
18868 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18869 : {
18870 24003 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18871 24003 : rtx x2, x3, x4, x5, x6;
18872 24003 : int res ATTRIBUTE_UNUSED;
18873 24003 : x2 = XEXP (x1, 1);
18874 24003 : x3 = XEXP (x2, 0);
18875 24003 : x4 = XEXP (x3, 1);
18876 24003 : operands[2] = x4;
18877 24003 : x5 = XEXP (x3, 0);
18878 24003 : switch (GET_CODE (x5))
18879 : {
18880 12794 : case REG:
18881 12794 : case SUBREG:
18882 12794 : case MEM:
18883 12794 : case VEC_DUPLICATE:
18884 12794 : operands[1] = x5;
18885 12794 : switch (pattern678 (x2))
18886 : {
18887 31 : case 0:
18888 31 : if (pattern1418 (x2,
18889 : E_V32HFmode,
18890 : E_SImode) != 0
18891 31 : || !insn_condition_994 (operands, insn))
18892 4 : return -1;
18893 : return 3989; /* fma_fmadd_v32hf_maskz_1 */
18894 :
18895 238 : case 1:
18896 238 : if (pattern1418 (x2,
18897 : E_V16HFmode,
18898 : E_HImode) != 0
18899 238 : || !insn_condition_995 (operands, insn))
18900 11 : return -1;
18901 : return 3993; /* fma_fmadd_v16hf_maskz_1 */
18902 :
18903 106 : case 2:
18904 106 : if (pattern1418 (x2,
18905 : E_V8HFmode,
18906 : E_QImode) != 0
18907 106 : || !insn_condition_996 (operands, insn))
18908 3 : return -1;
18909 : return 3995; /* fma_fmadd_v8hf_maskz_1 */
18910 :
18911 378 : case 3:
18912 378 : if (pattern1418 (x2,
18913 : E_V16SFmode,
18914 : E_HImode) != 0
18915 378 : || !insn_condition_997 (operands, insn))
18916 4 : return -1;
18917 : return 3999; /* fma_fmadd_v16sf_maskz_1 */
18918 :
18919 171 : case 4:
18920 171 : if (pattern1418 (x2,
18921 : E_V8SFmode,
18922 : E_QImode) != 0
18923 171 : || !insn_condition_998 (operands, insn))
18924 7 : return -1;
18925 : return 4003; /* fma_fmadd_v8sf_maskz_1 */
18926 :
18927 115 : case 5:
18928 115 : if (pattern1418 (x2,
18929 : E_V4SFmode,
18930 : E_QImode) != 0
18931 115 : || !insn_condition_999 (operands, insn))
18932 2 : return -1;
18933 : return 4005; /* fma_fmadd_v4sf_maskz_1 */
18934 :
18935 266 : case 6:
18936 266 : if (pattern1418 (x2,
18937 : E_V8DFmode,
18938 : E_QImode) != 0
18939 266 : || !insn_condition_997 (operands, insn))
18940 42 : return -1;
18941 : return 4008; /* fma_fmadd_v8df_maskz_1 */
18942 :
18943 181 : case 7:
18944 181 : if (pattern1418 (x2,
18945 : E_V4DFmode,
18946 : E_QImode) != 0
18947 181 : || !insn_condition_998 (operands, insn))
18948 13 : return -1;
18949 : return 4012; /* fma_fmadd_v4df_maskz_1 */
18950 :
18951 114 : case 8:
18952 114 : if (pattern1418 (x2,
18953 : E_V2DFmode,
18954 : E_QImode) != 0
18955 114 : || !insn_condition_999 (operands, insn))
18956 2 : return -1;
18957 : return 4014; /* fma_fmadd_v2df_maskz_1 */
18958 :
18959 93 : case 9:
18960 93 : if (pattern1420 (x2,
18961 : E_SImode,
18962 : E_V32BFmode) != 0
18963 93 : || !insn_condition_41 (operands, insn))
18964 2 : return -1;
18965 : return 9324; /* avx10_2_fmaddbf16_v32bf_maskz_1 */
18966 :
18967 93 : case 10:
18968 93 : if (pattern1420 (x2,
18969 : E_HImode,
18970 : E_V16BFmode) != 0
18971 93 : || !insn_condition_41 (operands, insn))
18972 2 : return -1;
18973 : return 9326; /* avx10_2_fmaddbf16_v16bf_maskz_1 */
18974 :
18975 93 : case 11:
18976 93 : if (pattern1420 (x2,
18977 : E_QImode,
18978 : E_V8BFmode) != 0
18979 93 : || !insn_condition_41 (operands, insn))
18980 2 : return -1;
18981 : return 9328; /* avx10_2_fmaddbf16_v8bf_maskz_1 */
18982 :
18983 218 : case 12:
18984 218 : if (pattern1421 (x2,
18985 : E_V4SFmode) != 0
18986 218 : || !insn_condition_1135 (operands, insn))
18987 0 : return -1;
18988 : return 4466; /* *fma4i_vmfmadd_v4sf */
18989 :
18990 218 : case 13:
18991 218 : if (pattern1421 (x2,
18992 : E_V2DFmode) != 0
18993 218 : || !insn_condition_1136 (operands, insn))
18994 0 : return -1;
18995 : return 4467; /* *fma4i_vmfmadd_v2df */
18996 :
18997 101 : case 14:
18998 101 : if (pattern1327 (x2,
18999 : E_V32HFmode,
19000 : E_SImode) != 0)
19001 : return -1;
19002 92 : if (nonimmediate_operand (operands[1], E_V32HFmode)
19003 92 : && vector_operand (operands[3], E_V32HFmode))
19004 : {
19005 92 : x6 = XEXP (x2, 1);
19006 92 : if (rtx_equal_p (x6, operands[1])
19007 92 : && insn_condition_916 (operands, insn))
19008 : return 4015; /* avx512bw_fmadd_v32hf_mask */
19009 : }
19010 39 : if (!vector_operand (operands[1], E_V32HFmode)
19011 39 : || !nonimmediate_operand (operands[3], E_V32HFmode))
19012 : return -1;
19013 39 : x6 = XEXP (x2, 1);
19014 39 : if (!rtx_equal_p (x6, operands[3])
19015 39 : || !insn_condition_26 (operands, insn))
19016 0 : return -1;
19017 : return 4027; /* avx512bw_fmadd_v32hf_mask3 */
19018 :
19019 485 : case 15:
19020 485 : if (pattern1327 (x2,
19021 : E_V16HFmode,
19022 : E_HImode) != 0)
19023 : return -1;
19024 446 : if (nonimmediate_operand (operands[1], E_V16HFmode)
19025 446 : && vector_operand (operands[3], E_V16HFmode))
19026 : {
19027 446 : x6 = XEXP (x2, 1);
19028 446 : if (rtx_equal_p (x6, operands[1])
19029 446 : && insn_condition_95 (operands, insn))
19030 : return 4017; /* avx512vl_fmadd_v16hf_mask */
19031 : }
19032 202 : if (!vector_operand (operands[1], E_V16HFmode)
19033 202 : || !nonimmediate_operand (operands[3], E_V16HFmode))
19034 : return -1;
19035 202 : x6 = XEXP (x2, 1);
19036 202 : if (!rtx_equal_p (x6, operands[3])
19037 202 : || !insn_condition_972 (operands, insn))
19038 0 : return -1;
19039 : return 4029; /* avx512vl_fmadd_v16hf_mask3 */
19040 :
19041 249 : case 16:
19042 249 : if (pattern1327 (x2,
19043 : E_V8HFmode,
19044 : E_QImode) != 0)
19045 : return -1;
19046 242 : if (nonimmediate_operand (operands[1], E_V8HFmode)
19047 242 : && vector_operand (operands[3], E_V8HFmode))
19048 : {
19049 242 : x6 = XEXP (x2, 1);
19050 242 : if (rtx_equal_p (x6, operands[1])
19051 242 : && insn_condition_95 (operands, insn))
19052 : return 4018; /* avx512fp16_fmadd_v8hf_mask */
19053 : }
19054 112 : if (!vector_operand (operands[1], E_V8HFmode)
19055 112 : || !nonimmediate_operand (operands[3], E_V8HFmode))
19056 : return -1;
19057 112 : x6 = XEXP (x2, 1);
19058 112 : if (!rtx_equal_p (x6, operands[3])
19059 112 : || !insn_condition_972 (operands, insn))
19060 0 : return -1;
19061 : return 4031; /* avx512fp16_fmadd_v8hf_mask3 */
19062 :
19063 116 : case 17:
19064 116 : if (pattern1327 (x2,
19065 : E_V16SFmode,
19066 : E_HImode) != 0)
19067 : return -1;
19068 107 : if (nonimmediate_operand (operands[1], E_V16SFmode)
19069 107 : && vector_operand (operands[3], E_V16SFmode))
19070 : {
19071 107 : x6 = XEXP (x2, 1);
19072 107 : if (rtx_equal_p (x6, operands[1])
19073 107 : && insn_condition_97 (operands, insn))
19074 : return 4019; /* avx512f_fmadd_v16sf_mask */
19075 : }
19076 32 : if (!vector_operand (operands[1], E_V16SFmode)
19077 32 : || !nonimmediate_operand (operands[3], E_V16SFmode))
19078 : return -1;
19079 32 : x6 = XEXP (x2, 1);
19080 32 : if (!rtx_equal_p (x6, operands[3])
19081 32 : || !insn_condition_27 (operands, insn))
19082 0 : return -1;
19083 : return 4033; /* avx512f_fmadd_v16sf_mask3 */
19084 :
19085 315 : case 18:
19086 315 : if (pattern1327 (x2,
19087 : E_V8SFmode,
19088 : E_QImode) != 0)
19089 : return -1;
19090 294 : if (nonimmediate_operand (operands[1], E_V8SFmode)
19091 294 : && vector_operand (operands[3], E_V8SFmode))
19092 : {
19093 294 : x6 = XEXP (x2, 1);
19094 294 : if (rtx_equal_p (x6, operands[1])
19095 294 : && insn_condition_96 (operands, insn))
19096 : return 4021; /* avx512vl_fmadd_v8sf_mask */
19097 : }
19098 137 : if (!vector_operand (operands[1], E_V8SFmode)
19099 137 : || !nonimmediate_operand (operands[3], E_V8SFmode))
19100 : return -1;
19101 137 : x6 = XEXP (x2, 1);
19102 137 : if (!rtx_equal_p (x6, operands[3])
19103 137 : || !insn_condition_100 (operands, insn))
19104 0 : return -1;
19105 : return 4035; /* avx512vl_fmadd_v8sf_mask3 */
19106 :
19107 217 : case 19:
19108 217 : if (pattern1327 (x2,
19109 : E_V4SFmode,
19110 : E_QImode) != 0)
19111 : return -1;
19112 212 : if (nonimmediate_operand (operands[1], E_V4SFmode)
19113 212 : && vector_operand (operands[3], E_V4SFmode))
19114 : {
19115 212 : x6 = XEXP (x2, 1);
19116 212 : if (rtx_equal_p (x6, operands[1])
19117 212 : && insn_condition_96 (operands, insn))
19118 : return 4022; /* avx512vl_fmadd_v4sf_mask */
19119 : }
19120 110 : if (!vector_operand (operands[1], E_V4SFmode)
19121 110 : || !nonimmediate_operand (operands[3], E_V4SFmode))
19122 : return -1;
19123 110 : x6 = XEXP (x2, 1);
19124 110 : if (!rtx_equal_p (x6, operands[3])
19125 110 : || !insn_condition_100 (operands, insn))
19126 0 : return -1;
19127 : return 4037; /* avx512vl_fmadd_v4sf_mask3 */
19128 :
19129 497 : case 20:
19130 497 : if (pattern1327 (x2,
19131 : E_V8DFmode,
19132 : E_QImode) != 0)
19133 : return -1;
19134 454 : if (nonimmediate_operand (operands[1], E_V8DFmode)
19135 454 : && vector_operand (operands[3], E_V8DFmode))
19136 : {
19137 396 : x6 = XEXP (x2, 1);
19138 396 : if (rtx_equal_p (x6, operands[1])
19139 396 : && insn_condition_97 (operands, insn))
19140 : return 4023; /* avx512f_fmadd_v8df_mask */
19141 : }
19142 297 : if (!vector_operand (operands[1], E_V8DFmode)
19143 297 : || !nonimmediate_operand (operands[3], E_V8DFmode))
19144 : return -1;
19145 239 : x6 = XEXP (x2, 1);
19146 239 : if (!rtx_equal_p (x6, operands[3])
19147 239 : || !insn_condition_27 (operands, insn))
19148 18 : return -1;
19149 : return 4039; /* avx512f_fmadd_v8df_mask3 */
19150 :
19151 338 : case 21:
19152 338 : if (pattern1327 (x2,
19153 : E_V4DFmode,
19154 : E_QImode) != 0)
19155 : return -1;
19156 305 : if (nonimmediate_operand (operands[1], E_V4DFmode)
19157 305 : && vector_operand (operands[3], E_V4DFmode))
19158 : {
19159 305 : x6 = XEXP (x2, 1);
19160 305 : if (rtx_equal_p (x6, operands[1])
19161 305 : && insn_condition_96 (operands, insn))
19162 : return 4025; /* avx512vl_fmadd_v4df_mask */
19163 : }
19164 141 : if (!vector_operand (operands[1], E_V4DFmode)
19165 141 : || !nonimmediate_operand (operands[3], E_V4DFmode))
19166 : return -1;
19167 141 : x6 = XEXP (x2, 1);
19168 141 : if (!rtx_equal_p (x6, operands[3])
19169 141 : || !insn_condition_100 (operands, insn))
19170 0 : return -1;
19171 : return 4041; /* avx512vl_fmadd_v4df_mask3 */
19172 :
19173 217 : case 22:
19174 217 : if (pattern1327 (x2,
19175 : E_V2DFmode,
19176 : E_QImode) != 0)
19177 : return -1;
19178 212 : if (nonimmediate_operand (operands[1], E_V2DFmode)
19179 212 : && vector_operand (operands[3], E_V2DFmode))
19180 : {
19181 212 : x6 = XEXP (x2, 1);
19182 212 : if (rtx_equal_p (x6, operands[1])
19183 212 : && insn_condition_96 (operands, insn))
19184 : return 4026; /* avx512vl_fmadd_v2df_mask */
19185 : }
19186 110 : if (!vector_operand (operands[1], E_V2DFmode)
19187 110 : || !nonimmediate_operand (operands[3], E_V2DFmode))
19188 : return -1;
19189 110 : x6 = XEXP (x2, 1);
19190 110 : if (!rtx_equal_p (x6, operands[3])
19191 110 : || !insn_condition_100 (operands, insn))
19192 0 : return -1;
19193 : return 4043; /* avx512vl_fmadd_v2df_mask3 */
19194 :
19195 261 : case 23:
19196 261 : if (pattern1328 (x2,
19197 : E_SImode,
19198 : E_V32BFmode) != 0)
19199 : return -1;
19200 241 : x6 = XEXP (x2, 1);
19201 241 : if (rtx_equal_p (x6, operands[1])
19202 241 : && insn_condition_41 (operands, insn))
19203 : return 9329; /* avx10_2_fmaddbf16_v32bf_mask */
19204 110 : if (!rtx_equal_p (x6, operands[3])
19205 110 : || !insn_condition_41 (operands, insn))
19206 0 : return -1;
19207 : return 9332; /* avx10_2_fmaddbf16_v32bf_mask3 */
19208 :
19209 265 : case 24:
19210 265 : if (pattern1328 (x2,
19211 : E_HImode,
19212 : E_V16BFmode) != 0)
19213 : return -1;
19214 245 : x6 = XEXP (x2, 1);
19215 245 : if (rtx_equal_p (x6, operands[1])
19216 245 : && insn_condition_41 (operands, insn))
19217 : return 9330; /* avx10_2_fmaddbf16_v16bf_mask */
19218 112 : if (!rtx_equal_p (x6, operands[3])
19219 112 : || !insn_condition_41 (operands, insn))
19220 0 : return -1;
19221 : return 9333; /* avx10_2_fmaddbf16_v16bf_mask3 */
19222 :
19223 261 : case 25:
19224 261 : if (pattern1328 (x2,
19225 : E_QImode,
19226 : E_V8BFmode) != 0)
19227 : return -1;
19228 241 : x6 = XEXP (x2, 1);
19229 241 : if (rtx_equal_p (x6, operands[1])
19230 241 : && insn_condition_41 (operands, insn))
19231 : return 9331; /* avx10_2_fmaddbf16_v8bf_mask */
19232 110 : if (!rtx_equal_p (x6, operands[3])
19233 110 : || !insn_condition_41 (operands, insn))
19234 0 : return -1;
19235 : return 9334; /* avx10_2_fmaddbf16_v8bf_mask3 */
19236 :
19237 158 : case 26:
19238 158 : if (pattern1422 (x2,
19239 : E_V8HFmode) != 0
19240 158 : || !insn_condition_1137 (operands, insn))
19241 20 : return -1;
19242 : return 4370; /* *fmai_fmadd_v8hf */
19243 :
19244 162 : case 27:
19245 162 : if (pattern1422 (x2,
19246 : E_V4SFmode) != 0
19247 162 : || !insn_condition_1138 (operands, insn))
19248 4 : return -1;
19249 : return 4372; /* *fmai_fmadd_v4sf */
19250 :
19251 179 : case 28:
19252 179 : if (pattern1422 (x2,
19253 : E_V2DFmode) != 0
19254 179 : || !insn_condition_1139 (operands, insn))
19255 4 : return -1;
19256 : return 4374; /* *fmai_fmadd_v2df */
19257 :
19258 5844 : case 29:
19259 5844 : return recog_175 (x1, insn, pnum_clobbers);
19260 :
19261 : default:
19262 : return -1;
19263 : }
19264 :
19265 11081 : case NEG:
19266 11081 : return recog_177 (x1, insn, pnum_clobbers);
19267 :
19268 : default:
19269 : return -1;
19270 : }
19271 : }
19272 :
19273 : int
19274 158186 : recog_201 (rtx x1 ATTRIBUTE_UNUSED,
19275 : rtx_insn *insn ATTRIBUTE_UNUSED,
19276 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19277 : {
19278 158186 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19279 158186 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
19280 158186 : int res ATTRIBUTE_UNUSED;
19281 158186 : x2 = XEXP (x1, 1);
19282 158186 : x3 = XEXP (x2, 0);
19283 158186 : switch (XVECLEN (x3, 0))
19284 : {
19285 65628 : case 1:
19286 65628 : return recog_161 (x1, insn, pnum_clobbers);
19287 :
19288 38233 : case 2:
19289 38233 : return recog_159 (x1, insn, pnum_clobbers);
19290 :
19291 51603 : case 3:
19292 51603 : return recog_160 (x1, insn, pnum_clobbers);
19293 :
19294 2722 : case 4:
19295 2722 : x4 = XVECEXP (x3, 0, 0);
19296 2722 : operands[1] = x4;
19297 2722 : x5 = XVECEXP (x3, 0, 1);
19298 2722 : operands[2] = x5;
19299 2722 : x6 = XVECEXP (x3, 0, 2);
19300 2722 : operands[3] = x6;
19301 2722 : x7 = XVECEXP (x3, 0, 3);
19302 2722 : operands[4] = x7;
19303 2722 : if (!const_0_to_255_operand (operands[4], E_SImode))
19304 : return -1;
19305 2722 : switch (XINT (x3, 1))
19306 : {
19307 1329 : case 163:
19308 1329 : x8 = XEXP (x2, 1);
19309 1329 : switch (GET_CODE (x8))
19310 : {
19311 660 : case CONST_INT:
19312 660 : case CONST_DOUBLE:
19313 660 : case CONST_VECTOR:
19314 660 : operands[5] = x8;
19315 660 : x9 = XEXP (x2, 2);
19316 660 : operands[6] = x9;
19317 660 : switch (GET_MODE (operands[0]))
19318 : {
19319 108 : case E_V16SImode:
19320 108 : if (pattern1498 (x2,
19321 : E_V16SImode,
19322 : E_HImode) != 0
19323 108 : || !insn_condition_27 (operands, insn))
19324 12 : return -1;
19325 : return 5635; /* avx512f_vternlogv16si_maskz_1 */
19326 :
19327 105 : case E_V8SImode:
19328 105 : if (pattern1498 (x2,
19329 : E_V8SImode,
19330 : E_QImode) != 0
19331 105 : || !insn_condition_100 (operands, insn))
19332 12 : return -1;
19333 : return 5637; /* avx512vl_vternlogv8si_maskz_1 */
19334 :
19335 102 : case E_V4SImode:
19336 102 : if (pattern1498 (x2,
19337 : E_V4SImode,
19338 : E_QImode) != 0
19339 102 : || !insn_condition_100 (operands, insn))
19340 9 : return -1;
19341 : return 5639; /* avx512vl_vternlogv4si_maskz_1 */
19342 :
19343 113 : case E_V8DImode:
19344 113 : if (pattern1498 (x2,
19345 : E_V8DImode,
19346 : E_QImode) != 0
19347 113 : || !insn_condition_27 (operands, insn))
19348 17 : return -1;
19349 : return 5641; /* avx512f_vternlogv8di_maskz_1 */
19350 :
19351 126 : case E_V4DImode:
19352 126 : if (pattern1498 (x2,
19353 : E_V4DImode,
19354 : E_QImode) != 0
19355 126 : || !insn_condition_100 (operands, insn))
19356 20 : return -1;
19357 : return 5643; /* avx512vl_vternlogv4di_maskz_1 */
19358 :
19359 106 : case E_V2DImode:
19360 106 : if (pattern1498 (x2,
19361 : E_V2DImode,
19362 : E_QImode) != 0
19363 106 : || !insn_condition_100 (operands, insn))
19364 12 : return -1;
19365 : return 5645; /* avx512vl_vternlogv2di_maskz_1 */
19366 :
19367 : default:
19368 : return -1;
19369 : }
19370 :
19371 651 : case REG:
19372 651 : case SUBREG:
19373 651 : if (!rtx_equal_p (x8, operands[1]))
19374 : return -1;
19375 651 : x9 = XEXP (x2, 2);
19376 651 : operands[5] = x9;
19377 651 : switch (GET_MODE (operands[0]))
19378 : {
19379 108 : case E_V16SImode:
19380 108 : if (pattern1499 (x2,
19381 : E_V16SImode,
19382 : E_HImode) != 0
19383 108 : || !insn_condition_27 (operands, insn))
19384 10 : return -1;
19385 : return 5694; /* *avx512f_vternlogv16si_mask */
19386 :
19387 105 : case E_V8SImode:
19388 105 : if (pattern1499 (x2,
19389 : E_V8SImode,
19390 : E_QImode) != 0
19391 105 : || !insn_condition_100 (operands, insn))
19392 10 : return -1;
19393 : return 5695; /* *avx512vl_vternlogv8si_mask */
19394 :
19395 101 : case E_V4SImode:
19396 101 : if (pattern1499 (x2,
19397 : E_V4SImode,
19398 : E_QImode) != 0
19399 101 : || !insn_condition_100 (operands, insn))
19400 6 : return -1;
19401 : return 5696; /* *avx512vl_vternlogv4si_mask */
19402 :
19403 110 : case E_V8DImode:
19404 110 : if (pattern1499 (x2,
19405 : E_V8DImode,
19406 : E_QImode) != 0
19407 110 : || !insn_condition_27 (operands, insn))
19408 12 : return -1;
19409 : return 5697; /* *avx512f_vternlogv8di_mask */
19410 :
19411 122 : case E_V4DImode:
19412 122 : if (pattern1499 (x2,
19413 : E_V4DImode,
19414 : E_QImode) != 0
19415 122 : || !insn_condition_100 (operands, insn))
19416 15 : return -1;
19417 : return 5698; /* *avx512vl_vternlogv4di_mask */
19418 :
19419 105 : case E_V2DImode:
19420 105 : if (pattern1499 (x2,
19421 : E_V2DImode,
19422 : E_QImode) != 0
19423 105 : || !insn_condition_100 (operands, insn))
19424 9 : return -1;
19425 : return 5699; /* *avx512vl_vternlogv2di_mask */
19426 :
19427 : default:
19428 : return -1;
19429 : }
19430 :
19431 : default:
19432 : return -1;
19433 : }
19434 :
19435 1393 : case 162:
19436 1393 : x8 = XEXP (x2, 1);
19437 1393 : switch (GET_CODE (x8))
19438 : {
19439 564 : case CONST_INT:
19440 564 : case CONST_DOUBLE:
19441 564 : case CONST_VECTOR:
19442 564 : operands[5] = x8;
19443 564 : x9 = XEXP (x2, 2);
19444 564 : operands[6] = x9;
19445 564 : switch (GET_MODE (operands[0]))
19446 : {
19447 42 : case E_V16SFmode:
19448 42 : if (pattern1500 (x2,
19449 : E_V16SFmode,
19450 : E_V16SImode,
19451 : E_HImode) != 0
19452 42 : || !insn_condition_27 (operands, insn))
19453 22 : return -1;
19454 : return 5770; /* avx512f_fixupimmv16sf_maskz_1 */
19455 :
19456 113 : case E_V8SFmode:
19457 113 : if (pattern1500 (x2,
19458 : E_V8SFmode,
19459 : E_V8SImode,
19460 : E_QImode) != 0
19461 113 : || !insn_condition_100 (operands, insn))
19462 22 : return -1;
19463 : return 5774; /* avx512vl_fixupimmv8sf_maskz_1 */
19464 :
19465 110 : case E_V4SFmode:
19466 110 : if (pattern1500 (x2,
19467 : E_V4SFmode,
19468 : E_V4SImode,
19469 : E_QImode) != 0
19470 110 : || !insn_condition_100 (operands, insn))
19471 19 : return -1;
19472 : return 5778; /* avx512vl_fixupimmv4sf_maskz_1 */
19473 :
19474 41 : case E_V8DFmode:
19475 41 : if (pattern1500 (x2,
19476 : E_V8DFmode,
19477 : E_V8DImode,
19478 : E_QImode) != 0
19479 41 : || !insn_condition_27 (operands, insn))
19480 22 : return -1;
19481 : return 5782; /* avx512f_fixupimmv8df_maskz_1 */
19482 :
19483 118 : case E_V4DFmode:
19484 118 : if (pattern1500 (x2,
19485 : E_V4DFmode,
19486 : E_V4DImode,
19487 : E_QImode) != 0
19488 118 : || !insn_condition_100 (operands, insn))
19489 22 : return -1;
19490 : return 5786; /* avx512vl_fixupimmv4df_maskz_1 */
19491 :
19492 140 : case E_V2DFmode:
19493 140 : if (pattern1500 (x2,
19494 : E_V2DFmode,
19495 : E_V2DImode,
19496 : E_QImode) != 0
19497 140 : || !insn_condition_100 (operands, insn))
19498 32 : return -1;
19499 : return 5790; /* avx512vl_fixupimmv2df_maskz_1 */
19500 :
19501 : default:
19502 : return -1;
19503 : }
19504 :
19505 769 : case REG:
19506 769 : case SUBREG:
19507 769 : x9 = XEXP (x2, 2);
19508 769 : switch (GET_CODE (x9))
19509 : {
19510 546 : case REG:
19511 546 : case SUBREG:
19512 546 : operands[5] = x9;
19513 546 : if (!rtx_equal_p (x8, operands[1]))
19514 : return -1;
19515 546 : switch (GET_MODE (operands[0]))
19516 : {
19517 32 : case E_V16SFmode:
19518 32 : if (pattern1559 (x2,
19519 : E_V16SImode,
19520 : E_V16SFmode,
19521 : E_HImode) != 0
19522 32 : || !insn_condition_27 (operands, insn))
19523 7 : return -1;
19524 : return 5792; /* avx512f_fixupimmv16sf_mask */
19525 :
19526 114 : case E_V8SFmode:
19527 114 : if (pattern1559 (x2,
19528 : E_V8SImode,
19529 : E_V8SFmode,
19530 : E_QImode) != 0
19531 114 : || !insn_condition_100 (operands, insn))
19532 7 : return -1;
19533 : return 5794; /* avx512vl_fixupimmv8sf_mask */
19534 :
19535 113 : case E_V4SFmode:
19536 113 : if (pattern1559 (x2,
19537 : E_V4SImode,
19538 : E_V4SFmode,
19539 : E_QImode) != 0
19540 113 : || !insn_condition_100 (operands, insn))
19541 6 : return -1;
19542 : return 5796; /* avx512vl_fixupimmv4sf_mask */
19543 :
19544 31 : case E_V8DFmode:
19545 31 : if (pattern1559 (x2,
19546 : E_V8DImode,
19547 : E_V8DFmode,
19548 : E_QImode) != 0
19549 31 : || !insn_condition_27 (operands, insn))
19550 7 : return -1;
19551 : return 5798; /* avx512f_fixupimmv8df_mask */
19552 :
19553 119 : case E_V4DFmode:
19554 119 : if (pattern1559 (x2,
19555 : E_V4DImode,
19556 : E_V4DFmode,
19557 : E_QImode) != 0
19558 119 : || !insn_condition_100 (operands, insn))
19559 7 : return -1;
19560 : return 5800; /* avx512vl_fixupimmv4df_mask */
19561 :
19562 137 : case E_V2DFmode:
19563 137 : if (pattern1559 (x2,
19564 : E_V2DImode,
19565 : E_V2DFmode,
19566 : E_QImode) != 0
19567 137 : || !insn_condition_100 (operands, insn))
19568 9 : return -1;
19569 : return 5802; /* avx512vl_fixupimmv2df_mask */
19570 :
19571 : default:
19572 : return -1;
19573 : }
19574 :
19575 223 : case CONST_INT:
19576 223 : if (XWINT (x9, 0) != 1L
19577 223 : || !rtx_equal_p (x8, operands[2]))
19578 : return -1;
19579 151 : switch (GET_MODE (operands[0]))
19580 : {
19581 76 : case E_V4SFmode:
19582 76 : if (pattern1560 (x2,
19583 : E_V4SImode,
19584 : E_V4SFmode) != 0
19585 76 : || !insn_condition_27 (operands, insn))
19586 14 : return -1;
19587 : return 5804; /* avx512f_sfixupimmv4sf */
19588 :
19589 75 : case E_V2DFmode:
19590 75 : if (pattern1560 (x2,
19591 : E_V2DImode,
19592 : E_V2DFmode) != 0
19593 75 : || !insn_condition_342 (operands, insn))
19594 18 : return -1;
19595 : return 5808; /* avx512f_sfixupimmv2df */
19596 :
19597 : default:
19598 : return -1;
19599 : }
19600 :
19601 : default:
19602 : return -1;
19603 : }
19604 :
19605 : default:
19606 : return -1;
19607 : }
19608 :
19609 : default:
19610 : return -1;
19611 : }
19612 :
19613 : default:
19614 : return -1;
19615 : }
19616 : }
19617 :
19618 : int
19619 4477 : recog_210 (rtx x1 ATTRIBUTE_UNUSED,
19620 : rtx_insn *insn ATTRIBUTE_UNUSED,
19621 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19622 : {
19623 4477 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19624 4477 : rtx x2, x3, x4, x5;
19625 4477 : int res ATTRIBUTE_UNUSED;
19626 4477 : x2 = XEXP (x1, 1);
19627 4477 : switch (pattern191 (x2))
19628 : {
19629 242 : case 0:
19630 242 : if (!insn_condition_1248 (operands, insn))
19631 0 : return -1;
19632 : return 7420; /* avx2_sign_extendv16qiv16hi2_mask */
19633 :
19634 299 : case 1:
19635 299 : if (!insn_condition_120 (operands, insn))
19636 0 : return -1;
19637 : return 7428; /* avx512bw_sign_extendv32qiv32hi2_mask */
19638 :
19639 0 : case 2:
19640 0 : if (!insn_condition_1249 (operands, insn))
19641 0 : return -1;
19642 : return 7440; /* *sse4_1_sign_extendv8qiv8hi2_mask_1 */
19643 :
19644 191 : case 3:
19645 191 : if (!insn_condition_27 (operands, insn))
19646 0 : return -1;
19647 : return 7452; /* avx512f_sign_extendv16qiv16si2_mask */
19648 :
19649 298 : case 4:
19650 298 : if (!insn_condition_27 (operands, insn))
19651 0 : return -1;
19652 : return 7482; /* avx512f_sign_extendv16hiv16si2_mask */
19653 :
19654 0 : case 5:
19655 0 : if (!insn_condition_1142 (operands, insn))
19656 0 : return -1;
19657 : return 7460; /* *avx2_sign_extendv8qiv8si2_mask_1 */
19658 :
19659 243 : case 6:
19660 243 : if (!insn_condition_1142 (operands, insn))
19661 0 : return -1;
19662 : return 7490; /* avx2_sign_extendv8hiv8si2_mask */
19663 :
19664 0 : case 7:
19665 0 : if (!insn_condition_1250 (operands, insn))
19666 0 : return -1;
19667 : return 7472; /* *sse4_1_sign_extendv4qiv4si2_mask_1 */
19668 :
19669 0 : case 8:
19670 0 : if (!insn_condition_1250 (operands, insn))
19671 0 : return -1;
19672 : return 7502; /* *sse4_1_sign_extendv4hiv4si2_mask_1 */
19673 :
19674 0 : case 9:
19675 0 : if (!insn_condition_27 (operands, insn))
19676 0 : return -1;
19677 : return 7518; /* *avx512f_sign_extendv8qiv8di2_mask_1 */
19678 :
19679 200 : case 10:
19680 200 : if (!insn_condition_27 (operands, insn))
19681 0 : return -1;
19682 : return 7549; /* avx512f_sign_extendv8hiv8di2_mask */
19683 :
19684 200 : case 11:
19685 200 : if (!insn_condition_27 (operands, insn))
19686 0 : return -1;
19687 : return 7577; /* avx512f_sign_extendv8siv8di2_mask */
19688 :
19689 0 : case 12:
19690 0 : if (!insn_condition_1142 (operands, insn))
19691 0 : return -1;
19692 : return 7530; /* *avx2_sign_extendv4qiv4di2_mask_1 */
19693 :
19694 0 : case 13:
19695 0 : if (!insn_condition_1142 (operands, insn))
19696 0 : return -1;
19697 : return 7557; /* *avx2_sign_extendv4hiv4di2_mask_1 */
19698 :
19699 181 : case 14:
19700 181 : if (!insn_condition_1142 (operands, insn))
19701 0 : return -1;
19702 : return 7583; /* avx2_sign_extendv4siv4di2_mask */
19703 :
19704 0 : case 15:
19705 0 : if (!insn_condition_1250 (operands, insn))
19706 0 : return -1;
19707 : return 7542; /* *sse4_1_sign_extendv2qiv2di2_mask_1 */
19708 :
19709 0 : case 16:
19710 0 : if (!insn_condition_1250 (operands, insn))
19711 0 : return -1;
19712 : return 7569; /* *sse4_1_sign_extendv2hiv2di2_mask_1 */
19713 :
19714 0 : case 17:
19715 0 : if (!insn_condition_1250 (operands, insn))
19716 0 : return -1;
19717 : return 7593; /* *sse4_1_sign_extendv2siv2di2_mask_1 */
19718 :
19719 2303 : case 18:
19720 2303 : x3 = XEXP (x2, 0);
19721 2303 : x4 = XEXP (x3, 0);
19722 2303 : x5 = XEXP (x4, 0);
19723 2303 : operands[1] = x5;
19724 2303 : switch (pattern946 (x2))
19725 : {
19726 234 : case 0:
19727 234 : if (insn_condition_1249 (operands, insn))
19728 : return 7436; /* sse4_1_sign_extendv8qiv8hi2_mask */
19729 : break;
19730 :
19731 180 : case 1:
19732 180 : if (insn_condition_1142 (operands, insn))
19733 : return 7456; /* avx2_sign_extendv8qiv8si2_mask */
19734 : break;
19735 :
19736 207 : case 2:
19737 207 : if (insn_condition_27 (operands, insn))
19738 : return 7514; /* avx512f_sign_extendv8qiv8di2_mask */
19739 : break;
19740 :
19741 182 : case 3:
19742 182 : if (insn_condition_1250 (operands, insn))
19743 : return 7468; /* sse4_1_sign_extendv4qiv4si2_mask */
19744 : break;
19745 :
19746 246 : case 4:
19747 246 : if (insn_condition_1250 (operands, insn))
19748 : return 7498; /* sse4_1_sign_extendv4hiv4si2_mask */
19749 : break;
19750 :
19751 190 : case 5:
19752 190 : if (insn_condition_1142 (operands, insn))
19753 : return 7526; /* avx2_sign_extendv4qiv4di2_mask */
19754 : break;
19755 :
19756 185 : case 6:
19757 185 : if (insn_condition_1142 (operands, insn))
19758 : return 7553; /* avx2_sign_extendv4hiv4di2_mask */
19759 : break;
19760 :
19761 191 : case 7:
19762 191 : if (insn_condition_1250 (operands, insn))
19763 : return 7538; /* sse4_1_sign_extendv2qiv2di2_mask */
19764 : break;
19765 :
19766 186 : case 8:
19767 186 : if (insn_condition_1250 (operands, insn))
19768 : return 7565; /* sse4_1_sign_extendv2hiv2di2_mask */
19769 : break;
19770 :
19771 184 : case 9:
19772 184 : if (insn_condition_1250 (operands, insn))
19773 : return 7589; /* sse4_1_sign_extendv2siv2di2_mask */
19774 : break;
19775 :
19776 : default:
19777 : break;
19778 : }
19779 318 : if (GET_CODE (x5) != SUBREG
19780 318 : || maybe_ne (SUBREG_BYTE (x5), 0))
19781 : return -1;
19782 211 : switch (pattern447 (x2))
19783 : {
19784 0 : case 0:
19785 0 : if (!insn_condition_1251 (operands, insn))
19786 0 : return -1;
19787 : return 7445; /* *avx512vl_sign_extendv8qiv8hi2_mask_2 */
19788 :
19789 0 : case 1:
19790 0 : if (!insn_condition_1252 (operands, insn))
19791 0 : return -1;
19792 : return 7465; /* *avx512vl_sign_extendv8qiv8si2_mask_2 */
19793 :
19794 0 : case 2:
19795 0 : if (!insn_condition_864 (operands, insn))
19796 0 : return -1;
19797 : return 7523; /* *avx512f_sign_extendv8qiv8di2_mask_2 */
19798 :
19799 0 : case 3:
19800 0 : if (!insn_condition_1252 (operands, insn))
19801 0 : return -1;
19802 : return 7507; /* *avx512vl_sign_extendv4hiv4si2_mask_2 */
19803 :
19804 0 : case 4:
19805 0 : if (!insn_condition_1252 (operands, insn))
19806 0 : return -1;
19807 : return 7562; /* *avx512vl_sign_extendv4hiv4di2_mask_2 */
19808 :
19809 0 : case 5:
19810 0 : if (!insn_condition_1252 (operands, insn))
19811 0 : return -1;
19812 : return 7598; /* *avx512vl_sign_extendv2siv2di2_mask_2 */
19813 :
19814 0 : case 6:
19815 0 : if (insn_condition_1253 (operands, insn))
19816 : return 7476; /* *sse4_1_sign_extendv4qiv4si2_2 */
19817 0 : if (!insn_condition_1252 (operands, insn))
19818 0 : return -1;
19819 : return 7479; /* *avx512vl_sign_extendv4qiv4si2_mask_2 */
19820 :
19821 0 : case 7:
19822 0 : if (!insn_condition_1252 (operands, insn))
19823 0 : return -1;
19824 : return 7535; /* *avx512vl_sign_extendv4qiv4di2_mask_2 */
19825 :
19826 0 : case 8:
19827 0 : if (!insn_condition_1252 (operands, insn))
19828 0 : return -1;
19829 : return 7574; /* *avx512vl_sign_extendv2hiv2di2_mask_2 */
19830 :
19831 : default:
19832 : return -1;
19833 : }
19834 :
19835 : default:
19836 : return -1;
19837 : }
19838 : }
19839 :
19840 : int
19841 3156 : recog_216 (rtx x1 ATTRIBUTE_UNUSED,
19842 : rtx_insn *insn ATTRIBUTE_UNUSED,
19843 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19844 : {
19845 3156 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19846 3156 : rtx x2;
19847 3156 : int res ATTRIBUTE_UNUSED;
19848 3156 : x2 = XEXP (x1, 1);
19849 3156 : switch (pattern174 (x2))
19850 : {
19851 552 : case 0:
19852 552 : switch (pattern940 (x2))
19853 : {
19854 204 : case 0:
19855 204 : if (!insn_condition_965 (operands, insn))
19856 0 : return -1;
19857 : return 4636; /* avx512fp16_vcvtuw2ph_v8hi_mask */
19858 :
19859 203 : case 1:
19860 203 : if (!insn_condition_965 (operands, insn))
19861 0 : return -1;
19862 : return 4660; /* avx512fp16_vcvtudq2ph_v8si_mask */
19863 :
19864 71 : case 2:
19865 71 : if (!insn_condition_26 (operands, insn))
19866 0 : return -1;
19867 : return 4676; /* avx512fp16_vcvtuqq2ph_v8di_mask */
19868 :
19869 : default:
19870 : return -1;
19871 : }
19872 :
19873 327 : case 1:
19874 327 : switch (pattern941 (x2))
19875 : {
19876 204 : case 0:
19877 204 : if (!insn_condition_965 (operands, insn))
19878 0 : return -1;
19879 : return 4644; /* avx512fp16_vcvtuw2ph_v16hi_mask */
19880 :
19881 75 : case 1:
19882 75 : if (!insn_condition_26 (operands, insn))
19883 0 : return -1;
19884 : return 4668; /* avx512fp16_vcvtudq2ph_v16si_mask */
19885 :
19886 : default:
19887 : return -1;
19888 : }
19889 :
19890 99 : case 2:
19891 99 : if (pattern175 (x2,
19892 : E_V32HFmode,
19893 : E_SImode,
19894 : E_V32HImode) != 0
19895 99 : || !insn_condition_26 (operands, insn))
19896 23 : return -1;
19897 : return 4652; /* avx512fp16_vcvtuw2ph_v32hi_mask */
19898 :
19899 104 : case 3:
19900 104 : if (pattern189 (x2,
19901 : E_V16SFmode,
19902 : E_V16SImode,
19903 : E_HImode) != 0
19904 104 : || !insn_condition_27 (operands, insn))
19905 42 : return -1;
19906 : return 4993; /* floatunsv16siv16sf2_mask */
19907 :
19908 366 : case 4:
19909 366 : switch (pattern942 (x2,
19910 : E_V8SFmode))
19911 : {
19912 207 : case 0:
19913 207 : if (!insn_condition_341 (operands, insn))
19914 0 : return -1;
19915 : return 4997; /* floatunsv8siv8sf2_mask */
19916 :
19917 80 : case 1:
19918 80 : if (!insn_condition_964 (operands, insn))
19919 0 : return -1;
19920 : return 5164; /* floatunsv8div8sf2_mask */
19921 :
19922 : default:
19923 : return -1;
19924 : }
19925 :
19926 422 : case 5:
19927 422 : switch (pattern943 (x2,
19928 : E_V4SFmode))
19929 : {
19930 194 : case 0:
19931 194 : if (!insn_condition_341 (operands, insn))
19932 0 : return -1;
19933 : return 5001; /* floatunsv4siv4sf2_mask */
19934 :
19935 207 : case 1:
19936 207 : if (!insn_condition_967 (operands, insn))
19937 0 : return -1;
19938 : return 5169; /* floatunsv4div4sf2_mask */
19939 :
19940 : default:
19941 : return -1;
19942 : }
19943 :
19944 355 : case 6:
19945 355 : if (pattern176 (x2,
19946 : E_V8DFmode,
19947 : E_QImode) != 0)
19948 : return -1;
19949 278 : switch (GET_MODE (operands[1]))
19950 : {
19951 77 : case E_V8DImode:
19952 77 : if (!nonimmediate_operand (operands[1], E_V8DImode)
19953 77 : || !insn_condition_119 (operands, insn))
19954 0 : return -1;
19955 : return 5140; /* floatunsv8div8df2_mask */
19956 :
19957 201 : case E_V8SImode:
19958 201 : if (!nonimmediate_operand (operands[1], E_V8SImode)
19959 201 : || !insn_condition_27 (operands, insn))
19960 0 : return -1;
19961 : return 5177; /* floatunsv8siv8df2_mask */
19962 :
19963 : default:
19964 : return -1;
19965 : }
19966 :
19967 500 : case 7:
19968 500 : if (pattern176 (x2,
19969 : E_V4DFmode,
19970 : E_QImode) != 0)
19971 : return -1;
19972 425 : switch (GET_MODE (operands[1]))
19973 : {
19974 220 : case E_V4DImode:
19975 220 : if (!nonimmediate_operand (operands[1], E_V4DImode)
19976 220 : || !insn_condition_1103 (operands, insn))
19977 0 : return -1;
19978 : return 5148; /* floatunsv4div4df2_mask */
19979 :
19980 205 : case E_V4SImode:
19981 205 : if (!nonimmediate_operand (operands[1], E_V4SImode)
19982 205 : || !insn_condition_341 (operands, insn))
19983 0 : return -1;
19984 : return 5179; /* floatunsv4siv4df2_mask */
19985 :
19986 : default:
19987 : return -1;
19988 : }
19989 :
19990 217 : case 8:
19991 217 : if (pattern189 (x2,
19992 : E_V2DFmode,
19993 : E_V2DImode,
19994 : E_QImode) != 0
19995 217 : || !insn_condition_1103 (operands, insn))
19996 10 : return -1;
19997 : return 5156; /* floatunsv2div2df2_mask */
19998 :
19999 191 : case 9:
20000 191 : if (!insn_condition_100 (operands, insn))
20001 0 : return -1;
20002 : return 5181; /* floatunsv2siv2df2_mask */
20003 :
20004 : default:
20005 : return -1;
20006 : }
20007 : }
20008 :
20009 : int
20010 54690 : recog_221 (rtx x1 ATTRIBUTE_UNUSED,
20011 : rtx_insn *insn ATTRIBUTE_UNUSED,
20012 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20013 : {
20014 54690 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20015 54690 : rtx x2, x3, x4, x5;
20016 54690 : int res ATTRIBUTE_UNUSED;
20017 54690 : x2 = XEXP (x1, 1);
20018 54690 : x3 = XEXP (x2, 0);
20019 54690 : x4 = XEXP (x3, 0);
20020 54690 : operands[1] = x4;
20021 54690 : x5 = XEXP (x3, 1);
20022 54690 : operands[2] = x5;
20023 54690 : switch (pattern519 (x2))
20024 : {
20025 220 : case 0:
20026 220 : if (!insn_condition_1309 (operands, insn))
20027 8 : return -1;
20028 : return 2860; /* *addv32hf3_mask */
20029 :
20030 244 : case 1:
20031 244 : if (!insn_condition_1310 (operands, insn))
20032 14 : return -1;
20033 : return 2868; /* *addv16hf3_mask */
20034 :
20035 211 : case 2:
20036 211 : if (!insn_condition_1311 (operands, insn))
20037 8 : return -1;
20038 : return 2876; /* *addv8hf3_mask */
20039 :
20040 539 : case 3:
20041 539 : if (!insn_condition_1312 (operands, insn))
20042 59 : return -1;
20043 : return 2884; /* *addv16sf3_mask */
20044 :
20045 277 : case 4:
20046 277 : if (!insn_condition_1313 (operands, insn))
20047 12 : return -1;
20048 : return 2892; /* *addv8sf3_mask */
20049 :
20050 224 : case 5:
20051 224 : if (!insn_condition_1314 (operands, insn))
20052 0 : return -1;
20053 : return 2900; /* *addv4sf3_mask */
20054 :
20055 1826 : case 6:
20056 1826 : if (!insn_condition_1315 (operands, insn))
20057 16 : return -1;
20058 : return 2908; /* *addv8df3_mask */
20059 :
20060 483 : case 7:
20061 483 : if (!insn_condition_1316 (operands, insn))
20062 28 : return -1;
20063 : return 2916; /* *addv4df3_mask */
20064 :
20065 288 : case 8:
20066 288 : if (!insn_condition_1317 (operands, insn))
20067 0 : return -1;
20068 : return 2924; /* *addv2df3_mask */
20069 :
20070 2170 : case 9:
20071 2170 : if (!insn_condition_1318 (operands, insn))
20072 6 : return -1;
20073 : return 6167; /* *addv16si3_mask */
20074 :
20075 1808 : case 10:
20076 1808 : if (!insn_condition_1319 (operands, insn))
20077 4 : return -1;
20078 : return 6169; /* *addv8si3_mask */
20079 :
20080 2001 : case 11:
20081 2001 : if (!insn_condition_1320 (operands, insn))
20082 0 : return -1;
20083 : return 6171; /* *addv4si3_mask */
20084 :
20085 348 : case 12:
20086 348 : if (!insn_condition_1321 (operands, insn))
20087 1 : return -1;
20088 : return 6173; /* *addv8di3_mask */
20089 :
20090 243 : case 13:
20091 243 : if (!insn_condition_1322 (operands, insn))
20092 0 : return -1;
20093 : return 6175; /* *addv4di3_mask */
20094 :
20095 191 : case 14:
20096 191 : if (!insn_condition_1323 (operands, insn))
20097 0 : return -1;
20098 : return 6177; /* *addv2di3_mask */
20099 :
20100 393 : case 15:
20101 393 : if (!insn_condition_1324 (operands, insn))
20102 0 : return -1;
20103 : return 6179; /* *addv64qi3_mask */
20104 :
20105 175 : case 16:
20106 175 : if (!insn_condition_1325 (operands, insn))
20107 0 : return -1;
20108 : return 6181; /* *addv16qi3_mask */
20109 :
20110 183 : case 17:
20111 183 : if (!insn_condition_1326 (operands, insn))
20112 0 : return -1;
20113 : return 6183; /* *addv32qi3_mask */
20114 :
20115 393 : case 18:
20116 393 : if (!insn_condition_1327 (operands, insn))
20117 0 : return -1;
20118 : return 6185; /* *addv32hi3_mask */
20119 :
20120 216 : case 19:
20121 216 : if (!insn_condition_1328 (operands, insn))
20122 0 : return -1;
20123 : return 6187; /* *addv16hi3_mask */
20124 :
20125 175 : case 20:
20126 175 : if (!insn_condition_1329 (operands, insn))
20127 0 : return -1;
20128 : return 6189; /* *addv8hi3_mask */
20129 :
20130 195 : case 21:
20131 195 : if (!insn_condition_83 (operands, insn))
20132 0 : return -1;
20133 : return 9300; /* avx10_2_addbf16_v32bf_mask */
20134 :
20135 195 : case 22:
20136 195 : if (!insn_condition_83 (operands, insn))
20137 0 : return -1;
20138 : return 9308; /* avx10_2_addbf16_v16bf_mask */
20139 :
20140 195 : case 23:
20141 195 : if (!insn_condition_83 (operands, insn))
20142 0 : return -1;
20143 : return 9316; /* avx10_2_addbf16_v8bf_mask */
20144 :
20145 20 : case 24:
20146 20 : if (!insn_condition_1018 (operands, insn))
20147 0 : return -1;
20148 : return 2936; /* avx512fp16_vmaddv8hf3 */
20149 :
20150 91 : case 25:
20151 91 : if (!insn_condition_148 (operands, insn))
20152 0 : return -1;
20153 : return 2944; /* sse_vmaddv4sf3 */
20154 :
20155 91 : case 26:
20156 91 : if (!insn_condition_236 (operands, insn))
20157 0 : return -1;
20158 : return 2952; /* sse2_vmaddv2df3 */
20159 :
20160 : default:
20161 : return -1;
20162 : }
20163 : }
20164 :
20165 : int
20166 1009 : recog_228 (rtx x1 ATTRIBUTE_UNUSED,
20167 : rtx_insn *insn ATTRIBUTE_UNUSED,
20168 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20169 : {
20170 1009 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20171 1009 : rtx x2;
20172 1009 : int res ATTRIBUTE_UNUSED;
20173 1009 : x2 = XEXP (x1, 1);
20174 1009 : switch (pattern357 (x2))
20175 : {
20176 27 : case 0:
20177 27 : if (!register_operand (operands[0], E_V32HImode)
20178 23 : || GET_MODE (x2) != E_V32HImode
20179 23 : || !vector_operand (operands[1], E_V32HFmode)
20180 48 : || !insn_condition_40 (operands, insn))
20181 6 : return -1;
20182 : return 4558; /* avx512fp16_vcvtph2uw_v32hi */
20183 :
20184 44 : case 1:
20185 44 : if (!register_operand (operands[0], E_V16SImode)
20186 44 : || GET_MODE (x2) != E_V16SImode)
20187 : return -1;
20188 39 : switch (GET_MODE (operands[1]))
20189 : {
20190 23 : case E_V16HFmode:
20191 23 : if (!vector_operand (operands[1], E_V16HFmode)
20192 23 : || !insn_condition_40 (operands, insn))
20193 2 : return -1;
20194 : return 4566; /* avx512fp16_vcvtph2udq_v16si */
20195 :
20196 16 : case E_V16SFmode:
20197 16 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
20198 16 : || !insn_condition_27 (operands, insn))
20199 0 : return -1;
20200 : return 5011; /* *avx512f_fixuns_notruncv16sfv16si */
20201 :
20202 : default:
20203 : return -1;
20204 : }
20205 :
20206 80 : case 2:
20207 80 : switch (pattern811 (x2,
20208 : E_V8DImode))
20209 : {
20210 21 : case 0:
20211 21 : if (!insn_condition_40 (operands, insn))
20212 0 : return -1;
20213 : return 4574; /* avx512fp16_vcvtph2uqq_v8di */
20214 :
20215 14 : case 1:
20216 14 : if (!insn_condition_1339 (operands, insn))
20217 0 : return -1;
20218 : return 5031; /* *avx512dq_cvtps2uqqv8di */
20219 :
20220 16 : case 2:
20221 16 : if (!insn_condition_1339 (operands, insn))
20222 0 : return -1;
20223 : return 5276; /* fixuns_notruncv8dfv8di2 */
20224 :
20225 : default:
20226 : return -1;
20227 : }
20228 :
20229 57 : case 3:
20230 57 : if (!register_operand (operands[0], E_V16HImode)
20231 54 : || GET_MODE (x2) != E_V16HImode
20232 54 : || !vector_operand (operands[1], E_V16HFmode)
20233 57 : || !insn_condition_1340 (operands, insn))
20234 4 : return -1;
20235 : return 4582; /* avx512fp16_vcvtph2uw_v16hi */
20236 :
20237 133 : case 4:
20238 133 : switch (pattern811 (x2,
20239 : E_V8SImode))
20240 : {
20241 53 : case 0:
20242 53 : if (!insn_condition_1340 (operands, insn))
20243 0 : return -1;
20244 : return 4590; /* avx512fp16_vcvtph2udq_v8si */
20245 :
20246 58 : case 1:
20247 58 : if (!insn_condition_100 (operands, insn))
20248 0 : return -1;
20249 : return 5015; /* *avx512vl_fixuns_notruncv8sfv8si */
20250 :
20251 16 : case 2:
20252 16 : if (!insn_condition_27 (operands, insn))
20253 0 : return -1;
20254 : return 5196; /* fixuns_notruncv8dfv8si2 */
20255 :
20256 : default:
20257 : return -1;
20258 : }
20259 :
20260 187 : case 5:
20261 187 : switch (pattern812 (x2,
20262 : E_V4DImode))
20263 : {
20264 53 : case 0:
20265 53 : if (!insn_condition_1340 (operands, insn))
20266 0 : return -1;
20267 : return 4598; /* avx512fp16_vcvtph2uqq_v4di */
20268 :
20269 57 : case 1:
20270 57 : if (!insn_condition_1342 (operands, insn))
20271 0 : return -1;
20272 : return 5035; /* *avx512dq_cvtps2uqqv4di */
20273 :
20274 58 : case 2:
20275 58 : if (!insn_condition_1342 (operands, insn))
20276 0 : return -1;
20277 : return 5280; /* fixuns_notruncv4dfv4di2 */
20278 :
20279 : default:
20280 : return -1;
20281 : }
20282 :
20283 57 : case 6:
20284 57 : if (!register_operand (operands[0], E_V8HImode)
20285 54 : || GET_MODE (x2) != E_V8HImode
20286 54 : || !vector_operand (operands[1], E_V8HFmode)
20287 57 : || !insn_condition_1340 (operands, insn))
20288 4 : return -1;
20289 : return 4606; /* avx512fp16_vcvtph2uw_v8hi */
20290 :
20291 173 : case 7:
20292 173 : switch (pattern812 (x2,
20293 : E_V4SImode))
20294 : {
20295 53 : case 0:
20296 53 : if (!insn_condition_1340 (operands, insn))
20297 0 : return -1;
20298 : return 4614; /* avx512fp16_vcvtph2udq_v4si */
20299 :
20300 57 : case 1:
20301 57 : if (!insn_condition_100 (operands, insn))
20302 0 : return -1;
20303 : return 5019; /* *avx512vl_fixuns_notruncv4sfv4si */
20304 :
20305 56 : case 2:
20306 56 : if (!insn_condition_100 (operands, insn))
20307 0 : return -1;
20308 : return 5200; /* fixuns_notruncv4dfv4si2 */
20309 :
20310 : default:
20311 : return -1;
20312 : }
20313 :
20314 122 : case 8:
20315 122 : if (!register_operand (operands[0], E_V2DImode)
20316 122 : || GET_MODE (x2) != E_V2DImode)
20317 : return -1;
20318 111 : switch (GET_MODE (operands[1]))
20319 : {
20320 54 : case E_V8HFmode:
20321 54 : if (!vector_operand (operands[1], E_V8HFmode)
20322 54 : || !insn_condition_1340 (operands, insn))
20323 1 : return -1;
20324 : return 4622; /* avx512fp16_vcvtph2uqq_v2di */
20325 :
20326 57 : case E_V2DFmode:
20327 57 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
20328 57 : || !insn_condition_1342 (operands, insn))
20329 0 : return -1;
20330 : return 5282; /* fixuns_notruncv2dfv2di2 */
20331 :
20332 : default:
20333 : return -1;
20334 : }
20335 :
20336 55 : case 9:
20337 55 : if (!insn_condition_1345 (operands, insn))
20338 0 : return -1;
20339 : return 5037; /* *avx512dq_cvtps2uqqv2di */
20340 :
20341 : default:
20342 : return -1;
20343 : }
20344 : }
20345 :
20346 : int
20347 53 : recog_233 (rtx x1 ATTRIBUTE_UNUSED,
20348 : rtx_insn *insn ATTRIBUTE_UNUSED,
20349 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20350 : {
20351 53 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20352 53 : rtx x2;
20353 53 : int res ATTRIBUTE_UNUSED;
20354 53 : x2 = XEXP (x1, 1);
20355 53 : switch (pattern355 (x2))
20356 : {
20357 12 : case 0:
20358 12 : if (!insn_condition_27 (operands, insn))
20359 0 : return -1;
20360 : return 2621; /* *avx512f_loadv16si */
20361 :
20362 12 : case 1:
20363 12 : if (!insn_condition_100 (operands, insn))
20364 0 : return -1;
20365 : return 2622; /* *avx512vl_loadv8si */
20366 :
20367 12 : case 2:
20368 12 : if (!insn_condition_100 (operands, insn))
20369 0 : return -1;
20370 : return 2623; /* *avx512vl_loadv4si */
20371 :
20372 0 : case 3:
20373 0 : if (!insn_condition_27 (operands, insn))
20374 0 : return -1;
20375 : return 2624; /* *avx512f_loadv8di */
20376 :
20377 0 : case 4:
20378 0 : if (!insn_condition_100 (operands, insn))
20379 0 : return -1;
20380 : return 2625; /* *avx512vl_loadv4di */
20381 :
20382 0 : case 5:
20383 0 : if (!insn_condition_100 (operands, insn))
20384 0 : return -1;
20385 : return 2626; /* *avx512vl_loadv2di */
20386 :
20387 0 : case 6:
20388 0 : if (!insn_condition_27 (operands, insn))
20389 0 : return -1;
20390 : return 2627; /* *avx512f_loadv16sf */
20391 :
20392 0 : case 7:
20393 0 : if (!insn_condition_100 (operands, insn))
20394 0 : return -1;
20395 : return 2628; /* *avx512vl_loadv8sf */
20396 :
20397 0 : case 8:
20398 0 : if (!insn_condition_100 (operands, insn))
20399 0 : return -1;
20400 : return 2629; /* *avx512vl_loadv4sf */
20401 :
20402 17 : case 9:
20403 17 : if (!insn_condition_27 (operands, insn))
20404 0 : return -1;
20405 : return 2630; /* *avx512f_loadv8df */
20406 :
20407 0 : case 10:
20408 0 : if (!insn_condition_100 (operands, insn))
20409 0 : return -1;
20410 : return 2631; /* *avx512vl_loadv4df */
20411 :
20412 0 : case 11:
20413 0 : if (!insn_condition_100 (operands, insn))
20414 0 : return -1;
20415 : return 2632; /* *avx512vl_loadv2df */
20416 :
20417 0 : case 12:
20418 0 : if (!insn_condition_12 (operands, insn))
20419 0 : return -1;
20420 : return 2651; /* *avx512bw_loadv64qi */
20421 :
20422 0 : case 13:
20423 0 : if (!insn_condition_77 (operands, insn))
20424 0 : return -1;
20425 : return 2652; /* *avx512vl_loadv16qi */
20426 :
20427 0 : case 14:
20428 0 : if (!insn_condition_77 (operands, insn))
20429 0 : return -1;
20430 : return 2653; /* *avx512vl_loadv32qi */
20431 :
20432 0 : case 15:
20433 0 : if (!insn_condition_12 (operands, insn))
20434 0 : return -1;
20435 : return 2654; /* *avx512bw_loadv32hi */
20436 :
20437 0 : case 16:
20438 0 : if (!insn_condition_77 (operands, insn))
20439 0 : return -1;
20440 : return 2655; /* *avx512vl_loadv16hi */
20441 :
20442 0 : case 17:
20443 0 : if (!insn_condition_77 (operands, insn))
20444 0 : return -1;
20445 : return 2656; /* *avx512vl_loadv8hi */
20446 :
20447 0 : case 18:
20448 0 : if (!insn_condition_12 (operands, insn))
20449 0 : return -1;
20450 : return 2657; /* *avx512bw_loadv32hf */
20451 :
20452 0 : case 19:
20453 0 : if (!insn_condition_77 (operands, insn))
20454 0 : return -1;
20455 : return 2658; /* *avx512vl_loadv16hf */
20456 :
20457 0 : case 20:
20458 0 : if (!insn_condition_77 (operands, insn))
20459 0 : return -1;
20460 : return 2659; /* *avx512fp16_loadv8hf */
20461 :
20462 0 : case 21:
20463 0 : if (!insn_condition_12 (operands, insn))
20464 0 : return -1;
20465 : return 2660; /* *avx512bw_loadv32bf */
20466 :
20467 0 : case 22:
20468 0 : if (!insn_condition_77 (operands, insn))
20469 0 : return -1;
20470 : return 2661; /* *avx512vl_loadv16bf */
20471 :
20472 0 : case 23:
20473 0 : if (!insn_condition_77 (operands, insn))
20474 0 : return -1;
20475 : return 2662; /* *avx512vl_loadv8bf */
20476 :
20477 : default:
20478 : return -1;
20479 : }
20480 : }
20481 :
20482 : int
20483 21807 : recog_245 (rtx x1 ATTRIBUTE_UNUSED,
20484 : rtx_insn *insn ATTRIBUTE_UNUSED,
20485 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20486 : {
20487 21807 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20488 21807 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20489 21807 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
20490 21807 : rtx x18, x19;
20491 21807 : int res ATTRIBUTE_UNUSED;
20492 21807 : x2 = XEXP (x1, 1);
20493 21807 : x3 = XVECEXP (x2, 0, 0);
20494 21807 : x4 = XEXP (x3, 0);
20495 21807 : x5 = XEXP (x4, 0);
20496 21807 : switch (GET_CODE (x5))
20497 : {
20498 1036 : case PLUS:
20499 1036 : switch (pattern815 (x2))
20500 : {
20501 279 : case 0:
20502 279 : if (!insn_condition_1399 (operands, insn))
20503 0 : return -1;
20504 : return 2939; /* avx512fp16_vmaddv8hf3_mask_round */
20505 :
20506 343 : case 1:
20507 343 : if (!insn_condition_1400 (operands, insn))
20508 0 : return -1;
20509 : return 2947; /* sse_vmaddv4sf3_mask_round */
20510 :
20511 343 : case 2:
20512 343 : if (!insn_condition_1401 (operands, insn))
20513 0 : return -1;
20514 : return 2955; /* sse2_vmaddv2df3_mask_round */
20515 :
20516 : default:
20517 : return -1;
20518 : }
20519 :
20520 986 : case MINUS:
20521 986 : switch (pattern815 (x2))
20522 : {
20523 245 : case 0:
20524 245 : if (!insn_condition_1399 (operands, insn))
20525 0 : return -1;
20526 : return 2943; /* avx512fp16_vmsubv8hf3_mask_round */
20527 :
20528 343 : case 1:
20529 343 : if (!insn_condition_1400 (operands, insn))
20530 0 : return -1;
20531 : return 2951; /* sse_vmsubv4sf3_mask_round */
20532 :
20533 343 : case 2:
20534 343 : if (!insn_condition_1401 (operands, insn))
20535 0 : return -1;
20536 : return 2959; /* sse2_vmsubv2df3_mask_round */
20537 :
20538 : default:
20539 : return -1;
20540 : }
20541 :
20542 986 : case MULT:
20543 986 : switch (pattern815 (x2))
20544 : {
20545 245 : case 0:
20546 245 : if (!insn_condition_1399 (operands, insn))
20547 0 : return -1;
20548 : return 3005; /* avx512fp16_vmmulv8hf3_mask_round */
20549 :
20550 343 : case 1:
20551 343 : if (!insn_condition_1400 (operands, insn))
20552 0 : return -1;
20553 : return 3013; /* sse_vmmulv4sf3_mask_round */
20554 :
20555 343 : case 2:
20556 343 : if (!insn_condition_1401 (operands, insn))
20557 0 : return -1;
20558 : return 3021; /* sse2_vmmulv2df3_mask_round */
20559 :
20560 : default:
20561 : return -1;
20562 : }
20563 :
20564 986 : case DIV:
20565 986 : switch (pattern815 (x2))
20566 : {
20567 245 : case 0:
20568 245 : if (!insn_condition_1399 (operands, insn))
20569 0 : return -1;
20570 : return 3009; /* avx512fp16_vmdivv8hf3_mask_round */
20571 :
20572 343 : case 1:
20573 343 : if (!insn_condition_1400 (operands, insn))
20574 0 : return -1;
20575 : return 3017; /* sse_vmdivv4sf3_mask_round */
20576 :
20577 343 : case 2:
20578 343 : if (!insn_condition_1401 (operands, insn))
20579 0 : return -1;
20580 : return 3025; /* sse2_vmdivv2df3_mask_round */
20581 :
20582 : default:
20583 : return -1;
20584 : }
20585 :
20586 945 : case SQRT:
20587 945 : x6 = XEXP (x3, 2);
20588 945 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
20589 : return -1;
20590 945 : x7 = XEXP (x5, 0);
20591 945 : operands[1] = x7;
20592 945 : x8 = XEXP (x4, 1);
20593 945 : operands[3] = x8;
20594 945 : x9 = XEXP (x4, 2);
20595 945 : operands[4] = x9;
20596 945 : if (!register_operand (operands[4], E_QImode))
20597 : return -1;
20598 936 : x10 = XEXP (x3, 1);
20599 936 : operands[2] = x10;
20600 936 : x11 = XVECEXP (x2, 0, 1);
20601 936 : operands[5] = x11;
20602 936 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode))
20603 : return -1;
20604 936 : switch (GET_MODE (operands[0]))
20605 : {
20606 440 : case E_V8HFmode:
20607 440 : if (pattern1598 (x2,
20608 : E_V8HFmode) != 0
20609 440 : || !insn_condition_1399 (operands, insn))
20610 6 : return -1;
20611 : return 3106; /* avx512fp16_vmsqrtv8hf2_mask_round */
20612 :
20613 248 : case E_V4SFmode:
20614 248 : if (pattern1598 (x2,
20615 : E_V4SFmode) != 0
20616 248 : || !insn_condition_1400 (operands, insn))
20617 5 : return -1;
20618 : return 3110; /* sse_vmsqrtv4sf2_mask_round */
20619 :
20620 248 : case E_V2DFmode:
20621 248 : if (pattern1598 (x2,
20622 : E_V2DFmode) != 0
20623 248 : || !insn_condition_1401 (operands, insn))
20624 5 : return -1;
20625 : return 3114; /* sse2_vmsqrtv2df2_mask_round */
20626 :
20627 : default:
20628 : return -1;
20629 : }
20630 :
20631 1988 : case VEC_DUPLICATE:
20632 1988 : x11 = XVECEXP (x2, 0, 1);
20633 1988 : operands[5] = x11;
20634 1988 : x7 = XEXP (x5, 0);
20635 1988 : switch (GET_CODE (x7))
20636 : {
20637 0 : case SQRT:
20638 0 : x6 = XEXP (x3, 2);
20639 0 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
20640 : return -1;
20641 0 : x12 = XEXP (x7, 0);
20642 0 : operands[1] = x12;
20643 0 : x8 = XEXP (x4, 1);
20644 0 : operands[3] = x8;
20645 0 : x9 = XEXP (x4, 2);
20646 0 : operands[4] = x9;
20647 0 : if (!register_operand (operands[4], E_QImode))
20648 : return -1;
20649 0 : x10 = XEXP (x3, 1);
20650 0 : operands[2] = x10;
20651 0 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode))
20652 : return -1;
20653 0 : switch (GET_MODE (operands[0]))
20654 : {
20655 0 : case E_V8HFmode:
20656 0 : if (pattern1637 (x2,
20657 : E_V8HFmode,
20658 : E_HFmode) != 0
20659 0 : || !insn_condition_1399 (operands, insn))
20660 0 : return -1;
20661 : return 3118; /* *avx512fp16_vmsqrtv8hf2_mask_round */
20662 :
20663 0 : case E_V4SFmode:
20664 0 : if (pattern1637 (x2,
20665 : E_V4SFmode,
20666 : E_SFmode) != 0
20667 0 : || !insn_condition_1400 (operands, insn))
20668 0 : return -1;
20669 : return 3122; /* *sse_vmsqrtv4sf2_mask_round */
20670 :
20671 0 : case E_V2DFmode:
20672 0 : if (pattern1637 (x2,
20673 : E_V2DFmode,
20674 : E_DFmode) != 0
20675 0 : || !insn_condition_1401 (operands, insn))
20676 0 : return -1;
20677 : return 3126; /* *sse2_vmsqrtv2df2_mask_round */
20678 :
20679 : default:
20680 : return -1;
20681 : }
20682 :
20683 894 : case FLOAT_EXTEND:
20684 894 : x12 = XEXP (x7, 0);
20685 894 : if (GET_CODE (x12) != VEC_SELECT
20686 894 : || GET_MODE (x12) != E_HFmode
20687 1788 : || pattern1257 (x3) != 0)
20688 : return -1;
20689 894 : x13 = XEXP (x12, 0);
20690 894 : operands[1] = x13;
20691 894 : if (!register_operand (operands[1], E_V8HFmode))
20692 : return -1;
20693 882 : x8 = XEXP (x4, 1);
20694 882 : operands[3] = x8;
20695 882 : x9 = XEXP (x4, 2);
20696 882 : operands[4] = x9;
20697 882 : if (!register_operand (operands[4], E_QImode))
20698 : return -1;
20699 878 : x10 = XEXP (x3, 1);
20700 878 : operands[2] = x10;
20701 878 : if (!const48_operand (operands[5], E_SImode))
20702 : return -1;
20703 878 : switch (GET_MODE (operands[0]))
20704 : {
20705 439 : case E_V2DFmode:
20706 439 : if (pattern1831 (x2,
20707 : E_V2DFmode,
20708 : E_DFmode) != 0
20709 439 : || !insn_condition_89 (operands, insn))
20710 12 : return -1;
20711 : return 4926; /* avx512fp16_vcvtsh2sd_mask_round */
20712 :
20713 439 : case E_V4SFmode:
20714 439 : if (pattern1831 (x2,
20715 : E_V4SFmode,
20716 : E_SFmode) != 0
20717 439 : || !insn_condition_89 (operands, insn))
20718 12 : return -1;
20719 : return 4930; /* avx512fp16_vcvtsh2ss_mask_round */
20720 :
20721 : default:
20722 : return -1;
20723 : }
20724 :
20725 1094 : case FLOAT_TRUNCATE:
20726 1094 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode))
20727 : return -1;
20728 1094 : x12 = XEXP (x7, 0);
20729 1094 : switch (GET_CODE (x12))
20730 : {
20731 918 : case VEC_SELECT:
20732 918 : if (pattern1257 (x3) != 0
20733 918 : || pattern1516 (x2,
20734 : E_HFmode,
20735 : E_V8HFmode) != 0)
20736 : return -1;
20737 896 : x13 = XEXP (x12, 0);
20738 896 : operands[1] = x13;
20739 896 : x8 = XEXP (x4, 1);
20740 896 : operands[3] = x8;
20741 896 : if (!nonimm_or_0_operand (operands[3], E_V8HFmode))
20742 : return -1;
20743 896 : x9 = XEXP (x4, 2);
20744 896 : operands[4] = x9;
20745 896 : if (!register_operand (operands[4], E_QImode))
20746 : return -1;
20747 890 : x10 = XEXP (x3, 1);
20748 890 : operands[2] = x10;
20749 890 : if (!register_operand (operands[2], E_V8HFmode))
20750 : return -1;
20751 878 : switch (GET_MODE (x12))
20752 : {
20753 439 : case E_DFmode:
20754 439 : if (!register_operand (operands[1], E_V2DFmode)
20755 439 : || !insn_condition_89 (operands, insn))
20756 4 : return -1;
20757 : return 4938; /* avx512fp16_vcvtsd2sh_mask_round */
20758 :
20759 439 : case E_SFmode:
20760 439 : if (!register_operand (operands[1], E_V4SFmode)
20761 439 : || !insn_condition_89 (operands, insn))
20762 4 : return -1;
20763 : return 4942; /* avx512fp16_vcvtss2sh_mask_round */
20764 :
20765 : default:
20766 : return -1;
20767 : }
20768 :
20769 176 : case REG:
20770 176 : case SUBREG:
20771 176 : case MEM:
20772 176 : operands[2] = x12;
20773 176 : if (!nonimmediate_operand (operands[2], E_V2DFmode))
20774 : return -1;
20775 176 : x9 = XEXP (x4, 2);
20776 176 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
20777 176 : || pattern1516 (x2,
20778 : E_V2SFmode,
20779 : E_V4SFmode) != 0)
20780 : return -1;
20781 171 : x8 = XEXP (x4, 1);
20782 171 : operands[1] = x8;
20783 171 : if (!register_operand (operands[1], E_V4SFmode))
20784 : return -1;
20785 171 : x10 = XEXP (x3, 1);
20786 171 : operands[3] = x10;
20787 171 : if (!nonimm_or_0_operand (operands[3], E_V4SFmode))
20788 : return -1;
20789 171 : x6 = XEXP (x3, 2);
20790 171 : operands[4] = x6;
20791 171 : if (!register_operand (operands[4], E_QImode)
20792 171 : || !insn_condition_90 (operands, insn))
20793 2 : return -1;
20794 : return 5332; /* sse2_cvtsd2ss_mask_round */
20795 :
20796 : default:
20797 : return -1;
20798 : }
20799 :
20800 : default:
20801 : return -1;
20802 : }
20803 :
20804 0 : case SMAX:
20805 0 : switch (pattern816 (x2))
20806 : {
20807 0 : case 0:
20808 0 : if (!insn_condition_1399 (operands, insn))
20809 0 : return -1;
20810 : return 3283; /* *avx512fp16_vmsmaxv8hf3_mask_round */
20811 :
20812 0 : case 1:
20813 0 : if (!insn_condition_1400 (operands, insn))
20814 0 : return -1;
20815 : return 3291; /* *sse_vmsmaxv4sf3_mask_round */
20816 :
20817 0 : case 2:
20818 0 : if (!insn_condition_1401 (operands, insn))
20819 0 : return -1;
20820 : return 3299; /* *sse2_vmsmaxv2df3_mask_round */
20821 :
20822 : default:
20823 : return -1;
20824 : }
20825 :
20826 0 : case SMIN:
20827 0 : switch (pattern816 (x2))
20828 : {
20829 0 : case 0:
20830 0 : if (!insn_condition_1399 (operands, insn))
20831 0 : return -1;
20832 : return 3287; /* *avx512fp16_vmsminv8hf3_mask_round */
20833 :
20834 0 : case 1:
20835 0 : if (!insn_condition_1400 (operands, insn))
20836 0 : return -1;
20837 : return 3295; /* *sse_vmsminv4sf3_mask_round */
20838 :
20839 0 : case 2:
20840 0 : if (!insn_condition_1401 (operands, insn))
20841 0 : return -1;
20842 : return 3303; /* *sse2_vmsminv2df3_mask_round */
20843 :
20844 : default:
20845 : return -1;
20846 : }
20847 :
20848 7599 : case UNSPEC:
20849 7599 : switch (XVECLEN (x5, 0))
20850 : {
20851 3547 : case 2:
20852 3547 : x6 = XEXP (x3, 2);
20853 3547 : if (GET_CODE (x6) != CONST_INT)
20854 : return -1;
20855 3547 : switch (XINT (x5, 1))
20856 : {
20857 528 : case 60:
20858 528 : switch (pattern1170 (x2))
20859 : {
20860 251 : case 0:
20861 251 : if (!insn_condition_1399 (operands, insn))
20862 0 : return -1;
20863 : return 3307; /* avx512fp16_ieee_vmmaxv8hf3_mask_round */
20864 :
20865 108 : case 1:
20866 108 : if (!insn_condition_1400 (operands, insn))
20867 0 : return -1;
20868 : return 3315; /* sse_ieee_vmmaxv4sf3_mask_round */
20869 :
20870 108 : case 2:
20871 108 : if (!insn_condition_1401 (operands, insn))
20872 0 : return -1;
20873 : return 3323; /* sse2_ieee_vmmaxv2df3_mask_round */
20874 :
20875 : default:
20876 : return -1;
20877 : }
20878 :
20879 430 : case 59:
20880 430 : switch (pattern1170 (x2))
20881 : {
20882 253 : case 0:
20883 253 : if (!insn_condition_1399 (operands, insn))
20884 0 : return -1;
20885 : return 3311; /* avx512fp16_ieee_vmminv8hf3_mask_round */
20886 :
20887 58 : case 1:
20888 58 : if (!insn_condition_1400 (operands, insn))
20889 0 : return -1;
20890 : return 3319; /* sse_ieee_vmminv4sf3_mask_round */
20891 :
20892 58 : case 2:
20893 58 : if (!insn_condition_1401 (operands, insn))
20894 0 : return -1;
20895 : return 3327; /* sse2_ieee_vmminv2df3_mask_round */
20896 :
20897 : default:
20898 : return -1;
20899 : }
20900 :
20901 496 : case 220:
20902 496 : if (pattern1171 (x2) != 0
20903 496 : || !insn_condition_89 (operands, insn))
20904 88 : return -1;
20905 : return 4553; /* avx512fp16_fmulcsh_v8hf_mask_round */
20906 :
20907 468 : case 221:
20908 468 : if (pattern1171 (x2) != 0
20909 468 : || !insn_condition_89 (operands, insn))
20910 80 : return -1;
20911 : return 4557; /* avx512fp16_fcmulcsh_v8hf_mask_round */
20912 :
20913 965 : case 55:
20914 965 : if (XWINT (x6, 0) != 1L)
20915 : return -1;
20916 965 : x14 = XVECEXP (x5, 0, 0);
20917 965 : operands[1] = x14;
20918 965 : x15 = XVECEXP (x5, 0, 1);
20919 965 : operands[2] = x15;
20920 965 : x8 = XEXP (x4, 1);
20921 965 : operands[3] = x8;
20922 965 : x9 = XEXP (x4, 2);
20923 965 : operands[4] = x9;
20924 965 : if (!register_operand (operands[4], E_QImode))
20925 : return -1;
20926 956 : x11 = XVECEXP (x2, 0, 1);
20927 956 : operands[5] = x11;
20928 956 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode))
20929 : return -1;
20930 956 : switch (pattern1705 (x2))
20931 : {
20932 412 : case 0:
20933 412 : if (!insn_condition_1378 (operands, insn))
20934 0 : return -1;
20935 : return 5589; /* avx512f_vmscalefv8hf_mask_round */
20936 :
20937 261 : case 1:
20938 261 : if (!insn_condition_27 (operands, insn))
20939 0 : return -1;
20940 : return 5593; /* avx512f_vmscalefv4sf_mask_round */
20941 :
20942 261 : case 2:
20943 261 : if (!insn_condition_1402 (operands, insn))
20944 0 : return -1;
20945 : return 5597; /* avx512f_vmscalefv2df_mask_round */
20946 :
20947 : default:
20948 : return -1;
20949 : }
20950 :
20951 137 : case 164:
20952 137 : if (XWINT (x6, 0) != 1L)
20953 : return -1;
20954 137 : x14 = XVECEXP (x5, 0, 0);
20955 137 : operands[1] = x14;
20956 137 : x15 = XVECEXP (x5, 0, 1);
20957 137 : operands[2] = x15;
20958 137 : x8 = XEXP (x4, 1);
20959 137 : operands[3] = x8;
20960 137 : x9 = XEXP (x4, 2);
20961 137 : operands[4] = x9;
20962 137 : if (!register_operand (operands[4], E_QImode))
20963 : return -1;
20964 128 : x11 = XVECEXP (x2, 0, 1);
20965 128 : operands[5] = x11;
20966 128 : if (!const48_operand (operands[5], E_SImode))
20967 : return -1;
20968 128 : switch (pattern1705 (x2))
20969 : {
20970 55 : case 0:
20971 55 : if (!insn_condition_1378 (operands, insn))
20972 0 : return -1;
20973 : return 5739; /* avx512f_sgetexpv8hf_mask_round */
20974 :
20975 26 : case 1:
20976 26 : if (!insn_condition_27 (operands, insn))
20977 0 : return -1;
20978 : return 5743; /* avx512f_sgetexpv4sf_mask_round */
20979 :
20980 26 : case 2:
20981 26 : if (!insn_condition_1402 (operands, insn))
20982 0 : return -1;
20983 : return 5747; /* avx512f_sgetexpv2df_mask_round */
20984 :
20985 : default:
20986 : return -1;
20987 : }
20988 :
20989 523 : case 90:
20990 523 : if (XWINT (x6, 0) != 1L)
20991 : return -1;
20992 523 : x14 = XVECEXP (x5, 0, 0);
20993 523 : operands[2] = x14;
20994 523 : x15 = XVECEXP (x5, 0, 1);
20995 523 : operands[3] = x15;
20996 523 : if (!const_0_to_255_operand (operands[3], E_SImode))
20997 : return -1;
20998 523 : x8 = XEXP (x4, 1);
20999 523 : operands[4] = x8;
21000 523 : x9 = XEXP (x4, 2);
21001 523 : operands[5] = x9;
21002 523 : if (!register_operand (operands[5], E_QImode))
21003 : return -1;
21004 514 : x10 = XEXP (x3, 1);
21005 514 : operands[1] = x10;
21006 514 : x11 = XVECEXP (x2, 0, 1);
21007 514 : operands[6] = x11;
21008 514 : if (!const48_operand (operands[6], E_SImode))
21009 : return -1;
21010 514 : switch (GET_MODE (operands[0]))
21011 : {
21012 430 : case E_V8HFmode:
21013 430 : if (pattern1796 (x2,
21014 : E_V8HFmode) != 0
21015 430 : || !insn_condition_1378 (operands, insn))
21016 8 : return -1;
21017 : return 5855; /* avx512f_rndscalev8hf_mask_round */
21018 :
21019 42 : case E_V4SFmode:
21020 42 : if (pattern1796 (x2,
21021 : E_V4SFmode) != 0
21022 42 : || !insn_condition_27 (operands, insn))
21023 7 : return -1;
21024 : return 5859; /* avx512f_rndscalev4sf_mask_round */
21025 :
21026 42 : case E_V2DFmode:
21027 42 : if (pattern1796 (x2,
21028 : E_V2DFmode) != 0
21029 42 : || !insn_condition_1402 (operands, insn))
21030 7 : return -1;
21031 : return 5863; /* avx512f_rndscalev2df_mask_round */
21032 :
21033 : default:
21034 : return -1;
21035 : }
21036 :
21037 : default:
21038 : return -1;
21039 : }
21040 :
21041 3270 : case 3:
21042 3270 : x6 = XEXP (x3, 2);
21043 3270 : if (GET_CODE (x6) != CONST_INT)
21044 : return -1;
21045 3270 : x14 = XVECEXP (x5, 0, 0);
21046 3270 : operands[1] = x14;
21047 3270 : x15 = XVECEXP (x5, 0, 1);
21048 3270 : operands[2] = x15;
21049 3270 : x16 = XVECEXP (x5, 0, 2);
21050 3270 : operands[3] = x16;
21051 3270 : switch (XINT (x5, 1))
21052 : {
21053 887 : case 191:
21054 887 : switch (pattern1442 (x2))
21055 : {
21056 422 : case 0:
21057 422 : if (!insn_condition_1403 (operands, insn))
21058 0 : return -1;
21059 : return 3381; /* reducesv8hf_mask_round */
21060 :
21061 217 : case 1:
21062 217 : if (!insn_condition_1404 (operands, insn))
21063 0 : return -1;
21064 : return 3385; /* reducesv4sf_mask_round */
21065 :
21066 217 : case 2:
21067 217 : if (!insn_condition_1405 (operands, insn))
21068 0 : return -1;
21069 : return 3389; /* reducesv2df_mask_round */
21070 :
21071 : default:
21072 : return -1;
21073 : }
21074 :
21075 638 : case 216:
21076 638 : switch (pattern1443 (x2))
21077 : {
21078 192 : case 0:
21079 192 : if (!insn_condition_89 (operands, insn))
21080 0 : return -1;
21081 : return 4541; /* avx512fp16_fma_fmaddcsh_v8hf_maskz_round */
21082 :
21083 360 : case 1:
21084 360 : if (!insn_condition_26 (operands, insn))
21085 0 : return -1;
21086 : return 4547; /* avx512fp16_fmaddcsh_v8hf_mask_round */
21087 :
21088 : default:
21089 : return -1;
21090 : }
21091 :
21092 638 : case 218:
21093 638 : switch (pattern1443 (x2))
21094 : {
21095 192 : case 0:
21096 192 : if (!insn_condition_89 (operands, insn))
21097 0 : return -1;
21098 : return 4545; /* avx512fp16_fma_fcmaddcsh_v8hf_maskz_round */
21099 :
21100 360 : case 1:
21101 360 : if (!insn_condition_26 (operands, insn))
21102 0 : return -1;
21103 : return 4549; /* avx512fp16_fcmaddcsh_v8hf_mask_round */
21104 :
21105 : default:
21106 : return -1;
21107 : }
21108 :
21109 806 : case 193:
21110 806 : if (XWINT (x6, 0) != 1L
21111 806 : || !const_0_to_15_operand (operands[3], E_SImode))
21112 : return -1;
21113 806 : x8 = XEXP (x4, 1);
21114 806 : operands[4] = x8;
21115 806 : x9 = XEXP (x4, 2);
21116 806 : operands[5] = x9;
21117 806 : if (!register_operand (operands[5], E_QImode))
21118 : return -1;
21119 800 : x11 = XVECEXP (x2, 0, 1);
21120 800 : operands[6] = x11;
21121 800 : if (!const48_operand (operands[6], E_SImode))
21122 : return -1;
21123 800 : x10 = XEXP (x3, 1);
21124 800 : if (!rtx_equal_p (x10, operands[1]))
21125 : return -1;
21126 800 : switch (GET_MODE (operands[0]))
21127 : {
21128 400 : case E_V4SFmode:
21129 400 : if (pattern1440 (x2,
21130 : E_V4SFmode) != 0
21131 400 : || !insn_condition_1186 (operands, insn))
21132 7 : return -1;
21133 : return 8672; /* avx512dq_rangesv4sf_mask_round */
21134 :
21135 400 : case E_V2DFmode:
21136 400 : if (pattern1440 (x2,
21137 : E_V2DFmode) != 0
21138 400 : || !insn_condition_1406 (operands, insn))
21139 7 : return -1;
21140 : return 8676; /* avx512dq_rangesv2df_mask_round */
21141 :
21142 : default:
21143 : return -1;
21144 : }
21145 :
21146 217 : case 165:
21147 217 : if (XWINT (x6, 0) != 1L
21148 217 : || !const_0_to_15_operand (operands[3], E_SImode))
21149 : return -1;
21150 217 : switch (pattern1441 (x2))
21151 : {
21152 55 : case 0:
21153 55 : if (!insn_condition_1378 (operands, insn))
21154 0 : return -1;
21155 : return 8740; /* avx512f_vgetmantv8hf_mask_round */
21156 :
21157 56 : case 1:
21158 56 : if (!insn_condition_27 (operands, insn))
21159 0 : return -1;
21160 : return 8744; /* avx512f_vgetmantv4sf_mask_round */
21161 :
21162 56 : case 2:
21163 56 : if (!insn_condition_1402 (operands, insn))
21164 0 : return -1;
21165 : return 8748; /* avx512f_vgetmantv2df_mask_round */
21166 :
21167 : default:
21168 : return -1;
21169 : }
21170 :
21171 84 : case 277:
21172 84 : switch (pattern1442 (x2))
21173 : {
21174 19 : case 0:
21175 19 : if (!insn_condition_1407 (operands, insn))
21176 0 : return -1;
21177 : return 9646; /* avx10_2_minmaxsv8hf_mask_round */
21178 :
21179 19 : case 1:
21180 19 : if (!insn_condition_1408 (operands, insn))
21181 0 : return -1;
21182 : return 9650; /* avx10_2_minmaxsv4sf_mask_round */
21183 :
21184 19 : case 2:
21185 19 : if (!insn_condition_1409 (operands, insn))
21186 0 : return -1;
21187 : return 9654; /* avx10_2_minmaxsv2df_mask_round */
21188 :
21189 : default:
21190 : return -1;
21191 : }
21192 :
21193 : default:
21194 : return -1;
21195 : }
21196 :
21197 782 : case 4:
21198 782 : if (XINT (x5, 1) != 162)
21199 : return -1;
21200 782 : x14 = XVECEXP (x5, 0, 0);
21201 782 : operands[1] = x14;
21202 782 : x15 = XVECEXP (x5, 0, 1);
21203 782 : operands[2] = x15;
21204 782 : x16 = XVECEXP (x5, 0, 2);
21205 782 : operands[3] = x16;
21206 782 : x17 = XVECEXP (x5, 0, 3);
21207 782 : operands[4] = x17;
21208 782 : if (!const_0_to_255_operand (operands[4], E_SImode))
21209 : return -1;
21210 782 : x11 = XVECEXP (x2, 0, 1);
21211 782 : if (!const48_operand (x11, E_SImode))
21212 : return -1;
21213 782 : x8 = XEXP (x4, 1);
21214 782 : switch (GET_CODE (x8))
21215 : {
21216 331 : case CONST_INT:
21217 331 : case CONST_DOUBLE:
21218 331 : case CONST_VECTOR:
21219 331 : operands[5] = x8;
21220 331 : x6 = XEXP (x3, 2);
21221 331 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21222 : return -1;
21223 331 : x9 = XEXP (x4, 2);
21224 331 : operands[6] = x9;
21225 331 : if (!register_operand (operands[6], E_QImode))
21226 : return -1;
21227 327 : operands[7] = x11;
21228 327 : x10 = XEXP (x3, 1);
21229 327 : if (!rtx_equal_p (x10, operands[2]))
21230 : return -1;
21231 327 : switch (GET_MODE (operands[0]))
21232 : {
21233 170 : case E_V4SFmode:
21234 170 : if (pattern1832 (x2,
21235 : E_V4SFmode,
21236 : E_V4SImode) != 0
21237 170 : || !insn_condition_27 (operands, insn))
21238 3 : return -1;
21239 : return 5807; /* avx512f_sfixupimmv4sf_maskz_1_round */
21240 :
21241 157 : case E_V2DFmode:
21242 157 : if (pattern1832 (x2,
21243 : E_V2DFmode,
21244 : E_V2DImode) != 0
21245 157 : || !insn_condition_1402 (operands, insn))
21246 3 : return -1;
21247 : return 5811; /* avx512f_sfixupimmv2df_maskz_1_round */
21248 :
21249 : default:
21250 : return -1;
21251 : }
21252 :
21253 451 : case REG:
21254 451 : case SUBREG:
21255 451 : if (!rtx_equal_p (x8, operands[2]))
21256 : return -1;
21257 451 : x9 = XEXP (x4, 2);
21258 451 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21259 : return -1;
21260 451 : x6 = XEXP (x3, 2);
21261 451 : operands[5] = x6;
21262 451 : if (!register_operand (operands[5], E_QImode))
21263 : return -1;
21264 451 : operands[6] = x11;
21265 451 : x10 = XEXP (x3, 1);
21266 451 : if (!rtx_equal_p (x10, operands[1]))
21267 : return -1;
21268 451 : switch (GET_MODE (operands[0]))
21269 : {
21270 250 : case E_V4SFmode:
21271 250 : if (pattern1833 (x2,
21272 : E_V4SImode,
21273 : E_V4SFmode) != 0
21274 250 : || !insn_condition_27 (operands, insn))
21275 5 : return -1;
21276 : return 5813; /* avx512f_sfixupimmv4sf_mask_round */
21277 :
21278 201 : case E_V2DFmode:
21279 201 : if (pattern1833 (x2,
21280 : E_V2DImode,
21281 : E_V2DFmode) != 0
21282 201 : || !insn_condition_90 (operands, insn))
21283 5 : return -1;
21284 : return 5815; /* avx512f_sfixupimmv2df_mask_round */
21285 :
21286 : default:
21287 : return -1;
21288 : }
21289 :
21290 : default:
21291 : return -1;
21292 : }
21293 :
21294 : default:
21295 : return -1;
21296 : }
21297 :
21298 7105 : case FMA:
21299 7105 : return recog_240 (x1, insn, pnum_clobbers);
21300 :
21301 176 : case FLOAT_EXTEND:
21302 176 : if (GET_MODE (x5) != E_V2DFmode)
21303 : return -1;
21304 176 : x7 = XEXP (x5, 0);
21305 176 : if (pattern947 (x7,
21306 : 2,
21307 : E_V2SFmode) != 0)
21308 : return -1;
21309 176 : x18 = XEXP (x7, 1);
21310 176 : x19 = XVECEXP (x18, 0, 1);
21311 176 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21312 : return -1;
21313 176 : x9 = XEXP (x4, 2);
21314 176 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
21315 176 : || pattern1519 (x2,
21316 : E_V2DFmode) != 0)
21317 : return -1;
21318 171 : x12 = XEXP (x7, 0);
21319 171 : operands[2] = x12;
21320 171 : if (!register_operand (operands[2], E_V4SFmode))
21321 : return -1;
21322 171 : x8 = XEXP (x4, 1);
21323 171 : operands[1] = x8;
21324 171 : if (!register_operand (operands[1], E_V2DFmode))
21325 : return -1;
21326 171 : x10 = XEXP (x3, 1);
21327 171 : operands[3] = x10;
21328 171 : if (!nonimm_or_0_operand (operands[3], E_V2DFmode))
21329 : return -1;
21330 171 : x6 = XEXP (x3, 2);
21331 171 : operands[4] = x6;
21332 171 : if (!register_operand (operands[4], E_QImode))
21333 : return -1;
21334 169 : x11 = XVECEXP (x2, 0, 1);
21335 169 : operands[5] = x11;
21336 169 : if (!const48_operand (operands[5], E_SImode)
21337 169 : || !insn_condition_90 (operands, insn))
21338 0 : return -1;
21339 : return 5337; /* sse2_cvtss2sd_mask_round */
21340 :
21341 : default:
21342 : return -1;
21343 : }
21344 : }
21345 :
21346 : int
21347 1332 : recog_252 (rtx x1 ATTRIBUTE_UNUSED,
21348 : rtx_insn *insn ATTRIBUTE_UNUSED,
21349 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21350 : {
21351 1332 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21352 1332 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21353 1332 : int res ATTRIBUTE_UNUSED;
21354 1332 : x2 = XEXP (x1, 1);
21355 1332 : x3 = XVECEXP (x2, 0, 0);
21356 1332 : x4 = XEXP (x3, 1);
21357 1332 : operands[2] = x4;
21358 1332 : x5 = XVECEXP (x2, 0, 1);
21359 1332 : operands[4] = x5;
21360 1332 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
21361 : return -1;
21362 1332 : x6 = XEXP (x3, 0);
21363 1332 : switch (GET_CODE (x6))
21364 : {
21365 642 : case REG:
21366 642 : case SUBREG:
21367 642 : operands[1] = x6;
21368 642 : x7 = XEXP (x3, 2);
21369 642 : switch (GET_CODE (x7))
21370 : {
21371 321 : case REG:
21372 321 : case SUBREG:
21373 321 : operands[3] = x7;
21374 321 : switch (GET_MODE (operands[0]))
21375 : {
21376 117 : case E_V32HFmode:
21377 117 : if (pattern1454 (x2,
21378 : E_V32HFmode) != 0
21379 117 : || !insn_condition_1472 (operands, insn))
21380 10 : return -1;
21381 : return 3990; /* *fma_fmadd_v32hf_round */
21382 :
21383 102 : case E_V16SFmode:
21384 102 : if (pattern1454 (x2,
21385 : E_V16SFmode) != 0
21386 102 : || !insn_condition_1473 (operands, insn))
21387 2 : return -1;
21388 : return 4000; /* *fma_fmadd_v16sf_round */
21389 :
21390 102 : case E_V8DFmode:
21391 102 : if (pattern1454 (x2,
21392 : E_V8DFmode) != 0
21393 102 : || !insn_condition_1474 (operands, insn))
21394 2 : return -1;
21395 : return 4009; /* *fma_fmadd_v8df_round */
21396 :
21397 : default:
21398 : return -1;
21399 : }
21400 :
21401 321 : case NEG:
21402 321 : x8 = XEXP (x7, 0);
21403 321 : operands[3] = x8;
21404 321 : switch (GET_MODE (operands[0]))
21405 : {
21406 117 : case E_V32HFmode:
21407 117 : if (pattern1455 (x2,
21408 : E_V32HFmode) != 0
21409 117 : || !insn_condition_1472 (operands, insn))
21410 10 : return -1;
21411 : return 4053; /* *fma_fmsub_v32hf_round */
21412 :
21413 102 : case E_V16SFmode:
21414 102 : if (pattern1455 (x2,
21415 : E_V16SFmode) != 0
21416 102 : || !insn_condition_1473 (operands, insn))
21417 2 : return -1;
21418 : return 4063; /* *fma_fmsub_v16sf_round */
21419 :
21420 102 : case E_V8DFmode:
21421 102 : if (pattern1455 (x2,
21422 : E_V8DFmode) != 0
21423 102 : || !insn_condition_1474 (operands, insn))
21424 2 : return -1;
21425 : return 4072; /* *fma_fmsub_v8df_round */
21426 :
21427 : default:
21428 : return -1;
21429 : }
21430 :
21431 : default:
21432 : return -1;
21433 : }
21434 :
21435 666 : case NEG:
21436 666 : x9 = XEXP (x6, 0);
21437 666 : operands[1] = x9;
21438 666 : x7 = XEXP (x3, 2);
21439 666 : switch (GET_CODE (x7))
21440 : {
21441 333 : case REG:
21442 333 : case SUBREG:
21443 333 : operands[3] = x7;
21444 333 : switch (GET_MODE (operands[0]))
21445 : {
21446 125 : case E_V32HFmode:
21447 125 : if (pattern1456 (x2,
21448 : E_V32HFmode) != 0
21449 125 : || !insn_condition_1472 (operands, insn))
21450 18 : return -1;
21451 : return 4116; /* *fma_fnmadd_v32hf_round */
21452 :
21453 104 : case E_V16SFmode:
21454 104 : if (pattern1456 (x2,
21455 : E_V16SFmode) != 0
21456 104 : || !insn_condition_1473 (operands, insn))
21457 4 : return -1;
21458 : return 4126; /* *fma_fnmadd_v16sf_round */
21459 :
21460 104 : case E_V8DFmode:
21461 104 : if (pattern1456 (x2,
21462 : E_V8DFmode) != 0
21463 104 : || !insn_condition_1474 (operands, insn))
21464 4 : return -1;
21465 : return 4135; /* *fma_fnmadd_v8df_round */
21466 :
21467 : default:
21468 : return -1;
21469 : }
21470 :
21471 333 : case NEG:
21472 333 : x8 = XEXP (x7, 0);
21473 333 : operands[3] = x8;
21474 333 : switch (GET_MODE (operands[0]))
21475 : {
21476 0 : case E_V4SFmode:
21477 0 : if (pattern1401 (x2,
21478 : E_V4SFmode) != 0
21479 0 : || !insn_condition_91 (operands, insn))
21480 0 : return -1;
21481 : return 4171; /* *fma_fnmsub_v4sf */
21482 :
21483 0 : case E_V2DFmode:
21484 0 : if (pattern1401 (x2,
21485 : E_V2DFmode) != 0
21486 0 : || !insn_condition_91 (operands, insn))
21487 0 : return -1;
21488 : return 4175; /* *fma_fnmsub_v2df */
21489 :
21490 0 : case E_V8SFmode:
21491 0 : if (pattern1401 (x2,
21492 : E_V8SFmode) != 0
21493 0 : || !insn_condition_91 (operands, insn))
21494 0 : return -1;
21495 : return 4179; /* *fma_fnmsub_v8sf */
21496 :
21497 0 : case E_V4DFmode:
21498 0 : if (pattern1401 (x2,
21499 : E_V4DFmode) != 0
21500 0 : || !insn_condition_91 (operands, insn))
21501 0 : return -1;
21502 : return 4183; /* *fma_fnmsub_v4df */
21503 :
21504 125 : case E_V32HFmode:
21505 125 : if (pattern1457 (x2,
21506 : E_V32HFmode) != 0
21507 125 : || !insn_condition_1472 (operands, insn))
21508 18 : return -1;
21509 : return 4187; /* *fma_fnmsub_v32hf_round */
21510 :
21511 104 : case E_V16SFmode:
21512 104 : if (pattern1457 (x2,
21513 : E_V16SFmode) != 0
21514 104 : || !insn_condition_1473 (operands, insn))
21515 4 : return -1;
21516 : return 4197; /* *fma_fnmsub_v16sf_round */
21517 :
21518 104 : case E_V8DFmode:
21519 104 : if (pattern1457 (x2,
21520 : E_V8DFmode) != 0
21521 104 : || !insn_condition_1474 (operands, insn))
21522 4 : return -1;
21523 : return 4206; /* *fma_fnmsub_v8df_round */
21524 :
21525 : default:
21526 : return -1;
21527 : }
21528 :
21529 : default:
21530 : return -1;
21531 : }
21532 :
21533 : default:
21534 : return -1;
21535 : }
21536 : }
21537 :
21538 : int
21539 169912 : recog_255 (rtx x1 ATTRIBUTE_UNUSED,
21540 : rtx_insn *insn ATTRIBUTE_UNUSED,
21541 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21542 : {
21543 169912 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21544 169912 : rtx x2, x3, x4, x5;
21545 169912 : int res ATTRIBUTE_UNUSED;
21546 169912 : x2 = XEXP (x1, 0);
21547 169912 : if (GET_CODE (x2) != REG
21548 169912 : || REGNO (x2) != 17)
21549 : return -1;
21550 169895 : x3 = XEXP (x1, 1);
21551 169895 : x4 = XVECEXP (x3, 0, 0);
21552 169895 : operands[0] = x4;
21553 169895 : x5 = XVECEXP (x3, 0, 1);
21554 169895 : operands[1] = x5;
21555 169895 : switch (GET_MODE (operands[0]))
21556 : {
21557 4 : case E_V16QImode:
21558 4 : if (!register_operand (operands[0], E_V16QImode)
21559 4 : || !vector_operand (operands[1], E_V16QImode)
21560 8 : || !insn_condition_1519 (operands, insn))
21561 0 : return -1;
21562 : return 7606; /* *sse4_1_ptestv16qi */
21563 :
21564 13 : case E_V8HImode:
21565 13 : if (!register_operand (operands[0], E_V8HImode)
21566 7 : || !vector_operand (operands[1], E_V8HImode)
21567 20 : || !insn_condition_1519 (operands, insn))
21568 6 : return -1;
21569 : return 7607; /* *sse4_1_ptestv8hi */
21570 :
21571 152 : case E_V4SImode:
21572 152 : if (!register_operand (operands[0], E_V4SImode)
21573 88 : || !vector_operand (operands[1], E_V4SImode)
21574 240 : || !insn_condition_1519 (operands, insn))
21575 64 : return -1;
21576 : return 7608; /* *sse4_1_ptestv4si */
21577 :
21578 144204 : case E_V2DImode:
21579 144204 : if (!register_operand (operands[0], E_V2DImode)
21580 73008 : || !vector_operand (operands[1], E_V2DImode)
21581 217197 : || !insn_condition_1519 (operands, insn))
21582 71211 : return -1;
21583 : return 7609; /* *sse4_1_ptestv2di */
21584 :
21585 61 : case E_V1TImode:
21586 61 : if (!register_operand (operands[0], E_V1TImode)
21587 32 : || !vector_operand (operands[1], E_V1TImode)
21588 93 : || !insn_condition_1519 (operands, insn))
21589 29 : return -1;
21590 : return 7610; /* *sse4_1_ptestv1ti */
21591 :
21592 0 : case E_V4SFmode:
21593 0 : if (!register_operand (operands[0], E_V4SFmode)
21594 0 : || !vector_operand (operands[1], E_V4SFmode)
21595 0 : || !insn_condition_1519 (operands, insn))
21596 0 : return -1;
21597 : return 7611; /* *sse4_1_ptestv4sf */
21598 :
21599 0 : case E_V2DFmode:
21600 0 : if (!register_operand (operands[0], E_V2DFmode)
21601 0 : || !vector_operand (operands[1], E_V2DFmode)
21602 0 : || !insn_condition_1519 (operands, insn))
21603 0 : return -1;
21604 : return 7612; /* *sse4_1_ptestv2df */
21605 :
21606 39 : case E_V32QImode:
21607 39 : if (!register_operand (operands[0], E_V32QImode)
21608 25 : || !vector_operand (operands[1], E_V32QImode)
21609 64 : || !insn_condition_1520 (operands, insn))
21610 14 : return -1;
21611 : return 7613; /* *avx_ptestv32qi */
21612 :
21613 0 : case E_V16HImode:
21614 0 : if (!register_operand (operands[0], E_V16HImode)
21615 0 : || !vector_operand (operands[1], E_V16HImode)
21616 0 : || !insn_condition_1520 (operands, insn))
21617 0 : return -1;
21618 : return 7614; /* *avx_ptestv16hi */
21619 :
21620 136 : case E_V8SImode:
21621 136 : if (!register_operand (operands[0], E_V8SImode)
21622 69 : || !vector_operand (operands[1], E_V8SImode)
21623 205 : || !insn_condition_1520 (operands, insn))
21624 67 : return -1;
21625 : return 7615; /* *avx_ptestv8si */
21626 :
21627 25277 : case E_V4DImode:
21628 25277 : if (!register_operand (operands[0], E_V4DImode)
21629 18929 : || !vector_operand (operands[1], E_V4DImode)
21630 44206 : || !insn_condition_1520 (operands, insn))
21631 6348 : return -1;
21632 : return 7616; /* *avx_ptestv4di */
21633 :
21634 0 : case E_V2TImode:
21635 0 : if (!register_operand (operands[0], E_V2TImode)
21636 0 : || !vector_operand (operands[1], E_V2TImode)
21637 0 : || !insn_condition_1520 (operands, insn))
21638 0 : return -1;
21639 : return 7617; /* *avx_ptestv2ti */
21640 :
21641 0 : case E_V8SFmode:
21642 0 : if (!register_operand (operands[0], E_V8SFmode)
21643 0 : || !vector_operand (operands[1], E_V8SFmode)
21644 0 : || !insn_condition_1520 (operands, insn))
21645 0 : return -1;
21646 : return 7618; /* *avx_ptestv8sf */
21647 :
21648 0 : case E_V4DFmode:
21649 0 : if (!register_operand (operands[0], E_V4DFmode)
21650 0 : || !vector_operand (operands[1], E_V4DFmode)
21651 0 : || !insn_condition_1520 (operands, insn))
21652 0 : return -1;
21653 : return 7619; /* *avx_ptestv4df */
21654 :
21655 : default:
21656 : return -1;
21657 : }
21658 : }
21659 :
21660 : int
21661 21823 : recog_257 (rtx x1 ATTRIBUTE_UNUSED,
21662 : rtx_insn *insn ATTRIBUTE_UNUSED,
21663 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21664 : {
21665 21823 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21666 21823 : rtx x2, x3, x4, x5;
21667 21823 : int res ATTRIBUTE_UNUSED;
21668 21823 : x2 = XEXP (x1, 0);
21669 21823 : operands[0] = x2;
21670 21823 : x3 = XEXP (x1, 1);
21671 21823 : x4 = XVECEXP (x3, 0, 0);
21672 21823 : operands[1] = x4;
21673 21823 : x5 = XVECEXP (x3, 0, 1);
21674 21823 : operands[2] = x5;
21675 21823 : switch (GET_MODE (operands[0]))
21676 : {
21677 17499 : case E_V8SImode:
21678 17499 : if (pattern819 (x3,
21679 : E_V8SImode) != 0
21680 17499 : || !insn_condition_1521 (operands, insn))
21681 1941 : return -1;
21682 : return 7790; /* avx2_permvarv8si */
21683 :
21684 133 : case E_V8SFmode:
21685 133 : if (pattern820 (x3,
21686 : E_V8SImode,
21687 : E_V8SFmode) != 0
21688 133 : || !insn_condition_1521 (operands, insn))
21689 18 : return -1;
21690 : return 7792; /* avx2_permvarv8sf */
21691 :
21692 1363 : case E_V16SImode:
21693 1363 : if (pattern819 (x3,
21694 : E_V16SImode) != 0
21695 1363 : || !insn_condition_1522 (operands, insn))
21696 336 : return -1;
21697 : return 7794; /* avx512f_permvarv16si */
21698 :
21699 145 : case E_V16SFmode:
21700 145 : if (pattern820 (x3,
21701 : E_V16SImode,
21702 : E_V16SFmode) != 0
21703 145 : || !insn_condition_1522 (operands, insn))
21704 34 : return -1;
21705 : return 7796; /* avx512f_permvarv16sf */
21706 :
21707 85 : case E_V8DImode:
21708 85 : if (pattern819 (x3,
21709 : E_V8DImode) != 0
21710 85 : || !insn_condition_1522 (operands, insn))
21711 12 : return -1;
21712 : return 7798; /* avx512f_permvarv8di */
21713 :
21714 456 : case E_V8DFmode:
21715 456 : if (pattern820 (x3,
21716 : E_V8DImode,
21717 : E_V8DFmode) != 0
21718 456 : || !insn_condition_1522 (operands, insn))
21719 166 : return -1;
21720 : return 7800; /* avx512f_permvarv8df */
21721 :
21722 84 : case E_V4DImode:
21723 84 : if (pattern819 (x3,
21724 : E_V4DImode) != 0
21725 84 : || !insn_condition_1523 (operands, insn))
21726 12 : return -1;
21727 : return 7802; /* avx2_permvarv4di */
21728 :
21729 84 : case E_V4DFmode:
21730 84 : if (pattern820 (x3,
21731 : E_V4DImode,
21732 : E_V4DFmode) != 0
21733 84 : || !insn_condition_1523 (operands, insn))
21734 12 : return -1;
21735 : return 7804; /* avx2_permvarv4df */
21736 :
21737 136 : case E_V64QImode:
21738 136 : if (pattern819 (x3,
21739 : E_V64QImode) != 0
21740 136 : || !insn_condition_1524 (operands, insn))
21741 26 : return -1;
21742 : return 7806; /* avx512bw_permvarv64qi */
21743 :
21744 63 : case E_V16QImode:
21745 63 : if (pattern819 (x3,
21746 : E_V16QImode) != 0
21747 63 : || !insn_condition_1525 (operands, insn))
21748 1 : return -1;
21749 : return 7808; /* avx512vl_permvarv16qi */
21750 :
21751 87 : case E_V32QImode:
21752 87 : if (pattern819 (x3,
21753 : E_V32QImode) != 0
21754 87 : || !insn_condition_1525 (operands, insn))
21755 11 : return -1;
21756 : return 7810; /* avx512vl_permvarv32qi */
21757 :
21758 247 : case E_V8HImode:
21759 247 : if (pattern819 (x3,
21760 : E_V8HImode) != 0
21761 247 : || !insn_condition_1526 (operands, insn))
21762 83 : return -1;
21763 : return 7812; /* avx512vl_permvarv8hi */
21764 :
21765 351 : case E_V16HImode:
21766 351 : if (pattern819 (x3,
21767 : E_V16HImode) != 0
21768 351 : || !insn_condition_1526 (operands, insn))
21769 119 : return -1;
21770 : return 7814; /* avx512vl_permvarv16hi */
21771 :
21772 1090 : case E_V32HImode:
21773 1090 : if (pattern819 (x3,
21774 : E_V32HImode) != 0
21775 1090 : || !insn_condition_1527 (operands, insn))
21776 245 : return -1;
21777 : return 7816; /* avx512bw_permvarv32hi */
21778 :
21779 0 : case E_V8HFmode:
21780 0 : if (pattern820 (x3,
21781 : E_V8HImode,
21782 : E_V8HFmode) != 0
21783 0 : || !insn_condition_1526 (operands, insn))
21784 0 : return -1;
21785 : return 7818; /* avx512fp16_permvarv8hf */
21786 :
21787 0 : case E_V16HFmode:
21788 0 : if (pattern820 (x3,
21789 : E_V16HImode,
21790 : E_V16HFmode) != 0
21791 0 : || !insn_condition_1526 (operands, insn))
21792 0 : return -1;
21793 : return 7820; /* avx512vl_permvarv16hf */
21794 :
21795 0 : case E_V32HFmode:
21796 0 : if (pattern820 (x3,
21797 : E_V32HImode,
21798 : E_V32HFmode) != 0
21799 0 : || !insn_condition_1527 (operands, insn))
21800 0 : return -1;
21801 : return 7822; /* avx512bw_permvarv32hf */
21802 :
21803 0 : case E_V8BFmode:
21804 0 : if (pattern820 (x3,
21805 : E_V8HImode,
21806 : E_V8BFmode) != 0
21807 0 : || !insn_condition_1526 (operands, insn))
21808 0 : return -1;
21809 : return 7824; /* avx512vl_permvarv8bf */
21810 :
21811 0 : case E_V16BFmode:
21812 0 : if (pattern820 (x3,
21813 : E_V16HImode,
21814 : E_V16BFmode) != 0
21815 0 : || !insn_condition_1526 (operands, insn))
21816 0 : return -1;
21817 : return 7826; /* avx512vl_permvarv16bf */
21818 :
21819 0 : case E_V32BFmode:
21820 0 : if (pattern820 (x3,
21821 : E_V32HImode,
21822 : E_V32BFmode) != 0
21823 0 : || !insn_condition_1527 (operands, insn))
21824 0 : return -1;
21825 : return 7828; /* avx512bw_permvarv32bf */
21826 :
21827 : default:
21828 : return -1;
21829 : }
21830 : }
21831 :
21832 : int
21833 728 : recog_259 (rtx x1 ATTRIBUTE_UNUSED,
21834 : rtx_insn *insn ATTRIBUTE_UNUSED,
21835 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21836 : {
21837 728 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21838 728 : rtx x2, x3, x4, x5;
21839 728 : int res ATTRIBUTE_UNUSED;
21840 728 : x2 = XEXP (x1, 0);
21841 728 : operands[0] = x2;
21842 728 : x3 = XEXP (x1, 1);
21843 728 : x4 = XVECEXP (x3, 0, 0);
21844 728 : operands[1] = x4;
21845 728 : x5 = XVECEXP (x3, 0, 1);
21846 728 : operands[2] = x5;
21847 728 : if (!const_0_to_255_operand (operands[2], E_SImode))
21848 : return -1;
21849 728 : switch (GET_MODE (operands[0]))
21850 : {
21851 23 : case E_V32HFmode:
21852 23 : if (!register_operand (operands[0], E_V32HFmode)
21853 17 : || GET_MODE (x3) != E_V32HFmode
21854 17 : || !vector_operand (operands[1], E_V32HFmode)
21855 23 : || !insn_condition_1528 (operands, insn))
21856 6 : return -1;
21857 : return 3342; /* *reducepv32hf */
21858 :
21859 59 : case E_V16HFmode:
21860 59 : if (!register_operand (operands[0], E_V16HFmode)
21861 54 : || GET_MODE (x3) != E_V16HFmode
21862 54 : || !vector_operand (operands[1], E_V16HFmode)
21863 59 : || !insn_condition_1529 (operands, insn))
21864 5 : return -1;
21865 : return 3346; /* *reducepv16hf */
21866 :
21867 59 : case E_V8HFmode:
21868 59 : if (!register_operand (operands[0], E_V8HFmode)
21869 54 : || GET_MODE (x3) != E_V8HFmode
21870 54 : || !vector_operand (operands[1], E_V8HFmode)
21871 59 : || !insn_condition_1530 (operands, insn))
21872 5 : return -1;
21873 : return 3350; /* *reducepv8hf */
21874 :
21875 237 : case E_V16SFmode:
21876 237 : if (!register_operand (operands[0], E_V16SFmode)
21877 234 : || GET_MODE (x3) != E_V16SFmode
21878 234 : || !vector_operand (operands[1], E_V16SFmode)
21879 237 : || !insn_condition_1531 (operands, insn))
21880 5 : return -1;
21881 : return 3354; /* *reducepv16sf */
21882 :
21883 63 : case E_V8SFmode:
21884 63 : if (!register_operand (operands[0], E_V8SFmode)
21885 60 : || GET_MODE (x3) != E_V8SFmode
21886 60 : || !vector_operand (operands[1], E_V8SFmode)
21887 63 : || !insn_condition_1532 (operands, insn))
21888 5 : return -1;
21889 : return 3358; /* *reducepv8sf */
21890 :
21891 100 : case E_V4SFmode:
21892 100 : if (!register_operand (operands[0], E_V4SFmode)
21893 97 : || GET_MODE (x3) != E_V4SFmode
21894 97 : || !vector_operand (operands[1], E_V4SFmode)
21895 100 : || !insn_condition_1533 (operands, insn))
21896 19 : return -1;
21897 : return 3362; /* *reducepv4sf */
21898 :
21899 63 : case E_V8DFmode:
21900 63 : if (!register_operand (operands[0], E_V8DFmode)
21901 60 : || GET_MODE (x3) != E_V8DFmode
21902 60 : || !vector_operand (operands[1], E_V8DFmode)
21903 63 : || !insn_condition_1534 (operands, insn))
21904 5 : return -1;
21905 : return 3366; /* *reducepv8df */
21906 :
21907 63 : case E_V4DFmode:
21908 63 : if (!register_operand (operands[0], E_V4DFmode)
21909 60 : || GET_MODE (x3) != E_V4DFmode
21910 60 : || !vector_operand (operands[1], E_V4DFmode)
21911 63 : || !insn_condition_1535 (operands, insn))
21912 5 : return -1;
21913 : return 3370; /* *reducepv4df */
21914 :
21915 61 : case E_V2DFmode:
21916 61 : if (!register_operand (operands[0], E_V2DFmode)
21917 58 : || GET_MODE (x3) != E_V2DFmode
21918 58 : || !vector_operand (operands[1], E_V2DFmode)
21919 61 : || !insn_condition_1536 (operands, insn))
21920 4 : return -1;
21921 : return 3374; /* *reducepv2df */
21922 :
21923 : default:
21924 : return -1;
21925 : }
21926 : }
21927 :
21928 : int
21929 4153 : recog_263 (rtx x1 ATTRIBUTE_UNUSED,
21930 : rtx_insn *insn ATTRIBUTE_UNUSED,
21931 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21932 : {
21933 4153 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21934 4153 : rtx x2, x3, x4, x5;
21935 4153 : int res ATTRIBUTE_UNUSED;
21936 4153 : x2 = XEXP (x1, 0);
21937 4153 : operands[0] = x2;
21938 4153 : x3 = XEXP (x1, 1);
21939 4153 : x4 = XVECEXP (x3, 0, 0);
21940 4153 : operands[1] = x4;
21941 4153 : x5 = XVECEXP (x3, 0, 1);
21942 4153 : operands[2] = x5;
21943 4153 : if (!const_0_to_255_operand (operands[2], E_SImode))
21944 : return -1;
21945 4153 : switch (GET_MODE (operands[0]))
21946 : {
21947 514 : case E_V8HImode:
21948 514 : if (GET_MODE (x3) != E_V8HImode
21949 514 : || !register_operand (operands[1], E_V8SFmode))
21950 : return -1;
21951 405 : if (register_operand (operands[0], E_V8HImode)
21952 405 : && insn_condition_124 (operands, insn))
21953 : return 8355; /* vcvtps2ph256 */
21954 5 : if (!memory_operand (operands[0], E_V8HImode)
21955 5 : || !insn_condition_124 (operands, insn))
21956 0 : return -1;
21957 : return 8357; /* *vcvtps2ph256 */
21958 :
21959 3622 : case E_V16HImode:
21960 3622 : if (GET_MODE (x3) != E_V16HImode
21961 3622 : || !register_operand (operands[1], E_V16SFmode))
21962 : return -1;
21963 2027 : if (register_operand (operands[0], E_V16HImode)
21964 2027 : && insn_condition_27 (operands, insn))
21965 : return 8359; /* *avx512f_vcvtps2ph512 */
21966 427 : if (!memory_operand (operands[0], E_V16HImode)
21967 427 : || !insn_condition_27 (operands, insn))
21968 0 : return -1;
21969 : return 8363; /* *avx512f_vcvtps2ph512 */
21970 :
21971 : default:
21972 : return -1;
21973 : }
21974 : }
21975 :
21976 : int
21977 5673 : recog_267 (rtx x1 ATTRIBUTE_UNUSED,
21978 : rtx_insn *insn ATTRIBUTE_UNUSED,
21979 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21980 : {
21981 5673 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21982 5673 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21983 5673 : rtx x10;
21984 5673 : int res ATTRIBUTE_UNUSED;
21985 5673 : if (pnum_clobbers == NULL)
21986 : return -1;
21987 5673 : x2 = XEXP (x1, 1);
21988 5673 : x3 = XVECEXP (x2, 0, 2);
21989 5673 : if (GET_CODE (x3) != MEM)
21990 : return -1;
21991 5673 : x4 = XEXP (x3, 0);
21992 5673 : if (GET_CODE (x4) != UNSPEC
21993 5673 : || XVECLEN (x4, 0) != 3
21994 5673 : || XINT (x4, 1) != 153)
21995 : return -1;
21996 5673 : x5 = XEXP (x1, 0);
21997 5673 : operands[0] = x5;
21998 5673 : x6 = XVECEXP (x4, 0, 2);
21999 5673 : if (!const1248_operand (x6, E_SImode))
22000 : return -1;
22001 5673 : x7 = XVECEXP (x2, 0, 0);
22002 5673 : switch (GET_CODE (x7))
22003 : {
22004 1303 : case REG:
22005 1303 : case SUBREG:
22006 1303 : operands[1] = x7;
22007 1303 : x8 = XVECEXP (x2, 0, 1);
22008 1303 : operands[7] = x8;
22009 1303 : operands[6] = x3;
22010 1303 : x9 = XVECEXP (x4, 0, 0);
22011 1303 : operands[4] = x9;
22012 1303 : x10 = XVECEXP (x4, 0, 1);
22013 1303 : operands[3] = x10;
22014 1303 : operands[5] = x6;
22015 1303 : switch (GET_MODE (operands[0]))
22016 : {
22017 126 : case E_V16SImode:
22018 126 : if (!register_operand (operands[0], E_V16SImode)
22019 122 : || GET_MODE (x2) != E_V16SImode
22020 248 : || !vsib_mem_operator (operands[6], E_SImode))
22021 : return -1;
22022 122 : switch (GET_MODE (operands[1]))
22023 : {
22024 54 : case E_V16SImode:
22025 54 : if (!register_operand (operands[1], E_V16SImode)
22026 54 : || !register_operand (operands[7], E_HImode))
22027 : return -1;
22028 35 : switch (pattern1852 (x4,
22029 : E_V16SImode))
22030 : {
22031 0 : case 0:
22032 0 : if (!insn_condition_1513 (operands, insn))
22033 : return -1;
22034 0 : *pnum_clobbers = 1;
22035 0 : return 8437; /* *avx512f_gathersiv16si */
22036 :
22037 33 : case 1:
22038 33 : if (!insn_condition_1514 (operands, insn))
22039 : return -1;
22040 33 : *pnum_clobbers = 1;
22041 33 : return 8438; /* *avx512f_gathersiv16si */
22042 :
22043 : default:
22044 : return -1;
22045 : }
22046 :
22047 68 : case E_V8SImode:
22048 68 : if (!register_operand (operands[1], E_V8SImode)
22049 68 : || !register_operand (operands[7], E_QImode))
22050 : return -1;
22051 44 : switch (pattern1852 (x4,
22052 : E_V8DImode))
22053 : {
22054 0 : case 0:
22055 0 : if (!insn_condition_1513 (operands, insn))
22056 : return -1;
22057 0 : *pnum_clobbers = 1;
22058 0 : return 8485; /* *avx512f_gatherdiv16si */
22059 :
22060 38 : case 1:
22061 38 : if (!insn_condition_1514 (operands, insn))
22062 : return -1;
22063 38 : *pnum_clobbers = 1;
22064 38 : return 8486; /* *avx512f_gatherdiv16si */
22065 :
22066 : default:
22067 : return -1;
22068 : }
22069 :
22070 : default:
22071 : return -1;
22072 : }
22073 :
22074 112 : case E_V16SFmode:
22075 112 : if (!register_operand (operands[0], E_V16SFmode)
22076 107 : || GET_MODE (x2) != E_V16SFmode
22077 219 : || !vsib_mem_operator (operands[6], E_SFmode))
22078 : return -1;
22079 107 : switch (GET_MODE (operands[1]))
22080 : {
22081 37 : case E_V16SFmode:
22082 37 : if (!register_operand (operands[1], E_V16SFmode)
22083 37 : || !register_operand (operands[7], E_HImode))
22084 : return -1;
22085 20 : switch (pattern1852 (x4,
22086 : E_V16SImode))
22087 : {
22088 0 : case 0:
22089 0 : if (!insn_condition_1513 (operands, insn))
22090 : return -1;
22091 0 : *pnum_clobbers = 1;
22092 0 : return 8439; /* *avx512f_gathersiv16sf */
22093 :
22094 18 : case 1:
22095 18 : if (!insn_condition_1514 (operands, insn))
22096 : return -1;
22097 18 : *pnum_clobbers = 1;
22098 18 : return 8440; /* *avx512f_gathersiv16sf */
22099 :
22100 : default:
22101 : return -1;
22102 : }
22103 :
22104 70 : case E_V8SFmode:
22105 70 : if (!register_operand (operands[1], E_V8SFmode)
22106 70 : || !register_operand (operands[7], E_QImode))
22107 : return -1;
22108 47 : switch (pattern1852 (x4,
22109 : E_V8DImode))
22110 : {
22111 0 : case 0:
22112 0 : if (!insn_condition_1513 (operands, insn))
22113 : return -1;
22114 0 : *pnum_clobbers = 1;
22115 0 : return 8487; /* *avx512f_gatherdiv16sf */
22116 :
22117 38 : case 1:
22118 38 : if (!insn_condition_1514 (operands, insn))
22119 : return -1;
22120 38 : *pnum_clobbers = 1;
22121 38 : return 8488; /* *avx512f_gatherdiv16sf */
22122 :
22123 : default:
22124 : return -1;
22125 : }
22126 :
22127 : default:
22128 : return -1;
22129 : }
22130 :
22131 137 : case E_V8DImode:
22132 137 : switch (pattern1714 (x2,
22133 : E_DImode,
22134 : E_V8DImode))
22135 : {
22136 0 : case 0:
22137 0 : if (!insn_condition_1513 (operands, insn))
22138 : return -1;
22139 0 : *pnum_clobbers = 1;
22140 0 : return 8441; /* *avx512f_gathersiv8di */
22141 :
22142 0 : case 1:
22143 0 : if (!insn_condition_1513 (operands, insn))
22144 : return -1;
22145 0 : *pnum_clobbers = 1;
22146 0 : return 8489; /* *avx512f_gatherdiv8di */
22147 :
22148 31 : case 2:
22149 31 : if (!insn_condition_1514 (operands, insn))
22150 : return -1;
22151 31 : *pnum_clobbers = 1;
22152 31 : return 8442; /* *avx512f_gathersiv8di */
22153 :
22154 21 : case 3:
22155 21 : if (!insn_condition_1514 (operands, insn))
22156 : return -1;
22157 21 : *pnum_clobbers = 1;
22158 21 : return 8490; /* *avx512f_gatherdiv8di */
22159 :
22160 : default:
22161 : return -1;
22162 : }
22163 :
22164 121 : case E_V8DFmode:
22165 121 : switch (pattern1714 (x2,
22166 : E_DFmode,
22167 : E_V8DFmode))
22168 : {
22169 0 : case 0:
22170 0 : if (!insn_condition_1513 (operands, insn))
22171 : return -1;
22172 0 : *pnum_clobbers = 1;
22173 0 : return 8443; /* *avx512f_gathersiv8df */
22174 :
22175 0 : case 1:
22176 0 : if (!insn_condition_1513 (operands, insn))
22177 : return -1;
22178 0 : *pnum_clobbers = 1;
22179 0 : return 8491; /* *avx512f_gatherdiv8df */
22180 :
22181 27 : case 2:
22182 27 : if (!insn_condition_1514 (operands, insn))
22183 : return -1;
22184 27 : *pnum_clobbers = 1;
22185 27 : return 8444; /* *avx512f_gathersiv8df */
22186 :
22187 21 : case 3:
22188 21 : if (!insn_condition_1514 (operands, insn))
22189 : return -1;
22190 21 : *pnum_clobbers = 1;
22191 21 : return 8492; /* *avx512f_gatherdiv8df */
22192 :
22193 : default:
22194 : return -1;
22195 : }
22196 :
22197 109 : case E_V8SImode:
22198 109 : if (pattern1715 (x2,
22199 : E_SImode,
22200 : E_V8SImode) != 0)
22201 : return -1;
22202 89 : switch (GET_MODE (operands[1]))
22203 : {
22204 33 : case E_V8SImode:
22205 33 : if (!register_operand (operands[1], E_V8SImode))
22206 : return -1;
22207 33 : switch (pattern1852 (x4,
22208 : E_V8SImode))
22209 : {
22210 0 : case 0:
22211 0 : if (!insn_condition_1543 (operands, insn))
22212 : return -1;
22213 0 : *pnum_clobbers = 1;
22214 0 : return 8445; /* *avx512f_gathersiv8si */
22215 :
22216 31 : case 1:
22217 31 : if (!insn_condition_1544 (operands, insn))
22218 : return -1;
22219 31 : *pnum_clobbers = 1;
22220 31 : return 8446; /* *avx512f_gathersiv8si */
22221 :
22222 : default:
22223 : return -1;
22224 : }
22225 :
22226 56 : case E_V4SImode:
22227 56 : if (!register_operand (operands[1], E_V4SImode))
22228 : return -1;
22229 56 : switch (pattern1852 (x4,
22230 : E_V4DImode))
22231 : {
22232 0 : case 0:
22233 0 : if (!insn_condition_1543 (operands, insn))
22234 : return -1;
22235 0 : *pnum_clobbers = 1;
22236 0 : return 8493; /* *avx512f_gatherdiv8si */
22237 :
22238 44 : case 1:
22239 44 : if (!insn_condition_1544 (operands, insn))
22240 : return -1;
22241 44 : *pnum_clobbers = 1;
22242 44 : return 8494; /* *avx512f_gatherdiv8si */
22243 :
22244 : default:
22245 : return -1;
22246 : }
22247 :
22248 : default:
22249 : return -1;
22250 : }
22251 :
22252 81 : case E_V8SFmode:
22253 81 : if (pattern1715 (x2,
22254 : E_SFmode,
22255 : E_V8SFmode) != 0)
22256 : return -1;
22257 63 : switch (GET_MODE (operands[1]))
22258 : {
22259 18 : case E_V8SFmode:
22260 18 : if (!register_operand (operands[1], E_V8SFmode))
22261 : return -1;
22262 18 : switch (pattern1852 (x4,
22263 : E_V8SImode))
22264 : {
22265 0 : case 0:
22266 0 : if (!insn_condition_1543 (operands, insn))
22267 : return -1;
22268 0 : *pnum_clobbers = 1;
22269 0 : return 8447; /* *avx512f_gathersiv8sf */
22270 :
22271 16 : case 1:
22272 16 : if (!insn_condition_1544 (operands, insn))
22273 : return -1;
22274 16 : *pnum_clobbers = 1;
22275 16 : return 8448; /* *avx512f_gathersiv8sf */
22276 :
22277 : default:
22278 : return -1;
22279 : }
22280 :
22281 45 : case E_V4SFmode:
22282 45 : if (!register_operand (operands[1], E_V4SFmode))
22283 : return -1;
22284 45 : switch (pattern1852 (x4,
22285 : E_V4DImode))
22286 : {
22287 0 : case 0:
22288 0 : if (!insn_condition_1543 (operands, insn))
22289 : return -1;
22290 0 : *pnum_clobbers = 1;
22291 0 : return 8495; /* *avx512f_gatherdiv8sf */
22292 :
22293 39 : case 1:
22294 39 : if (!insn_condition_1544 (operands, insn))
22295 : return -1;
22296 39 : *pnum_clobbers = 1;
22297 39 : return 8496; /* *avx512f_gatherdiv8sf */
22298 :
22299 : default:
22300 : return -1;
22301 : }
22302 :
22303 : default:
22304 : return -1;
22305 : }
22306 :
22307 89 : case E_V4DImode:
22308 89 : switch (pattern1717 (x2,
22309 : E_DImode,
22310 : E_V4DImode))
22311 : {
22312 0 : case 0:
22313 0 : if (!insn_condition_1543 (operands, insn))
22314 : return -1;
22315 0 : *pnum_clobbers = 1;
22316 0 : return 8449; /* *avx512f_gathersiv4di */
22317 :
22318 0 : case 1:
22319 0 : if (!insn_condition_1543 (operands, insn))
22320 : return -1;
22321 0 : *pnum_clobbers = 1;
22322 0 : return 8497; /* *avx512f_gatherdiv4di */
22323 :
22324 25 : case 2:
22325 25 : if (!insn_condition_1544 (operands, insn))
22326 : return -1;
22327 25 : *pnum_clobbers = 1;
22328 25 : return 8450; /* *avx512f_gathersiv4di */
22329 :
22330 15 : case 3:
22331 15 : if (!insn_condition_1544 (operands, insn))
22332 : return -1;
22333 15 : *pnum_clobbers = 1;
22334 15 : return 8498; /* *avx512f_gatherdiv4di */
22335 :
22336 : default:
22337 : return -1;
22338 : }
22339 :
22340 74 : case E_V4DFmode:
22341 74 : switch (pattern1717 (x2,
22342 : E_DFmode,
22343 : E_V4DFmode))
22344 : {
22345 0 : case 0:
22346 0 : if (!insn_condition_1543 (operands, insn))
22347 : return -1;
22348 0 : *pnum_clobbers = 1;
22349 0 : return 8451; /* *avx512f_gathersiv4df */
22350 :
22351 0 : case 1:
22352 0 : if (!insn_condition_1543 (operands, insn))
22353 : return -1;
22354 0 : *pnum_clobbers = 1;
22355 0 : return 8499; /* *avx512f_gatherdiv4df */
22356 :
22357 22 : case 2:
22358 22 : if (!insn_condition_1544 (operands, insn))
22359 : return -1;
22360 22 : *pnum_clobbers = 1;
22361 22 : return 8452; /* *avx512f_gathersiv4df */
22362 :
22363 15 : case 3:
22364 15 : if (!insn_condition_1544 (operands, insn))
22365 : return -1;
22366 15 : *pnum_clobbers = 1;
22367 15 : return 8500; /* *avx512f_gatherdiv4df */
22368 :
22369 : default:
22370 : return -1;
22371 : }
22372 :
22373 146 : case E_V4SImode:
22374 146 : switch (pattern1719 (x2,
22375 : E_SImode,
22376 : E_V4SImode))
22377 : {
22378 0 : case 0:
22379 0 : if (!insn_condition_1543 (operands, insn))
22380 : return -1;
22381 0 : *pnum_clobbers = 1;
22382 0 : return 8453; /* *avx512f_gathersiv4si */
22383 :
22384 0 : case 1:
22385 0 : if (!insn_condition_1543 (operands, insn))
22386 : return -1;
22387 0 : *pnum_clobbers = 1;
22388 0 : return 8501; /* *avx512f_gatherdiv4si */
22389 :
22390 31 : case 2:
22391 31 : if (!insn_condition_1544 (operands, insn))
22392 : return -1;
22393 31 : *pnum_clobbers = 1;
22394 31 : return 8454; /* *avx512f_gathersiv4si */
22395 :
22396 61 : case 3:
22397 61 : if (!insn_condition_1544 (operands, insn))
22398 : return -1;
22399 61 : *pnum_clobbers = 1;
22400 61 : return 8502; /* *avx512f_gatherdiv4si */
22401 :
22402 : default:
22403 : return -1;
22404 : }
22405 :
22406 104 : case E_V4SFmode:
22407 104 : switch (pattern1719 (x2,
22408 : E_SFmode,
22409 : E_V4SFmode))
22410 : {
22411 0 : case 0:
22412 0 : if (!insn_condition_1543 (operands, insn))
22413 : return -1;
22414 0 : *pnum_clobbers = 1;
22415 0 : return 8455; /* *avx512f_gathersiv4sf */
22416 :
22417 0 : case 1:
22418 0 : if (!insn_condition_1543 (operands, insn))
22419 : return -1;
22420 0 : *pnum_clobbers = 1;
22421 0 : return 8503; /* *avx512f_gatherdiv4sf */
22422 :
22423 16 : case 2:
22424 16 : if (!insn_condition_1544 (operands, insn))
22425 : return -1;
22426 16 : *pnum_clobbers = 1;
22427 16 : return 8456; /* *avx512f_gathersiv4sf */
22428 :
22429 41 : case 3:
22430 41 : if (!insn_condition_1544 (operands, insn))
22431 : return -1;
22432 41 : *pnum_clobbers = 1;
22433 41 : return 8504; /* *avx512f_gatherdiv4sf */
22434 :
22435 : default:
22436 : return -1;
22437 : }
22438 :
22439 108 : case E_V2DImode:
22440 108 : switch (pattern1719 (x2,
22441 : E_DImode,
22442 : E_V2DImode))
22443 : {
22444 0 : case 0:
22445 0 : if (!insn_condition_1543 (operands, insn))
22446 : return -1;
22447 0 : *pnum_clobbers = 1;
22448 0 : return 8457; /* *avx512f_gathersiv2di */
22449 :
22450 0 : case 1:
22451 0 : if (!insn_condition_1543 (operands, insn))
22452 : return -1;
22453 0 : *pnum_clobbers = 1;
22454 0 : return 8505; /* *avx512f_gatherdiv2di */
22455 :
22456 33 : case 2:
22457 33 : if (!insn_condition_1544 (operands, insn))
22458 : return -1;
22459 33 : *pnum_clobbers = 1;
22460 33 : return 8458; /* *avx512f_gathersiv2di */
22461 :
22462 16 : case 3:
22463 16 : if (!insn_condition_1544 (operands, insn))
22464 : return -1;
22465 16 : *pnum_clobbers = 1;
22466 16 : return 8506; /* *avx512f_gatherdiv2di */
22467 :
22468 : default:
22469 : return -1;
22470 : }
22471 :
22472 96 : case E_V2DFmode:
22473 96 : switch (pattern1719 (x2,
22474 : E_DFmode,
22475 : E_V2DFmode))
22476 : {
22477 0 : case 0:
22478 0 : if (!insn_condition_1543 (operands, insn))
22479 : return -1;
22480 0 : *pnum_clobbers = 1;
22481 0 : return 8459; /* *avx512f_gathersiv2df */
22482 :
22483 0 : case 1:
22484 0 : if (!insn_condition_1543 (operands, insn))
22485 : return -1;
22486 0 : *pnum_clobbers = 1;
22487 0 : return 8507; /* *avx512f_gatherdiv2df */
22488 :
22489 30 : case 2:
22490 30 : if (!insn_condition_1544 (operands, insn))
22491 : return -1;
22492 30 : *pnum_clobbers = 1;
22493 30 : return 8460; /* *avx512f_gathersiv2df */
22494 :
22495 16 : case 3:
22496 16 : if (!insn_condition_1544 (operands, insn))
22497 : return -1;
22498 16 : *pnum_clobbers = 1;
22499 16 : return 8508; /* *avx512f_gatherdiv2df */
22500 :
22501 : default:
22502 : return -1;
22503 : }
22504 :
22505 : default:
22506 : return -1;
22507 : }
22508 :
22509 2656 : case PC:
22510 2656 : x8 = XVECEXP (x2, 0, 1);
22511 2656 : operands[6] = x8;
22512 2656 : operands[5] = x3;
22513 2656 : x9 = XVECEXP (x4, 0, 0);
22514 2656 : operands[3] = x9;
22515 2656 : x10 = XVECEXP (x4, 0, 1);
22516 2656 : operands[2] = x10;
22517 2656 : operands[4] = x6;
22518 2656 : switch (GET_MODE (operands[0]))
22519 : {
22520 462 : case E_V16SImode:
22521 462 : switch (pattern1664 (x2,
22522 : E_SImode,
22523 : E_V16SImode))
22524 : {
22525 0 : case 0:
22526 0 : if (!insn_condition_1513 (operands, insn))
22527 : return -1;
22528 0 : *pnum_clobbers = 1;
22529 0 : return 8461; /* *avx512f_gathersiv16si_2 */
22530 :
22531 26 : case 1:
22532 26 : if (!insn_condition_1514 (operands, insn))
22533 : return -1;
22534 26 : *pnum_clobbers = 1;
22535 26 : return 8462; /* *avx512f_gathersiv16si_2 */
22536 :
22537 0 : case 2:
22538 0 : if (!insn_condition_1513 (operands, insn))
22539 : return -1;
22540 0 : *pnum_clobbers = 1;
22541 0 : return 8509; /* *avx512f_gatherdiv16si_2 */
22542 :
22543 26 : case 3:
22544 26 : if (!insn_condition_1514 (operands, insn))
22545 : return -1;
22546 26 : *pnum_clobbers = 1;
22547 26 : return 8510; /* *avx512f_gatherdiv16si_2 */
22548 :
22549 : default:
22550 : return -1;
22551 : }
22552 :
22553 614 : case E_V16SFmode:
22554 614 : switch (pattern1664 (x2,
22555 : E_SFmode,
22556 : E_V16SFmode))
22557 : {
22558 0 : case 0:
22559 0 : if (!insn_condition_1513 (operands, insn))
22560 : return -1;
22561 0 : *pnum_clobbers = 1;
22562 0 : return 8463; /* *avx512f_gathersiv16sf_2 */
22563 :
22564 38 : case 1:
22565 38 : if (!insn_condition_1514 (operands, insn))
22566 : return -1;
22567 38 : *pnum_clobbers = 1;
22568 38 : return 8464; /* *avx512f_gathersiv16sf_2 */
22569 :
22570 0 : case 2:
22571 0 : if (!insn_condition_1513 (operands, insn))
22572 : return -1;
22573 0 : *pnum_clobbers = 1;
22574 0 : return 8511; /* *avx512f_gatherdiv16sf_2 */
22575 :
22576 32 : case 3:
22577 32 : if (!insn_condition_1514 (operands, insn))
22578 : return -1;
22579 32 : *pnum_clobbers = 1;
22580 32 : return 8512; /* *avx512f_gatherdiv16sf_2 */
22581 :
22582 : default:
22583 : return -1;
22584 : }
22585 :
22586 519 : case E_V8DImode:
22587 519 : switch (pattern1666 (x2,
22588 : E_DImode,
22589 : E_V8DImode))
22590 : {
22591 0 : case 0:
22592 0 : if (!insn_condition_1513 (operands, insn))
22593 : return -1;
22594 0 : *pnum_clobbers = 1;
22595 0 : return 8465; /* *avx512f_gathersiv8di_2 */
22596 :
22597 0 : case 1:
22598 0 : if (!insn_condition_1513 (operands, insn))
22599 : return -1;
22600 0 : *pnum_clobbers = 1;
22601 0 : return 8513; /* *avx512f_gatherdiv8di_2 */
22602 :
22603 20 : case 2:
22604 20 : if (!insn_condition_1514 (operands, insn))
22605 : return -1;
22606 20 : *pnum_clobbers = 1;
22607 20 : return 8466; /* *avx512f_gathersiv8di_2 */
22608 :
22609 24 : case 3:
22610 24 : if (!insn_condition_1514 (operands, insn))
22611 : return -1;
22612 24 : *pnum_clobbers = 1;
22613 24 : return 8514; /* *avx512f_gatherdiv8di_2 */
22614 :
22615 : default:
22616 : return -1;
22617 : }
22618 :
22619 582 : case E_V8DFmode:
22620 582 : switch (pattern1666 (x2,
22621 : E_DFmode,
22622 : E_V8DFmode))
22623 : {
22624 0 : case 0:
22625 0 : if (!insn_condition_1513 (operands, insn))
22626 : return -1;
22627 0 : *pnum_clobbers = 1;
22628 0 : return 8467; /* *avx512f_gathersiv8df_2 */
22629 :
22630 0 : case 1:
22631 0 : if (!insn_condition_1513 (operands, insn))
22632 : return -1;
22633 0 : *pnum_clobbers = 1;
22634 0 : return 8515; /* *avx512f_gatherdiv8df_2 */
22635 :
22636 26 : case 2:
22637 26 : if (!insn_condition_1514 (operands, insn))
22638 : return -1;
22639 26 : *pnum_clobbers = 1;
22640 26 : return 8468; /* *avx512f_gathersiv8df_2 */
22641 :
22642 26 : case 3:
22643 26 : if (!insn_condition_1514 (operands, insn))
22644 : return -1;
22645 26 : *pnum_clobbers = 1;
22646 26 : return 8516; /* *avx512f_gatherdiv8df_2 */
22647 :
22648 : default:
22649 : return -1;
22650 : }
22651 :
22652 63 : case E_V8SImode:
22653 63 : switch (pattern1668 (x2,
22654 : E_SImode,
22655 : E_V8SImode))
22656 : {
22657 0 : case 0:
22658 0 : if (!insn_condition_1543 (operands, insn))
22659 : return -1;
22660 0 : *pnum_clobbers = 1;
22661 0 : return 8469; /* *avx512f_gathersiv8si_2 */
22662 :
22663 0 : case 1:
22664 0 : if (!insn_condition_1543 (operands, insn))
22665 : return -1;
22666 0 : *pnum_clobbers = 1;
22667 0 : return 8517; /* *avx512f_gatherdiv8si_2 */
22668 :
22669 3 : case 2:
22670 3 : if (!insn_condition_1544 (operands, insn))
22671 : return -1;
22672 3 : *pnum_clobbers = 1;
22673 3 : return 8470; /* *avx512f_gathersiv8si_2 */
22674 :
22675 6 : case 3:
22676 6 : if (!insn_condition_1544 (operands, insn))
22677 : return -1;
22678 6 : *pnum_clobbers = 1;
22679 6 : return 8518; /* *avx512f_gatherdiv8si_2 */
22680 :
22681 : default:
22682 : return -1;
22683 : }
22684 :
22685 63 : case E_V8SFmode:
22686 63 : switch (pattern1668 (x2,
22687 : E_SFmode,
22688 : E_V8SFmode))
22689 : {
22690 0 : case 0:
22691 0 : if (!insn_condition_1543 (operands, insn))
22692 : return -1;
22693 0 : *pnum_clobbers = 1;
22694 0 : return 8471; /* *avx512f_gathersiv8sf_2 */
22695 :
22696 0 : case 1:
22697 0 : if (!insn_condition_1543 (operands, insn))
22698 : return -1;
22699 0 : *pnum_clobbers = 1;
22700 0 : return 8519; /* *avx512f_gatherdiv8sf_2 */
22701 :
22702 2 : case 2:
22703 2 : if (!insn_condition_1544 (operands, insn))
22704 : return -1;
22705 2 : *pnum_clobbers = 1;
22706 2 : return 8472; /* *avx512f_gathersiv8sf_2 */
22707 :
22708 6 : case 3:
22709 6 : if (!insn_condition_1544 (operands, insn))
22710 : return -1;
22711 6 : *pnum_clobbers = 1;
22712 6 : return 8520; /* *avx512f_gatherdiv8sf_2 */
22713 :
22714 : default:
22715 : return -1;
22716 : }
22717 :
22718 54 : case E_V4DImode:
22719 54 : switch (pattern1670 (x2,
22720 : E_DImode,
22721 : E_V4DImode))
22722 : {
22723 0 : case 0:
22724 0 : if (!insn_condition_1543 (operands, insn))
22725 : return -1;
22726 0 : *pnum_clobbers = 1;
22727 0 : return 8473; /* *avx512f_gathersiv4di_2 */
22728 :
22729 0 : case 1:
22730 0 : if (!insn_condition_1543 (operands, insn))
22731 : return -1;
22732 0 : *pnum_clobbers = 1;
22733 0 : return 8521; /* *avx512f_gatherdiv4di_2 */
22734 :
22735 2 : case 2:
22736 2 : if (!insn_condition_1544 (operands, insn))
22737 : return -1;
22738 2 : *pnum_clobbers = 1;
22739 2 : return 8474; /* *avx512f_gathersiv4di_2 */
22740 :
22741 4 : case 3:
22742 4 : if (!insn_condition_1544 (operands, insn))
22743 : return -1;
22744 4 : *pnum_clobbers = 1;
22745 4 : return 8522; /* *avx512f_gatherdiv4di_2 */
22746 :
22747 : default:
22748 : return -1;
22749 : }
22750 :
22751 93 : case E_V4DFmode:
22752 93 : switch (pattern1670 (x2,
22753 : E_DFmode,
22754 : E_V4DFmode))
22755 : {
22756 0 : case 0:
22757 0 : if (!insn_condition_1543 (operands, insn))
22758 : return -1;
22759 0 : *pnum_clobbers = 1;
22760 0 : return 8475; /* *avx512f_gathersiv4df_2 */
22761 :
22762 0 : case 1:
22763 0 : if (!insn_condition_1543 (operands, insn))
22764 : return -1;
22765 0 : *pnum_clobbers = 1;
22766 0 : return 8523; /* *avx512f_gatherdiv4df_2 */
22767 :
22768 2 : case 2:
22769 2 : if (!insn_condition_1544 (operands, insn))
22770 : return -1;
22771 2 : *pnum_clobbers = 1;
22772 2 : return 8476; /* *avx512f_gathersiv4df_2 */
22773 :
22774 9 : case 3:
22775 9 : if (!insn_condition_1544 (operands, insn))
22776 : return -1;
22777 9 : *pnum_clobbers = 1;
22778 9 : return 8524; /* *avx512f_gatherdiv4df_2 */
22779 :
22780 : default:
22781 : return -1;
22782 : }
22783 :
22784 57 : case E_V4SImode:
22785 57 : switch (pattern1672 (x2,
22786 : E_SImode,
22787 : E_V4SImode))
22788 : {
22789 0 : case 0:
22790 0 : if (!insn_condition_1543 (operands, insn))
22791 : return -1;
22792 0 : *pnum_clobbers = 1;
22793 0 : return 8477; /* *avx512f_gathersiv4si_2 */
22794 :
22795 0 : case 1:
22796 0 : if (!insn_condition_1543 (operands, insn))
22797 : return -1;
22798 0 : *pnum_clobbers = 1;
22799 0 : return 8525; /* *avx512f_gatherdiv4si_2 */
22800 :
22801 3 : case 2:
22802 3 : if (!insn_condition_1544 (operands, insn))
22803 : return -1;
22804 3 : *pnum_clobbers = 1;
22805 3 : return 8478; /* *avx512f_gathersiv4si_2 */
22806 :
22807 7 : case 3:
22808 7 : if (!insn_condition_1544 (operands, insn))
22809 : return -1;
22810 7 : *pnum_clobbers = 1;
22811 7 : return 8526; /* *avx512f_gatherdiv4si_2 */
22812 :
22813 : default:
22814 : return -1;
22815 : }
22816 :
22817 57 : case E_V4SFmode:
22818 57 : switch (pattern1672 (x2,
22819 : E_SFmode,
22820 : E_V4SFmode))
22821 : {
22822 0 : case 0:
22823 0 : if (!insn_condition_1543 (operands, insn))
22824 : return -1;
22825 0 : *pnum_clobbers = 1;
22826 0 : return 8479; /* *avx512f_gathersiv4sf_2 */
22827 :
22828 0 : case 1:
22829 0 : if (!insn_condition_1543 (operands, insn))
22830 : return -1;
22831 0 : *pnum_clobbers = 1;
22832 0 : return 8527; /* *avx512f_gatherdiv4sf_2 */
22833 :
22834 2 : case 2:
22835 2 : if (!insn_condition_1544 (operands, insn))
22836 : return -1;
22837 2 : *pnum_clobbers = 1;
22838 2 : return 8480; /* *avx512f_gathersiv4sf_2 */
22839 :
22840 6 : case 3:
22841 6 : if (!insn_condition_1544 (operands, insn))
22842 : return -1;
22843 6 : *pnum_clobbers = 1;
22844 6 : return 8528; /* *avx512f_gatherdiv4sf_2 */
22845 :
22846 : default:
22847 : return -1;
22848 : }
22849 :
22850 46 : case E_V2DImode:
22851 46 : switch (pattern1672 (x2,
22852 : E_DImode,
22853 : E_V2DImode))
22854 : {
22855 0 : case 0:
22856 0 : if (!insn_condition_1543 (operands, insn))
22857 : return -1;
22858 0 : *pnum_clobbers = 1;
22859 0 : return 8481; /* *avx512f_gathersiv2di_2 */
22860 :
22861 0 : case 1:
22862 0 : if (!insn_condition_1543 (operands, insn))
22863 : return -1;
22864 0 : *pnum_clobbers = 1;
22865 0 : return 8529; /* *avx512f_gatherdiv2di_2 */
22866 :
22867 2 : case 2:
22868 2 : if (!insn_condition_1544 (operands, insn))
22869 : return -1;
22870 2 : *pnum_clobbers = 1;
22871 2 : return 8482; /* *avx512f_gathersiv2di_2 */
22872 :
22873 4 : case 3:
22874 4 : if (!insn_condition_1544 (operands, insn))
22875 : return -1;
22876 4 : *pnum_clobbers = 1;
22877 4 : return 8530; /* *avx512f_gatherdiv2di_2 */
22878 :
22879 : default:
22880 : return -1;
22881 : }
22882 :
22883 46 : case E_V2DFmode:
22884 46 : switch (pattern1672 (x2,
22885 : E_DFmode,
22886 : E_V2DFmode))
22887 : {
22888 0 : case 0:
22889 0 : if (!insn_condition_1543 (operands, insn))
22890 : return -1;
22891 0 : *pnum_clobbers = 1;
22892 0 : return 8483; /* *avx512f_gathersiv2df_2 */
22893 :
22894 0 : case 1:
22895 0 : if (!insn_condition_1543 (operands, insn))
22896 : return -1;
22897 0 : *pnum_clobbers = 1;
22898 0 : return 8531; /* *avx512f_gatherdiv2df_2 */
22899 :
22900 2 : case 2:
22901 2 : if (!insn_condition_1544 (operands, insn))
22902 : return -1;
22903 2 : *pnum_clobbers = 1;
22904 2 : return 8484; /* *avx512f_gathersiv2df_2 */
22905 :
22906 4 : case 3:
22907 4 : if (!insn_condition_1544 (operands, insn))
22908 : return -1;
22909 4 : *pnum_clobbers = 1;
22910 4 : return 8532; /* *avx512f_gatherdiv2df_2 */
22911 :
22912 : default:
22913 : return -1;
22914 : }
22915 :
22916 : default:
22917 : return -1;
22918 : }
22919 :
22920 : default:
22921 : return -1;
22922 : }
22923 : }
22924 :
22925 : int
22926 20172 : recog_294 (rtx x1 ATTRIBUTE_UNUSED,
22927 : rtx_insn *insn ATTRIBUTE_UNUSED,
22928 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22929 : {
22930 20172 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22931 20172 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
22932 20172 : rtx x10;
22933 20172 : int res ATTRIBUTE_UNUSED;
22934 20172 : x2 = XEXP (x1, 1);
22935 20172 : x3 = XEXP (x2, 0);
22936 20172 : x4 = XEXP (x3, 2);
22937 20172 : if (!register_operand (x4, E_QImode))
22938 : return -1;
22939 18051 : x5 = XEXP (x3, 0);
22940 18051 : switch (GET_CODE (x5))
22941 : {
22942 904 : case FLOAT:
22943 904 : switch (pattern533 (x2))
22944 : {
22945 145 : case 0:
22946 145 : if (!insn_condition_1351 (operands, insn))
22947 0 : return -1;
22948 : return 4682; /* *avx512fp16_vcvtdq2ph_v4si_mask */
22949 :
22950 160 : case 1:
22951 160 : if (!insn_condition_1351 (operands, insn))
22952 0 : return -1;
22953 : return 4684; /* *avx512fp16_vcvtqq2ph_v4di_mask */
22954 :
22955 160 : case 2:
22956 160 : if (!insn_condition_1351 (operands, insn))
22957 0 : return -1;
22958 : return 4692; /* *avx512fp16_vcvtqq2ph_v2di_mask */
22959 :
22960 169 : case 3:
22961 169 : if (!insn_condition_1345 (operands, insn))
22962 0 : return -1;
22963 : return 5172; /* *floatv2div2sf2_mask */
22964 :
22965 60 : case 4:
22966 60 : if (!insn_condition_1351 (operands, insn))
22967 0 : return -1;
22968 : return 4686; /* *avx512fp16_vcvtdq2ph_v4si_mask_1 */
22969 :
22970 60 : case 5:
22971 60 : if (!insn_condition_1351 (operands, insn))
22972 0 : return -1;
22973 : return 4688; /* *avx512fp16_vcvtqq2ph_v4di_mask_1 */
22974 :
22975 60 : case 6:
22976 60 : if (!insn_condition_1351 (operands, insn))
22977 0 : return -1;
22978 : return 4694; /* *avx512fp16_vcvtqq2ph_v2di_mask_1 */
22979 :
22980 62 : case 7:
22981 62 : if (!insn_condition_1345 (operands, insn))
22982 0 : return -1;
22983 : return 5174; /* *floatv2div2sf2_mask_1 */
22984 :
22985 : default:
22986 : return -1;
22987 : }
22988 :
22989 890 : case UNSIGNED_FLOAT:
22990 890 : switch (pattern533 (x2))
22991 : {
22992 145 : case 0:
22993 145 : if (!insn_condition_1351 (operands, insn))
22994 0 : return -1;
22995 : return 4683; /* *avx512fp16_vcvtudq2ph_v4si_mask */
22996 :
22997 160 : case 1:
22998 160 : if (!insn_condition_1351 (operands, insn))
22999 0 : return -1;
23000 : return 4685; /* *avx512fp16_vcvtuqq2ph_v4di_mask */
23001 :
23002 160 : case 2:
23003 160 : if (!insn_condition_1351 (operands, insn))
23004 0 : return -1;
23005 : return 4693; /* *avx512fp16_vcvtuqq2ph_v2di_mask */
23006 :
23007 157 : case 3:
23008 157 : if (!insn_condition_1345 (operands, insn))
23009 0 : return -1;
23010 : return 5173; /* *floatunsv2div2sf2_mask */
23011 :
23012 60 : case 4:
23013 60 : if (!insn_condition_1351 (operands, insn))
23014 0 : return -1;
23015 : return 4687; /* *avx512fp16_vcvtudq2ph_v4si_mask_1 */
23016 :
23017 60 : case 5:
23018 60 : if (!insn_condition_1351 (operands, insn))
23019 0 : return -1;
23020 : return 4689; /* *avx512fp16_vcvtuqq2ph_v4di_mask_1 */
23021 :
23022 60 : case 6:
23023 60 : if (!insn_condition_1351 (operands, insn))
23024 0 : return -1;
23025 : return 4695; /* *avx512fp16_vcvtuqq2ph_v2di_mask_1 */
23026 :
23027 60 : case 7:
23028 60 : if (!insn_condition_1345 (operands, insn))
23029 0 : return -1;
23030 : return 5175; /* *floatunsv2div2sf2_mask_1 */
23031 :
23032 : default:
23033 : return -1;
23034 : }
23035 :
23036 1139 : case FLOAT_TRUNCATE:
23037 1139 : x6 = XEXP (x5, 0);
23038 1139 : operands[1] = x6;
23039 1139 : x7 = XEXP (x2, 1);
23040 1139 : operands[4] = x7;
23041 1139 : x8 = XEXP (x3, 1);
23042 1139 : switch (GET_CODE (x8))
23043 : {
23044 857 : case VEC_SELECT:
23045 857 : x9 = XEXP (x8, 1);
23046 857 : if (GET_CODE (x9) != PARALLEL)
23047 : return -1;
23048 857 : x10 = XEXP (x8, 0);
23049 857 : operands[2] = x10;
23050 857 : operands[3] = x4;
23051 857 : switch (XVECLEN (x9, 0))
23052 : {
23053 550 : case 4:
23054 550 : if (pattern1256 (x9,
23055 : 3,
23056 : 2,
23057 : 1,
23058 : 0) != 0)
23059 : return -1;
23060 550 : switch (GET_MODE (operands[0]))
23061 : {
23062 330 : case E_V8HFmode:
23063 330 : if (!register_operand (operands[0], E_V8HFmode)
23064 322 : || GET_MODE (x2) != E_V8HFmode
23065 322 : || GET_MODE (x3) != E_V4HFmode
23066 322 : || GET_MODE (x5) != E_V4HFmode
23067 322 : || GET_MODE (x8) != E_V4HFmode
23068 652 : || !nonimm_or_0_operand (operands[2], E_V8HFmode))
23069 : return -1;
23070 320 : switch (pattern1604 ())
23071 : {
23072 160 : case 0:
23073 160 : if (!insn_condition_1351 (operands, insn))
23074 0 : return -1;
23075 : return 4916; /* *avx512fp16_vcvtpd2ph_v4df_mask */
23076 :
23077 160 : case 1:
23078 160 : if (!insn_condition_1351 (operands, insn))
23079 0 : return -1;
23080 : return 4917; /* *avx512fp16_vcvtps2ph_v4sf_mask */
23081 :
23082 : default:
23083 : return -1;
23084 : }
23085 :
23086 220 : case E_V8BFmode:
23087 220 : if (pattern529 (x2,
23088 : E_V4BFmode,
23089 : E_V8BFmode,
23090 : E_V4SFmode) != 0
23091 220 : || !insn_condition_1677 (operands, insn))
23092 10 : return -1;
23093 : return 9040; /* avx512f_cvtneps2bf16_v4sf_mask_1 */
23094 :
23095 : default:
23096 : return -1;
23097 : }
23098 :
23099 307 : case 2:
23100 307 : switch (pattern530 (x2,
23101 : E_V2DFmode))
23102 : {
23103 160 : case 0:
23104 160 : if (!insn_condition_1351 (operands, insn))
23105 0 : return -1;
23106 : return 4921; /* *avx512fp16_vcvtpd2ph_v2df_mask */
23107 :
23108 137 : case 1:
23109 137 : if (!insn_condition_532 (operands, insn))
23110 0 : return -1;
23111 : return 5347; /* *sse2_cvtpd2ps_mask */
23112 :
23113 : default:
23114 : return -1;
23115 : }
23116 :
23117 : default:
23118 : return -1;
23119 : }
23120 :
23121 282 : case CONST_INT:
23122 282 : case CONST_DOUBLE:
23123 282 : case CONST_VECTOR:
23124 282 : operands[3] = x8;
23125 282 : operands[2] = x4;
23126 282 : switch (GET_MODE (operands[0]))
23127 : {
23128 189 : case E_V8HFmode:
23129 189 : if (!register_operand (operands[0], E_V8HFmode)
23130 189 : || GET_MODE (x2) != E_V8HFmode)
23131 : return -1;
23132 180 : switch (GET_MODE (x3))
23133 : {
23134 120 : case E_V4HFmode:
23135 120 : if (GET_MODE (x5) != E_V4HFmode
23136 120 : || !const0_operand (operands[3], E_V4HFmode))
23137 : return -1;
23138 120 : switch (pattern1604 ())
23139 : {
23140 60 : case 0:
23141 60 : if (!insn_condition_1351 (operands, insn))
23142 0 : return -1;
23143 : return 4918; /* *avx512fp16_vcvtpd2ph_v4df_mask_1 */
23144 :
23145 60 : case 1:
23146 60 : if (!insn_condition_1351 (operands, insn))
23147 0 : return -1;
23148 : return 4919; /* *avx512fp16_vcvtps2ph_v4sf_mask_1 */
23149 :
23150 : default:
23151 : return -1;
23152 : }
23153 :
23154 60 : case E_V2HFmode:
23155 60 : if (pattern531 (x5,
23156 : E_V2DFmode) != 0
23157 60 : || !insn_condition_1351 (operands, insn))
23158 0 : return -1;
23159 : return 4922; /* *avx512fp16_vcvtpd2ph_v2df_mask_1 */
23160 :
23161 : default:
23162 : return -1;
23163 : }
23164 :
23165 57 : case E_V4SFmode:
23166 57 : if (pattern532 (x2,
23167 : E_V2DFmode) != 0
23168 57 : || !insn_condition_532 (operands, insn))
23169 3 : return -1;
23170 : return 5348; /* *sse2_cvtpd2ps_mask_1 */
23171 :
23172 : default:
23173 : return -1;
23174 : }
23175 :
23176 : default:
23177 : return -1;
23178 : }
23179 :
23180 8873 : case UNSPEC:
23181 8873 : return recog_291 (x1, insn, pnum_clobbers);
23182 :
23183 0 : case UNSIGNED_FIX:
23184 0 : switch (pattern535 (x2))
23185 : {
23186 0 : case 0:
23187 0 : if (!insn_condition_532 (operands, insn))
23188 0 : return -1;
23189 : return 5226; /* fixuns_truncv2dfv2si2_mask */
23190 :
23191 0 : case 1:
23192 0 : if (!insn_condition_532 (operands, insn))
23193 0 : return -1;
23194 : return 5227; /* *fixuns_truncv2dfv2si2_mask_1 */
23195 :
23196 : default:
23197 : return -1;
23198 : }
23199 :
23200 0 : case FIX:
23201 0 : switch (pattern535 (x2))
23202 : {
23203 0 : case 0:
23204 0 : if (!insn_condition_532 (operands, insn))
23205 0 : return -1;
23206 : return 5327; /* sse2_cvttpd2dq_mask */
23207 :
23208 0 : case 1:
23209 0 : if (!insn_condition_532 (operands, insn))
23210 0 : return -1;
23211 : return 5328; /* *sse2_cvttpd2dq_mask_1 */
23212 :
23213 : default:
23214 : return -1;
23215 : }
23216 :
23217 1993 : case SS_TRUNCATE:
23218 1993 : switch (pattern541 (x2))
23219 : {
23220 130 : case 0:
23221 130 : if (!insn_condition_532 (operands, insn))
23222 0 : return -1;
23223 : return 5982; /* avx512vl_ss_truncatev2div2qi2_mask */
23224 :
23225 134 : case 1:
23226 134 : if (!insn_condition_532 (operands, insn))
23227 0 : return -1;
23228 : return 6097; /* avx512vl_ss_truncatev2div2hi2_mask */
23229 :
23230 130 : case 2:
23231 130 : if (!insn_condition_532 (operands, insn))
23232 0 : return -1;
23233 : return 6116; /* avx512vl_ss_truncatev2div2si2_mask */
23234 :
23235 135 : case 3:
23236 135 : if (!insn_condition_532 (operands, insn))
23237 0 : return -1;
23238 : return 6003; /* avx512vl_ss_truncatev4siv4qi2_mask */
23239 :
23240 132 : case 4:
23241 132 : if (!insn_condition_532 (operands, insn))
23242 0 : return -1;
23243 : return 6006; /* avx512vl_ss_truncatev4div4qi2_mask */
23244 :
23245 145 : case 5:
23246 145 : if (!insn_condition_532 (operands, insn))
23247 0 : return -1;
23248 : return 6073; /* avx512vl_ss_truncatev4siv4hi2_mask */
23249 :
23250 144 : case 6:
23251 144 : if (!insn_condition_532 (operands, insn))
23252 0 : return -1;
23253 : return 6076; /* avx512vl_ss_truncatev4div4hi2_mask */
23254 :
23255 132 : case 7:
23256 132 : if (!insn_condition_533 (operands, insn))
23257 0 : return -1;
23258 : return 6033; /* avx512vl_ss_truncatev8hiv8qi2_mask */
23259 :
23260 148 : case 8:
23261 148 : if (!insn_condition_532 (operands, insn))
23262 0 : return -1;
23263 : return 6036; /* avx512vl_ss_truncatev8siv8qi2_mask */
23264 :
23265 132 : case 9:
23266 132 : if (!insn_condition_27 (operands, insn))
23267 0 : return -1;
23268 : return 6134; /* avx512f_ss_truncatev8div16qi2_mask */
23269 :
23270 60 : case 10:
23271 60 : if (!insn_condition_532 (operands, insn))
23272 0 : return -1;
23273 : return 5985; /* *avx512vl_ss_truncatev2div2qi2_mask_1 */
23274 :
23275 60 : case 11:
23276 60 : if (!insn_condition_532 (operands, insn))
23277 0 : return -1;
23278 : return 6100; /* *avx512vl_ss_truncatev2div2hi2_mask_1 */
23279 :
23280 60 : case 12:
23281 60 : if (!insn_condition_532 (operands, insn))
23282 0 : return -1;
23283 : return 6119; /* *avx512vl_ss_truncatev2div2si2_mask_1 */
23284 :
23285 60 : case 13:
23286 60 : if (!insn_condition_532 (operands, insn))
23287 0 : return -1;
23288 : return 6009; /* *avx512vl_ss_truncatev4siv4qi2_mask_1 */
23289 :
23290 60 : case 14:
23291 60 : if (!insn_condition_532 (operands, insn))
23292 0 : return -1;
23293 : return 6012; /* *avx512vl_ss_truncatev4div4qi2_mask_1 */
23294 :
23295 60 : case 15:
23296 60 : if (!insn_condition_532 (operands, insn))
23297 0 : return -1;
23298 : return 6079; /* *avx512vl_ss_truncatev4siv4hi2_mask_1 */
23299 :
23300 60 : case 16:
23301 60 : if (!insn_condition_532 (operands, insn))
23302 0 : return -1;
23303 : return 6082; /* *avx512vl_ss_truncatev4div4hi2_mask_1 */
23304 :
23305 60 : case 17:
23306 60 : if (!insn_condition_533 (operands, insn))
23307 0 : return -1;
23308 : return 6039; /* *avx512vl_ss_truncatev8hiv8qi2_mask_1 */
23309 :
23310 60 : case 18:
23311 60 : if (!insn_condition_532 (operands, insn))
23312 0 : return -1;
23313 : return 6042; /* *avx512vl_ss_truncatev8siv8qi2_mask_1 */
23314 :
23315 60 : case 19:
23316 60 : if (!insn_condition_27 (operands, insn))
23317 0 : return -1;
23318 : return 6137; /* *avx512f_ss_truncatev8div16qi2_mask_1 */
23319 :
23320 : default:
23321 : return -1;
23322 : }
23323 :
23324 1980 : case TRUNCATE:
23325 1980 : switch (pattern541 (x2))
23326 : {
23327 135 : case 0:
23328 135 : if (!insn_condition_532 (operands, insn))
23329 0 : return -1;
23330 : return 5983; /* avx512vl_truncatev2div2qi2_mask */
23331 :
23332 133 : case 1:
23333 133 : if (!insn_condition_532 (operands, insn))
23334 0 : return -1;
23335 : return 6098; /* avx512vl_truncatev2div2hi2_mask */
23336 :
23337 130 : case 2:
23338 130 : if (!insn_condition_532 (operands, insn))
23339 0 : return -1;
23340 : return 6117; /* avx512vl_truncatev2div2si2_mask */
23341 :
23342 135 : case 3:
23343 135 : if (!insn_condition_532 (operands, insn))
23344 0 : return -1;
23345 : return 6004; /* avx512vl_truncatev4siv4qi2_mask */
23346 :
23347 136 : case 4:
23348 136 : if (!insn_condition_532 (operands, insn))
23349 0 : return -1;
23350 : return 6007; /* avx512vl_truncatev4div4qi2_mask */
23351 :
23352 133 : case 5:
23353 133 : if (!insn_condition_532 (operands, insn))
23354 0 : return -1;
23355 : return 6074; /* avx512vl_truncatev4siv4hi2_mask */
23356 :
23357 144 : case 6:
23358 144 : if (!insn_condition_532 (operands, insn))
23359 0 : return -1;
23360 : return 6077; /* avx512vl_truncatev4div4hi2_mask */
23361 :
23362 132 : case 7:
23363 132 : if (!insn_condition_533 (operands, insn))
23364 0 : return -1;
23365 : return 6034; /* avx512vl_truncatev8hiv8qi2_mask */
23366 :
23367 136 : case 8:
23368 136 : if (!insn_condition_532 (operands, insn))
23369 0 : return -1;
23370 : return 6037; /* avx512vl_truncatev8siv8qi2_mask */
23371 :
23372 135 : case 9:
23373 135 : if (!insn_condition_27 (operands, insn))
23374 0 : return -1;
23375 : return 6135; /* avx512f_truncatev8div16qi2_mask */
23376 :
23377 60 : case 10:
23378 60 : if (!insn_condition_532 (operands, insn))
23379 0 : return -1;
23380 : return 5986; /* *avx512vl_truncatev2div2qi2_mask_1 */
23381 :
23382 60 : case 11:
23383 60 : if (!insn_condition_532 (operands, insn))
23384 0 : return -1;
23385 : return 6101; /* *avx512vl_truncatev2div2hi2_mask_1 */
23386 :
23387 60 : case 12:
23388 60 : if (!insn_condition_532 (operands, insn))
23389 0 : return -1;
23390 : return 6120; /* *avx512vl_truncatev2div2si2_mask_1 */
23391 :
23392 60 : case 13:
23393 60 : if (!insn_condition_532 (operands, insn))
23394 0 : return -1;
23395 : return 6010; /* *avx512vl_truncatev4siv4qi2_mask_1 */
23396 :
23397 60 : case 14:
23398 60 : if (!insn_condition_532 (operands, insn))
23399 0 : return -1;
23400 : return 6013; /* *avx512vl_truncatev4div4qi2_mask_1 */
23401 :
23402 60 : case 15:
23403 60 : if (!insn_condition_532 (operands, insn))
23404 0 : return -1;
23405 : return 6080; /* *avx512vl_truncatev4siv4hi2_mask_1 */
23406 :
23407 60 : case 16:
23408 60 : if (!insn_condition_532 (operands, insn))
23409 0 : return -1;
23410 : return 6083; /* *avx512vl_truncatev4div4hi2_mask_1 */
23411 :
23412 60 : case 17:
23413 60 : if (!insn_condition_533 (operands, insn))
23414 0 : return -1;
23415 : return 6040; /* *avx512vl_truncatev8hiv8qi2_mask_1 */
23416 :
23417 60 : case 18:
23418 60 : if (!insn_condition_532 (operands, insn))
23419 0 : return -1;
23420 : return 6043; /* *avx512vl_truncatev8siv8qi2_mask_1 */
23421 :
23422 60 : case 19:
23423 60 : if (!insn_condition_27 (operands, insn))
23424 0 : return -1;
23425 : return 6138; /* *avx512f_truncatev8div16qi2_mask_1 */
23426 :
23427 : default:
23428 : return -1;
23429 : }
23430 :
23431 1986 : case US_TRUNCATE:
23432 1986 : switch (pattern541 (x2))
23433 : {
23434 135 : case 0:
23435 135 : if (!insn_condition_532 (operands, insn))
23436 0 : return -1;
23437 : return 5984; /* avx512vl_us_truncatev2div2qi2_mask */
23438 :
23439 134 : case 1:
23440 134 : if (!insn_condition_532 (operands, insn))
23441 0 : return -1;
23442 : return 6099; /* avx512vl_us_truncatev2div2hi2_mask */
23443 :
23444 130 : case 2:
23445 130 : if (!insn_condition_532 (operands, insn))
23446 0 : return -1;
23447 : return 6118; /* avx512vl_us_truncatev2div2si2_mask */
23448 :
23449 133 : case 3:
23450 133 : if (!insn_condition_532 (operands, insn))
23451 0 : return -1;
23452 : return 6005; /* avx512vl_us_truncatev4siv4qi2_mask */
23453 :
23454 134 : case 4:
23455 134 : if (!insn_condition_532 (operands, insn))
23456 0 : return -1;
23457 : return 6008; /* avx512vl_us_truncatev4div4qi2_mask */
23458 :
23459 134 : case 5:
23460 134 : if (!insn_condition_532 (operands, insn))
23461 0 : return -1;
23462 : return 6075; /* avx512vl_us_truncatev4siv4hi2_mask */
23463 :
23464 135 : case 6:
23465 135 : if (!insn_condition_532 (operands, insn))
23466 0 : return -1;
23467 : return 6078; /* avx512vl_us_truncatev4div4hi2_mask */
23468 :
23469 132 : case 7:
23470 132 : if (!insn_condition_533 (operands, insn))
23471 0 : return -1;
23472 : return 6035; /* avx512vl_us_truncatev8hiv8qi2_mask */
23473 :
23474 136 : case 8:
23475 136 : if (!insn_condition_532 (operands, insn))
23476 0 : return -1;
23477 : return 6038; /* avx512vl_us_truncatev8siv8qi2_mask */
23478 :
23479 135 : case 9:
23480 135 : if (!insn_condition_27 (operands, insn))
23481 0 : return -1;
23482 : return 6136; /* avx512f_us_truncatev8div16qi2_mask */
23483 :
23484 60 : case 10:
23485 60 : if (!insn_condition_532 (operands, insn))
23486 0 : return -1;
23487 : return 5987; /* *avx512vl_us_truncatev2div2qi2_mask_1 */
23488 :
23489 60 : case 11:
23490 60 : if (!insn_condition_532 (operands, insn))
23491 0 : return -1;
23492 : return 6102; /* *avx512vl_us_truncatev2div2hi2_mask_1 */
23493 :
23494 60 : case 12:
23495 60 : if (!insn_condition_532 (operands, insn))
23496 0 : return -1;
23497 : return 6121; /* *avx512vl_us_truncatev2div2si2_mask_1 */
23498 :
23499 60 : case 13:
23500 60 : if (!insn_condition_532 (operands, insn))
23501 0 : return -1;
23502 : return 6011; /* *avx512vl_us_truncatev4siv4qi2_mask_1 */
23503 :
23504 60 : case 14:
23505 60 : if (!insn_condition_532 (operands, insn))
23506 0 : return -1;
23507 : return 6014; /* *avx512vl_us_truncatev4div4qi2_mask_1 */
23508 :
23509 60 : case 15:
23510 60 : if (!insn_condition_532 (operands, insn))
23511 0 : return -1;
23512 : return 6081; /* *avx512vl_us_truncatev4siv4hi2_mask_1 */
23513 :
23514 60 : case 16:
23515 60 : if (!insn_condition_532 (operands, insn))
23516 0 : return -1;
23517 : return 6084; /* *avx512vl_us_truncatev4div4hi2_mask_1 */
23518 :
23519 60 : case 17:
23520 60 : if (!insn_condition_533 (operands, insn))
23521 0 : return -1;
23522 : return 6041; /* *avx512vl_us_truncatev8hiv8qi2_mask_1 */
23523 :
23524 60 : case 18:
23525 60 : if (!insn_condition_532 (operands, insn))
23526 0 : return -1;
23527 : return 6044; /* *avx512vl_us_truncatev8siv8qi2_mask_1 */
23528 :
23529 60 : case 19:
23530 60 : if (!insn_condition_27 (operands, insn))
23531 0 : return -1;
23532 : return 6139; /* *avx512f_us_truncatev8div16qi2_mask_1 */
23533 :
23534 : default:
23535 : return -1;
23536 : }
23537 :
23538 : default:
23539 : return -1;
23540 : }
23541 : }
23542 :
23543 : int
23544 161001 : recog_306 (rtx x1 ATTRIBUTE_UNUSED,
23545 : rtx_insn *insn ATTRIBUTE_UNUSED,
23546 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23547 : {
23548 161001 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23549 161001 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23550 161001 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
23551 161001 : rtx x18, x19, x20, x21;
23552 161001 : int res ATTRIBUTE_UNUSED;
23553 161001 : x2 = XEXP (x1, 1);
23554 161001 : x3 = XEXP (x2, 1);
23555 161001 : x4 = XVECEXP (x3, 0, 0);
23556 161001 : if (GET_CODE (x4) != CONST_INT)
23557 : return -1;
23558 161001 : x5 = XVECEXP (x3, 0, 1);
23559 161001 : if (GET_CODE (x5) == CONST_INT)
23560 : {
23561 161001 : res = recog_305 (x1, insn, pnum_clobbers);
23562 161001 : if (res >= 0)
23563 : return res;
23564 : }
23565 74200 : operands[3] = x4;
23566 74200 : x6 = XEXP (x2, 0);
23567 74200 : x7 = XEXP (x6, 1);
23568 74200 : operands[2] = x7;
23569 74200 : operands[4] = x5;
23570 74200 : x8 = XVECEXP (x3, 0, 2);
23571 74200 : operands[5] = x8;
23572 74200 : x9 = XVECEXP (x3, 0, 3);
23573 74200 : operands[6] = x9;
23574 74200 : x10 = XVECEXP (x3, 0, 4);
23575 74200 : operands[7] = x10;
23576 74200 : x11 = XVECEXP (x3, 0, 5);
23577 74200 : operands[8] = x11;
23578 74200 : x12 = XVECEXP (x3, 0, 6);
23579 74200 : operands[9] = x12;
23580 74200 : x13 = XVECEXP (x3, 0, 7);
23581 74200 : operands[10] = x13;
23582 74200 : x14 = XVECEXP (x3, 0, 8);
23583 74200 : operands[11] = x14;
23584 74200 : x15 = XVECEXP (x3, 0, 9);
23585 74200 : operands[12] = x15;
23586 74200 : x16 = XVECEXP (x3, 0, 10);
23587 74200 : operands[13] = x16;
23588 74200 : x17 = XVECEXP (x3, 0, 11);
23589 74200 : operands[14] = x17;
23590 74200 : x18 = XVECEXP (x3, 0, 12);
23591 74200 : operands[15] = x18;
23592 74200 : x19 = XVECEXP (x3, 0, 13);
23593 74200 : operands[16] = x19;
23594 74200 : x20 = XVECEXP (x3, 0, 14);
23595 74200 : operands[17] = x20;
23596 74200 : x21 = XVECEXP (x3, 0, 15);
23597 74200 : operands[18] = x21;
23598 74200 : switch (GET_MODE (operands[0]))
23599 : {
23600 795 : case E_V16SFmode:
23601 795 : if (pattern1458 (x2,
23602 : E_V16SFmode,
23603 : E_V32SFmode) != 0)
23604 : return -1;
23605 740 : if (const_0_to_3_operand (operands[3], E_VOIDmode)
23606 465 : && const_0_to_3_operand (operands[4], E_VOIDmode)
23607 432 : && const_16_to_19_operand (operands[5], E_VOIDmode)
23608 88 : && const_16_to_19_operand (operands[6], E_VOIDmode)
23609 88 : && const_4_to_7_operand (operands[7], E_VOIDmode)
23610 73 : && const_4_to_7_operand (operands[8], E_VOIDmode)
23611 73 : && const_20_to_23_operand (operands[9], E_VOIDmode)
23612 73 : && const_20_to_23_operand (operands[10], E_VOIDmode)
23613 73 : && const_8_to_11_operand (operands[11], E_VOIDmode)
23614 73 : && const_8_to_11_operand (operands[12], E_VOIDmode)
23615 73 : && const_24_to_27_operand (operands[13], E_VOIDmode)
23616 73 : && const_24_to_27_operand (operands[14], E_VOIDmode)
23617 73 : && const_12_to_15_operand (operands[15], E_VOIDmode)
23618 73 : && const_12_to_15_operand (operands[16], E_VOIDmode)
23619 73 : && const_28_to_31_operand (operands[17], E_VOIDmode)
23620 73 : && const_28_to_31_operand (operands[18], E_VOIDmode)
23621 813 : && insn_condition_1698 (operands, insn))
23622 : return 5870; /* avx512f_shufps512_1 */
23623 667 : if (!const_0_to_15_operand (operands[3], E_VOIDmode)
23624 460 : || pattern1926 () != 0
23625 1049 : || !insn_condition_1699 (operands, insn))
23626 462 : return -1;
23627 : return 7095; /* avx512f_shuf_f32x4_1 */
23628 :
23629 911 : case E_V16SImode:
23630 911 : if (pattern1458 (x2,
23631 : E_V16SImode,
23632 : E_V32SImode) != 0
23633 889 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
23634 759 : || pattern1926 () != 0
23635 1360 : || !insn_condition_1699 (operands, insn))
23636 483 : return -1;
23637 : return 7097; /* avx512f_shuf_i32x4_1 */
23638 :
23639 : default:
23640 : return -1;
23641 : }
23642 : }
23643 :
23644 : int
23645 5016 : recog_309 (rtx x1 ATTRIBUTE_UNUSED,
23646 : rtx_insn *insn ATTRIBUTE_UNUSED,
23647 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23648 : {
23649 5016 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23650 5016 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23651 5016 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
23652 5016 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
23653 5016 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
23654 5016 : rtx x34, x35, x36, x37;
23655 5016 : int res ATTRIBUTE_UNUSED;
23656 5016 : x2 = XEXP (x1, 1);
23657 5016 : x3 = XEXP (x2, 1);
23658 5016 : if (pattern713 (x3) != 0)
23659 : return -1;
23660 5016 : x4 = XEXP (x2, 0);
23661 5016 : x5 = XEXP (x4, 1);
23662 5016 : operands[2] = x5;
23663 5016 : x6 = XVECEXP (x3, 0, 0);
23664 5016 : switch (XWINT (x6, 0))
23665 : {
23666 1047 : case 8L:
23667 1047 : x7 = XVECEXP (x3, 0, 1);
23668 1047 : if (XWINT (x7, 0) != 40L)
23669 : return -1;
23670 1009 : x8 = XVECEXP (x3, 0, 2);
23671 1009 : if (XWINT (x8, 0) != 9L)
23672 : return -1;
23673 993 : x9 = XVECEXP (x3, 0, 3);
23674 993 : if (XWINT (x9, 0) != 41L)
23675 : return -1;
23676 993 : x10 = XVECEXP (x3, 0, 4);
23677 993 : if (XWINT (x10, 0) != 10L)
23678 : return -1;
23679 993 : x11 = XVECEXP (x3, 0, 5);
23680 993 : if (XWINT (x11, 0) != 42L)
23681 : return -1;
23682 993 : x12 = XVECEXP (x3, 0, 6);
23683 993 : if (XWINT (x12, 0) != 11L)
23684 : return -1;
23685 993 : x13 = XVECEXP (x3, 0, 7);
23686 993 : if (XWINT (x13, 0) != 43L
23687 993 : || pattern1955 (x3) != 0)
23688 : return -1;
23689 993 : x14 = XVECEXP (x3, 0, 16);
23690 993 : if (XWINT (x14, 0) != 24L)
23691 : return -1;
23692 993 : x15 = XVECEXP (x3, 0, 17);
23693 993 : if (XWINT (x15, 0) != 56L)
23694 : return -1;
23695 993 : x16 = XVECEXP (x3, 0, 18);
23696 993 : if (XWINT (x16, 0) != 25L)
23697 : return -1;
23698 993 : x17 = XVECEXP (x3, 0, 19);
23699 993 : if (XWINT (x17, 0) != 57L)
23700 : return -1;
23701 993 : x18 = XVECEXP (x3, 0, 20);
23702 993 : if (XWINT (x18, 0) != 26L)
23703 : return -1;
23704 993 : x19 = XVECEXP (x3, 0, 21);
23705 993 : if (XWINT (x19, 0) != 58L)
23706 : return -1;
23707 993 : x20 = XVECEXP (x3, 0, 22);
23708 993 : if (XWINT (x20, 0) != 27L)
23709 : return -1;
23710 993 : x21 = XVECEXP (x3, 0, 23);
23711 993 : if (XWINT (x21, 0) != 59L
23712 993 : || pattern1961 (x3) != 0
23713 993 : || pattern1458 (x2,
23714 : E_V32QImode,
23715 : E_V64QImode) != 0
23716 1935 : || !insn_condition_1697 (operands, insn))
23717 51 : return -1;
23718 : return 6986; /* avx2_interleave_highv32qi */
23719 :
23720 2492 : case 0L:
23721 2492 : x7 = XVECEXP (x3, 0, 1);
23722 2492 : if (XWINT (x7, 0) != 32L)
23723 : return -1;
23724 1298 : x8 = XVECEXP (x3, 0, 2);
23725 1298 : if (XWINT (x8, 0) != 1L)
23726 : return -1;
23727 1213 : x9 = XVECEXP (x3, 0, 3);
23728 1213 : if (XWINT (x9, 0) != 33L)
23729 : return -1;
23730 1207 : x10 = XVECEXP (x3, 0, 4);
23731 1207 : if (XWINT (x10, 0) != 2L)
23732 : return -1;
23733 1207 : x11 = XVECEXP (x3, 0, 5);
23734 1207 : if (XWINT (x11, 0) != 34L)
23735 : return -1;
23736 1207 : x12 = XVECEXP (x3, 0, 6);
23737 1207 : if (XWINT (x12, 0) != 3L)
23738 : return -1;
23739 1207 : x13 = XVECEXP (x3, 0, 7);
23740 1207 : if (XWINT (x13, 0) != 35L)
23741 : return -1;
23742 1207 : x14 = XVECEXP (x3, 0, 16);
23743 1207 : if (XWINT (x14, 0) != 16L)
23744 : return -1;
23745 1157 : x15 = XVECEXP (x3, 0, 17);
23746 1157 : if (XWINT (x15, 0) != 48L)
23747 : return -1;
23748 1157 : x16 = XVECEXP (x3, 0, 18);
23749 1157 : if (XWINT (x16, 0) != 17L)
23750 : return -1;
23751 1157 : x17 = XVECEXP (x3, 0, 19);
23752 1157 : if (XWINT (x17, 0) != 49L)
23753 : return -1;
23754 1157 : x18 = XVECEXP (x3, 0, 20);
23755 1157 : if (XWINT (x18, 0) != 18L)
23756 : return -1;
23757 1157 : x19 = XVECEXP (x3, 0, 21);
23758 1157 : if (XWINT (x19, 0) != 50L)
23759 : return -1;
23760 1157 : x20 = XVECEXP (x3, 0, 22);
23761 1157 : if (XWINT (x20, 0) != 19L)
23762 : return -1;
23763 1157 : x21 = XVECEXP (x3, 0, 23);
23764 1157 : if (XWINT (x21, 0) != 51L)
23765 : return -1;
23766 1157 : x22 = XVECEXP (x3, 0, 8);
23767 1157 : switch (XWINT (x22, 0))
23768 : {
23769 1090 : case 4L:
23770 1090 : x23 = XVECEXP (x3, 0, 9);
23771 1090 : if (XWINT (x23, 0) != 36L)
23772 : return -1;
23773 1090 : x24 = XVECEXP (x3, 0, 10);
23774 1090 : if (XWINT (x24, 0) != 5L)
23775 : return -1;
23776 1090 : x25 = XVECEXP (x3, 0, 11);
23777 1090 : if (XWINT (x25, 0) != 37L)
23778 : return -1;
23779 1090 : x26 = XVECEXP (x3, 0, 12);
23780 1090 : if (XWINT (x26, 0) != 6L)
23781 : return -1;
23782 1090 : x27 = XVECEXP (x3, 0, 13);
23783 1090 : if (XWINT (x27, 0) != 38L)
23784 : return -1;
23785 1090 : x28 = XVECEXP (x3, 0, 14);
23786 1090 : if (XWINT (x28, 0) != 7L)
23787 : return -1;
23788 1090 : x29 = XVECEXP (x3, 0, 15);
23789 1090 : if (XWINT (x29, 0) != 39L)
23790 : return -1;
23791 1090 : x30 = XVECEXP (x3, 0, 24);
23792 1090 : if (XWINT (x30, 0) != 20L)
23793 : return -1;
23794 1090 : x31 = XVECEXP (x3, 0, 25);
23795 1090 : if (XWINT (x31, 0) != 52L)
23796 : return -1;
23797 1090 : x32 = XVECEXP (x3, 0, 26);
23798 1090 : if (XWINT (x32, 0) != 21L)
23799 : return -1;
23800 1090 : x33 = XVECEXP (x3, 0, 27);
23801 1090 : if (XWINT (x33, 0) != 53L)
23802 : return -1;
23803 1090 : x34 = XVECEXP (x3, 0, 28);
23804 1090 : if (XWINT (x34, 0) != 22L)
23805 : return -1;
23806 1090 : x35 = XVECEXP (x3, 0, 29);
23807 1090 : if (XWINT (x35, 0) != 54L)
23808 : return -1;
23809 1090 : x36 = XVECEXP (x3, 0, 30);
23810 1090 : if (XWINT (x36, 0) != 23L)
23811 : return -1;
23812 1090 : x37 = XVECEXP (x3, 0, 31);
23813 1090 : if (XWINT (x37, 0) != 55L
23814 1090 : || pattern1458 (x2,
23815 : E_V32QImode,
23816 : E_V64QImode) != 0
23817 2115 : || !insn_condition_1697 (operands, insn))
23818 65 : return -1;
23819 : return 6992; /* avx2_interleave_lowv32qi */
23820 :
23821 67 : case 8L:
23822 67 : x23 = XVECEXP (x3, 0, 9);
23823 67 : if (XWINT (x23, 0) != 40L)
23824 : return -1;
23825 67 : x24 = XVECEXP (x3, 0, 10);
23826 67 : if (XWINT (x24, 0) != 9L)
23827 : return -1;
23828 67 : x25 = XVECEXP (x3, 0, 11);
23829 67 : if (XWINT (x25, 0) != 41L)
23830 : return -1;
23831 67 : x26 = XVECEXP (x3, 0, 12);
23832 67 : if (XWINT (x26, 0) != 10L)
23833 : return -1;
23834 67 : x27 = XVECEXP (x3, 0, 13);
23835 67 : if (XWINT (x27, 0) != 42L)
23836 : return -1;
23837 67 : x28 = XVECEXP (x3, 0, 14);
23838 67 : if (XWINT (x28, 0) != 11L)
23839 : return -1;
23840 67 : x29 = XVECEXP (x3, 0, 15);
23841 67 : if (XWINT (x29, 0) != 43L)
23842 : return -1;
23843 67 : x30 = XVECEXP (x3, 0, 24);
23844 67 : if (XWINT (x30, 0) != 24L)
23845 : return -1;
23846 67 : x31 = XVECEXP (x3, 0, 25);
23847 67 : if (XWINT (x31, 0) != 56L)
23848 : return -1;
23849 67 : x32 = XVECEXP (x3, 0, 26);
23850 67 : if (XWINT (x32, 0) != 25L)
23851 : return -1;
23852 67 : x33 = XVECEXP (x3, 0, 27);
23853 67 : if (XWINT (x33, 0) != 57L)
23854 : return -1;
23855 67 : x34 = XVECEXP (x3, 0, 28);
23856 67 : if (XWINT (x34, 0) != 26L)
23857 : return -1;
23858 67 : x35 = XVECEXP (x3, 0, 29);
23859 67 : if (XWINT (x35, 0) != 58L)
23860 : return -1;
23861 67 : x36 = XVECEXP (x3, 0, 30);
23862 67 : if (XWINT (x36, 0) != 27L)
23863 : return -1;
23864 67 : x37 = XVECEXP (x3, 0, 31);
23865 67 : if (XWINT (x37, 0) != 59L)
23866 : return -1;
23867 67 : switch (GET_MODE (operands[0]))
23868 : {
23869 67 : case E_V32HImode:
23870 67 : if (pattern1458 (x2,
23871 : E_V32HImode,
23872 : E_V64HImode) != 0
23873 67 : || !insn_condition_12 (operands, insn))
23874 3 : return -1;
23875 : return 7014; /* *avx512bw_interleave_lowv32hi */
23876 :
23877 0 : case E_V32HFmode:
23878 0 : if (pattern1458 (x2,
23879 : E_V32HFmode,
23880 : E_V64HFmode) != 0
23881 0 : || !insn_condition_12 (operands, insn))
23882 0 : return -1;
23883 : return 7016; /* *avx512bw_interleave_lowv32hf */
23884 :
23885 0 : case E_V32BFmode:
23886 0 : if (pattern1458 (x2,
23887 : E_V32BFmode,
23888 : E_V64BFmode) != 0
23889 0 : || !insn_condition_12 (operands, insn))
23890 0 : return -1;
23891 : return 7018; /* *avx512bw_interleave_lowv32bf */
23892 :
23893 : default:
23894 : return -1;
23895 : }
23896 :
23897 : default:
23898 : return -1;
23899 : }
23900 :
23901 67 : case 4L:
23902 67 : x7 = XVECEXP (x3, 0, 1);
23903 67 : if (XWINT (x7, 0) != 36L)
23904 : return -1;
23905 67 : x8 = XVECEXP (x3, 0, 2);
23906 67 : if (XWINT (x8, 0) != 5L)
23907 : return -1;
23908 67 : x9 = XVECEXP (x3, 0, 3);
23909 67 : if (XWINT (x9, 0) != 37L)
23910 : return -1;
23911 67 : x10 = XVECEXP (x3, 0, 4);
23912 67 : if (XWINT (x10, 0) != 6L)
23913 : return -1;
23914 67 : x11 = XVECEXP (x3, 0, 5);
23915 67 : if (XWINT (x11, 0) != 38L)
23916 : return -1;
23917 67 : x12 = XVECEXP (x3, 0, 6);
23918 67 : if (XWINT (x12, 0) != 7L)
23919 : return -1;
23920 67 : x13 = XVECEXP (x3, 0, 7);
23921 67 : if (XWINT (x13, 0) != 39L
23922 67 : || pattern1955 (x3) != 0)
23923 : return -1;
23924 67 : x14 = XVECEXP (x3, 0, 16);
23925 67 : if (XWINT (x14, 0) != 20L)
23926 : return -1;
23927 67 : x15 = XVECEXP (x3, 0, 17);
23928 67 : if (XWINT (x15, 0) != 52L)
23929 : return -1;
23930 67 : x16 = XVECEXP (x3, 0, 18);
23931 67 : if (XWINT (x16, 0) != 21L)
23932 : return -1;
23933 67 : x17 = XVECEXP (x3, 0, 19);
23934 67 : if (XWINT (x17, 0) != 53L)
23935 : return -1;
23936 67 : x18 = XVECEXP (x3, 0, 20);
23937 67 : if (XWINT (x18, 0) != 22L)
23938 : return -1;
23939 67 : x19 = XVECEXP (x3, 0, 21);
23940 67 : if (XWINT (x19, 0) != 54L)
23941 : return -1;
23942 67 : x20 = XVECEXP (x3, 0, 22);
23943 67 : if (XWINT (x20, 0) != 23L)
23944 : return -1;
23945 67 : x21 = XVECEXP (x3, 0, 23);
23946 67 : if (XWINT (x21, 0) != 55L
23947 67 : || pattern1961 (x3) != 0)
23948 : return -1;
23949 67 : switch (GET_MODE (operands[0]))
23950 : {
23951 67 : case E_V32HImode:
23952 67 : if (pattern1458 (x2,
23953 : E_V32HImode,
23954 : E_V64HImode) != 0
23955 67 : || !insn_condition_12 (operands, insn))
23956 3 : return -1;
23957 : return 6996; /* avx512bw_interleave_highv32hi */
23958 :
23959 0 : case E_V32HFmode:
23960 0 : if (pattern1458 (x2,
23961 : E_V32HFmode,
23962 : E_V64HFmode) != 0
23963 0 : || !insn_condition_12 (operands, insn))
23964 0 : return -1;
23965 : return 6998; /* avx512bw_interleave_highv32hf */
23966 :
23967 0 : case E_V32BFmode:
23968 0 : if (pattern1458 (x2,
23969 : E_V32BFmode,
23970 : E_V64BFmode) != 0
23971 0 : || !insn_condition_12 (operands, insn))
23972 0 : return -1;
23973 : return 7000; /* avx512bw_interleave_highv32bf */
23974 :
23975 : default:
23976 : return -1;
23977 : }
23978 :
23979 : default:
23980 : return -1;
23981 : }
23982 : }
23983 :
23984 : int
23985 12232 : recog_319 (rtx x1 ATTRIBUTE_UNUSED,
23986 : rtx_insn *insn ATTRIBUTE_UNUSED,
23987 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23988 : {
23989 12232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23990 12232 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23991 12232 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
23992 12232 : int res ATTRIBUTE_UNUSED;
23993 12232 : x2 = XEXP (x1, 1);
23994 12232 : x3 = XEXP (x2, 1);
23995 12232 : x4 = XVECEXP (x3, 0, 1);
23996 12232 : operands[3] = x4;
23997 12232 : x5 = XVECEXP (x3, 0, 2);
23998 12232 : operands[4] = x5;
23999 12232 : x6 = XVECEXP (x3, 0, 3);
24000 12232 : operands[5] = x6;
24001 12232 : x7 = XVECEXP (x3, 0, 5);
24002 12232 : operands[7] = x7;
24003 12232 : x8 = XVECEXP (x3, 0, 6);
24004 12232 : operands[8] = x8;
24005 12232 : x9 = XVECEXP (x3, 0, 7);
24006 12232 : operands[9] = x9;
24007 12232 : x10 = XVECEXP (x3, 0, 8);
24008 12232 : operands[10] = x10;
24009 12232 : x11 = XVECEXP (x3, 0, 9);
24010 12232 : operands[11] = x11;
24011 12232 : x12 = XVECEXP (x3, 0, 10);
24012 12232 : operands[12] = x12;
24013 12232 : x13 = XVECEXP (x3, 0, 11);
24014 12232 : operands[13] = x13;
24015 12232 : x14 = XVECEXP (x3, 0, 12);
24016 12232 : operands[14] = x14;
24017 12232 : x15 = XVECEXP (x3, 0, 13);
24018 12232 : operands[15] = x15;
24019 12232 : x16 = XVECEXP (x3, 0, 14);
24020 12232 : operands[16] = x16;
24021 12232 : x17 = XVECEXP (x3, 0, 15);
24022 12232 : operands[17] = x17;
24023 12232 : switch (GET_MODE (operands[0]))
24024 : {
24025 246 : case E_V16SFmode:
24026 246 : if (!register_operand (operands[0], E_V16SFmode)
24027 240 : || GET_MODE (x2) != E_V16SFmode
24028 240 : || !register_operand (operands[1], E_V16SFmode)
24029 230 : || pattern1903 () != 0
24030 476 : || !insn_condition_1716 (operands, insn))
24031 156 : return -1;
24032 : return 7099; /* *avx512f_shuf_f32x4_1_1 */
24033 :
24034 523 : case E_V16SImode:
24035 523 : if (!register_operand (operands[0], E_V16SImode)
24036 523 : || GET_MODE (x2) != E_V16SImode)
24037 : return -1;
24038 519 : if (register_operand (operands[1], E_V16SImode)
24039 508 : && pattern1903 () == 0
24040 1027 : && insn_condition_1716 (operands, insn))
24041 : return 7101; /* *avx512f_shuf_i32x4_1_1 */
24042 185 : if (!nonimmediate_operand (operands[1], E_V16SImode)
24043 185 : || pattern1769 () != 0
24044 112 : || !const_8_to_11_operand (operands[10], E_VOIDmode)
24045 112 : || !const_8_to_11_operand (operands[11], E_VOIDmode)
24046 112 : || !const_8_to_11_operand (operands[12], E_VOIDmode)
24047 112 : || !const_8_to_11_operand (operands[13], E_VOIDmode)
24048 112 : || !const_12_to_15_operand (operands[14], E_VOIDmode)
24049 112 : || !const_12_to_15_operand (operands[15], E_VOIDmode)
24050 112 : || !const_12_to_15_operand (operands[16], E_VOIDmode)
24051 112 : || !const_12_to_15_operand (operands[17], E_VOIDmode)
24052 297 : || !insn_condition_1717 (operands, insn))
24053 73 : return -1;
24054 : return 7103; /* avx512f_pshufd_1 */
24055 :
24056 : default:
24057 : return -1;
24058 : }
24059 : }
24060 :
24061 : int
24062 1489629 : recog_326 (rtx x1 ATTRIBUTE_UNUSED,
24063 : rtx_insn *insn ATTRIBUTE_UNUSED,
24064 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24065 : {
24066 1489629 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24067 1489629 : rtx x2, x3, x4;
24068 1489629 : int res ATTRIBUTE_UNUSED;
24069 1489629 : x2 = XEXP (x1, 1);
24070 1489629 : x3 = XEXP (x2, 0);
24071 1489629 : operands[1] = x3;
24072 1489629 : x4 = XEXP (x2, 1);
24073 1489629 : operands[2] = x4;
24074 1489629 : switch (GET_MODE (operands[0]))
24075 : {
24076 1 : case E_V16BFmode:
24077 1 : if (GET_MODE (x2) != E_V16BFmode)
24078 : return -1;
24079 1 : if (register_operand (operands[0], E_V16BFmode)
24080 1 : && vector_operand (operands[1], E_V16BFmode)
24081 1 : && vector_operand (operands[2], E_V16BFmode)
24082 2 : && insn_condition_1738 (operands, insn))
24083 : return 3895; /* *andv16bf3 */
24084 0 : if (!nonimmediate_operand (operands[0], E_V16BFmode)
24085 0 : || !nonimmediate_operand (operands[1], E_V16BFmode)
24086 0 : || !float_vector_all_ones_operand (operands[2], E_V16BFmode)
24087 0 : || !insn_condition_1739 (operands, insn))
24088 0 : return -1;
24089 : return 3950; /* *bit_and_float_vector_all_ones */
24090 :
24091 1 : case E_V8BFmode:
24092 1 : if (GET_MODE (x2) != E_V8BFmode)
24093 : return -1;
24094 1 : if (register_operand (operands[0], E_V8BFmode)
24095 1 : && vector_operand (operands[1], E_V8BFmode)
24096 1 : && vector_operand (operands[2], E_V8BFmode)
24097 2 : && insn_condition_1740 (operands, insn))
24098 : return 3898; /* *andv8bf3 */
24099 0 : if (!nonimmediate_operand (operands[0], E_V8BFmode)
24100 0 : || !nonimmediate_operand (operands[1], E_V8BFmode)
24101 0 : || !float_vector_all_ones_operand (operands[2], E_V8BFmode)
24102 0 : || !insn_condition_1741 (operands, insn))
24103 0 : return -1;
24104 : return 3951; /* *bit_and_float_vector_all_ones */
24105 :
24106 51 : case E_V16HFmode:
24107 51 : if (GET_MODE (x2) != E_V16HFmode)
24108 : return -1;
24109 51 : if (register_operand (operands[0], E_V16HFmode)
24110 51 : && vector_operand (operands[1], E_V16HFmode)
24111 51 : && vector_operand (operands[2], E_V16HFmode)
24112 93 : && insn_condition_1738 (operands, insn))
24113 : return 3901; /* *andv16hf3 */
24114 9 : if (!nonimmediate_operand (operands[0], E_V16HFmode)
24115 9 : || !nonimmediate_operand (operands[1], E_V16HFmode)
24116 9 : || !float_vector_all_ones_operand (operands[2], E_V16HFmode)
24117 9 : || !insn_condition_1739 (operands, insn))
24118 9 : return -1;
24119 : return 3953; /* *bit_and_float_vector_all_ones */
24120 :
24121 366 : case E_V8HFmode:
24122 366 : if (GET_MODE (x2) != E_V8HFmode)
24123 : return -1;
24124 366 : if (register_operand (operands[0], E_V8HFmode)
24125 366 : && vector_operand (operands[1], E_V8HFmode)
24126 348 : && vector_operand (operands[2], E_V8HFmode)
24127 612 : && insn_condition_1740 (operands, insn))
24128 : return 3904; /* *andv8hf3 */
24129 120 : if (!nonimmediate_operand (operands[0], E_V8HFmode)
24130 120 : || !nonimmediate_operand (operands[1], E_V8HFmode)
24131 102 : || !float_vector_all_ones_operand (operands[2], E_V8HFmode)
24132 120 : || !insn_condition_1741 (operands, insn))
24133 120 : return -1;
24134 : return 3954; /* *bit_and_float_vector_all_ones */
24135 :
24136 628 : case E_V8SFmode:
24137 628 : if (GET_MODE (x2) != E_V8SFmode)
24138 : return -1;
24139 628 : if (register_operand (operands[0], E_V8SFmode)
24140 594 : && vector_operand (operands[1], E_V8SFmode)
24141 589 : && vector_operand (operands[2], E_V8SFmode)
24142 1120 : && insn_condition_1742 (operands, insn))
24143 : return 3907; /* *andv8sf3 */
24144 156 : if (!nonimmediate_operand (operands[0], E_V8SFmode)
24145 156 : || !nonimmediate_operand (operands[1], E_V8SFmode)
24146 151 : || !float_vector_all_ones_operand (operands[2], E_V8SFmode)
24147 163 : || !insn_condition_1739 (operands, insn))
24148 149 : return -1;
24149 : return 3956; /* *bit_and_float_vector_all_ones */
24150 :
24151 212131 : case E_V4SFmode:
24152 212131 : if (GET_MODE (x2) != E_V4SFmode)
24153 : return -1;
24154 212131 : if (register_operand (operands[0], E_V4SFmode)
24155 211498 : && vector_operand (operands[1], E_V4SFmode)
24156 210064 : && vector_operand (operands[2], E_V4SFmode)
24157 394236 : && insn_condition_1743 (operands, insn))
24158 : return 3913; /* *andv4sf3 */
24159 30059 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
24160 30059 : || !nonimmediate_operand (operands[1], E_V4SFmode)
24161 28630 : || !float_vector_all_ones_operand (operands[2], E_V4SFmode)
24162 30069 : || !insn_condition_1744 (operands, insn))
24163 30049 : return -1;
24164 : return 3957; /* *bit_and_float_vector_all_ones */
24165 :
24166 2889 : case E_V4DFmode:
24167 2889 : if (GET_MODE (x2) != E_V4DFmode)
24168 : return -1;
24169 2889 : if (register_operand (operands[0], E_V4DFmode)
24170 2246 : && vector_operand (operands[1], E_V4DFmode)
24171 2238 : && vector_operand (operands[2], E_V4DFmode)
24172 4475 : && insn_condition_1745 (operands, insn))
24173 : return 3919; /* *andv4df3 */
24174 1508 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
24175 1508 : || !nonimmediate_operand (operands[1], E_V4DFmode)
24176 1500 : || !float_vector_all_ones_operand (operands[2], E_V4DFmode)
24177 1515 : || !insn_condition_1739 (operands, insn))
24178 1501 : return -1;
24179 : return 3959; /* *bit_and_float_vector_all_ones */
24180 :
24181 218627 : case E_V2DFmode:
24182 218627 : if (GET_MODE (x2) != E_V2DFmode)
24183 : return -1;
24184 218627 : if (register_operand (operands[0], E_V2DFmode)
24185 218264 : && vector_operand (operands[1], E_V2DFmode)
24186 216834 : && vector_operand (operands[2], E_V2DFmode)
24187 408246 : && insn_condition_1746 (operands, insn))
24188 : return 3925; /* *andv2df3 */
24189 29017 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
24190 29017 : || !nonimmediate_operand (operands[1], E_V2DFmode)
24191 27593 : || !float_vector_all_ones_operand (operands[2], E_V2DFmode)
24192 29024 : || !insn_condition_1741 (operands, insn))
24193 29010 : return -1;
24194 : return 3960; /* *bit_and_float_vector_all_ones */
24195 :
24196 1 : case E_V32BFmode:
24197 1 : if (GET_MODE (x2) != E_V32BFmode
24198 1 : || !nonimmediate_operand (operands[1], E_V32BFmode))
24199 : return -1;
24200 1 : if (register_operand (operands[0], E_V32BFmode)
24201 1 : && nonimmediate_operand (operands[2], E_V32BFmode)
24202 2 : && insn_condition_1747 (operands, insn))
24203 : return 3931; /* *andv32bf3 */
24204 0 : if (!nonimmediate_operand (operands[0], E_V32BFmode)
24205 0 : || !float_vector_all_ones_operand (operands[2], E_V32BFmode)
24206 0 : || !insn_condition_1748 (operands, insn))
24207 0 : return -1;
24208 : return 3949; /* *bit_and_float_vector_all_ones */
24209 :
24210 44 : case E_V32HFmode:
24211 44 : if (GET_MODE (x2) != E_V32HFmode
24212 44 : || !nonimmediate_operand (operands[1], E_V32HFmode))
24213 : return -1;
24214 44 : if (register_operand (operands[0], E_V32HFmode)
24215 44 : && nonimmediate_operand (operands[2], E_V32HFmode)
24216 81 : && insn_condition_1747 (operands, insn))
24217 : return 3934; /* *andv32hf3 */
24218 7 : if (!nonimmediate_operand (operands[0], E_V32HFmode)
24219 7 : || !float_vector_all_ones_operand (operands[2], E_V32HFmode)
24220 7 : || !insn_condition_1748 (operands, insn))
24221 7 : return -1;
24222 : return 3952; /* *bit_and_float_vector_all_ones */
24223 :
24224 276 : case E_V16SFmode:
24225 276 : if (GET_MODE (x2) != E_V16SFmode
24226 276 : || !nonimmediate_operand (operands[1], E_V16SFmode))
24227 : return -1;
24228 258 : if (register_operand (operands[0], E_V16SFmode)
24229 253 : && nonimmediate_operand (operands[2], E_V16SFmode)
24230 445 : && insn_condition_1749 (operands, insn))
24231 : return 3937; /* *andv16sf3 */
24232 72 : if (!nonimmediate_operand (operands[0], E_V16SFmode)
24233 72 : || !float_vector_all_ones_operand (operands[2], E_V16SFmode)
24234 79 : || !insn_condition_1748 (operands, insn))
24235 65 : return -1;
24236 : return 3955; /* *bit_and_float_vector_all_ones */
24237 :
24238 213 : case E_V8DFmode:
24239 213 : if (GET_MODE (x2) != E_V8DFmode
24240 213 : || !nonimmediate_operand (operands[1], E_V8DFmode))
24241 : return -1;
24242 195 : if (register_operand (operands[0], E_V8DFmode)
24243 190 : && nonimmediate_operand (operands[2], E_V8DFmode)
24244 336 : && insn_condition_1750 (operands, insn))
24245 : return 3943; /* *andv8df3 */
24246 55 : if (!nonimmediate_operand (operands[0], E_V8DFmode)
24247 55 : || !float_vector_all_ones_operand (operands[2], E_V8DFmode)
24248 62 : || !insn_condition_1748 (operands, insn))
24249 48 : return -1;
24250 : return 3958; /* *bit_and_float_vector_all_ones */
24251 :
24252 8369 : case E_V16SImode:
24253 8369 : if (pattern226 (x2,
24254 : E_V16SImode) != 0
24255 8369 : || !insn_condition_1751 (operands, insn))
24256 897 : return -1;
24257 : return 6717; /* *andv16si3 */
24258 :
24259 31777 : case E_V8SImode:
24260 31777 : if (pattern226 (x2,
24261 : E_V8SImode) != 0
24262 31777 : || !insn_condition_1752 (operands, insn))
24263 4988 : return -1;
24264 : return 6723; /* *andv8si3 */
24265 :
24266 164242 : case E_V4SImode:
24267 164242 : if (pattern226 (x2,
24268 : E_V4SImode) != 0
24269 164242 : || !insn_condition_1753 (operands, insn))
24270 23196 : return -1;
24271 : return 6729; /* *andv4si3 */
24272 :
24273 6606 : case E_V8DImode:
24274 6606 : if (pattern226 (x2,
24275 : E_V8DImode) != 0
24276 6606 : || !insn_condition_1754 (operands, insn))
24277 2377 : return -1;
24278 : return 6735; /* *andv8di3 */
24279 :
24280 21758 : case E_V4DImode:
24281 21758 : if (pattern226 (x2,
24282 : E_V4DImode) != 0
24283 21758 : || !insn_condition_1755 (operands, insn))
24284 7750 : return -1;
24285 : return 6741; /* *andv4di3 */
24286 :
24287 107536 : case E_V2DImode:
24288 107536 : if (pattern226 (x2,
24289 : E_V2DImode) != 0
24290 107536 : || !insn_condition_1756 (operands, insn))
24291 21282 : return -1;
24292 : return 6747; /* *andv2di3 */
24293 :
24294 415 : case E_V64QImode:
24295 415 : if (pattern26 (x2,
24296 : E_V64QImode) != 0
24297 415 : || !insn_condition_1757 (operands, insn))
24298 109 : return -1;
24299 : return 6753; /* *andv64qi3 */
24300 :
24301 542 : case E_V32QImode:
24302 542 : if (pattern26 (x2,
24303 : E_V32QImode) != 0
24304 542 : || !insn_condition_1758 (operands, insn))
24305 223 : return -1;
24306 : return 6756; /* *andv32qi3 */
24307 :
24308 26409 : case E_V16QImode:
24309 26409 : if (pattern26 (x2,
24310 : E_V16QImode) != 0
24311 26409 : || !insn_condition_237 (operands, insn))
24312 7905 : return -1;
24313 : return 6759; /* *andv16qi3 */
24314 :
24315 64 : case E_V32HImode:
24316 64 : if (pattern26 (x2,
24317 : E_V32HImode) != 0
24318 64 : || !insn_condition_1757 (operands, insn))
24319 10 : return -1;
24320 : return 6762; /* *andv32hi3 */
24321 :
24322 2173 : case E_V16HImode:
24323 2173 : if (pattern26 (x2,
24324 : E_V16HImode) != 0
24325 2173 : || !insn_condition_1758 (operands, insn))
24326 579 : return -1;
24327 : return 6765; /* *andv16hi3 */
24328 :
24329 94144 : case E_V8HImode:
24330 94144 : if (pattern26 (x2,
24331 : E_V8HImode) != 0
24332 94144 : || !insn_condition_237 (operands, insn))
24333 9051 : return -1;
24334 : return 6768; /* *andv8hi3 */
24335 :
24336 627 : case E_V1TImode:
24337 627 : if (pattern710 (x2,
24338 : E_V1TImode) != 0
24339 627 : || !insn_condition_141 (operands, insn))
24340 352 : return -1;
24341 : return 6771; /* andv1ti3 */
24342 :
24343 : default:
24344 : return -1;
24345 : }
24346 : }
24347 :
24348 : int
24349 1433679 : recog_333 (rtx x1 ATTRIBUTE_UNUSED,
24350 : rtx_insn *insn ATTRIBUTE_UNUSED,
24351 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24352 : {
24353 1433679 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24354 1433679 : rtx x2, x3, x4, x5, x6, x7, x8;
24355 1433679 : int res ATTRIBUTE_UNUSED;
24356 1433679 : x2 = XEXP (x1, 0);
24357 1433679 : operands[0] = x2;
24358 1433679 : x3 = XEXP (x1, 1);
24359 1433679 : x4 = XEXP (x3, 0);
24360 1433679 : switch (GET_CODE (x4))
24361 : {
24362 158186 : case UNSPEC:
24363 158186 : return recog_201 (x1, insn, pnum_clobbers);
24364 :
24365 36090 : case VEC_MERGE:
24366 36090 : return recog_198 (x1, insn, pnum_clobbers);
24367 :
24368 54690 : case PLUS:
24369 54690 : return recog_221 (x1, insn, pnum_clobbers);
24370 :
24371 28078 : case MINUS:
24372 28078 : return recog_211 (x1, insn, pnum_clobbers);
24373 :
24374 700311 : case VEC_DUPLICATE:
24375 700311 : return recog_196 (x1, insn, pnum_clobbers);
24376 :
24377 7640 : case MULT:
24378 7640 : return recog_203 (x1, insn, pnum_clobbers);
24379 :
24380 3348 : case DIV:
24381 3348 : return recog_220 (x1, insn, pnum_clobbers);
24382 :
24383 2695 : case SQRT:
24384 2695 : return recog_215 (x1, insn, pnum_clobbers);
24385 :
24386 4438 : case SMAX:
24387 4438 : return recog_213 (x1, insn, pnum_clobbers);
24388 :
24389 4294 : case SMIN:
24390 4294 : return recog_214 (x1, insn, pnum_clobbers);
24391 :
24392 280356 : case CONST_INT:
24393 280356 : case CONST_DOUBLE:
24394 280356 : case CONST_VECTOR:
24395 280356 : case REG:
24396 280356 : case SUBREG:
24397 280356 : case MEM:
24398 280356 : return recog_195 (x1, insn, pnum_clobbers);
24399 :
24400 2497 : case NE:
24401 2497 : case EQ:
24402 2497 : case GE:
24403 2497 : case GT:
24404 2497 : case LE:
24405 2497 : case LT:
24406 2497 : case LTGT:
24407 2497 : case UNORDERED:
24408 2497 : case ORDERED:
24409 2497 : case UNEQ:
24410 2497 : case UNGE:
24411 2497 : case UNGT:
24412 2497 : case UNLE:
24413 2497 : case UNLT:
24414 2497 : operands[3] = x4;
24415 2497 : x5 = XEXP (x3, 2);
24416 2497 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24417 : return -1;
24418 2497 : x6 = XEXP (x4, 0);
24419 2497 : operands[1] = x6;
24420 2497 : x7 = XEXP (x4, 1);
24421 2497 : operands[2] = x7;
24422 2497 : x8 = XEXP (x3, 1);
24423 2497 : if (!rtx_equal_p (x8, operands[1]))
24424 : return -1;
24425 2258 : switch (GET_MODE (operands[0]))
24426 : {
24427 1134 : case E_V4SFmode:
24428 1134 : if (pattern1055 (x3,
24429 : E_V4SFmode) != 0
24430 1134 : || !insn_condition_148 (operands, insn))
24431 56 : return -1;
24432 : return 3436; /* sse_vmmaskcmpv4sf3 */
24433 :
24434 1124 : case E_V2DFmode:
24435 1124 : if (pattern1055 (x3,
24436 : E_V2DFmode) != 0
24437 1124 : || !insn_condition_236 (operands, insn))
24438 54 : return -1;
24439 : return 3437; /* sse2_vmmaskcmpv2df3 */
24440 :
24441 : default:
24442 : return -1;
24443 : }
24444 :
24445 6623 : case AND:
24446 6623 : return recog_208 (x1, insn, pnum_clobbers);
24447 :
24448 4982 : case IOR:
24449 4982 : return recog_222 (x1, insn, pnum_clobbers);
24450 :
24451 3194 : case XOR:
24452 3194 : return recog_212 (x1, insn, pnum_clobbers);
24453 :
24454 24003 : case FMA:
24455 24003 : return recog_199 (x1, insn, pnum_clobbers);
24456 :
24457 3059 : case FLOAT:
24458 3059 : return recog_217 (x1, insn, pnum_clobbers);
24459 :
24460 3156 : case UNSIGNED_FLOAT:
24461 3156 : return recog_216 (x1, insn, pnum_clobbers);
24462 :
24463 0 : case FIX:
24464 0 : return recog_219 (x1, insn, pnum_clobbers);
24465 :
24466 0 : case UNSIGNED_FIX:
24467 0 : return recog_218 (x1, insn, pnum_clobbers);
24468 :
24469 1741 : case FLOAT_EXTEND:
24470 1741 : return recog_206 (x1, insn, pnum_clobbers);
24471 :
24472 1131 : case FLOAT_TRUNCATE:
24473 1131 : x6 = XEXP (x4, 0);
24474 1131 : operands[1] = x6;
24475 1131 : x8 = XEXP (x3, 1);
24476 1131 : operands[2] = x8;
24477 1131 : x5 = XEXP (x3, 2);
24478 1131 : operands[3] = x5;
24479 1131 : switch (GET_MODE (operands[0]))
24480 : {
24481 340 : case E_V8HFmode:
24482 340 : if (pattern176 (x3,
24483 : E_V8HFmode,
24484 : E_QImode) != 0)
24485 : return -1;
24486 288 : switch (GET_MODE (operands[1]))
24487 : {
24488 71 : case E_V8DFmode:
24489 71 : if (!vector_operand (operands[1], E_V8DFmode)
24490 71 : || !insn_condition_26 (operands, insn))
24491 0 : return -1;
24492 : return 4904; /* avx512fp16_vcvtpd2ph_v8df_mask */
24493 :
24494 217 : case E_V8SFmode:
24495 217 : if (!vector_operand (operands[1], E_V8SFmode)
24496 217 : || !insn_condition_1222 (operands, insn))
24497 0 : return -1;
24498 : return 4912; /* avx512fp16_vcvtps2ph_v8sf_mask */
24499 :
24500 : default:
24501 : return -1;
24502 : }
24503 :
24504 97 : case E_V16HFmode:
24505 97 : if (pattern175 (x3,
24506 : E_V16HFmode,
24507 : E_HImode,
24508 : E_V16SFmode) != 0
24509 97 : || !insn_condition_1221 (operands, insn))
24510 26 : return -1;
24511 : return 4908; /* avx512fp16_vcvtps2ph_v16sf_mask */
24512 :
24513 108 : case E_V8SFmode:
24514 108 : if (pattern175 (x3,
24515 : E_V8SFmode,
24516 : E_QImode,
24517 : E_V8DFmode) != 0
24518 108 : || !insn_condition_27 (operands, insn))
24519 45 : return -1;
24520 : return 5341; /* avx512f_cvtpd2ps512_mask */
24521 :
24522 208 : case E_V4SFmode:
24523 208 : if (pattern189 (x3,
24524 : E_V4SFmode,
24525 : E_V4DFmode,
24526 : E_QImode) != 0
24527 208 : || !insn_condition_969 (operands, insn))
24528 26 : return -1;
24529 : return 5344; /* avx_cvtpd2ps256_mask */
24530 :
24531 178 : case E_V16BFmode:
24532 178 : if (pattern189 (x3,
24533 : E_V16BFmode,
24534 : E_V16SFmode,
24535 : E_HImode) != 0
24536 178 : || !insn_condition_1190 (operands, insn))
24537 8 : return -1;
24538 : return 9043; /* avx512f_cvtneps2bf16_v16sf_mask */
24539 :
24540 200 : case E_V8BFmode:
24541 200 : if (pattern189 (x3,
24542 : E_V8BFmode,
24543 : E_V8SFmode,
24544 : E_QImode) != 0
24545 200 : || !insn_condition_1191 (operands, insn))
24546 16 : return -1;
24547 : return 9045; /* avx512f_cvtneps2bf16_v8sf_mask */
24548 :
24549 : default:
24550 : return -1;
24551 : }
24552 :
24553 30951 : case VEC_SELECT:
24554 30951 : return recog_197 (x1, insn, pnum_clobbers);
24555 :
24556 2314 : case SS_TRUNCATE:
24557 2314 : switch (pattern180 (x3))
24558 : {
24559 265 : case 0:
24560 265 : if (!insn_condition_27 (operands, insn))
24561 0 : return -1;
24562 : return 5921; /* avx512f_ss_truncatev16siv16qi2_mask */
24563 :
24564 265 : case 1:
24565 265 : if (!insn_condition_533 (operands, insn))
24566 0 : return -1;
24567 : return 5957; /* avx512vl_ss_truncatev16hiv16qi2_mask */
24568 :
24569 281 : case 2:
24570 281 : if (!insn_condition_27 (operands, insn))
24571 0 : return -1;
24572 : return 5924; /* avx512f_ss_truncatev16siv16hi2_mask */
24573 :
24574 272 : case 3:
24575 272 : if (!insn_condition_27 (operands, insn))
24576 0 : return -1;
24577 : return 5927; /* avx512f_ss_truncatev8div8si2_mask */
24578 :
24579 258 : case 4:
24580 258 : if (!insn_condition_27 (operands, insn))
24581 0 : return -1;
24582 : return 5930; /* avx512f_ss_truncatev8div8hi2_mask */
24583 :
24584 274 : case 5:
24585 274 : if (!insn_condition_532 (operands, insn))
24586 0 : return -1;
24587 : return 5954; /* avx512vl_ss_truncatev8siv8hi2_mask */
24588 :
24589 281 : case 6:
24590 281 : if (!insn_condition_12 (operands, insn))
24591 0 : return -1;
24592 : return 5937; /* avx512bw_ss_truncatev32hiv32qi2_mask */
24593 :
24594 249 : case 7:
24595 249 : if (!insn_condition_532 (operands, insn))
24596 0 : return -1;
24597 : return 5951; /* avx512vl_ss_truncatev4div4si2_mask */
24598 :
24599 : default:
24600 : return -1;
24601 : }
24602 :
24603 5952 : case TRUNCATE:
24604 5952 : return recog_207 (x1, insn, pnum_clobbers);
24605 :
24606 2300 : case US_TRUNCATE:
24607 2300 : switch (pattern180 (x3))
24608 : {
24609 265 : case 0:
24610 265 : if (!insn_condition_27 (operands, insn))
24611 0 : return -1;
24612 : return 5923; /* avx512f_us_truncatev16siv16qi2_mask */
24613 :
24614 265 : case 1:
24615 265 : if (!insn_condition_533 (operands, insn))
24616 0 : return -1;
24617 : return 5959; /* avx512vl_us_truncatev16hiv16qi2_mask */
24618 :
24619 281 : case 2:
24620 281 : if (!insn_condition_27 (operands, insn))
24621 0 : return -1;
24622 : return 5926; /* avx512f_us_truncatev16siv16hi2_mask */
24623 :
24624 272 : case 3:
24625 272 : if (!insn_condition_27 (operands, insn))
24626 0 : return -1;
24627 : return 5929; /* avx512f_us_truncatev8div8si2_mask */
24628 :
24629 258 : case 4:
24630 258 : if (!insn_condition_27 (operands, insn))
24631 0 : return -1;
24632 : return 5932; /* avx512f_us_truncatev8div8hi2_mask */
24633 :
24634 258 : case 5:
24635 258 : if (!insn_condition_532 (operands, insn))
24636 0 : return -1;
24637 : return 5956; /* avx512vl_us_truncatev8siv8hi2_mask */
24638 :
24639 281 : case 6:
24640 281 : if (!insn_condition_12 (operands, insn))
24641 0 : return -1;
24642 : return 5939; /* avx512bw_us_truncatev32hiv32qi2_mask */
24643 :
24644 249 : case 7:
24645 249 : if (!insn_condition_532 (operands, insn))
24646 0 : return -1;
24647 : return 5953; /* avx512vl_us_truncatev4div4si2_mask */
24648 :
24649 : default:
24650 : return -1;
24651 : }
24652 :
24653 1376 : case SS_PLUS:
24654 1376 : switch (pattern181 (x3))
24655 : {
24656 204 : case 0:
24657 204 : if (!insn_condition_1823 (operands, insn))
24658 0 : return -1;
24659 : return 6216; /* *avx512bw_ssaddv64qi3_mask */
24660 :
24661 183 : case 1:
24662 183 : if (!insn_condition_1824 (operands, insn))
24663 0 : return -1;
24664 : return 6224; /* *avx2_ssaddv32qi3_mask */
24665 :
24666 175 : case 2:
24667 175 : if (!insn_condition_1825 (operands, insn))
24668 0 : return -1;
24669 : return 6232; /* *sse2_ssaddv16qi3_mask */
24670 :
24671 204 : case 3:
24672 204 : if (!insn_condition_1826 (operands, insn))
24673 0 : return -1;
24674 : return 6240; /* *avx512bw_ssaddv32hi3_mask */
24675 :
24676 183 : case 4:
24677 183 : if (!insn_condition_1827 (operands, insn))
24678 0 : return -1;
24679 : return 6248; /* *avx2_ssaddv16hi3_mask */
24680 :
24681 175 : case 5:
24682 175 : if (!insn_condition_1828 (operands, insn))
24683 0 : return -1;
24684 : return 6256; /* *sse2_ssaddv8hi3_mask */
24685 :
24686 : default:
24687 : return -1;
24688 : }
24689 :
24690 1376 : case US_PLUS:
24691 1376 : switch (pattern181 (x3))
24692 : {
24693 204 : case 0:
24694 204 : if (!insn_condition_1829 (operands, insn))
24695 0 : return -1;
24696 : return 6218; /* *avx512bw_usaddv64qi3_mask */
24697 :
24698 183 : case 1:
24699 183 : if (!insn_condition_1830 (operands, insn))
24700 0 : return -1;
24701 : return 6226; /* *avx2_usaddv32qi3_mask */
24702 :
24703 175 : case 2:
24704 175 : if (!insn_condition_1831 (operands, insn))
24705 0 : return -1;
24706 : return 6234; /* *sse2_usaddv16qi3_mask */
24707 :
24708 204 : case 3:
24709 204 : if (!insn_condition_1832 (operands, insn))
24710 0 : return -1;
24711 : return 6242; /* *avx512bw_usaddv32hi3_mask */
24712 :
24713 183 : case 4:
24714 183 : if (!insn_condition_1833 (operands, insn))
24715 0 : return -1;
24716 : return 6250; /* *avx2_usaddv16hi3_mask */
24717 :
24718 175 : case 5:
24719 175 : if (!insn_condition_1834 (operands, insn))
24720 0 : return -1;
24721 : return 6258; /* *sse2_usaddv8hi3_mask */
24722 :
24723 : default:
24724 : return -1;
24725 : }
24726 :
24727 1376 : case SS_MINUS:
24728 1376 : switch (pattern181 (x3))
24729 : {
24730 204 : case 0:
24731 204 : if (!insn_condition_1835 (operands, insn))
24732 0 : return -1;
24733 : return 6220; /* *avx512bw_sssubv64qi3_mask */
24734 :
24735 183 : case 1:
24736 183 : if (!insn_condition_1836 (operands, insn))
24737 0 : return -1;
24738 : return 6228; /* *avx2_sssubv32qi3_mask */
24739 :
24740 175 : case 2:
24741 175 : if (!insn_condition_1837 (operands, insn))
24742 0 : return -1;
24743 : return 6236; /* *sse2_sssubv16qi3_mask */
24744 :
24745 204 : case 3:
24746 204 : if (!insn_condition_1838 (operands, insn))
24747 0 : return -1;
24748 : return 6244; /* *avx512bw_sssubv32hi3_mask */
24749 :
24750 183 : case 4:
24751 183 : if (!insn_condition_1839 (operands, insn))
24752 0 : return -1;
24753 : return 6252; /* *avx2_sssubv16hi3_mask */
24754 :
24755 175 : case 5:
24756 175 : if (!insn_condition_1840 (operands, insn))
24757 0 : return -1;
24758 : return 6260; /* *sse2_sssubv8hi3_mask */
24759 :
24760 : default:
24761 : return -1;
24762 : }
24763 :
24764 1392 : case US_MINUS:
24765 1392 : switch (pattern181 (x3))
24766 : {
24767 216 : case 0:
24768 216 : if (!insn_condition_1841 (operands, insn))
24769 0 : return -1;
24770 : return 6222; /* *avx512bw_ussubv64qi3_mask */
24771 :
24772 183 : case 1:
24773 183 : if (!insn_condition_1842 (operands, insn))
24774 0 : return -1;
24775 : return 6230; /* *avx2_ussubv32qi3_mask */
24776 :
24777 175 : case 2:
24778 175 : if (!insn_condition_1843 (operands, insn))
24779 0 : return -1;
24780 : return 6238; /* *sse2_ussubv16qi3_mask */
24781 :
24782 213 : case 3:
24783 213 : if (!insn_condition_1844 (operands, insn))
24784 1 : return -1;
24785 : return 6246; /* *avx512bw_ussubv32hi3_mask */
24786 :
24787 181 : case 4:
24788 181 : if (!insn_condition_1845 (operands, insn))
24789 1 : return -1;
24790 : return 6254; /* *avx2_ussubv16hi3_mask */
24791 :
24792 173 : case 5:
24793 173 : if (!insn_condition_1846 (operands, insn))
24794 0 : return -1;
24795 : return 6262; /* *sse2_ussubv8hi3_mask */
24796 :
24797 : default:
24798 : return -1;
24799 : }
24800 :
24801 6270 : case ASHIFTRT:
24802 6270 : return recog_202 (x1, insn, pnum_clobbers);
24803 :
24804 6950 : case ASHIFT:
24805 6950 : return recog_205 (x1, insn, pnum_clobbers);
24806 :
24807 9911 : case LSHIFTRT:
24808 9911 : return recog_204 (x1, insn, pnum_clobbers);
24809 :
24810 3106 : case ROTATE:
24811 3106 : switch (pattern184 (x3))
24812 : {
24813 203 : case 0:
24814 203 : if (!insn_condition_27 (operands, insn))
24815 0 : return -1;
24816 : return 6416; /* avx512f_rolvv16si_mask */
24817 :
24818 203 : case 1:
24819 203 : if (!insn_condition_341 (operands, insn))
24820 0 : return -1;
24821 : return 6420; /* avx512vl_rolvv8si_mask */
24822 :
24823 195 : case 2:
24824 195 : if (!insn_condition_341 (operands, insn))
24825 0 : return -1;
24826 : return 6424; /* avx512vl_rolvv4si_mask */
24827 :
24828 204 : case 3:
24829 204 : if (!insn_condition_27 (operands, insn))
24830 0 : return -1;
24831 : return 6428; /* avx512f_rolvv8di_mask */
24832 :
24833 204 : case 4:
24834 204 : if (!insn_condition_341 (operands, insn))
24835 0 : return -1;
24836 : return 6432; /* avx512vl_rolvv4di_mask */
24837 :
24838 193 : case 5:
24839 193 : if (!insn_condition_341 (operands, insn))
24840 0 : return -1;
24841 : return 6436; /* avx512vl_rolvv2di_mask */
24842 :
24843 248 : case 6:
24844 248 : if (!insn_condition_27 (operands, insn))
24845 0 : return -1;
24846 : return 6440; /* avx512f_rolv16si_mask */
24847 :
24848 239 : case 7:
24849 239 : if (!insn_condition_341 (operands, insn))
24850 0 : return -1;
24851 : return 6444; /* avx512vl_rolv8si_mask */
24852 :
24853 191 : case 8:
24854 191 : if (!insn_condition_341 (operands, insn))
24855 0 : return -1;
24856 : return 6448; /* avx512vl_rolv4si_mask */
24857 :
24858 257 : case 9:
24859 257 : if (!insn_condition_27 (operands, insn))
24860 0 : return -1;
24861 : return 6452; /* avx512f_rolv8di_mask */
24862 :
24863 230 : case 10:
24864 230 : if (!insn_condition_341 (operands, insn))
24865 0 : return -1;
24866 : return 6456; /* avx512vl_rolv4di_mask */
24867 :
24868 188 : case 11:
24869 188 : if (!insn_condition_341 (operands, insn))
24870 0 : return -1;
24871 : return 6460; /* avx512vl_rolv2di_mask */
24872 :
24873 : default:
24874 : return -1;
24875 : }
24876 :
24877 2452 : case ROTATERT:
24878 2452 : switch (pattern184 (x3))
24879 : {
24880 203 : case 0:
24881 203 : if (!insn_condition_27 (operands, insn))
24882 0 : return -1;
24883 : return 6418; /* avx512f_rorvv16si_mask */
24884 :
24885 203 : case 1:
24886 203 : if (!insn_condition_341 (operands, insn))
24887 0 : return -1;
24888 : return 6422; /* avx512vl_rorvv8si_mask */
24889 :
24890 195 : case 2:
24891 195 : if (!insn_condition_341 (operands, insn))
24892 0 : return -1;
24893 : return 6426; /* avx512vl_rorvv4si_mask */
24894 :
24895 204 : case 3:
24896 204 : if (!insn_condition_27 (operands, insn))
24897 0 : return -1;
24898 : return 6430; /* avx512f_rorvv8di_mask */
24899 :
24900 204 : case 4:
24901 204 : if (!insn_condition_341 (operands, insn))
24902 0 : return -1;
24903 : return 6434; /* avx512vl_rorvv4di_mask */
24904 :
24905 193 : case 5:
24906 193 : if (!insn_condition_341 (operands, insn))
24907 0 : return -1;
24908 : return 6438; /* avx512vl_rorvv2di_mask */
24909 :
24910 128 : case 6:
24911 128 : if (!insn_condition_27 (operands, insn))
24912 0 : return -1;
24913 : return 6442; /* avx512f_rorv16si_mask */
24914 :
24915 119 : case 7:
24916 119 : if (!insn_condition_341 (operands, insn))
24917 0 : return -1;
24918 : return 6446; /* avx512vl_rorv8si_mask */
24919 :
24920 151 : case 8:
24921 151 : if (!insn_condition_341 (operands, insn))
24922 0 : return -1;
24923 : return 6450; /* avx512vl_rorv4si_mask */
24924 :
24925 157 : case 9:
24926 157 : if (!insn_condition_27 (operands, insn))
24927 0 : return -1;
24928 : return 6454; /* avx512f_rorv8di_mask */
24929 :
24930 130 : case 10:
24931 130 : if (!insn_condition_341 (operands, insn))
24932 0 : return -1;
24933 : return 6458; /* avx512vl_rorv4di_mask */
24934 :
24935 152 : case 11:
24936 152 : if (!insn_condition_341 (operands, insn))
24937 0 : return -1;
24938 : return 6462; /* avx512vl_rorv2di_mask */
24939 :
24940 : default:
24941 : return -1;
24942 : }
24943 :
24944 3634 : case UMAX:
24945 3634 : switch (pattern185 (x3))
24946 : {
24947 202 : case 0:
24948 202 : if (!insn_condition_345 (operands, insn))
24949 0 : return -1;
24950 : return 6480; /* *avx512f_umaxv16si3_mask */
24951 :
24952 212 : case 1:
24953 212 : if (!insn_condition_346 (operands, insn))
24954 0 : return -1;
24955 : return 6488; /* *avx512f_umaxv8si3_mask */
24956 :
24957 174 : case 2:
24958 174 : if (nonimmediate_operand (operands[1], E_V4SImode)
24959 174 : && nonimmediate_operand (operands[2], E_V4SImode)
24960 348 : && insn_condition_346 (operands, insn))
24961 : return 6496; /* *avx512f_umaxv4si3_mask */
24962 0 : if (!vector_operand (operands[1], E_V4SImode)
24963 0 : || !vector_operand (operands[2], E_V4SImode)
24964 0 : || !insn_condition_1297 (operands, insn))
24965 0 : return -1;
24966 : return 6586; /* *sse4_1_umaxv4si3_mask */
24967 :
24968 422 : case 3:
24969 422 : if (!insn_condition_345 (operands, insn))
24970 0 : return -1;
24971 : return 6504; /* *avx512f_umaxv8di3_mask */
24972 :
24973 257 : case 4:
24974 257 : if (!insn_condition_346 (operands, insn))
24975 0 : return -1;
24976 : return 6512; /* *avx512f_umaxv4di3_mask */
24977 :
24978 219 : case 5:
24979 219 : if (!insn_condition_346 (operands, insn))
24980 0 : return -1;
24981 : return 6520; /* *avx512f_umaxv2di3_mask */
24982 :
24983 203 : case 6:
24984 203 : if (!insn_condition_804 (operands, insn))
24985 0 : return -1;
24986 : return 6528; /* *avx512bw_umaxv64qi3_mask */
24987 :
24988 175 : case 7:
24989 175 : if (!insn_condition_344 (operands, insn))
24990 0 : return -1;
24991 : return 6536; /* *avx512bw_umaxv16qi3_mask */
24992 :
24993 227 : case 8:
24994 227 : if (!insn_condition_344 (operands, insn))
24995 0 : return -1;
24996 : return 6544; /* *avx512bw_umaxv32qi3_mask */
24997 :
24998 204 : case 9:
24999 204 : if (!insn_condition_804 (operands, insn))
25000 0 : return -1;
25001 : return 6552; /* *avx512bw_umaxv32hi3_mask */
25002 :
25003 267 : case 10:
25004 267 : if (!insn_condition_344 (operands, insn))
25005 0 : return -1;
25006 : return 6560; /* *avx512bw_umaxv16hi3_mask */
25007 :
25008 175 : case 11:
25009 175 : if (nonimmediate_operand (operands[1], E_V8HImode)
25010 175 : && nonimmediate_operand (operands[2], E_V8HImode)
25011 350 : && insn_condition_344 (operands, insn))
25012 : return 6568; /* *avx512bw_umaxv8hi3_mask */
25013 0 : if (!vector_operand (operands[1], E_V8HImode)
25014 0 : || !vector_operand (operands[2], E_V8HImode)
25015 0 : || !insn_condition_1297 (operands, insn))
25016 0 : return -1;
25017 : return 6582; /* *sse4_1_umaxv8hi3_mask */
25018 :
25019 : default:
25020 : return -1;
25021 : }
25022 :
25023 3415 : case UMIN:
25024 3415 : switch (pattern185 (x3))
25025 : {
25026 203 : case 0:
25027 203 : if (!insn_condition_345 (operands, insn))
25028 0 : return -1;
25029 : return 6482; /* *avx512f_uminv16si3_mask */
25030 :
25031 212 : case 1:
25032 212 : if (!insn_condition_346 (operands, insn))
25033 0 : return -1;
25034 : return 6490; /* *avx512f_uminv8si3_mask */
25035 :
25036 174 : case 2:
25037 174 : if (nonimmediate_operand (operands[1], E_V4SImode)
25038 174 : && nonimmediate_operand (operands[2], E_V4SImode)
25039 348 : && insn_condition_346 (operands, insn))
25040 : return 6498; /* *avx512f_uminv4si3_mask */
25041 0 : if (!vector_operand (operands[1], E_V4SImode)
25042 0 : || !vector_operand (operands[2], E_V4SImode)
25043 0 : || !insn_condition_1297 (operands, insn))
25044 0 : return -1;
25045 : return 6588; /* *sse4_1_uminv4si3_mask */
25046 :
25047 424 : case 3:
25048 424 : if (!insn_condition_345 (operands, insn))
25049 0 : return -1;
25050 : return 6506; /* *avx512f_uminv8di3_mask */
25051 :
25052 257 : case 4:
25053 257 : if (!insn_condition_346 (operands, insn))
25054 0 : return -1;
25055 : return 6514; /* *avx512f_uminv4di3_mask */
25056 :
25057 217 : case 5:
25058 217 : if (!insn_condition_346 (operands, insn))
25059 0 : return -1;
25060 : return 6522; /* *avx512f_uminv2di3_mask */
25061 :
25062 203 : case 6:
25063 203 : if (!insn_condition_804 (operands, insn))
25064 0 : return -1;
25065 : return 6530; /* *avx512bw_uminv64qi3_mask */
25066 :
25067 175 : case 7:
25068 175 : if (!insn_condition_344 (operands, insn))
25069 0 : return -1;
25070 : return 6538; /* *avx512bw_uminv16qi3_mask */
25071 :
25072 212 : case 8:
25073 212 : if (!insn_condition_344 (operands, insn))
25074 0 : return -1;
25075 : return 6546; /* *avx512bw_uminv32qi3_mask */
25076 :
25077 204 : case 9:
25078 204 : if (!insn_condition_804 (operands, insn))
25079 0 : return -1;
25080 : return 6554; /* *avx512bw_uminv32hi3_mask */
25081 :
25082 213 : case 10:
25083 213 : if (!insn_condition_344 (operands, insn))
25084 0 : return -1;
25085 : return 6562; /* *avx512bw_uminv16hi3_mask */
25086 :
25087 175 : case 11:
25088 175 : if (nonimmediate_operand (operands[1], E_V8HImode)
25089 175 : && nonimmediate_operand (operands[2], E_V8HImode)
25090 350 : && insn_condition_344 (operands, insn))
25091 : return 6570; /* *avx512bw_uminv8hi3_mask */
25092 0 : if (!vector_operand (operands[1], E_V8HImode)
25093 0 : || !vector_operand (operands[2], E_V8HImode)
25094 0 : || !insn_condition_1297 (operands, insn))
25095 0 : return -1;
25096 : return 6584; /* *sse4_1_uminv8hi3_mask */
25097 :
25098 : default:
25099 : return -1;
25100 : }
25101 :
25102 4762 : case VEC_CONCAT:
25103 4762 : return recog_200 (x1, insn, pnum_clobbers);
25104 :
25105 2688 : case ABS:
25106 2688 : switch (pattern188 (x3))
25107 : {
25108 175 : case 0:
25109 175 : if (!insn_condition_27 (operands, insn))
25110 0 : return -1;
25111 : return 7325; /* absv16si2_mask */
25112 :
25113 174 : case 1:
25114 174 : if (!insn_condition_100 (operands, insn))
25115 0 : return -1;
25116 : return 7326; /* absv8si2_mask */
25117 :
25118 164 : case 2:
25119 164 : if (!insn_condition_100 (operands, insn))
25120 0 : return -1;
25121 : return 7327; /* absv4si2_mask */
25122 :
25123 192 : case 3:
25124 192 : if (!insn_condition_27 (operands, insn))
25125 0 : return -1;
25126 : return 7328; /* absv8di2_mask */
25127 :
25128 191 : case 4:
25129 191 : if (!insn_condition_100 (operands, insn))
25130 0 : return -1;
25131 : return 7329; /* absv4di2_mask */
25132 :
25133 181 : case 5:
25134 181 : if (!insn_condition_100 (operands, insn))
25135 0 : return -1;
25136 : return 7330; /* absv2di2_mask */
25137 :
25138 183 : case 6:
25139 183 : if (!insn_condition_12 (operands, insn))
25140 0 : return -1;
25141 : return 7331; /* absv64qi2_mask */
25142 :
25143 230 : case 7:
25144 230 : if (!insn_condition_77 (operands, insn))
25145 0 : return -1;
25146 : return 7332; /* absv16qi2_mask */
25147 :
25148 237 : case 8:
25149 237 : if (!insn_condition_77 (operands, insn))
25150 0 : return -1;
25151 : return 7333; /* absv32qi2_mask */
25152 :
25153 171 : case 9:
25154 171 : if (!insn_condition_12 (operands, insn))
25155 0 : return -1;
25156 : return 7334; /* absv32hi2_mask */
25157 :
25158 171 : case 10:
25159 171 : if (!insn_condition_77 (operands, insn))
25160 0 : return -1;
25161 : return 7335; /* absv16hi2_mask */
25162 :
25163 163 : case 11:
25164 163 : if (!insn_condition_77 (operands, insn))
25165 0 : return -1;
25166 : return 7336; /* absv8hi2_mask */
25167 :
25168 : default:
25169 : return -1;
25170 : }
25171 :
25172 4477 : case SIGN_EXTEND:
25173 4477 : return recog_210 (x1, insn, pnum_clobbers);
25174 :
25175 4247 : case ZERO_EXTEND:
25176 4247 : return recog_209 (x1, insn, pnum_clobbers);
25177 :
25178 1295 : case CLZ:
25179 1295 : x6 = XEXP (x4, 0);
25180 1295 : operands[1] = x6;
25181 1295 : x8 = XEXP (x3, 1);
25182 1295 : operands[2] = x8;
25183 1295 : x5 = XEXP (x3, 2);
25184 1295 : operands[3] = x5;
25185 1295 : switch (GET_MODE (operands[0]))
25186 : {
25187 238 : case E_V16SImode:
25188 238 : if (pattern186 (x3,
25189 : E_V16SImode,
25190 : E_HImode) != 0
25191 238 : || !insn_condition_1074 (operands, insn))
25192 37 : return -1;
25193 : return 8756; /* clzv16si2_mask */
25194 :
25195 182 : case E_V8SImode:
25196 182 : if (pattern186 (x3,
25197 : E_V8SImode,
25198 : E_QImode) != 0
25199 182 : || !insn_condition_1075 (operands, insn))
25200 7 : return -1;
25201 : return 8758; /* clzv8si2_mask */
25202 :
25203 180 : case E_V4SImode:
25204 180 : if (pattern186 (x3,
25205 : E_V4SImode,
25206 : E_QImode) != 0
25207 180 : || !insn_condition_1075 (operands, insn))
25208 6 : return -1;
25209 : return 8760; /* clzv4si2_mask */
25210 :
25211 274 : case E_V8DImode:
25212 274 : if (pattern186 (x3,
25213 : E_V8DImode,
25214 : E_QImode) != 0
25215 274 : || !insn_condition_1074 (operands, insn))
25216 44 : return -1;
25217 : return 8762; /* clzv8di2_mask */
25218 :
25219 212 : case E_V4DImode:
25220 212 : if (pattern186 (x3,
25221 : E_V4DImode,
25222 : E_QImode) != 0
25223 212 : || !insn_condition_1075 (operands, insn))
25224 12 : return -1;
25225 : return 8764; /* clzv4di2_mask */
25226 :
25227 209 : case E_V2DImode:
25228 209 : if (pattern186 (x3,
25229 : E_V2DImode,
25230 : E_QImode) != 0
25231 209 : || !insn_condition_1075 (operands, insn))
25232 10 : return -1;
25233 : return 8766; /* clzv2di2_mask */
25234 :
25235 : default:
25236 : return -1;
25237 : }
25238 :
25239 2923 : case POPCOUNT:
25240 2923 : switch (pattern188 (x3))
25241 : {
25242 195 : case 0:
25243 195 : if (!insn_condition_1847 (operands, insn))
25244 0 : return -1;
25245 : return 8829; /* vpopcountv16si_mask */
25246 :
25247 209 : case 1:
25248 209 : if (!insn_condition_1848 (operands, insn))
25249 0 : return -1;
25250 : return 8831; /* vpopcountv8si_mask */
25251 :
25252 204 : case 2:
25253 204 : if (!insn_condition_1848 (operands, insn))
25254 0 : return -1;
25255 : return 8833; /* vpopcountv4si_mask */
25256 :
25257 219 : case 3:
25258 219 : if (!insn_condition_1847 (operands, insn))
25259 0 : return -1;
25260 : return 8835; /* vpopcountv8di_mask */
25261 :
25262 217 : case 4:
25263 217 : if (!insn_condition_1848 (operands, insn))
25264 0 : return -1;
25265 : return 8837; /* vpopcountv4di_mask */
25266 :
25267 204 : case 5:
25268 204 : if (!insn_condition_1848 (operands, insn))
25269 0 : return -1;
25270 : return 8839; /* vpopcountv2di_mask */
25271 :
25272 203 : case 6:
25273 203 : if (!insn_condition_806 (operands, insn))
25274 0 : return -1;
25275 : return 8849; /* vpopcountv64qi_mask */
25276 :
25277 190 : case 7:
25278 190 : if (!insn_condition_358 (operands, insn))
25279 0 : return -1;
25280 : return 8851; /* vpopcountv16qi_mask */
25281 :
25282 212 : case 8:
25283 212 : if (!insn_condition_358 (operands, insn))
25284 0 : return -1;
25285 : return 8853; /* vpopcountv32qi_mask */
25286 :
25287 203 : case 9:
25288 203 : if (!insn_condition_806 (operands, insn))
25289 0 : return -1;
25290 : return 8855; /* vpopcountv32hi_mask */
25291 :
25292 217 : case 10:
25293 217 : if (!insn_condition_358 (operands, insn))
25294 0 : return -1;
25295 : return 8857; /* vpopcountv16hi_mask */
25296 :
25297 193 : case 11:
25298 193 : if (!insn_condition_358 (operands, insn))
25299 0 : return -1;
25300 : return 8859; /* vpopcountv8hi_mask */
25301 :
25302 : default:
25303 : return -1;
25304 : }
25305 :
25306 : default:
25307 : return -1;
25308 : }
25309 : }
25310 :
25311 : int
25312 461299 : recog_340 (rtx x1 ATTRIBUTE_UNUSED,
25313 : rtx_insn *insn ATTRIBUTE_UNUSED,
25314 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25315 : {
25316 461299 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25317 461299 : rtx x2, x3, x4, x5;
25318 461299 : int res ATTRIBUTE_UNUSED;
25319 461299 : x2 = XEXP (x1, 0);
25320 461299 : operands[0] = x2;
25321 461299 : x3 = XEXP (x1, 1);
25322 461299 : x4 = XEXP (x3, 0);
25323 461299 : operands[1] = x4;
25324 461299 : x5 = XEXP (x3, 1);
25325 461299 : operands[2] = x5;
25326 461299 : switch (GET_MODE (operands[0]))
25327 : {
25328 706 : case E_V16HImode:
25329 706 : if (!register_operand (operands[0], E_V16HImode)
25330 706 : || GET_MODE (x3) != E_V16HImode)
25331 : return -1;
25332 677 : if (nonimmediate_operand (operands[1], E_V16HImode)
25333 631 : && nonmemory_operand (operands[2], E_DImode)
25334 677 : && insn_condition_533 (operands, insn))
25335 : return 6313; /* *ashrv16hi3 */
25336 497 : if (!register_operand (operands[1], E_V16HImode))
25337 : return -1;
25338 423 : if (nonmemory_operand (operands[2], E_DImode)
25339 423 : && insn_condition_888 (operands, insn))
25340 : return 6323; /* ashrv16hi3 */
25341 165 : if (!nonimmediate_operand (operands[2], E_V16HImode)
25342 165 : || !insn_condition_77 (operands, insn))
25343 65 : return -1;
25344 : return 8262; /* avx512vl_ashrvv16hi */
25345 :
25346 10391 : case E_V8HImode:
25347 10391 : if (!register_operand (operands[0], E_V8HImode)
25348 10391 : || GET_MODE (x3) != E_V8HImode)
25349 : return -1;
25350 10016 : if (nonimmediate_operand (operands[1], E_V8HImode)
25351 8688 : && nonmemory_operand (operands[2], E_DImode)
25352 10016 : && insn_condition_533 (operands, insn))
25353 : return 6315; /* *ashrv8hi3 */
25354 9706 : if (!register_operand (operands[1], E_V8HImode))
25355 : return -1;
25356 8011 : if (nonmemory_operand (operands[2], E_DImode)
25357 8011 : && insn_condition_141 (operands, insn))
25358 : return 6324; /* ashrv8hi3 */
25359 258 : if (!nonimmediate_operand (operands[2], E_V8HImode)
25360 258 : || !insn_condition_77 (operands, insn))
25361 153 : return -1;
25362 : return 8260; /* avx512vl_ashrvv8hi */
25363 :
25364 2610 : case E_V8SImode:
25365 2610 : if (!register_operand (operands[0], E_V8SImode)
25366 2610 : || GET_MODE (x3) != E_V8SImode)
25367 : return -1;
25368 2553 : if (nonimmediate_operand (operands[1], E_V8SImode)
25369 2040 : && nonmemory_operand (operands[2], E_DImode)
25370 3883 : && insn_condition_532 (operands, insn))
25371 : return 6317; /* *ashrv8si3 */
25372 2279 : if (!register_operand (operands[1], E_V8SImode))
25373 : return -1;
25374 1696 : if (nonmemory_operand (operands[2], E_DImode)
25375 1696 : && insn_condition_888 (operands, insn))
25376 : return 6325; /* ashrv8si3 */
25377 667 : if (!nonimmediate_operand (operands[2], E_V8SImode)
25378 667 : || !insn_condition_1521 (operands, insn))
25379 202 : return -1;
25380 : return 8250; /* avx2_ashrvv8si */
25381 :
25382 42135 : case E_V4SImode:
25383 42135 : if (!register_operand (operands[0], E_V4SImode)
25384 42135 : || GET_MODE (x3) != E_V4SImode)
25385 : return -1;
25386 39482 : if (nonimmediate_operand (operands[1], E_V4SImode)
25387 31649 : && nonmemory_operand (operands[2], E_DImode)
25388 70615 : && insn_condition_532 (operands, insn))
25389 : return 6319; /* *ashrv4si3 */
25390 39280 : if (!register_operand (operands[1], E_V4SImode))
25391 : return -1;
25392 29997 : if (nonmemory_operand (operands[2], E_DImode)
25393 29997 : && insn_condition_141 (operands, insn))
25394 : return 6326; /* ashrv4si3 */
25395 499 : if (!nonimmediate_operand (operands[2], E_V4SImode)
25396 499 : || !insn_condition_1521 (operands, insn))
25397 265 : return -1;
25398 : return 8248; /* avx2_ashrvv4si */
25399 :
25400 1227 : case E_V2DImode:
25401 1227 : if (!register_operand (operands[0], E_V2DImode)
25402 1227 : || GET_MODE (x3) != E_V2DImode)
25403 : return -1;
25404 1216 : if (nonimmediate_operand (operands[1], E_V2DImode)
25405 1000 : && nonmemory_operand (operands[2], E_DImode)
25406 1983 : && insn_condition_532 (operands, insn))
25407 : return 6321; /* *ashrv2di3 */
25408 1042 : if (!register_operand (operands[1], E_V2DImode))
25409 : return -1;
25410 794 : if (nonmemory_operand (operands[2], E_DImode)
25411 794 : && insn_condition_1916 (operands, insn))
25412 : return 7728; /* *ashrv2di3 */
25413 228 : if (!nonimmediate_operand (operands[2], E_V2DImode)
25414 228 : || !insn_condition_1523 (operands, insn))
25415 29 : return -1;
25416 : return 8254; /* avx2_ashrvv2di */
25417 :
25418 401 : case E_V32HImode:
25419 401 : if (!register_operand (operands[0], E_V32HImode)
25420 401 : || GET_MODE (x3) != E_V32HImode)
25421 : return -1;
25422 393 : if (nonimmediate_operand (operands[1], E_V32HImode)
25423 359 : && nonmemory_operand (operands[2], E_DImode)
25424 393 : && insn_condition_120 (operands, insn))
25425 : return 6331; /* *ashrv32hi3 */
25426 191 : if (!register_operand (operands[1], E_V32HImode)
25427 154 : || !nonimmediate_operand (operands[2], E_V32HImode)
25428 315 : || !insn_condition_12 (operands, insn))
25429 67 : return -1;
25430 : return 8264; /* avx512bw_ashrvv32hi */
25431 :
25432 260 : case E_V4DImode:
25433 260 : if (!register_operand (operands[0], E_V4DImode)
25434 260 : || GET_MODE (x3) != E_V4DImode)
25435 : return -1;
25436 247 : if (nonimmediate_operand (operands[1], E_V4DImode)
25437 245 : && nonmemory_operand (operands[2], E_DImode)
25438 247 : && insn_condition_100 (operands, insn))
25439 : return 6333; /* *ashrv4di3 */
25440 85 : if (!register_operand (operands[1], E_V4DImode)
25441 82 : || !nonimmediate_operand (operands[2], E_V4DImode)
25442 85 : || !insn_condition_1523 (operands, insn))
25443 13 : return -1;
25444 : return 8256; /* avx2_ashrvv4di */
25445 :
25446 2653 : case E_V16SImode:
25447 2653 : if (!register_operand (operands[0], E_V16SImode)
25448 2653 : || GET_MODE (x3) != E_V16SImode)
25449 : return -1;
25450 2650 : if (nonimmediate_operand (operands[1], E_V16SImode)
25451 1633 : && nonmemory_operand (operands[2], E_DImode)
25452 2921 : && insn_condition_27 (operands, insn))
25453 : return 6335; /* *ashrv16si3 */
25454 2379 : if (!register_operand (operands[1], E_V16SImode)
25455 1360 : || !nonimmediate_operand (operands[2], E_V16SImode)
25456 2379 : || !insn_condition_1522 (operands, insn))
25457 1331 : return -1;
25458 : return 8252; /* avx512f_ashrvv16si */
25459 :
25460 661 : case E_V8DImode:
25461 661 : if (!register_operand (operands[0], E_V8DImode)
25462 661 : || GET_MODE (x3) != E_V8DImode)
25463 : return -1;
25464 637 : if (nonimmediate_operand (operands[1], E_V8DImode)
25465 588 : && nonmemory_operand (operands[2], E_DImode)
25466 811 : && insn_condition_27 (operands, insn))
25467 : return 6337; /* *ashrv8di3 */
25468 463 : if (!register_operand (operands[1], E_V8DImode)
25469 405 : || !nonimmediate_operand (operands[2], E_V8DImode)
25470 463 : || !insn_condition_1522 (operands, insn))
25471 144 : return -1;
25472 : return 8258; /* avx512f_ashrvv8di */
25473 :
25474 847 : case E_V1TImode:
25475 847 : if (pattern31 (x3) != 0
25476 847 : || !insn_condition_1917 (operands, insn))
25477 2 : return -1;
25478 : return 6402; /* *ashrv1ti3_internal */
25479 :
25480 : default:
25481 : return -1;
25482 : }
25483 : }
25484 :
25485 : int
25486 1839889 : recog_342 (rtx x1 ATTRIBUTE_UNUSED,
25487 : rtx_insn *insn ATTRIBUTE_UNUSED,
25488 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25489 : {
25490 1839889 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25491 1839889 : int res ATTRIBUTE_UNUSED;
25492 1839889 : switch (pattern30 (x1))
25493 : {
25494 1038 : case 0:
25495 1038 : if (nonimmediate_operand (operands[1], E_V16HImode)
25496 907 : && nonmemory_operand (operands[2], E_DImode)
25497 1038 : && insn_condition_533 (operands, insn))
25498 : return 6348; /* *ashlv16hi3 */
25499 702 : if (!register_operand (operands[1], E_V16HImode))
25500 : return -1;
25501 555 : if (nonmemory_operand (operands[2], E_DImode)
25502 555 : && insn_condition_888 (operands, insn))
25503 : return 6372; /* ashlv16hi3 */
25504 137 : if (!nonimmediate_operand (operands[2], E_V16HImode)
25505 137 : || !insn_condition_77 (operands, insn))
25506 55 : return -1;
25507 : return 8294; /* avx512vl_ashlvv16hi */
25508 :
25509 12360 : case 1:
25510 12360 : if (nonimmediate_operand (operands[1], E_V8HImode)
25511 10633 : && nonmemory_operand (operands[2], E_DImode)
25512 12360 : && insn_condition_533 (operands, insn))
25513 : return 6352; /* *ashlv8hi3 */
25514 11962 : if (!register_operand (operands[1], E_V8HImode))
25515 : return -1;
25516 9962 : if (nonmemory_operand (operands[2], E_DImode)
25517 9962 : && insn_condition_141 (operands, insn))
25518 : return 6374; /* ashlv8hi3 */
25519 252 : if (!nonimmediate_operand (operands[2], E_V8HImode)
25520 252 : || !insn_condition_77 (operands, insn))
25521 156 : return -1;
25522 : return 8290; /* avx512vl_ashlvv8hi */
25523 :
25524 4289 : case 2:
25525 4289 : if (nonimmediate_operand (operands[1], E_V8SImode)
25526 3640 : && nonmemory_operand (operands[2], E_DImode)
25527 7130 : && insn_condition_532 (operands, insn))
25528 : return 6356; /* *ashlv8si3 */
25529 3151 : if (!register_operand (operands[1], E_V8SImode))
25530 : return -1;
25531 2356 : if (nonmemory_operand (operands[2], E_DImode)
25532 2356 : && insn_condition_888 (operands, insn))
25533 : return 6376; /* ashlv8si3 */
25534 741 : if (!nonimmediate_operand (operands[2], E_V8SImode)
25535 741 : || !insn_condition_1521 (operands, insn))
25536 217 : return -1;
25537 : return 8270; /* avx2_ashlvv8si */
25538 :
25539 88794 : case 3:
25540 88794 : if (nonimmediate_operand (operands[1], E_V4SImode)
25541 75652 : && nonmemory_operand (operands[2], E_DImode)
25542 163836 : && insn_condition_532 (operands, insn))
25543 : return 6360; /* *ashlv4si3 */
25544 88286 : if (!register_operand (operands[1], E_V4SImode))
25545 : return -1;
25546 73416 : if (nonmemory_operand (operands[2], E_DImode)
25547 73416 : && insn_condition_141 (operands, insn))
25548 : return 6378; /* ashlv4si3 */
25549 591 : if (!nonimmediate_operand (operands[2], E_V4SImode)
25550 591 : || !insn_condition_1521 (operands, insn))
25551 400 : return -1;
25552 : return 8274; /* avx2_ashlvv4si */
25553 :
25554 5313 : case 4:
25555 5313 : if (nonimmediate_operand (operands[1], E_V4DImode)
25556 3976 : && nonmemory_operand (operands[2], E_DImode)
25557 7970 : && insn_condition_532 (operands, insn))
25558 : return 6364; /* *ashlv4di3 */
25559 5139 : if (!register_operand (operands[1], E_V4DImode))
25560 : return -1;
25561 3401 : if (nonmemory_operand (operands[2], E_DImode)
25562 3401 : && insn_condition_888 (operands, insn))
25563 : return 6380; /* ashlv4di3 */
25564 938 : if (!nonimmediate_operand (operands[2], E_V4DImode)
25565 938 : || !insn_condition_1521 (operands, insn))
25566 337 : return -1;
25567 : return 8282; /* avx2_ashlvv4di */
25568 :
25569 44075 : case 5:
25570 44075 : if (nonimmediate_operand (operands[1], E_V2DImode)
25571 31283 : && nonmemory_operand (operands[2], E_DImode)
25572 74915 : && insn_condition_532 (operands, insn))
25573 : return 6368; /* *ashlv2di3 */
25574 43915 : if (!register_operand (operands[1], E_V2DImode))
25575 : return -1;
25576 30421 : if (nonmemory_operand (operands[2], E_DImode)
25577 30421 : && insn_condition_141 (operands, insn))
25578 : return 6382; /* ashlv2di3 */
25579 420 : if (!nonimmediate_operand (operands[2], E_V2DImode)
25580 420 : || !insn_condition_1521 (operands, insn))
25581 262 : return -1;
25582 : return 8286; /* avx2_ashlvv2di */
25583 :
25584 739 : case 6:
25585 739 : if (nonimmediate_operand (operands[1], E_V32HImode)
25586 616 : && nonmemory_operand (operands[2], E_DImode)
25587 739 : && insn_condition_120 (operands, insn))
25588 : return 6388; /* ashlv32hi3 */
25589 232 : if (!register_operand (operands[1], E_V32HImode)
25590 109 : || !nonimmediate_operand (operands[2], E_V32HImode)
25591 326 : || !insn_condition_12 (operands, insn))
25592 138 : return -1;
25593 : return 8298; /* avx512bw_ashlvv32hi */
25594 :
25595 1302 : case 7:
25596 1302 : if (nonimmediate_operand (operands[1], E_V16SImode)
25597 1091 : && nonmemory_operand (operands[2], E_DImode)
25598 2249 : && insn_condition_27 (operands, insn))
25599 : return 6392; /* ashlv16si3 */
25600 355 : if (!register_operand (operands[1], E_V16SImode)
25601 141 : || !nonimmediate_operand (operands[2], E_V16SImode)
25602 355 : || !insn_condition_1522 (operands, insn))
25603 240 : return -1;
25604 : return 8266; /* avx512f_ashlvv16si */
25605 :
25606 3061 : case 8:
25607 3061 : if (nonimmediate_operand (operands[1], E_V8DImode)
25608 2184 : && nonmemory_operand (operands[2], E_DImode)
25609 5006 : && insn_condition_27 (operands, insn))
25610 : return 6396; /* ashlv8di3 */
25611 1116 : if (!register_operand (operands[1], E_V8DImode)
25612 228 : || !nonimmediate_operand (operands[2], E_V8DImode)
25613 1116 : || !insn_condition_1522 (operands, insn))
25614 913 : return -1;
25615 : return 8278; /* avx512f_ashlvv8di */
25616 :
25617 110211 : case 9:
25618 110211 : if (register_operand (operands[1], E_V1TImode)
25619 79512 : && const_0_to_255_not_mul_8_operand (operands[2], E_SImode)
25620 110355 : && insn_condition_1917 (operands, insn))
25621 : return 6400; /* *ashlv1ti3_internal */
25622 110067 : if (!const_0_to_255_mul_8_operand (operands[2], E_SImode))
25623 : return -1;
25624 110067 : if (nonimmediate_operand (operands[1], E_V1TImode)
25625 110067 : && insn_condition_77 (operands, insn))
25626 : return 6409; /* avx512bw_ashlv1ti3 */
25627 109641 : if (!register_operand (operands[1], E_V1TImode)
25628 109641 : || !insn_condition_141 (operands, insn))
25629 30696 : return -1;
25630 : return 6413; /* sse2_ashlv1ti3 */
25631 :
25632 55 : case 10:
25633 55 : if (!insn_condition_12 (operands, insn))
25634 0 : return -1;
25635 : return 6405; /* avx512bw_ashlv4ti3 */
25636 :
25637 126 : case 11:
25638 126 : if (nonimmediate_operand (operands[1], E_V2TImode)
25639 126 : && insn_condition_77 (operands, insn))
25640 : return 6407; /* avx512bw_ashlv2ti3 */
25641 44 : if (!register_operand (operands[1], E_V2TImode)
25642 44 : || !insn_condition_888 (operands, insn))
25643 1 : return -1;
25644 : return 6411; /* avx2_ashlv2ti3 */
25645 :
25646 : default:
25647 : return -1;
25648 : }
25649 : }
25650 :
25651 : int
25652 44634 : recog_348 (rtx x1 ATTRIBUTE_UNUSED,
25653 : rtx_insn *insn ATTRIBUTE_UNUSED,
25654 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25655 : {
25656 44634 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25657 44634 : rtx x2, x3, x4;
25658 44634 : int res ATTRIBUTE_UNUSED;
25659 44634 : x2 = XEXP (x1, 0);
25660 44634 : operands[0] = x2;
25661 44634 : x3 = XEXP (x1, 1);
25662 44634 : x4 = XEXP (x3, 0);
25663 44634 : operands[1] = x4;
25664 44634 : switch (GET_MODE (operands[0]))
25665 : {
25666 565 : case E_V64QImode:
25667 565 : if (!register_operand (operands[0], E_V64QImode)
25668 552 : || GET_MODE (x3) != E_V64QImode
25669 552 : || !vector_operand (operands[1], E_V64QImode)
25670 565 : || !insn_condition_1646 (operands, insn))
25671 13 : return -1;
25672 : return 7313; /* *absv64qi2 */
25673 :
25674 698 : case E_V32QImode:
25675 698 : if (!register_operand (operands[0], E_V32QImode)
25676 671 : || GET_MODE (x3) != E_V32QImode
25677 671 : || !vector_operand (operands[1], E_V32QImode)
25678 698 : || !insn_condition_1540 (operands, insn))
25679 27 : return -1;
25680 : return 7314; /* *absv32qi2 */
25681 :
25682 1190 : case E_V16QImode:
25683 1190 : if (!register_operand (operands[0], E_V16QImode)
25684 1160 : || GET_MODE (x3) != E_V16QImode
25685 1160 : || !vector_operand (operands[1], E_V16QImode)
25686 2350 : || !insn_condition_117 (operands, insn))
25687 106 : return -1;
25688 : return 7315; /* *absv16qi2 */
25689 :
25690 56 : case E_V32HImode:
25691 56 : if (!register_operand (operands[0], E_V32HImode)
25692 56 : || GET_MODE (x3) != E_V32HImode
25693 56 : || !vector_operand (operands[1], E_V32HImode)
25694 56 : || !insn_condition_1646 (operands, insn))
25695 0 : return -1;
25696 : return 7316; /* *absv32hi2 */
25697 :
25698 80 : case E_V16HImode:
25699 80 : if (!register_operand (operands[0], E_V16HImode)
25700 79 : || GET_MODE (x3) != E_V16HImode
25701 79 : || !vector_operand (operands[1], E_V16HImode)
25702 80 : || !insn_condition_1540 (operands, insn))
25703 1 : return -1;
25704 : return 7317; /* *absv16hi2 */
25705 :
25706 721 : case E_V8HImode:
25707 721 : if (!register_operand (operands[0], E_V8HImode)
25708 720 : || GET_MODE (x3) != E_V8HImode
25709 720 : || !vector_operand (operands[1], E_V8HImode)
25710 1439 : || !insn_condition_117 (operands, insn))
25711 616 : return -1;
25712 : return 7318; /* *absv8hi2 */
25713 :
25714 57 : case E_V16SImode:
25715 57 : if (!register_operand (operands[0], E_V16SImode)
25716 57 : || GET_MODE (x3) != E_V16SImode
25717 57 : || !vector_operand (operands[1], E_V16SImode)
25718 57 : || !insn_condition_1948 (operands, insn))
25719 0 : return -1;
25720 : return 7319; /* *absv16si2 */
25721 :
25722 87 : case E_V8SImode:
25723 87 : if (!register_operand (operands[0], E_V8SImode)
25724 86 : || GET_MODE (x3) != E_V8SImode
25725 86 : || !vector_operand (operands[1], E_V8SImode)
25726 87 : || !insn_condition_1540 (operands, insn))
25727 1 : return -1;
25728 : return 7320; /* *absv8si2 */
25729 :
25730 259 : case E_V4SImode:
25731 259 : if (!register_operand (operands[0], E_V4SImode)
25732 259 : || GET_MODE (x3) != E_V4SImode
25733 259 : || !vector_operand (operands[1], E_V4SImode)
25734 518 : || !insn_condition_117 (operands, insn))
25735 99 : return -1;
25736 : return 7321; /* *absv4si2 */
25737 :
25738 75 : case E_V8DImode:
25739 75 : if (!register_operand (operands[0], E_V8DImode)
25740 73 : || GET_MODE (x3) != E_V8DImode
25741 73 : || !vector_operand (operands[1], E_V8DImode)
25742 75 : || !insn_condition_1948 (operands, insn))
25743 2 : return -1;
25744 : return 7322; /* *absv8di2 */
25745 :
25746 73 : case E_V4DImode:
25747 73 : if (!register_operand (operands[0], E_V4DImode)
25748 71 : || GET_MODE (x3) != E_V4DImode
25749 71 : || !vector_operand (operands[1], E_V4DImode)
25750 73 : || !insn_condition_1949 (operands, insn))
25751 2 : return -1;
25752 : return 7323; /* *absv4di2 */
25753 :
25754 195 : case E_V2DImode:
25755 195 : if (!register_operand (operands[0], E_V2DImode)
25756 193 : || GET_MODE (x3) != E_V2DImode
25757 193 : || !vector_operand (operands[1], E_V2DImode)
25758 195 : || !insn_condition_1949 (operands, insn))
25759 126 : return -1;
25760 : return 7324; /* *absv2di2 */
25761 :
25762 : default:
25763 : return -1;
25764 : }
25765 : }
25766 :
25767 : int
25768 2471151 : recog_353 (rtx x1 ATTRIBUTE_UNUSED,
25769 : rtx_insn *insn ATTRIBUTE_UNUSED,
25770 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25771 : {
25772 2471151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25773 2471151 : rtx x2, x3, x4, x5;
25774 2471151 : int res ATTRIBUTE_UNUSED;
25775 2471151 : x2 = XEXP (x1, 0);
25776 2471151 : operands[0] = x2;
25777 2471151 : x3 = XEXP (x1, 1);
25778 2471151 : switch (GET_CODE (x3))
25779 : {
25780 2241978 : case NE:
25781 2241978 : case EQ:
25782 2241978 : case GE:
25783 2241978 : case GT:
25784 2241978 : case LE:
25785 2241978 : case LT:
25786 2241978 : case LTGT:
25787 2241978 : case UNORDERED:
25788 2241978 : case ORDERED:
25789 2241978 : case UNEQ:
25790 2241978 : case UNGE:
25791 2241978 : case UNGT:
25792 2241978 : case UNLE:
25793 2241978 : case UNLT:
25794 2241978 : res = recog_297 (x1, insn, pnum_clobbers);
25795 2241978 : if (res >= 0)
25796 : return res;
25797 : break;
25798 :
25799 : default:
25800 : break;
25801 : }
25802 2364460 : switch (GET_CODE (x3))
25803 : {
25804 104330 : case LT:
25805 104330 : switch (pattern241 (x3))
25806 : {
25807 12 : case 0:
25808 12 : if (insn_condition_1785 (operands, insn))
25809 : return 6327; /* *ashrv16hi3_1 */
25810 : break;
25811 :
25812 16469 : case 1:
25813 16469 : if (insn_condition_163 (operands, insn))
25814 : return 6328; /* *ashrv8hi3_1 */
25815 : break;
25816 :
25817 21 : case 2:
25818 21 : if (insn_condition_1785 (operands, insn))
25819 : return 6329; /* *ashrv8si3_1 */
25820 : break;
25821 :
25822 16993 : case 3:
25823 16993 : if (insn_condition_163 (operands, insn))
25824 : return 6330; /* *ashrv4si3_1 */
25825 : break;
25826 :
25827 : default:
25828 : break;
25829 : }
25830 : break;
25831 :
25832 738053 : case EQ:
25833 738053 : res = recog_298 (x1, insn, pnum_clobbers);
25834 738053 : if (res >= 0)
25835 : return res;
25836 : break;
25837 :
25838 287122 : case GT:
25839 287122 : x4 = XEXP (x3, 0);
25840 287122 : operands[1] = x4;
25841 287122 : x5 = XEXP (x3, 1);
25842 287122 : operands[2] = x5;
25843 287122 : switch (GET_MODE (operands[0]))
25844 : {
25845 2671 : case E_V2DImode:
25846 2671 : if (pattern710 (x3,
25847 : E_V2DImode) == 0
25848 2671 : && insn_condition_169 (operands, insn))
25849 : return 6661; /* sse4_2_gtv2di3 */
25850 : break;
25851 :
25852 382 : case E_V32QImode:
25853 382 : if (pattern12 (x3,
25854 : E_V32QImode) == 0
25855 382 : && insn_condition_1108 (operands, insn))
25856 : return 6662; /* avx2_gtv32qi3 */
25857 : break;
25858 :
25859 119 : case E_V16HImode:
25860 119 : if (pattern12 (x3,
25861 : E_V16HImode) == 0
25862 119 : && insn_condition_1108 (operands, insn))
25863 : return 6663; /* avx2_gtv16hi3 */
25864 : break;
25865 :
25866 753 : case E_V8SImode:
25867 753 : if (pattern12 (x3,
25868 : E_V8SImode) == 0
25869 753 : && insn_condition_1108 (operands, insn))
25870 : return 6664; /* avx2_gtv8si3 */
25871 : break;
25872 :
25873 1021 : case E_V4DImode:
25874 1021 : if (pattern12 (x3,
25875 : E_V4DImode) == 0
25876 1021 : && insn_condition_1108 (operands, insn))
25877 : return 6665; /* avx2_gtv4di3 */
25878 : break;
25879 :
25880 37447 : case E_V16QImode:
25881 37447 : if (pattern710 (x3,
25882 : E_V16QImode) == 0
25883 37447 : && insn_condition_141 (operands, insn))
25884 : return 6666; /* *sse2_gtv16qi3 */
25885 : break;
25886 :
25887 28303 : case E_V8HImode:
25888 28303 : if (pattern710 (x3,
25889 : E_V8HImode) == 0
25890 28303 : && insn_condition_141 (operands, insn))
25891 : return 6667; /* *sse2_gtv8hi3 */
25892 : break;
25893 :
25894 118491 : case E_V4SImode:
25895 118491 : if (pattern710 (x3,
25896 : E_V4SImode) == 0
25897 118491 : && insn_condition_141 (operands, insn))
25898 : return 6668; /* *sse2_gtv4si3 */
25899 : break;
25900 :
25901 : default:
25902 : break;
25903 : }
25904 : break;
25905 :
25906 : default:
25907 : break;
25908 : }
25909 2074849 : operands[1] = x3;
25910 2074849 : x4 = XEXP (x3, 0);
25911 2074849 : operands[2] = x4;
25912 2074849 : x5 = XEXP (x3, 1);
25913 2074849 : operands[3] = x5;
25914 2074849 : switch (GET_CODE (operands[1]))
25915 : {
25916 1594503 : case NE:
25917 1594503 : case EQ:
25918 1594503 : case GE:
25919 1594503 : case GT:
25920 1594503 : case LE:
25921 1594503 : case LT:
25922 1594503 : switch (GET_MODE (operands[0]))
25923 : {
25924 34123 : case E_V16QImode:
25925 34123 : if (pattern837 (
25926 : E_V16QImode) == 0
25927 34123 : && insn_condition_24 (operands, insn))
25928 : return 7737; /* xop_maskcmpv16qi3 */
25929 : break;
25930 :
25931 27162 : case E_V8HImode:
25932 27162 : if (pattern837 (
25933 : E_V8HImode) == 0
25934 27162 : && insn_condition_24 (operands, insn))
25935 : return 7738; /* xop_maskcmpv8hi3 */
25936 : break;
25937 :
25938 120921 : case E_V4SImode:
25939 120921 : if (pattern837 (
25940 : E_V4SImode) == 0
25941 120921 : && insn_condition_24 (operands, insn))
25942 : return 7739; /* xop_maskcmpv4si3 */
25943 : break;
25944 :
25945 10698 : case E_V2DImode:
25946 10698 : if (pattern837 (
25947 : E_V2DImode) == 0
25948 10698 : && insn_condition_24 (operands, insn))
25949 : return 7740; /* xop_maskcmpv2di3 */
25950 : break;
25951 :
25952 : default:
25953 : break;
25954 : }
25955 : break;
25956 :
25957 : default:
25958 : break;
25959 : }
25960 2072900 : switch (GET_CODE (operands[1]))
25961 : {
25962 1374458 : case NE:
25963 1374458 : case EQ:
25964 1374458 : case GEU:
25965 1374458 : case GTU:
25966 1374458 : case LEU:
25967 1374458 : case LTU:
25968 1374458 : switch (GET_MODE (operands[0]))
25969 : {
25970 14977 : case E_V16QImode:
25971 14977 : if (pattern838 (
25972 : E_V16QImode) != 0
25973 14977 : || !insn_condition_24 (operands, insn))
25974 14745 : return -1;
25975 : return 7741; /* xop_maskcmp_unsv16qi3 */
25976 :
25977 12532 : case E_V8HImode:
25978 12532 : if (pattern838 (
25979 : E_V8HImode) != 0
25980 12532 : || !insn_condition_24 (operands, insn))
25981 12300 : return -1;
25982 : return 7742; /* xop_maskcmp_unsv8hi3 */
25983 :
25984 64706 : case E_V4SImode:
25985 64706 : if (pattern838 (
25986 : E_V4SImode) != 0
25987 64706 : || !insn_condition_24 (operands, insn))
25988 64474 : return -1;
25989 : return 7743; /* xop_maskcmp_unsv4si3 */
25990 :
25991 7722 : case E_V2DImode:
25992 7722 : if (pattern838 (
25993 : E_V2DImode) != 0
25994 7722 : || !insn_condition_24 (operands, insn))
25995 7523 : return -1;
25996 : return 7744; /* xop_maskcmp_unsv2di3 */
25997 :
25998 : default:
25999 : return -1;
26000 : }
26001 :
26002 : default:
26003 : return -1;
26004 : }
26005 : }
26006 :
26007 : int
26008 85036 : recog_360 (rtx x1 ATTRIBUTE_UNUSED,
26009 : rtx_insn *insn ATTRIBUTE_UNUSED,
26010 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26011 : {
26012 85036 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26013 85036 : int res ATTRIBUTE_UNUSED;
26014 85036 : switch (pattern34 (x1))
26015 : {
26016 139 : case 0:
26017 139 : if (insn_condition_1682 (operands, insn))
26018 : return 6465; /* *avx2_umaxv32qi3 */
26019 0 : if (!insn_condition_103 (operands, insn))
26020 0 : return -1;
26021 : return 6543; /* *avx512bw_umaxv32qi3 */
26022 :
26023 328 : case 1:
26024 328 : if (insn_condition_1682 (operands, insn))
26025 : return 6469; /* *avx2_umaxv16hi3 */
26026 12 : if (!insn_condition_103 (operands, insn))
26027 12 : return -1;
26028 : return 6559; /* *avx512bw_umaxv16hi3 */
26029 :
26030 485 : case 2:
26031 485 : if (insn_condition_1682 (operands, insn))
26032 : return 6473; /* *avx2_umaxv8si3 */
26033 12 : if (!insn_condition_104 (operands, insn))
26034 12 : return -1;
26035 : return 6487; /* *avx512f_umaxv8si3 */
26036 :
26037 56 : case 3:
26038 56 : if (!insn_condition_59 (operands, insn))
26039 0 : return -1;
26040 : return 6479; /* *avx512f_umaxv16si3 */
26041 :
26042 2207 : case 4:
26043 2207 : if (nonimmediate_operand (operands[1], E_V4SImode)
26044 1303 : && nonimmediate_operand (operands[2], E_V4SImode)
26045 3489 : && insn_condition_104 (operands, insn))
26046 : return 6495; /* *avx512f_umaxv4si3 */
26047 1968 : if (!vector_operand (operands[1], E_V4SImode)
26048 1064 : || !vector_operand (operands[2], E_V4SImode)
26049 3011 : || !insn_condition_1989 (operands, insn))
26050 943 : return -1;
26051 : return 6585; /* *sse4_1_umaxv4si3 */
26052 :
26053 446 : case 5:
26054 446 : if (!insn_condition_59 (operands, insn))
26055 1 : return -1;
26056 : return 6503; /* *avx512f_umaxv8di3 */
26057 :
26058 238 : case 6:
26059 238 : if (!insn_condition_104 (operands, insn))
26060 13 : return -1;
26061 : return 6511; /* *avx512f_umaxv4di3 */
26062 :
26063 57 : case 7:
26064 57 : if (!insn_condition_104 (operands, insn))
26065 1 : return -1;
26066 : return 6519; /* *avx512f_umaxv2di3 */
26067 :
26068 63 : case 8:
26069 63 : if (!insn_condition_918 (operands, insn))
26070 0 : return -1;
26071 : return 6527; /* *avx512bw_umaxv64qi3 */
26072 :
26073 4307 : case 9:
26074 4307 : if (nonimmediate_operand (operands[1], E_V16QImode)
26075 2639 : && nonimmediate_operand (operands[2], E_V16QImode)
26076 6809 : && insn_condition_103 (operands, insn))
26077 : return 6535; /* *avx512bw_umaxv16qi3 */
26078 2686 : if (!vector_operand (operands[1], E_V16QImode)
26079 1012 : || !vector_operand (operands[2], E_V16QImode)
26080 3555 : || !insn_condition_1660 (operands, insn))
26081 1834 : return -1;
26082 : return 6589; /* *umaxv16qi3 */
26083 :
26084 64 : case 10:
26085 64 : if (!insn_condition_918 (operands, insn))
26086 0 : return -1;
26087 : return 6551; /* *avx512bw_umaxv32hi3 */
26088 :
26089 2818 : case 11:
26090 2818 : if (nonimmediate_operand (operands[1], E_V8HImode)
26091 1778 : && nonimmediate_operand (operands[2], E_V8HImode)
26092 4529 : && insn_condition_103 (operands, insn))
26093 : return 6567; /* *avx512bw_umaxv8hi3 */
26094 1632 : if (!vector_operand (operands[1], E_V8HImode)
26095 592 : || !vector_operand (operands[2], E_V8HImode)
26096 2157 : || !insn_condition_1989 (operands, insn))
26097 1125 : return -1;
26098 : return 6581; /* *sse4_1_umaxv8hi3 */
26099 :
26100 : default:
26101 : return -1;
26102 : }
26103 : }
26104 :
26105 : int
26106 7093 : recog_364 (rtx x1 ATTRIBUTE_UNUSED,
26107 : rtx_insn *insn ATTRIBUTE_UNUSED,
26108 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26109 : {
26110 7093 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26111 7093 : int res ATTRIBUTE_UNUSED;
26112 7093 : switch (pattern33 (x1))
26113 : {
26114 108 : case 0:
26115 108 : if (!insn_condition_1917 (operands, insn))
26116 0 : return -1;
26117 : return 6404; /* *rotrv1ti3_internal */
26118 :
26119 43 : case 1:
26120 43 : if (!insn_condition_27 (operands, insn))
26121 0 : return -1;
26122 : return 6441; /* avx512f_rorv16si */
26123 :
26124 43 : case 2:
26125 43 : if (!insn_condition_100 (operands, insn))
26126 0 : return -1;
26127 : return 6445; /* avx512vl_rorv8si */
26128 :
26129 163 : case 3:
26130 163 : if (const_0_to_255_operand (operands[2], E_SImode)
26131 163 : && insn_condition_100 (operands, insn))
26132 : return 6449; /* avx512vl_rorv4si */
26133 114 : if (!const_0_to_31_operand (operands[2], E_SImode)
26134 114 : || !insn_condition_24 (operands, insn))
26135 0 : return -1;
26136 : return 7714; /* xop_rotrv4si3 */
26137 :
26138 49 : case 4:
26139 49 : if (!insn_condition_27 (operands, insn))
26140 0 : return -1;
26141 : return 6453; /* avx512f_rorv8di */
26142 :
26143 49 : case 5:
26144 49 : if (!insn_condition_100 (operands, insn))
26145 0 : return -1;
26146 : return 6457; /* avx512vl_rorv4di */
26147 :
26148 71 : case 6:
26149 71 : if (const_0_to_255_operand (operands[2], E_SImode)
26150 71 : && insn_condition_100 (operands, insn))
26151 : return 6461; /* avx512vl_rorv2di */
26152 20 : if (!const_0_to_63_operand (operands[2], E_SImode)
26153 20 : || !insn_condition_24 (operands, insn))
26154 0 : return -1;
26155 : return 7715; /* xop_rotrv2di3 */
26156 :
26157 80 : case 7:
26158 80 : if (!insn_condition_24 (operands, insn))
26159 80 : return -1;
26160 : return 7712; /* xop_rotrv16qi3 */
26161 :
26162 20 : case 8:
26163 20 : if (!insn_condition_24 (operands, insn))
26164 0 : return -1;
26165 : return 7713; /* xop_rotrv8hi3 */
26166 :
26167 64 : case 9:
26168 64 : if (!insn_condition_27 (operands, insn))
26169 0 : return -1;
26170 : return 6417; /* avx512f_rorvv16si */
26171 :
26172 64 : case 10:
26173 64 : if (!insn_condition_100 (operands, insn))
26174 0 : return -1;
26175 : return 6421; /* avx512vl_rorvv8si */
26176 :
26177 60 : case 11:
26178 60 : if (!insn_condition_100 (operands, insn))
26179 0 : return -1;
26180 : return 6425; /* avx512vl_rorvv4si */
26181 :
26182 61 : case 12:
26183 61 : if (!insn_condition_27 (operands, insn))
26184 0 : return -1;
26185 : return 6429; /* avx512f_rorvv8di */
26186 :
26187 61 : case 13:
26188 61 : if (!insn_condition_100 (operands, insn))
26189 0 : return -1;
26190 : return 6433; /* avx512vl_rorvv4di */
26191 :
26192 54 : case 14:
26193 54 : if (!insn_condition_100 (operands, insn))
26194 0 : return -1;
26195 : return 6437; /* avx512vl_rorvv2di */
26196 :
26197 : default:
26198 : return -1;
26199 : }
26200 : }
26201 :
26202 : int
26203 5682281 : recog_372 (rtx x1 ATTRIBUTE_UNUSED,
26204 : rtx_insn *insn ATTRIBUTE_UNUSED,
26205 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26206 : {
26207 5682281 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26208 5682281 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26209 5682281 : rtx x10, x11;
26210 5682281 : int res ATTRIBUTE_UNUSED;
26211 5682281 : x2 = XVECEXP (x1, 0, 0);
26212 5682281 : x3 = XEXP (x2, 0);
26213 5682281 : switch (GET_CODE (x3))
26214 : {
26215 5588963 : case REG:
26216 5588963 : case SUBREG:
26217 5588963 : case MEM:
26218 5588963 : res = recog_370 (x1, insn, pnum_clobbers);
26219 5588963 : if (res >= 0)
26220 : return res;
26221 : break;
26222 :
26223 1662 : case STRICT_LOW_PART:
26224 1662 : x4 = XVECEXP (x1, 0, 1);
26225 1662 : if (pattern286 (x4,
26226 : E_CCmode,
26227 : 17) == 0)
26228 : {
26229 868 : x5 = XEXP (x3, 0);
26230 868 : operands[0] = x5;
26231 868 : x6 = XEXP (x2, 1);
26232 868 : operands[1] = x6;
26233 868 : switch (GET_MODE (operands[0]))
26234 : {
26235 787 : case E_QImode:
26236 787 : if (register_operand (operands[0], E_QImode)
26237 787 : && const0_operand (operands[1], E_QImode)
26238 1566 : && insn_condition_170 (operands, insn))
26239 : return 117; /* *movstrictqi_xor */
26240 : break;
26241 :
26242 81 : case E_HImode:
26243 81 : if (register_operand (operands[0], E_HImode)
26244 81 : && const0_operand (operands[1], E_HImode)
26245 157 : && insn_condition_170 (operands, insn))
26246 : return 118; /* *movstricthi_xor */
26247 : break;
26248 :
26249 : default:
26250 : break;
26251 : }
26252 : }
26253 : break;
26254 :
26255 78883 : case PC:
26256 78883 : res = recog_371 (x1, insn, pnum_clobbers);
26257 78883 : if (res >= 0)
26258 : return res;
26259 : break;
26260 :
26261 : default:
26262 : break;
26263 : }
26264 3995742 : x4 = XVECEXP (x1, 0, 1);
26265 3995742 : if (GET_CODE (x4) != CLOBBER)
26266 : return -1;
26267 953483 : x7 = XEXP (x4, 0);
26268 953483 : if (GET_CODE (x7) != REG
26269 949551 : || REGNO (x7) != 17
26270 1903030 : || GET_MODE (x7) != E_CCmode)
26271 : return -1;
26272 949547 : x6 = XEXP (x2, 1);
26273 949547 : switch (GET_CODE (x6))
26274 : {
26275 25291 : case SUBREG:
26276 25291 : if (maybe_ne (SUBREG_BYTE (x6), 0))
26277 : return -1;
26278 25099 : switch (pattern1084 (x2))
26279 : {
26280 211 : case 0:
26281 211 : x8 = XEXP (x6, 0);
26282 211 : x9 = XEXP (x8, 1);
26283 211 : operands[2] = x9;
26284 211 : if (general_operand (operands[2], E_QImode))
26285 : {
26286 4 : switch (pattern1082 (x2))
26287 : {
26288 : case 0:
26289 : return 338; /* *addqi_exthi_1 */
26290 :
26291 4 : case 1:
26292 4 : return 339; /* *addqi_extsi_1 */
26293 :
26294 0 : case 2:
26295 0 : if (insn_condition_52 (operands, insn))
26296 : return 340; /* *addqi_extdi_1 */
26297 : break;
26298 :
26299 : default:
26300 : break;
26301 : }
26302 : }
26303 207 : if (GET_CODE (x9) != SUBREG)
26304 : return -1;
26305 207 : switch (pattern1856 (x2))
26306 : {
26307 : case 0:
26308 : return 341; /* *addqi_exthi_2 */
26309 :
26310 23 : case 1:
26311 23 : return 343; /* *addqi_extsi_2 */
26312 :
26313 1 : case 2:
26314 1 : if (!insn_condition_52 (operands, insn))
26315 : return -1;
26316 : return 345; /* *addqi_extdi_2 */
26317 :
26318 : default:
26319 : return -1;
26320 : }
26321 :
26322 50 : case 1:
26323 50 : x8 = XEXP (x6, 0);
26324 50 : x9 = XEXP (x8, 1);
26325 50 : if (GET_CODE (x9) == SUBREG)
26326 : {
26327 46 : switch (pattern1856 (x2))
26328 : {
26329 : case 0:
26330 : return 342; /* *subqi_exthi_2 */
26331 :
26332 4 : case 1:
26333 4 : return 344; /* *subqi_extsi_2 */
26334 :
26335 1 : case 2:
26336 1 : if (insn_condition_52 (operands, insn))
26337 : return 346; /* *subqi_extdi_2 */
26338 : break;
26339 :
26340 : default:
26341 : break;
26342 : }
26343 : }
26344 4 : operands[2] = x9;
26345 4 : if (!general_operand (operands[2], E_QImode))
26346 : return -1;
26347 4 : switch (pattern1082 (x2))
26348 : {
26349 : case 0:
26350 : return 427; /* *subqi_exthi_1 */
26351 :
26352 4 : case 1:
26353 4 : return 428; /* *subqi_extsi_1 */
26354 :
26355 0 : case 2:
26356 0 : if (!insn_condition_52 (operands, insn))
26357 : return -1;
26358 : return 429; /* *subqi_extdi_1 */
26359 :
26360 : default:
26361 : return -1;
26362 : }
26363 :
26364 3426 : case 2:
26365 3426 : x8 = XEXP (x6, 0);
26366 3426 : x9 = XEXP (x8, 1);
26367 3426 : operands[2] = x9;
26368 3426 : if (general_operand (operands[2], E_QImode))
26369 : {
26370 3426 : switch (pattern1082 (x2))
26371 : {
26372 : case 0:
26373 : return 805; /* *andqi_exthi_1 */
26374 :
26375 3 : case 1:
26376 3 : return 808; /* *andqi_extsi_1 */
26377 :
26378 0 : case 2:
26379 0 : if (insn_condition_52 (operands, insn))
26380 : return 811; /* *andqi_extdi_1 */
26381 : break;
26382 :
26383 : default:
26384 : break;
26385 : }
26386 : }
26387 0 : if (GET_CODE (x9) != SUBREG)
26388 : return -1;
26389 0 : switch (pattern1856 (x2))
26390 : {
26391 : case 0:
26392 : return 823; /* *andqi_exthi_2 */
26393 :
26394 0 : case 1:
26395 0 : return 826; /* *andqi_extsi_2 */
26396 :
26397 0 : case 2:
26398 0 : if (!insn_condition_52 (operands, insn))
26399 : return -1;
26400 : return 829; /* *andqi_extdi_2 */
26401 :
26402 : default:
26403 : return -1;
26404 : }
26405 :
26406 4118 : case 3:
26407 4118 : x8 = XEXP (x6, 0);
26408 4118 : x9 = XEXP (x8, 1);
26409 4118 : operands[2] = x9;
26410 4118 : if (general_operand (operands[2], E_QImode))
26411 : {
26412 4118 : switch (pattern1082 (x2))
26413 : {
26414 : case 0:
26415 : return 806; /* *iorqi_exthi_1 */
26416 :
26417 3 : case 1:
26418 3 : return 809; /* *iorqi_extsi_1 */
26419 :
26420 0 : case 2:
26421 0 : if (insn_condition_52 (operands, insn))
26422 : return 812; /* *iorqi_extdi_1 */
26423 : break;
26424 :
26425 : default:
26426 : break;
26427 : }
26428 : }
26429 0 : if (GET_CODE (x9) != SUBREG)
26430 : return -1;
26431 0 : switch (pattern1856 (x2))
26432 : {
26433 : case 0:
26434 : return 824; /* *iorqi_exthi_2 */
26435 :
26436 0 : case 1:
26437 0 : return 827; /* *iorqi_extsi_2 */
26438 :
26439 0 : case 2:
26440 0 : if (!insn_condition_52 (operands, insn))
26441 : return -1;
26442 : return 830; /* *iorqi_extdi_2 */
26443 :
26444 : default:
26445 : return -1;
26446 : }
26447 :
26448 249 : case 4:
26449 249 : x8 = XEXP (x6, 0);
26450 249 : x9 = XEXP (x8, 1);
26451 249 : operands[2] = x9;
26452 249 : if (general_operand (operands[2], E_QImode))
26453 : {
26454 240 : switch (pattern1082 (x2))
26455 : {
26456 : case 0:
26457 : return 807; /* *xorqi_exthi_1 */
26458 :
26459 3 : case 1:
26460 3 : return 810; /* *xorqi_extsi_1 */
26461 :
26462 0 : case 2:
26463 0 : if (insn_condition_52 (operands, insn))
26464 : return 813; /* *xorqi_extdi_1 */
26465 : break;
26466 :
26467 : default:
26468 : break;
26469 : }
26470 : }
26471 9 : if (GET_CODE (x9) != SUBREG)
26472 : return -1;
26473 9 : switch (pattern1856 (x2))
26474 : {
26475 : case 0:
26476 : return 825; /* *xorqi_exthi_2 */
26477 :
26478 0 : case 1:
26479 0 : return 828; /* *xorqi_extsi_2 */
26480 :
26481 0 : case 2:
26482 0 : if (!insn_condition_52 (operands, insn))
26483 : return -1;
26484 : return 831; /* *xorqi_extdi_2 */
26485 :
26486 : default:
26487 : return -1;
26488 : }
26489 :
26490 : case 5:
26491 : return 1024; /* *negqi_exthi_1 */
26492 :
26493 2 : case 6:
26494 2 : return 1025; /* *negqi_extsi_1 */
26495 :
26496 0 : case 7:
26497 0 : if (!insn_condition_52 (operands, insn))
26498 : return -1;
26499 : return 1026; /* *negqi_extdi_1 */
26500 :
26501 6 : case 8:
26502 6 : return 1203; /* *ashlqi_exthi_1 */
26503 :
26504 0 : case 9:
26505 0 : return 1204; /* *ashlqi_extsi_1 */
26506 :
26507 0 : case 10:
26508 0 : if (!insn_condition_52 (operands, insn))
26509 : return -1;
26510 : return 1205; /* *ashlqi_extdi_1 */
26511 :
26512 8176 : case 11:
26513 8176 : operands[0] = x3;
26514 8176 : switch (pattern1269 (x6))
26515 : {
26516 6996 : case 0:
26517 6996 : if (insn_condition_860 (operands, insn))
26518 : return 1222; /* lshrdi3_doubleword_lowpart */
26519 : break;
26520 :
26521 0 : case 1:
26522 0 : if (insn_condition_862 (operands, insn))
26523 : return 1224; /* lshrti3_doubleword_lowpart */
26524 : break;
26525 :
26526 : default:
26527 : break;
26528 : }
26529 8175 : x8 = XEXP (x6, 0);
26530 8175 : if (GET_MODE (x8) != E_QImode)
26531 : return -1;
26532 41 : switch (pattern1083 (x2))
26533 : {
26534 : case 0:
26535 : return 1370; /* *lshrqi_exthi_1 */
26536 :
26537 0 : case 1:
26538 0 : return 1372; /* *lshrqi_extsi_1 */
26539 :
26540 0 : case 2:
26541 0 : if (!insn_condition_52 (operands, insn))
26542 : return -1;
26543 : return 1374; /* *lshrqi_extdi_1 */
26544 :
26545 : default:
26546 : return -1;
26547 : }
26548 :
26549 1758 : case 12:
26550 1758 : operands[0] = x3;
26551 1758 : switch (pattern1269 (x6))
26552 : {
26553 1280 : case 0:
26554 1280 : if (insn_condition_860 (operands, insn))
26555 : return 1223; /* ashrdi3_doubleword_lowpart */
26556 : break;
26557 :
26558 0 : case 1:
26559 0 : if (insn_condition_862 (operands, insn))
26560 : return 1225; /* ashrti3_doubleword_lowpart */
26561 : break;
26562 :
26563 : default:
26564 : break;
26565 : }
26566 1758 : x8 = XEXP (x6, 0);
26567 1758 : if (GET_MODE (x8) != E_QImode)
26568 : return -1;
26569 38 : switch (pattern1083 (x2))
26570 : {
26571 : case 0:
26572 : return 1371; /* *ashrqi_exthi_1 */
26573 :
26574 0 : case 1:
26575 0 : return 1373; /* *ashrqi_extsi_1 */
26576 :
26577 0 : case 2:
26578 0 : if (!insn_condition_52 (operands, insn))
26579 : return -1;
26580 : return 1375; /* *ashrqi_extdi_1 */
26581 :
26582 : default:
26583 : return -1;
26584 : }
26585 :
26586 : default:
26587 : return -1;
26588 : }
26589 :
26590 75964 : case CONST_INT:
26591 75964 : if (GET_CODE (x3) != ZERO_EXTRACT)
26592 : return -1;
26593 2867 : x10 = XEXP (x3, 1);
26594 2867 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
26595 : return -1;
26596 2826 : x5 = XEXP (x3, 0);
26597 2826 : operands[0] = x5;
26598 2826 : x11 = XEXP (x3, 2);
26599 2826 : operands[1] = x11;
26600 2826 : switch (XWINT (x6, 0))
26601 : {
26602 1006 : case 0L:
26603 1006 : switch (GET_CODE (operands[1]))
26604 : {
26605 268 : case REG:
26606 268 : case SUBREG:
26607 268 : if (!register_operand (operands[1], E_QImode)
26608 268 : || GET_MODE (x3) != E_HImode)
26609 : return -1;
26610 67 : switch (GET_MODE (operands[0]))
26611 : {
26612 66 : case E_QImode:
26613 66 : if (!nonimmediate_operand (operands[0], E_QImode)
26614 66 : || !insn_condition_198 (operands, insn))
26615 : return -1;
26616 : return 1543; /* *btrqi_2 */
26617 :
26618 1 : case E_HImode:
26619 1 : if (!nonimmediate_operand (operands[0], E_HImode)
26620 1 : || !insn_condition_198 (operands, insn))
26621 : return -1;
26622 : return 1544; /* *btrhi_2 */
26623 :
26624 : default:
26625 : return -1;
26626 : }
26627 :
26628 722 : case CONST_INT:
26629 722 : if (!const_0_to_63_operand (operands[1], E_QImode)
26630 722 : || GET_MODE (x3) != E_DImode
26631 722 : || !nonimmediate_operand (operands[0], E_DImode)
26632 722 : || !insn_condition_199 (operands, insn))
26633 : return -1;
26634 : return 1546; /* *btrq_imm */
26635 :
26636 : default:
26637 : return -1;
26638 : }
26639 :
26640 1820 : case 1L:
26641 1820 : if (GET_MODE (x3) != E_DImode
26642 1457 : || !nonimmediate_operand (operands[0], E_DImode)
26643 1448 : || !const_0_to_63_operand (operands[1], E_QImode)
26644 3986974 : || !insn_condition_199 (operands, insn))
26645 : return -1;
26646 : return 1545; /* *btsq_imm */
26647 :
26648 : default:
26649 : return -1;
26650 : }
26651 :
26652 : default:
26653 : return -1;
26654 : }
26655 : }
26656 :
26657 : int
26658 82959 : recog_380 (rtx x1 ATTRIBUTE_UNUSED,
26659 : rtx_insn *insn ATTRIBUTE_UNUSED,
26660 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26661 : {
26662 82959 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26663 82959 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26664 82959 : rtx x10;
26665 82959 : int res ATTRIBUTE_UNUSED;
26666 82959 : if (pattern373 (x1) != 0)
26667 : return -1;
26668 28272 : x2 = XVECEXP (x1, 0, 0);
26669 28272 : x3 = XEXP (x2, 1);
26670 28272 : x4 = XEXP (x3, 0);
26671 28272 : x5 = XEXP (x4, 0);
26672 28272 : switch (GET_CODE (x5))
26673 : {
26674 23302 : case REG:
26675 23302 : case SUBREG:
26676 23302 : case MEM:
26677 23302 : operands[1] = x5;
26678 23302 : x6 = XEXP (x4, 1);
26679 23302 : operands[2] = x6;
26680 23302 : switch (GET_MODE (operands[0]))
26681 : {
26682 2 : case E_HImode:
26683 2 : if (!register_operand (operands[0], E_HImode)
26684 2 : || GET_MODE (x3) != E_HImode
26685 2 : || GET_MODE (x4) != E_QImode
26686 2 : || !nonimmediate_operand (operands[1], E_QImode)
26687 2 : || !general_operand (operands[2], E_QImode)
26688 4 : || !insn_condition_294 (operands, insn))
26689 2 : return -1;
26690 : return 292; /* *addqi_1_zexthi */
26691 :
26692 189 : case E_SImode:
26693 189 : if (!register_operand (operands[0], E_SImode)
26694 189 : || GET_MODE (x3) != E_SImode)
26695 : return -1;
26696 189 : switch (GET_MODE (x4))
26697 : {
26698 75 : case E_QImode:
26699 75 : if (!nonimmediate_operand (operands[1], E_QImode)
26700 63 : || !general_operand (operands[2], E_QImode)
26701 138 : || !insn_condition_294 (operands, insn))
26702 75 : return -1;
26703 : return 294; /* *addqi_1_zextsi */
26704 :
26705 114 : case E_HImode:
26706 114 : if (!nonimmediate_operand (operands[1], E_HImode)
26707 114 : || !general_operand (operands[2], E_HImode)
26708 228 : || !insn_condition_294 (operands, insn))
26709 114 : return -1;
26710 : return 298; /* *addhi_1_zextsi */
26711 :
26712 : default:
26713 : return -1;
26714 : }
26715 :
26716 23111 : case E_DImode:
26717 23111 : if (!register_operand (operands[0], E_DImode)
26718 23111 : || GET_MODE (x3) != E_DImode)
26719 : return -1;
26720 23107 : switch (GET_MODE (x4))
26721 : {
26722 42 : case E_QImode:
26723 42 : if (!nonimmediate_operand (operands[1], E_QImode)
26724 42 : || !general_operand (operands[2], E_QImode)
26725 84 : || !insn_condition_294 (operands, insn))
26726 42 : return -1;
26727 : return 296; /* *addqi_1_zextdi */
26728 :
26729 39 : case E_HImode:
26730 39 : if (!nonimmediate_operand (operands[1], E_HImode)
26731 39 : || !general_operand (operands[2], E_HImode)
26732 78 : || !insn_condition_294 (operands, insn))
26733 39 : return -1;
26734 : return 300; /* *addhi_1_zextdi */
26735 :
26736 23026 : case E_SImode:
26737 23026 : if (!nonimmediate_operand (operands[1], E_SImode)
26738 23020 : || !x86_64_general_operand (operands[2], E_SImode)
26739 44278 : || !insn_condition_696 (operands, insn))
26740 2630 : return -1;
26741 : return 301; /* addsi_1_zext */
26742 :
26743 : default:
26744 : return -1;
26745 : }
26746 :
26747 : default:
26748 : return -1;
26749 : }
26750 :
26751 217 : case PLUS:
26752 217 : x7 = XEXP (x5, 0);
26753 217 : switch (GET_CODE (x7))
26754 : {
26755 28 : case LTU:
26756 28 : case UNLT:
26757 28 : operands[3] = x7;
26758 28 : x8 = XEXP (x7, 0);
26759 28 : if (GET_CODE (x8) != REG
26760 28 : || REGNO (x8) != 17)
26761 : return -1;
26762 11 : x9 = XEXP (x7, 1);
26763 11 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
26764 : return -1;
26765 11 : x10 = XEXP (x5, 1);
26766 11 : operands[1] = x10;
26767 11 : x6 = XEXP (x4, 1);
26768 11 : operands[2] = x6;
26769 11 : switch (pattern1191 (x3))
26770 : {
26771 0 : case 0:
26772 0 : if (pattern1814 (x5,
26773 : E_QImode) != 0
26774 0 : || !insn_condition_295 (operands, insn))
26775 0 : return -1;
26776 : return 482; /* *addqi3_carry_zexthi */
26777 :
26778 0 : case 1:
26779 0 : if (pattern1814 (x5,
26780 : E_QImode) != 0
26781 0 : || !insn_condition_295 (operands, insn))
26782 0 : return -1;
26783 : return 483; /* *addqi3_carry_zextsi */
26784 :
26785 0 : case 2:
26786 0 : if (pattern1814 (x5,
26787 : E_HImode) != 0
26788 0 : || !insn_condition_295 (operands, insn))
26789 0 : return -1;
26790 : return 485; /* *addhi3_carry_zextsi */
26791 :
26792 3 : case 3:
26793 3 : if (pattern1814 (x5,
26794 : E_QImode) != 0
26795 3 : || !insn_condition_295 (operands, insn))
26796 3 : return -1;
26797 : return 484; /* *addqi3_carry_zextdi */
26798 :
26799 1 : case 4:
26800 1 : if (pattern1814 (x5,
26801 : E_HImode) != 0
26802 1 : || !insn_condition_295 (operands, insn))
26803 1 : return -1;
26804 : return 486; /* *addhi3_carry_zextdi */
26805 :
26806 7 : case 5:
26807 7 : if (pattern1814 (x5,
26808 : E_SImode) != 0
26809 7 : || !insn_condition_696 (operands, insn))
26810 0 : return -1;
26811 : return 487; /* *addsi3_carry_zext */
26812 :
26813 : default:
26814 : return -1;
26815 : }
26816 :
26817 : default:
26818 : return -1;
26819 : }
26820 :
26821 28 : case LTU:
26822 28 : case UNLT:
26823 28 : switch (pattern1192 (x3))
26824 : {
26825 0 : case 0:
26826 0 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
26827 0 : || !nonimmediate_operand (operands[1], E_QImode)
26828 0 : || !insn_condition_296 (operands, insn))
26829 0 : return -1;
26830 : return 488; /* *addqi3_carry_zexthi_0 */
26831 :
26832 0 : case 1:
26833 0 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
26834 0 : || !nonimmediate_operand (operands[1], E_QImode)
26835 0 : || !insn_condition_296 (operands, insn))
26836 0 : return -1;
26837 : return 489; /* *addqi3_carry_zextsi_0 */
26838 :
26839 4 : case 2:
26840 4 : if (!ix86_carry_flag_operator (operands[2], E_HImode)
26841 4 : || !nonimmediate_operand (operands[1], E_HImode)
26842 8 : || !insn_condition_296 (operands, insn))
26843 4 : return -1;
26844 : return 491; /* *addhi3_carry_zextsi_0 */
26845 :
26846 0 : case 3:
26847 0 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
26848 0 : || !nonimmediate_operand (operands[1], E_QImode)
26849 0 : || !insn_condition_296 (operands, insn))
26850 0 : return -1;
26851 : return 490; /* *addqi3_carry_zextdi_0 */
26852 :
26853 0 : case 4:
26854 0 : if (!ix86_carry_flag_operator (operands[2], E_HImode)
26855 0 : || !nonimmediate_operand (operands[1], E_HImode)
26856 0 : || !insn_condition_296 (operands, insn))
26857 0 : return -1;
26858 : return 492; /* *addhi3_carry_zextdi_0 */
26859 :
26860 14 : case 5:
26861 14 : if (!ix86_carry_flag_operator (operands[2], E_SImode)
26862 14 : || !nonimmediate_operand (operands[1], E_SImode)
26863 28 : || !insn_condition_52 (operands, insn))
26864 0 : return -1;
26865 : return 493; /* *addsi3_carry_zext_0 */
26866 :
26867 : default:
26868 : return -1;
26869 : }
26870 :
26871 14 : case GE:
26872 14 : case GEU:
26873 14 : switch (pattern1192 (x3))
26874 : {
26875 0 : case 0:
26876 0 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
26877 0 : || !nonimmediate_operand (operands[1], E_QImode)
26878 0 : || !insn_condition_296 (operands, insn))
26879 0 : return -1;
26880 : return 494; /* *addqi3_carry_zexthi_0r */
26881 :
26882 0 : case 1:
26883 0 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
26884 0 : || !nonimmediate_operand (operands[1], E_QImode)
26885 0 : || !insn_condition_296 (operands, insn))
26886 0 : return -1;
26887 : return 495; /* *addqi3_carry_zextsi_0r */
26888 :
26889 0 : case 2:
26890 0 : if (!ix86_carry_flag_unset_operator (operands[2], E_HImode)
26891 0 : || !nonimmediate_operand (operands[1], E_HImode)
26892 0 : || !insn_condition_296 (operands, insn))
26893 0 : return -1;
26894 : return 497; /* *addhi3_carry_zextsi_0r */
26895 :
26896 0 : case 3:
26897 0 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
26898 0 : || !nonimmediate_operand (operands[1], E_QImode)
26899 0 : || !insn_condition_296 (operands, insn))
26900 0 : return -1;
26901 : return 496; /* *addqi3_carry_zextdi_0r */
26902 :
26903 0 : case 4:
26904 0 : if (!ix86_carry_flag_unset_operator (operands[2], E_HImode)
26905 0 : || !nonimmediate_operand (operands[1], E_HImode)
26906 0 : || !insn_condition_296 (operands, insn))
26907 0 : return -1;
26908 : return 498; /* *addhi3_carry_zextdi_0r */
26909 :
26910 4 : case 5:
26911 4 : if (!ix86_carry_flag_unset_operator (operands[2], E_SImode)
26912 4 : || !nonimmediate_operand (operands[1], E_SImode)
26913 8 : || !insn_condition_52 (operands, insn))
26914 0 : return -1;
26915 : return 499; /* *addsi3_carry_zext_0r */
26916 :
26917 : default:
26918 : return -1;
26919 : }
26920 :
26921 0 : case UNSPEC:
26922 0 : if (pattern1193 (x5) != 0
26923 0 : || !register_operand (operands[0], E_DImode)
26924 0 : || GET_MODE (x3) != E_DImode
26925 0 : || GET_MODE (x4) != E_SImode)
26926 : return -1;
26927 0 : x6 = XEXP (x4, 1);
26928 0 : operands[1] = x6;
26929 0 : if (!register_operand (operands[1], E_SImode)
26930 0 : || !insn_condition_635 (operands, insn))
26931 0 : return -1;
26932 : return 1802; /* *add_tp_x32_zext */
26933 :
26934 : default:
26935 : return -1;
26936 : }
26937 : }
26938 :
26939 : int
26940 267377 : recog_382 (rtx x1 ATTRIBUTE_UNUSED,
26941 : rtx_insn *insn ATTRIBUTE_UNUSED,
26942 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26943 : {
26944 267377 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26945 267377 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26946 267377 : rtx x10, x11, x12, x13, x14;
26947 267377 : int res ATTRIBUTE_UNUSED;
26948 267377 : x2 = XVECEXP (x1, 0, 0);
26949 267377 : x3 = XEXP (x2, 1);
26950 267377 : x4 = XEXP (x3, 0);
26951 267377 : switch (GET_CODE (x4))
26952 : {
26953 61812 : case REG:
26954 61812 : case SUBREG:
26955 61812 : case MEM:
26956 61812 : operands[1] = x4;
26957 61812 : if (pattern373 (x1) != 0)
26958 : return -1;
26959 2430 : switch (pattern1190 (x3))
26960 : {
26961 99 : case 0:
26962 99 : if (!insn_condition_289 (operands, insn))
26963 99 : return -1;
26964 : return 183; /* zero_extendqisi2_and */
26965 :
26966 345 : case 1:
26967 345 : if (!insn_condition_289 (operands, insn))
26968 345 : return -1;
26969 : return 184; /* zero_extendhisi2_and */
26970 :
26971 101 : case 2:
26972 101 : if (!insn_condition_289 (operands, insn))
26973 101 : return -1;
26974 : return 187; /* zero_extendqihi2_and */
26975 :
26976 : default:
26977 : return -1;
26978 : }
26979 :
26980 82959 : case PLUS:
26981 82959 : return recog_380 (x1, insn, pnum_clobbers);
26982 :
26983 49154 : case MINUS:
26984 49154 : return recog_381 (x1, insn, pnum_clobbers);
26985 :
26986 15452 : case MULT:
26987 15452 : if (pattern374 (x1) != 0)
26988 : return -1;
26989 3606 : switch (GET_MODE (operands[0]))
26990 : {
26991 26 : case E_SImode:
26992 26 : if (!register_operand (operands[0], E_SImode)
26993 26 : || GET_MODE (x3) != E_SImode
26994 26 : || GET_MODE (x4) != E_HImode
26995 26 : || !nonimmediate_operand (operands[1], E_HImode)
26996 20 : || !immediate_operand (operands[2], E_HImode)
26997 27 : || !insn_condition_714 (operands, insn))
26998 26 : return -1;
26999 : return 626; /* *imulhisizu */
27000 :
27001 3580 : case E_DImode:
27002 3580 : if (!register_operand (operands[0], E_DImode)
27003 3580 : || GET_MODE (x3) != E_DImode)
27004 : return -1;
27005 3580 : switch (GET_MODE (x4))
27006 : {
27007 0 : case E_HImode:
27008 0 : if (!nonimmediate_operand (operands[1], E_HImode)
27009 0 : || !immediate_operand (operands[2], E_HImode)
27010 0 : || !insn_condition_714 (operands, insn))
27011 0 : return -1;
27012 : return 628; /* *imulhidizu */
27013 :
27014 3580 : case E_SImode:
27015 3580 : if (!nonimmediate_operand (operands[1], E_SImode)
27016 2612 : || !x86_64_general_operand (operands[2], E_SImode)
27017 6192 : || !insn_condition_716 (operands, insn))
27018 1163 : return -1;
27019 : return 630; /* *mulsi3_1_zext */
27020 :
27021 : default:
27022 : return -1;
27023 : }
27024 :
27025 : default:
27026 : return -1;
27027 : }
27028 :
27029 152 : case DIV:
27030 152 : if (pattern375 (x1, pnum_clobbers,
27031 : MOD) != 0
27032 44 : || pattern1356 (x1) != 0
27033 171 : || !insn_condition_52 (operands, insn))
27034 : return -1;
27035 19 : *pnum_clobbers = 1;
27036 19 : return 687; /* *divmodsi4_zext_1 */
27037 :
27038 451 : case UDIV:
27039 451 : if (pattern375 (x1, pnum_clobbers,
27040 : UMOD) != 0)
27041 : return -1;
27042 364 : switch (pattern1358 (x1))
27043 : {
27044 201 : case 0:
27045 201 : if (!insn_condition_52 (operands, insn))
27046 : return -1;
27047 177 : *pnum_clobbers = 1;
27048 177 : return 688; /* *udivmodsi4_zext_1 */
27049 :
27050 3 : case 1:
27051 3 : if (!insn_condition_2098 (operands, insn))
27052 : return -1;
27053 0 : *pnum_clobbers = 1;
27054 0 : return 689; /* *udivmodsi4_pow2_zext_1 */
27055 :
27056 : default:
27057 : return -1;
27058 : }
27059 :
27060 69 : case MOD:
27061 69 : if (pattern376 (x1, pnum_clobbers,
27062 : DIV) != 0
27063 55 : || pattern1359 (x1) != 0
27064 84 : || !insn_condition_52 (operands, insn))
27065 : return -1;
27066 15 : *pnum_clobbers = 1;
27067 15 : return 690; /* *divmodsi4_zext_2 */
27068 :
27069 49 : case UMOD:
27070 49 : if (pattern376 (x1, pnum_clobbers,
27071 : UDIV) != 0)
27072 : return -1;
27073 49 : switch (pattern1360 (x1))
27074 : {
27075 49 : case 0:
27076 49 : if (!insn_condition_52 (operands, insn))
27077 : return -1;
27078 49 : *pnum_clobbers = 1;
27079 49 : return 691; /* *udivmodsi4_zext_2 */
27080 :
27081 0 : case 1:
27082 0 : if (!insn_condition_2098 (operands, insn))
27083 : return -1;
27084 0 : *pnum_clobbers = 1;
27085 0 : return 692; /* *udivmodsi4_pow2_zext_2 */
27086 :
27087 : default:
27088 : return -1;
27089 : }
27090 :
27091 11104 : case AND:
27092 11104 : if (pattern373 (x1) != 0)
27093 : return -1;
27094 10197 : x5 = XEXP (x4, 0);
27095 10197 : switch (GET_CODE (x5))
27096 : {
27097 9842 : case REG:
27098 9842 : case SUBREG:
27099 9842 : case MEM:
27100 9842 : switch (pattern1086 (x3))
27101 : {
27102 1 : case 0:
27103 1 : if (!insn_condition_294 (operands, insn))
27104 1 : return -1;
27105 : return 741; /* *andqi_1_zexthi */
27106 :
27107 94 : case 1:
27108 94 : if (!insn_condition_294 (operands, insn))
27109 94 : return -1;
27110 : return 743; /* *andqi_1_zextsi */
27111 :
27112 361 : case 2:
27113 361 : if (!insn_condition_294 (operands, insn))
27114 361 : return -1;
27115 : return 747; /* *andhi_1_zextsi */
27116 :
27117 83 : case 3:
27118 83 : if (!insn_condition_294 (operands, insn))
27119 83 : return -1;
27120 : return 745; /* *andqi_1_zextdi */
27121 :
27122 16 : case 4:
27123 16 : if (!insn_condition_294 (operands, insn))
27124 16 : return -1;
27125 : return 749; /* *andhi_1_zextdi */
27126 :
27127 9276 : case 5:
27128 9276 : if (!insn_condition_697 (operands, insn))
27129 1483 : return -1;
27130 : return 750; /* *andsi_1_zext */
27131 :
27132 : default:
27133 : return -1;
27134 : }
27135 :
27136 198 : case PLUS:
27137 198 : if (pattern734 (x5) != 0
27138 27 : || !register_operand (operands[0], E_DImode)
27139 27 : || GET_MODE (x3) != E_DImode
27140 225 : || GET_MODE (x4) != E_SImode)
27141 : return -1;
27142 27 : x6 = XEXP (x5, 0);
27143 27 : x7 = XEXP (x6, 1);
27144 27 : operands[2] = x7;
27145 27 : if (!register_operand (operands[2], E_QImode))
27146 : return -1;
27147 27 : x8 = XEXP (x4, 1);
27148 27 : operands[1] = x8;
27149 27 : if (!nonimmediate_operand (operands[1], E_SImode)
27150 27 : || !insn_condition_612 (operands, insn))
27151 26 : return -1;
27152 : return 1736; /* *bmi2_bzhi_zero_extendsidi_4 */
27153 :
27154 : default:
27155 : return -1;
27156 : }
27157 :
27158 2412 : case IOR:
27159 2412 : if (pattern377 (x1) != 0)
27160 : return -1;
27161 1594 : switch (pattern1086 (x3))
27162 : {
27163 0 : case 0:
27164 0 : if (!insn_condition_294 (operands, insn))
27165 0 : return -1;
27166 : return 876; /* *iorqi_1_zexthi */
27167 :
27168 66 : case 1:
27169 66 : if (!insn_condition_294 (operands, insn))
27170 66 : return -1;
27171 : return 880; /* *iorqi_1_zextsi */
27172 :
27173 13 : case 2:
27174 13 : if (!insn_condition_294 (operands, insn))
27175 13 : return -1;
27176 : return 888; /* *iorhi_1_zextsi */
27177 :
27178 5 : case 3:
27179 5 : if (!insn_condition_294 (operands, insn))
27180 5 : return -1;
27181 : return 884; /* *iorqi_1_zextdi */
27182 :
27183 1 : case 4:
27184 1 : if (!insn_condition_294 (operands, insn))
27185 1 : return -1;
27186 : return 892; /* *iorhi_1_zextdi */
27187 :
27188 215 : case 5:
27189 215 : if (!insn_condition_717 (operands, insn))
27190 10 : return -1;
27191 : return 895; /* *iorsi_1_zext */
27192 :
27193 : default:
27194 : return -1;
27195 : }
27196 :
27197 2576 : case XOR:
27198 2576 : if (pattern373 (x1) != 0)
27199 : return -1;
27200 1064 : x5 = XEXP (x4, 0);
27201 1064 : switch (GET_CODE (x5))
27202 : {
27203 663 : case REG:
27204 663 : case SUBREG:
27205 663 : case MEM:
27206 663 : switch (pattern1086 (x3))
27207 : {
27208 6 : case 0:
27209 6 : if (!insn_condition_294 (operands, insn))
27210 6 : return -1;
27211 : return 878; /* *xorqi_1_zexthi */
27212 :
27213 66 : case 1:
27214 66 : if (!insn_condition_294 (operands, insn))
27215 66 : return -1;
27216 : return 882; /* *xorqi_1_zextsi */
27217 :
27218 46 : case 2:
27219 46 : if (!insn_condition_294 (operands, insn))
27220 46 : return -1;
27221 : return 890; /* *xorhi_1_zextsi */
27222 :
27223 157 : case 3:
27224 157 : if (!insn_condition_294 (operands, insn))
27225 157 : return -1;
27226 : return 886; /* *xorqi_1_zextdi */
27227 :
27228 2 : case 4:
27229 2 : if (!insn_condition_294 (operands, insn))
27230 2 : return -1;
27231 : return 894; /* *xorhi_1_zextdi */
27232 :
27233 290 : case 5:
27234 290 : if (!insn_condition_711 (operands, insn))
27235 16 : return -1;
27236 : return 896; /* *xorsi_1_zext */
27237 :
27238 : default:
27239 : return -1;
27240 : }
27241 :
27242 104 : case MINUS:
27243 104 : if (pattern1195 (x4) != 0
27244 80 : || !register_operand (operands[0], E_DImode)
27245 80 : || GET_MODE (x3) != E_DImode
27246 184 : || GET_MODE (x4) != E_SImode)
27247 : return -1;
27248 80 : x9 = XEXP (x5, 1);
27249 80 : x10 = XEXP (x9, 0);
27250 80 : operands[1] = x10;
27251 80 : if (!nonimmediate_operand (operands[1], E_SImode)
27252 80 : || !insn_condition_712 (operands, insn))
27253 37 : return -1;
27254 : return 1669; /* *bsru_2 */
27255 :
27256 : default:
27257 : return -1;
27258 : }
27259 :
27260 1961 : case NEG:
27261 1961 : if (pattern378 (x1) != 0)
27262 : return -1;
27263 247 : switch (pattern380 (x3))
27264 : {
27265 0 : case 0:
27266 0 : if (!insn_condition_298 (operands, insn))
27267 0 : return -1;
27268 : return 999; /* *negqi_1_zexthi */
27269 :
27270 0 : case 1:
27271 0 : if (!insn_condition_298 (operands, insn))
27272 0 : return -1;
27273 : return 1001; /* *negqi_1_zextsi */
27274 :
27275 0 : case 2:
27276 0 : if (!insn_condition_298 (operands, insn))
27277 0 : return -1;
27278 : return 1005; /* *neghi_1_zextsi */
27279 :
27280 0 : case 3:
27281 0 : if (!insn_condition_298 (operands, insn))
27282 0 : return -1;
27283 : return 1003; /* *negqi_1_zextdi */
27284 :
27285 0 : case 4:
27286 0 : if (!insn_condition_298 (operands, insn))
27287 0 : return -1;
27288 : return 1007; /* *neghi_1_zextdi */
27289 :
27290 235 : case 5:
27291 235 : if (!insn_condition_718 (operands, insn))
27292 22 : return -1;
27293 : return 1008; /* *negsi_1_zext */
27294 :
27295 : default:
27296 : return -1;
27297 : }
27298 :
27299 5613 : case ASHIFT:
27300 5613 : switch (pattern382 (x1))
27301 : {
27302 0 : case 0:
27303 0 : if (!insn_condition_298 (operands, insn))
27304 0 : return -1;
27305 : return 1178; /* *ashlqi3_1_zexthi */
27306 :
27307 0 : case 1:
27308 0 : if (!insn_condition_298 (operands, insn))
27309 0 : return -1;
27310 : return 1180; /* *ashlqi3_1_zextsi */
27311 :
27312 0 : case 2:
27313 0 : if (!insn_condition_298 (operands, insn))
27314 0 : return -1;
27315 : return 1184; /* *ashlhi3_1_zextsi */
27316 :
27317 0 : case 3:
27318 0 : if (!insn_condition_298 (operands, insn))
27319 0 : return -1;
27320 : return 1182; /* *ashlqi3_1_zextdi */
27321 :
27322 0 : case 4:
27323 0 : if (!insn_condition_298 (operands, insn))
27324 0 : return -1;
27325 : return 1186; /* *ashlhi3_1_zextdi */
27326 :
27327 4474 : case 5:
27328 4474 : if (!insn_condition_720 (operands, insn))
27329 26 : return -1;
27330 : return 1187; /* *ashlsi3_1_zext */
27331 :
27332 : default:
27333 : return -1;
27334 : }
27335 :
27336 4693 : case ASHIFTRT:
27337 4693 : if (pattern374 (x1) != 0)
27338 : return -1;
27339 2711 : switch (GET_MODE (operands[0]))
27340 : {
27341 2693 : case E_DImode:
27342 2693 : if (!register_operand (operands[0], E_DImode)
27343 2693 : || GET_MODE (x3) != E_DImode)
27344 : return -1;
27345 2693 : switch (GET_MODE (x4))
27346 : {
27347 2165 : case E_SImode:
27348 2165 : if (!nonimmediate_operand (operands[1], E_SImode))
27349 : return -1;
27350 1095 : if (const_int_operand (operands[2], E_QImode)
27351 1095 : && insn_condition_611 (operands, insn))
27352 : return 1302; /* *ashrsi3_cvt_zext */
27353 1091 : if (!nonmemory_operand (operands[2], E_QImode)
27354 1091 : || !insn_condition_721 (operands, insn))
27355 52 : return -1;
27356 : return 1339; /* *ashrsi3_1_zext */
27357 :
27358 528 : case E_QImode:
27359 528 : if (!nonimmediate_operand (operands[1], E_QImode)
27360 528 : || !nonmemory_operand (operands[2], E_QImode)
27361 1056 : || !insn_condition_298 (operands, insn))
27362 528 : return -1;
27363 : return 1329; /* *ashrqi3_1_zextdi */
27364 :
27365 0 : case E_HImode:
27366 0 : if (!nonimmediate_operand (operands[1], E_HImode)
27367 0 : || !nonmemory_operand (operands[2], E_QImode)
27368 0 : || !insn_condition_298 (operands, insn))
27369 0 : return -1;
27370 : return 1337; /* *ashrhi3_1_zextdi */
27371 :
27372 : default:
27373 : return -1;
27374 : }
27375 :
27376 0 : case E_HImode:
27377 0 : if (!register_operand (operands[0], E_HImode)
27378 0 : || GET_MODE (x3) != E_HImode
27379 0 : || GET_MODE (x4) != E_QImode
27380 0 : || !nonimmediate_operand (operands[1], E_QImode)
27381 0 : || !nonmemory_operand (operands[2], E_QImode)
27382 0 : || !insn_condition_298 (operands, insn))
27383 0 : return -1;
27384 : return 1321; /* *ashrqi3_1_zexthi */
27385 :
27386 18 : case E_SImode:
27387 18 : if (!register_operand (operands[0], E_SImode)
27388 18 : || GET_MODE (x3) != E_SImode
27389 36 : || !nonmemory_operand (operands[2], E_QImode))
27390 : return -1;
27391 18 : switch (GET_MODE (x4))
27392 : {
27393 6 : case E_QImode:
27394 6 : if (!nonimmediate_operand (operands[1], E_QImode)
27395 6 : || !insn_condition_298 (operands, insn))
27396 6 : return -1;
27397 : return 1325; /* *ashrqi3_1_zextsi */
27398 :
27399 12 : case E_HImode:
27400 12 : if (!nonimmediate_operand (operands[1], E_HImode)
27401 12 : || !insn_condition_298 (operands, insn))
27402 12 : return -1;
27403 : return 1333; /* *ashrhi3_1_zextsi */
27404 :
27405 : default:
27406 : return -1;
27407 : }
27408 :
27409 : default:
27410 : return -1;
27411 : }
27412 :
27413 19878 : case LSHIFTRT:
27414 19878 : x11 = XEXP (x2, 0);
27415 19878 : operands[0] = x11;
27416 19878 : x5 = XEXP (x4, 0);
27417 19878 : operands[1] = x5;
27418 19878 : x8 = XEXP (x4, 1);
27419 19878 : operands[2] = x8;
27420 19878 : x12 = XVECEXP (x1, 0, 1);
27421 19878 : switch (GET_CODE (x12))
27422 : {
27423 19787 : case CLOBBER:
27424 19787 : x13 = XEXP (x12, 0);
27425 19787 : if (GET_CODE (x13) != REG
27426 19787 : || REGNO (x13) != 17
27427 39574 : || GET_MODE (x13) != E_CCmode)
27428 : return -1;
27429 19787 : switch (pattern381 (x3))
27430 : {
27431 75 : case 0:
27432 75 : if (!insn_condition_298 (operands, insn))
27433 75 : return -1;
27434 : return 1319; /* *lshrqi3_1_zexthi */
27435 :
27436 1010 : case 1:
27437 1010 : if (!insn_condition_298 (operands, insn))
27438 1010 : return -1;
27439 : return 1323; /* *lshrqi3_1_zextsi */
27440 :
27441 367 : case 2:
27442 367 : if (!insn_condition_298 (operands, insn))
27443 367 : return -1;
27444 : return 1331; /* *lshrhi3_1_zextsi */
27445 :
27446 469 : case 3:
27447 469 : if (!insn_condition_298 (operands, insn))
27448 467 : return -1;
27449 : return 1327; /* *lshrqi3_1_zextdi */
27450 :
27451 61 : case 4:
27452 61 : if (!insn_condition_298 (operands, insn))
27453 59 : return -1;
27454 : return 1335; /* *lshrhi3_1_zextdi */
27455 :
27456 16933 : case 5:
27457 16933 : if (!insn_condition_722 (operands, insn))
27458 256 : return -1;
27459 : return 1338; /* *lshrsi3_1_zext */
27460 :
27461 : default:
27462 : return -1;
27463 : }
27464 :
27465 6 : case UNSPEC:
27466 6 : if (XVECLEN (x12, 0) != 1
27467 6 : || XINT (x12, 1) != 173)
27468 : return -1;
27469 6 : x14 = XVECEXP (x12, 0, 0);
27470 6 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
27471 6 : || pattern1268 (x3,
27472 : E_SImode,
27473 : E_DImode) != 0
27474 1 : || !const_0_to_31_operand (operands[2], E_VOIDmode)
27475 7 : || !insn_condition_12 (operands, insn))
27476 5 : return -1;
27477 : return 2784; /* *klshrsi3_1_zext */
27478 :
27479 : default:
27480 : return -1;
27481 : }
27482 :
27483 0 : case ROTATE:
27484 0 : switch (pattern382 (x1))
27485 : {
27486 0 : case 0:
27487 0 : if (!insn_condition_298 (operands, insn))
27488 0 : return -1;
27489 : return 1484; /* *rotlqi3_1_zexthi */
27490 :
27491 0 : case 1:
27492 0 : if (!insn_condition_298 (operands, insn))
27493 0 : return -1;
27494 : return 1488; /* *rotlqi3_1_zextsi */
27495 :
27496 0 : case 2:
27497 0 : if (!insn_condition_298 (operands, insn))
27498 0 : return -1;
27499 : return 1496; /* *rotlhi3_1_zextsi */
27500 :
27501 0 : case 3:
27502 0 : if (!insn_condition_298 (operands, insn))
27503 0 : return -1;
27504 : return 1492; /* *rotlqi3_1_zextdi */
27505 :
27506 0 : case 4:
27507 0 : if (!insn_condition_298 (operands, insn))
27508 0 : return -1;
27509 : return 1500; /* *rotlhi3_1_zextdi */
27510 :
27511 0 : case 5:
27512 0 : if (!insn_condition_725 (operands, insn))
27513 0 : return -1;
27514 : return 1503; /* *rotlsi3_1_zext */
27515 :
27516 : default:
27517 : return -1;
27518 : }
27519 :
27520 29 : case ROTATERT:
27521 29 : switch (pattern382 (x1))
27522 : {
27523 0 : case 0:
27524 0 : if (!insn_condition_298 (operands, insn))
27525 0 : return -1;
27526 : return 1486; /* *rotrqi3_1_zexthi */
27527 :
27528 1 : case 1:
27529 1 : if (!insn_condition_298 (operands, insn))
27530 1 : return -1;
27531 : return 1490; /* *rotrqi3_1_zextsi */
27532 :
27533 0 : case 2:
27534 0 : if (!insn_condition_298 (operands, insn))
27535 0 : return -1;
27536 : return 1498; /* *rotrhi3_1_zextsi */
27537 :
27538 0 : case 3:
27539 0 : if (!insn_condition_298 (operands, insn))
27540 0 : return -1;
27541 : return 1494; /* *rotrqi3_1_zextdi */
27542 :
27543 0 : case 4:
27544 0 : if (!insn_condition_298 (operands, insn))
27545 0 : return -1;
27546 : return 1502; /* *rotrhi3_1_zextdi */
27547 :
27548 8 : case 5:
27549 8 : if (!insn_condition_724 (operands, insn))
27550 0 : return -1;
27551 : return 1504; /* *rotrsi3_1_zext */
27552 :
27553 : default:
27554 : return -1;
27555 : }
27556 :
27557 85 : case CTZ:
27558 85 : if (GET_MODE (x4) != E_SImode)
27559 : return -1;
27560 85 : x11 = XEXP (x2, 0);
27561 85 : operands[0] = x11;
27562 85 : if (!register_operand (operands[0], E_DImode)
27563 85 : || GET_MODE (x3) != E_DImode)
27564 : return -1;
27565 85 : switch (pattern976 (x1, pnum_clobbers))
27566 : {
27567 30 : case 0:
27568 30 : if (!insn_condition_52 (operands, insn))
27569 0 : return -1;
27570 : return 1651; /* *ctzsidi2_uext */
27571 :
27572 0 : case 1:
27573 0 : if (!insn_condition_52 (operands, insn))
27574 : return -1;
27575 0 : *pnum_clobbers = 1;
27576 0 : return 1653; /* *ctzsidi2_uext_falsedep */
27577 :
27578 : default:
27579 : return -1;
27580 : }
27581 :
27582 0 : case CLZ:
27583 0 : if (GET_MODE (x4) != E_SImode)
27584 : return -1;
27585 0 : x11 = XEXP (x2, 0);
27586 0 : operands[0] = x11;
27587 0 : if (!register_operand (operands[0], E_DImode)
27588 0 : || GET_MODE (x3) != E_DImode)
27589 : return -1;
27590 0 : switch (pattern576 (x1, pnum_clobbers))
27591 : {
27592 0 : case 0:
27593 0 : if (!nonimmediate_operand (operands[1], E_SImode)
27594 0 : || !insn_condition_726 (operands, insn))
27595 0 : return -1;
27596 : return 1681; /* *clzsi2_lzcnt_zext_2 */
27597 :
27598 0 : case 1:
27599 0 : x12 = XVECEXP (x1, 0, 1);
27600 0 : x14 = XVECEXP (x12, 0, 0);
27601 0 : switch (pattern1464 (x14))
27602 : {
27603 0 : case 0:
27604 0 : if (!insn_condition_892 (operands, insn))
27605 : return -1;
27606 0 : *pnum_clobbers = 1;
27607 0 : return 1682; /* *clzsi2_lzcnt_zext_2_falsedep */
27608 :
27609 0 : case 1:
27610 0 : if (!insn_condition_933 (operands, insn))
27611 : return -1;
27612 0 : *pnum_clobbers = 1;
27613 0 : return 1683; /* *clzsi2_lzcnt_zext_2_falsedep */
27614 :
27615 : default:
27616 : return -1;
27617 : }
27618 :
27619 : default:
27620 : return -1;
27621 : }
27622 :
27623 35 : case POPCOUNT:
27624 35 : x11 = XEXP (x2, 0);
27625 35 : operands[0] = x11;
27626 35 : switch (pattern576 (x1, pnum_clobbers))
27627 : {
27628 35 : case 0:
27629 35 : switch (GET_MODE (operands[0]))
27630 : {
27631 2 : case E_DImode:
27632 2 : if (pattern379 (x3,
27633 : E_SImode,
27634 : E_DImode) != 0
27635 2 : || !insn_condition_727 (operands, insn))
27636 0 : return -1;
27637 : return 1772; /* *popcountsi2_zext_2 */
27638 :
27639 33 : case E_SImode:
27640 33 : if (pattern379 (x3,
27641 : E_HImode,
27642 : E_SImode) != 0
27643 33 : || !insn_condition_728 (operands, insn))
27644 30 : return -1;
27645 : return 1775; /* *popcounthi2_2 */
27646 :
27647 : default:
27648 : return -1;
27649 : }
27650 :
27651 0 : case 1:
27652 0 : if (!register_operand (operands[0], E_DImode)
27653 0 : || GET_MODE (x3) != E_DImode
27654 0 : || GET_MODE (x4) != E_SImode
27655 0 : || !nonimmediate_operand (operands[1], E_SImode))
27656 : return -1;
27657 0 : x12 = XVECEXP (x1, 0, 1);
27658 0 : x14 = XVECEXP (x12, 0, 0);
27659 0 : operands[2] = x14;
27660 0 : if (!register_operand (operands[2], E_DImode)
27661 0 : || !insn_condition_727 (operands, insn))
27662 : return -1;
27663 0 : *pnum_clobbers = 1;
27664 0 : return 1773; /* *popcountsi2_zext_2_falsedep */
27665 :
27666 : default:
27667 : return -1;
27668 : }
27669 :
27670 510 : case NOT:
27671 510 : if (GET_MODE (x4) != E_SImode)
27672 : return -1;
27673 169 : x12 = XVECEXP (x1, 0, 1);
27674 169 : if (pattern422 (x12,
27675 : 173,
27676 : 0) != 0)
27677 : return -1;
27678 0 : x11 = XEXP (x2, 0);
27679 0 : operands[0] = x11;
27680 0 : if (!register_operand (operands[0], E_DImode)
27681 0 : || GET_MODE (x3) != E_DImode)
27682 : return -1;
27683 0 : x5 = XEXP (x4, 0);
27684 0 : operands[1] = x5;
27685 0 : if (!register_operand (operands[1], E_SImode)
27686 0 : || !insn_condition_12 (operands, insn))
27687 0 : return -1;
27688 : return 2771; /* *knotsi_1_zext */
27689 :
27690 613 : case UNSPEC:
27691 613 : return recog_379 (x1, insn, pnum_clobbers);
27692 :
27693 : default:
27694 : return -1;
27695 : }
27696 : }
27697 :
27698 : int
27699 422262 : recog_402 (rtx x1 ATTRIBUTE_UNUSED,
27700 : rtx_insn *insn ATTRIBUTE_UNUSED,
27701 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27702 : {
27703 422262 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27704 422262 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27705 422262 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
27706 422262 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
27707 422262 : rtx x26, x27, x28, x29, x30;
27708 422262 : int res ATTRIBUTE_UNUSED;
27709 422262 : x2 = XVECEXP (x1, 0, 0);
27710 422262 : x3 = XEXP (x2, 1);
27711 422262 : x4 = XEXP (x3, 0);
27712 422262 : switch (GET_CODE (x4))
27713 : {
27714 109896 : case PLUS:
27715 109896 : if (pattern726 (x1,
27716 : PLUS) != 0)
27717 : return -1;
27718 102607 : x5 = XEXP (x4, 0);
27719 102607 : switch (GET_CODE (x5))
27720 : {
27721 101084 : case SIGN_EXTEND:
27722 101084 : switch (pattern1612 (x1))
27723 : {
27724 1555 : case 0:
27725 1555 : if (!insn_condition_449 (operands, insn))
27726 80 : return -1;
27727 : return 347; /* *addvqi4 */
27728 :
27729 1891 : case 1:
27730 1891 : if (!insn_condition_450 (operands, insn))
27731 80 : return -1;
27732 : return 348; /* *addvhi4 */
27733 :
27734 12021 : case 2:
27735 12021 : if (!insn_condition_595 (operands, insn))
27736 36 : return -1;
27737 : return 349; /* *addvsi4 */
27738 :
27739 20270 : case 3:
27740 20270 : if (x86_64_sext_operand (operands[2], E_DImode)
27741 20270 : && insn_condition_596 (operands, insn))
27742 : return 350; /* *addvdi4 */
27743 62 : if (!nonimmediate_operand (operands[2], E_DImode)
27744 62 : || !insn_condition_586 (operands, insn))
27745 12 : return -1;
27746 : return 355; /* *addvdi4_doubleword */
27747 :
27748 7449 : case 4:
27749 7449 : if (!insn_condition_438 (operands, insn))
27750 0 : return -1;
27751 : return 356; /* *addvti4_doubleword */
27752 :
27753 4035 : case 5:
27754 4035 : if (!insn_condition_2172 (operands, insn))
27755 84 : return -1;
27756 : return 351; /* addvqi4_1 */
27757 :
27758 3920 : case 6:
27759 3920 : if (!insn_condition_2173 (operands, insn))
27760 84 : return -1;
27761 : return 352; /* addvhi4_1 */
27762 :
27763 9101 : case 7:
27764 9101 : if (!insn_condition_2174 (operands, insn))
27765 327 : return -1;
27766 : return 353; /* addvsi4_1 */
27767 :
27768 20298 : case 8:
27769 20298 : if (const_int_operand (operands[3], E_TImode)
27770 19180 : && x86_64_immediate_operand (operands[2], E_DImode)
27771 28831 : && insn_condition_2175 (operands, insn))
27772 : return 354; /* addvdi4_1 */
27773 11765 : if (!const_scalar_int_operand (operands[3], E_TImode)
27774 11765 : || !x86_64_hilo_general_operand (operands[2], E_DImode)
27775 11765 : || !insn_condition_2176 (operands, insn))
27776 11765 : return -1;
27777 : return 357; /* *addvdi4_doubleword_1 */
27778 :
27779 2757 : case 9:
27780 2757 : if (!insn_condition_2177 (operands, insn))
27781 0 : return -1;
27782 : return 358; /* *addvti4_doubleword_1 */
27783 :
27784 : default:
27785 : return -1;
27786 : }
27787 :
27788 1377 : case PLUS:
27789 1377 : x6 = XEXP (x5, 0);
27790 1377 : switch (GET_CODE (x6))
27791 : {
27792 1377 : case LTU:
27793 1377 : case UNLT:
27794 1377 : operands[4] = x6;
27795 1377 : x7 = XEXP (x6, 1);
27796 1377 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27797 : return -1;
27798 1377 : x8 = XEXP (x5, 1);
27799 1377 : if (GET_CODE (x8) != SIGN_EXTEND)
27800 : return -1;
27801 1377 : x9 = XEXP (x3, 1);
27802 1377 : x10 = XEXP (x9, 0);
27803 1377 : x11 = XEXP (x10, 0);
27804 1377 : if (GET_CODE (x11) != PLUS)
27805 : return -1;
27806 1377 : x12 = XEXP (x11, 0);
27807 1377 : switch (GET_CODE (x12))
27808 : {
27809 1377 : case LTU:
27810 1377 : case UNLT:
27811 1377 : operands[5] = x12;
27812 1377 : x13 = XEXP (x12, 1);
27813 1377 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27814 : return -1;
27815 1377 : x14 = XVECEXP (x1, 0, 1);
27816 1377 : x15 = XEXP (x14, 1);
27817 1377 : x16 = XEXP (x15, 0);
27818 1377 : if (GET_CODE (x16) != PLUS)
27819 : return -1;
27820 1377 : x17 = XEXP (x16, 0);
27821 1377 : switch (GET_CODE (x17))
27822 : {
27823 1377 : case LTU:
27824 1377 : case UNLT:
27825 1377 : if (!rtx_equal_p (x17, operands[5]))
27826 : return -1;
27827 1377 : x18 = XEXP (x6, 0);
27828 1377 : operands[3] = x18;
27829 1377 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27830 : return -1;
27831 1377 : x19 = XEXP (x8, 0);
27832 1377 : operands[1] = x19;
27833 1377 : x20 = XEXP (x12, 0);
27834 1377 : if (!rtx_equal_p (x20, operands[3]))
27835 : return -1;
27836 1377 : x21 = XEXP (x11, 1);
27837 1377 : if (!rtx_equal_p (x21, operands[1]))
27838 : return -1;
27839 1377 : x22 = XEXP (x16, 1);
27840 1377 : if (!rtx_equal_p (x22, operands[1]))
27841 : return -1;
27842 1377 : switch (pattern1928 (x1))
27843 : {
27844 0 : case 0:
27845 0 : if (pattern1944 (x1,
27846 : E_QImode,
27847 : E_HImode) != 0
27848 0 : || !insn_condition_449 (operands, insn))
27849 0 : return -1;
27850 : return 359; /* *addvqi4_overflow_1 */
27851 :
27852 0 : case 1:
27853 0 : if (pattern1944 (x1,
27854 : E_HImode,
27855 : E_SImode) != 0
27856 0 : || !insn_condition_450 (operands, insn))
27857 0 : return -1;
27858 : return 360; /* *addvhi4_overflow_1 */
27859 :
27860 4 : case 2:
27861 4 : if (pattern1945 (x1,
27862 : E_SImode,
27863 : E_DImode) != 0
27864 4 : || !insn_condition_595 (operands, insn))
27865 0 : return -1;
27866 : return 361; /* *addvsi4_overflow_1 */
27867 :
27868 1052 : case 3:
27869 1052 : if (pattern1945 (x1,
27870 : E_DImode,
27871 : E_TImode) != 0
27872 1052 : || !insn_condition_596 (operands, insn))
27873 0 : return -1;
27874 : return 362; /* *addvdi4_overflow_1 */
27875 :
27876 0 : case 4:
27877 0 : if (pattern1947 (x1,
27878 : E_QImode,
27879 : E_HImode) != 0
27880 0 : || !insn_condition_2178 (operands, insn))
27881 0 : return -1;
27882 : return 363; /* *addvqi4_overflow_2 */
27883 :
27884 0 : case 5:
27885 0 : if (pattern1947 (x1,
27886 : E_HImode,
27887 : E_SImode) != 0
27888 0 : || !insn_condition_2179 (operands, insn))
27889 0 : return -1;
27890 : return 364; /* *addvhi4_overflow_2 */
27891 :
27892 0 : case 6:
27893 0 : if (pattern1947 (x1,
27894 : E_SImode,
27895 : E_DImode) != 0
27896 0 : || !insn_condition_2180 (operands, insn))
27897 0 : return -1;
27898 : return 365; /* *addvsi4_overflow_2 */
27899 :
27900 321 : case 7:
27901 321 : if (pattern1947 (x1,
27902 : E_DImode,
27903 : E_TImode) != 0
27904 321 : || !insn_condition_2181 (operands, insn))
27905 0 : return -1;
27906 : return 366; /* *addvdi4_overflow_2 */
27907 :
27908 : default:
27909 : return -1;
27910 : }
27911 :
27912 : default:
27913 : return -1;
27914 : }
27915 :
27916 : default:
27917 : return -1;
27918 : }
27919 :
27920 : default:
27921 : return -1;
27922 : }
27923 :
27924 : default:
27925 : return -1;
27926 : }
27927 :
27928 93446 : case MINUS:
27929 93446 : if (pattern726 (x1,
27930 : MINUS) != 0)
27931 : return -1;
27932 88626 : x5 = XEXP (x4, 0);
27933 88626 : switch (GET_CODE (x5))
27934 : {
27935 61680 : case SIGN_EXTEND:
27936 61680 : switch (pattern1612 (x1))
27937 : {
27938 3534 : case 0:
27939 3534 : if (!insn_condition_474 (operands, insn))
27940 80 : return -1;
27941 : return 430; /* *subvqi4 */
27942 :
27943 3903 : case 1:
27944 3903 : if (!insn_condition_475 (operands, insn))
27945 80 : return -1;
27946 : return 431; /* *subvhi4 */
27947 :
27948 10905 : case 2:
27949 10905 : if (!insn_condition_775 (operands, insn))
27950 27 : return -1;
27951 : return 432; /* *subvsi4 */
27952 :
27953 18019 : case 3:
27954 18019 : if (x86_64_sext_operand (operands[2], E_DImode)
27955 18019 : && insn_condition_463 (operands, insn))
27956 : return 433; /* *subvdi4 */
27957 52 : if (!nonimmediate_operand (operands[2], E_DImode)
27958 52 : || !insn_condition_767 (operands, insn))
27959 26 : return -1;
27960 : return 438; /* *subvdi4_doubleword */
27961 :
27962 5870 : case 4:
27963 5870 : if (!insn_condition_463 (operands, insn))
27964 0 : return -1;
27965 : return 439; /* *subvti4_doubleword */
27966 :
27967 2011 : case 5:
27968 2011 : if (!insn_condition_2182 (operands, insn))
27969 0 : return -1;
27970 : return 434; /* subvqi4_1 */
27971 :
27972 2008 : case 6:
27973 2008 : if (!insn_condition_2183 (operands, insn))
27974 0 : return -1;
27975 : return 435; /* subvhi4_1 */
27976 :
27977 3895 : case 7:
27978 3895 : if (!insn_condition_2184 (operands, insn))
27979 0 : return -1;
27980 : return 436; /* subvsi4_1 */
27981 :
27982 4047 : case 8:
27983 4047 : if (const_int_operand (operands[3], E_TImode)
27984 4047 : && x86_64_immediate_operand (operands[2], E_DImode)
27985 8094 : && insn_condition_2185 (operands, insn))
27986 : return 437; /* subvdi4_1 */
27987 0 : if (!const_scalar_int_operand (operands[3], E_TImode)
27988 0 : || !x86_64_hilo_general_operand (operands[2], E_DImode)
27989 0 : || !insn_condition_2186 (operands, insn))
27990 0 : return -1;
27991 : return 440; /* *subvdi4_doubleword_1 */
27992 :
27993 1467 : case 9:
27994 1467 : if (!insn_condition_2187 (operands, insn))
27995 0 : return -1;
27996 : return 441; /* *subvti4_doubleword_1 */
27997 :
27998 : default:
27999 : return -1;
28000 : }
28001 :
28002 1146 : case MINUS:
28003 1146 : x6 = XEXP (x5, 0);
28004 1146 : if (GET_CODE (x6) != SIGN_EXTEND)
28005 : return -1;
28006 1146 : x8 = XEXP (x5, 1);
28007 1146 : switch (GET_CODE (x8))
28008 : {
28009 1146 : case LTU:
28010 1146 : case UNLT:
28011 1146 : operands[4] = x8;
28012 1146 : x23 = XEXP (x8, 1);
28013 1146 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28014 : return -1;
28015 1146 : x9 = XEXP (x3, 1);
28016 1146 : x10 = XEXP (x9, 0);
28017 1146 : x11 = XEXP (x10, 0);
28018 1146 : if (GET_CODE (x11) != MINUS)
28019 : return -1;
28020 1146 : x21 = XEXP (x11, 1);
28021 1146 : switch (GET_CODE (x21))
28022 : {
28023 1146 : case LTU:
28024 1146 : case UNLT:
28025 1146 : operands[5] = x21;
28026 1146 : x24 = XEXP (x21, 1);
28027 1146 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28028 : return -1;
28029 1146 : x14 = XVECEXP (x1, 0, 1);
28030 1146 : x15 = XEXP (x14, 1);
28031 1146 : x16 = XEXP (x15, 0);
28032 1146 : if (GET_CODE (x16) != MINUS)
28033 : return -1;
28034 1146 : x22 = XEXP (x16, 1);
28035 1146 : switch (GET_CODE (x22))
28036 : {
28037 1146 : case LTU:
28038 1146 : case UNLT:
28039 1146 : if (!rtx_equal_p (x22, operands[5]))
28040 : return -1;
28041 1146 : x18 = XEXP (x6, 0);
28042 1146 : operands[1] = x18;
28043 1146 : x19 = XEXP (x8, 0);
28044 1146 : operands[3] = x19;
28045 1146 : if (!flags_reg_operand (operands[3], E_VOIDmode))
28046 : return -1;
28047 1146 : x12 = XEXP (x11, 0);
28048 1146 : if (!rtx_equal_p (x12, operands[1]))
28049 : return -1;
28050 1146 : x25 = XEXP (x21, 0);
28051 1146 : if (!rtx_equal_p (x25, operands[3]))
28052 : return -1;
28053 1146 : x17 = XEXP (x16, 0);
28054 1146 : if (!rtx_equal_p (x17, operands[1]))
28055 : return -1;
28056 1146 : switch (pattern1928 (x1))
28057 : {
28058 0 : case 0:
28059 0 : if (pattern1949 (x1,
28060 : E_QImode,
28061 : E_HImode) != 0
28062 0 : || !insn_condition_474 (operands, insn))
28063 0 : return -1;
28064 : return 442; /* *subvqi4_overflow_1 */
28065 :
28066 0 : case 1:
28067 0 : if (pattern1949 (x1,
28068 : E_HImode,
28069 : E_SImode) != 0
28070 0 : || !insn_condition_475 (operands, insn))
28071 0 : return -1;
28072 : return 443; /* *subvhi4_overflow_1 */
28073 :
28074 2 : case 2:
28075 2 : if (pattern1950 (x1,
28076 : E_SImode,
28077 : E_DImode) != 0
28078 2 : || !insn_condition_775 (operands, insn))
28079 0 : return -1;
28080 : return 444; /* *subvsi4_overflow_1 */
28081 :
28082 966 : case 3:
28083 966 : if (pattern1950 (x1,
28084 : E_DImode,
28085 : E_TImode) != 0
28086 966 : || !insn_condition_463 (operands, insn))
28087 0 : return -1;
28088 : return 445; /* *subvdi4_overflow_1 */
28089 :
28090 0 : case 4:
28091 0 : if (pattern1951 (x1,
28092 : E_QImode,
28093 : E_HImode) != 0
28094 0 : || !insn_condition_2188 (operands, insn))
28095 0 : return -1;
28096 : return 446; /* *subvqi4_overflow_2 */
28097 :
28098 0 : case 5:
28099 0 : if (pattern1951 (x1,
28100 : E_HImode,
28101 : E_SImode) != 0
28102 0 : || !insn_condition_2189 (operands, insn))
28103 0 : return -1;
28104 : return 447; /* *subvhi4_overflow_2 */
28105 :
28106 0 : case 6:
28107 0 : if (pattern1951 (x1,
28108 : E_SImode,
28109 : E_DImode) != 0
28110 0 : || !insn_condition_2190 (operands, insn))
28111 0 : return -1;
28112 : return 448; /* *subvsi4_overflow_2 */
28113 :
28114 178 : case 7:
28115 178 : if (pattern1951 (x1,
28116 : E_DImode,
28117 : E_TImode) != 0
28118 178 : || !insn_condition_2191 (operands, insn))
28119 0 : return -1;
28120 : return 449; /* *subvdi4_overflow_2 */
28121 :
28122 : default:
28123 : return -1;
28124 : }
28125 :
28126 : default:
28127 : return -1;
28128 : }
28129 :
28130 : default:
28131 : return -1;
28132 : }
28133 :
28134 : default:
28135 : return -1;
28136 : }
28137 :
28138 : default:
28139 : return -1;
28140 : }
28141 :
28142 118419 : case MULT:
28143 118419 : if (pattern725 (x1,
28144 : MULT) != 0)
28145 : return -1;
28146 113816 : x5 = XEXP (x4, 0);
28147 113816 : switch (GET_CODE (x5))
28148 : {
28149 61179 : case SIGN_EXTEND:
28150 61179 : x9 = XEXP (x3, 1);
28151 61179 : if (GET_CODE (x9) != SIGN_EXTEND)
28152 : return -1;
28153 61171 : x10 = XEXP (x9, 0);
28154 61171 : if (GET_CODE (x10) != MULT)
28155 : return -1;
28156 60883 : x6 = XEXP (x5, 0);
28157 60883 : operands[1] = x6;
28158 60883 : x11 = XEXP (x10, 0);
28159 60883 : if (!rtx_equal_p (x11, operands[1]))
28160 : return -1;
28161 60143 : x14 = XVECEXP (x1, 0, 1);
28162 60143 : x15 = XEXP (x14, 1);
28163 60143 : x16 = XEXP (x15, 0);
28164 60143 : if (!rtx_equal_p (x16, operands[1]))
28165 : return -1;
28166 60063 : x26 = XEXP (x4, 1);
28167 60063 : switch (GET_CODE (x26))
28168 : {
28169 35880 : case SIGN_EXTEND:
28170 35880 : x27 = XEXP (x26, 0);
28171 35880 : operands[2] = x27;
28172 35880 : x28 = XEXP (x10, 1);
28173 35880 : if (!rtx_equal_p (x28, operands[2]))
28174 : return -1;
28175 35873 : x29 = XEXP (x15, 1);
28176 35873 : if (!rtx_equal_p (x29, operands[2]))
28177 : return -1;
28178 35502 : switch (GET_MODE (x4))
28179 : {
28180 11125 : case E_DImode:
28181 11125 : if (pattern1869 (x1,
28182 : E_SImode,
28183 : E_DImode) != 0
28184 11125 : || !insn_condition_48 (operands, insn))
28185 213 : return -1;
28186 : return 633; /* *mulvsi4 */
28187 :
28188 17689 : case E_TImode:
28189 17689 : if (pattern1869 (x1,
28190 : E_DImode,
28191 : E_TImode) != 0
28192 17689 : || !insn_condition_49 (operands, insn))
28193 12 : return -1;
28194 : return 634; /* *mulvdi4 */
28195 :
28196 2566 : case E_SImode:
28197 2566 : if (pattern1870 (x1,
28198 : E_HImode,
28199 : E_SImode) != 0
28200 2566 : || !insn_condition_48 (operands, insn))
28201 101 : return -1;
28202 : return 635; /* *mulvhi4 */
28203 :
28204 4122 : case E_HImode:
28205 4122 : if (pattern1870 (x1,
28206 : E_QImode,
28207 : E_HImode) != 0
28208 4122 : || !insn_condition_2192 (operands, insn))
28209 54 : return -1;
28210 : return 642; /* *mulvqi4 */
28211 :
28212 : default:
28213 : return -1;
28214 : }
28215 :
28216 23679 : case CONST_INT:
28217 23679 : operands[3] = x26;
28218 23679 : x28 = XEXP (x10, 1);
28219 23679 : operands[2] = x28;
28220 23679 : x29 = XEXP (x15, 1);
28221 23679 : if (!rtx_equal_p (x29, operands[2]))
28222 : return -1;
28223 23263 : switch (GET_MODE (x4))
28224 : {
28225 1989 : case E_SImode:
28226 1989 : if (GET_MODE (x5) != E_SImode
28227 1989 : || !nonimmediate_operand (operands[1], E_HImode)
28228 1989 : || !const_int_operand (operands[3], E_SImode)
28229 1989 : || GET_MODE (x9) != E_SImode
28230 1989 : || GET_MODE (x10) != E_HImode
28231 1989 : || !immediate_operand (operands[2], E_HImode)
28232 1989 : || !register_operand (operands[0], E_HImode)
28233 1989 : || GET_MODE (x15) != E_HImode
28234 3978 : || !insn_condition_2193 (operands, insn))
28235 0 : return -1;
28236 : return 636; /* *mulvhi4_1 */
28237 :
28238 7958 : case E_DImode:
28239 7958 : if (pattern1871 (x1,
28240 : E_SImode,
28241 : E_DImode) != 0
28242 7958 : || !insn_condition_2193 (operands, insn))
28243 152 : return -1;
28244 : return 637; /* *mulvsi4_1 */
28245 :
28246 10719 : case E_TImode:
28247 10719 : if (pattern1871 (x1,
28248 : E_DImode,
28249 : E_TImode) != 0
28250 10719 : || !insn_condition_2194 (operands, insn))
28251 4932 : return -1;
28252 : return 638; /* *mulvdi4_1 */
28253 :
28254 : default:
28255 : return -1;
28256 : }
28257 :
28258 : default:
28259 : return -1;
28260 : }
28261 :
28262 52026 : case ZERO_EXTEND:
28263 52026 : x26 = XEXP (x4, 1);
28264 52026 : if (GET_CODE (x26) != ZERO_EXTEND)
28265 : return -1;
28266 14629 : x9 = XEXP (x3, 1);
28267 14629 : if (GET_CODE (x9) != ZERO_EXTEND)
28268 : return -1;
28269 13505 : x10 = XEXP (x9, 0);
28270 13505 : if (GET_CODE (x10) != MULT)
28271 : return -1;
28272 13505 : x6 = XEXP (x5, 0);
28273 13505 : operands[1] = x6;
28274 13505 : x27 = XEXP (x26, 0);
28275 13505 : operands[2] = x27;
28276 13505 : x11 = XEXP (x10, 0);
28277 13505 : if (!rtx_equal_p (x11, operands[1]))
28278 : return -1;
28279 13341 : x28 = XEXP (x10, 1);
28280 13341 : if (!rtx_equal_p (x28, operands[2]))
28281 : return -1;
28282 13341 : x14 = XVECEXP (x1, 0, 1);
28283 13341 : x15 = XEXP (x14, 1);
28284 13341 : x16 = XEXP (x15, 0);
28285 13341 : if (!rtx_equal_p (x16, operands[1]))
28286 : return -1;
28287 13242 : x29 = XEXP (x15, 1);
28288 13242 : if (!rtx_equal_p (x29, operands[2]))
28289 : return -1;
28290 8414 : switch (GET_MODE (x4))
28291 : {
28292 371 : case E_SImode:
28293 371 : if (pnum_clobbers == NULL
28294 371 : || pattern1870 (x1,
28295 : E_HImode,
28296 : E_SImode) != 0
28297 371 : || !insn_condition_48 (operands, insn))
28298 : return -1;
28299 371 : *pnum_clobbers = 1;
28300 371 : return 639; /* *umulvhi4 */
28301 :
28302 1826 : case E_DImode:
28303 1826 : if (pnum_clobbers == NULL
28304 1806 : || pattern1870 (x1,
28305 : E_SImode,
28306 : E_DImode) != 0
28307 1826 : || !insn_condition_48 (operands, insn))
28308 : return -1;
28309 1692 : *pnum_clobbers = 1;
28310 1692 : return 640; /* *umulvsi4 */
28311 :
28312 2596 : case E_TImode:
28313 2596 : if (pnum_clobbers == NULL
28314 2596 : || pattern1870 (x1,
28315 : E_DImode,
28316 : E_TImode) != 0
28317 5105 : || !insn_condition_49 (operands, insn))
28318 : return -1;
28319 2509 : *pnum_clobbers = 1;
28320 2509 : return 641; /* *umulvdi4 */
28321 :
28322 3621 : case E_HImode:
28323 3621 : if (pattern1870 (x1,
28324 : E_QImode,
28325 : E_HImode) != 0
28326 3621 : || !insn_condition_2192 (operands, insn))
28327 0 : return -1;
28328 : return 643; /* *umulvqi4 */
28329 :
28330 : default:
28331 : return -1;
28332 : }
28333 :
28334 : default:
28335 : return -1;
28336 : }
28337 :
28338 1084 : case ZERO_EXTRACT:
28339 1084 : switch (pattern727 (x1))
28340 : {
28341 40 : case 0:
28342 40 : if (!insn_condition_198 (operands, insn))
28343 0 : return -1;
28344 : return 1570; /* *btsi_setncqi_2 */
28345 :
28346 68 : case 1:
28347 68 : if (!insn_condition_343 (operands, insn))
28348 0 : return -1;
28349 : return 1571; /* *btdi_setncqi_2 */
28350 :
28351 : default:
28352 : return -1;
28353 : }
28354 :
28355 54400 : case REG:
28356 54400 : case SUBREG:
28357 54400 : case MEM:
28358 54400 : operands[1] = x4;
28359 54400 : if (!nonimmediate_operand (operands[1], E_V2SFmode))
28360 : return -1;
28361 70 : x14 = XVECEXP (x1, 0, 1);
28362 70 : if (pattern422 (x14,
28363 : 109,
28364 : 0) != 0)
28365 : return -1;
28366 70 : x30 = XEXP (x2, 0);
28367 70 : operands[0] = x30;
28368 70 : if (!register_operand (operands[0], E_V2SImode)
28369 70 : || GET_MODE (x3) != E_V2SImode)
28370 : return -1;
28371 70 : x9 = XEXP (x3, 1);
28372 70 : operands[2] = x9;
28373 70 : if (!nonimmediate_operand (operands[2], E_V2SFmode)
28374 70 : || !insn_condition_2195 (operands, insn))
28375 0 : return -1;
28376 : return 2229; /* *mmx_eqv2sf3 */
28377 :
28378 : default:
28379 : return -1;
28380 : }
28381 : }
28382 :
28383 : int
28384 89206 : recog_418 (rtx x1 ATTRIBUTE_UNUSED,
28385 : rtx_insn *insn ATTRIBUTE_UNUSED,
28386 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28387 : {
28388 89206 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28389 89206 : rtx x2, x3, x4;
28390 89206 : int res ATTRIBUTE_UNUSED;
28391 89206 : if (pattern287 (x1) != 0)
28392 : return -1;
28393 60916 : x2 = XVECEXP (x1, 0, 0);
28394 60916 : x3 = XEXP (x2, 1);
28395 60916 : x4 = XEXP (x3, 2);
28396 60916 : operands[3] = x4;
28397 60916 : switch (GET_MODE (operands[0]))
28398 : {
28399 32285 : case E_DImode:
28400 32285 : if (!register_operand (operands[0], E_DImode)
28401 32285 : || GET_MODE (x3) != E_DImode)
28402 : return -1;
28403 32274 : if (int248_register_operand (operands[1], E_VOIDmode)
28404 19257 : && const_1_to_31_operand (operands[2], E_QImode)
28405 18962 : && const_1_to_31_operand (operands[3], E_QImode)
28406 38113 : && insn_condition_200 (operands, insn))
28407 : return 132; /* *extzvdi_shr */
28408 30605 : if (!nonimmediate_operand (operands[1], E_DImode)
28409 16679 : || !const_0_to_255_operand (operands[2], E_QImode)
28410 16679 : || !const_0_to_255_operand (operands[3], E_QImode)
28411 30605 : || !insn_condition_759 (operands, insn))
28412 30586 : return -1;
28413 : return 1743; /* tbm_bextri_di */
28414 :
28415 19028 : case E_SImode:
28416 19028 : if (!register_operand (operands[0], E_SImode)
28417 19025 : || GET_MODE (x3) != E_SImode
28418 19025 : || !nonimmediate_operand (operands[1], E_SImode)
28419 14713 : || !const_0_to_255_operand (operands[2], E_QImode)
28420 14713 : || !const_0_to_255_operand (operands[3], E_QImode)
28421 29771 : || !insn_condition_758 (operands, insn))
28422 19006 : return -1;
28423 : return 1742; /* tbm_bextri_si */
28424 :
28425 : default:
28426 : return -1;
28427 : }
28428 : }
28429 :
28430 : int
28431 3428258 : recog_420 (rtx x1 ATTRIBUTE_UNUSED,
28432 : rtx_insn *insn ATTRIBUTE_UNUSED,
28433 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28434 : {
28435 3428258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28436 3428258 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28437 3428258 : int res ATTRIBUTE_UNUSED;
28438 3428258 : switch (pattern413 (x1))
28439 : {
28440 3407755 : case 0:
28441 3407755 : x2 = XVECEXP (x1, 0, 0);
28442 3407755 : x3 = XEXP (x2, 0);
28443 3407755 : operands[0] = x3;
28444 3407755 : switch (pattern863 (x1))
28445 : {
28446 780 : case 0:
28447 780 : if (insn_condition_826 (operands, insn))
28448 : return 1206; /* *lshrdi3_doubleword_mask */
28449 : break;
28450 :
28451 88 : case 1:
28452 88 : if (insn_condition_201 (operands, insn))
28453 : return 1208; /* *lshrti3_doubleword_mask */
28454 : break;
28455 :
28456 448 : case 2:
28457 448 : if (insn_condition_119 (operands, insn))
28458 : return 2777; /* klshiftrtqi */
28459 : break;
28460 :
28461 3630 : case 3:
28462 3630 : if (insn_condition_27 (operands, insn))
28463 : return 2779; /* klshiftrthi */
28464 : break;
28465 :
28466 1689 : case 4:
28467 1689 : if (insn_condition_120 (operands, insn))
28468 : return 2781; /* klshiftrtsi */
28469 : break;
28470 :
28471 702 : case 5:
28472 702 : if (insn_condition_120 (operands, insn))
28473 : return 2783; /* klshiftrtdi */
28474 : break;
28475 :
28476 : default:
28477 : break;
28478 : }
28479 3401115 : x4 = XEXP (x2, 1);
28480 3401115 : x5 = XEXP (x4, 1);
28481 3401115 : operands[2] = x5;
28482 3401115 : switch (pattern864 (x1))
28483 : {
28484 3030409 : case 0:
28485 3030409 : operands[0] = x3;
28486 3030409 : switch (GET_MODE (operands[0]))
28487 : {
28488 2001114 : case E_DImode:
28489 2001114 : if (register_operand (operands[0], E_DImode)
28490 2000049 : && GET_MODE (x4) == E_DImode
28491 2000049 : && register_operand (operands[1], E_DImode)
28492 3641284 : && insn_condition_51 (operands, insn))
28493 : return 1214; /* lshrdi3_doubleword */
28494 : break;
28495 :
28496 44737 : case E_TImode:
28497 44737 : if (register_operand (operands[0], E_TImode)
28498 44736 : && GET_MODE (x4) == E_TImode
28499 44736 : && register_operand (operands[1], E_TImode)
28500 85089 : && insn_condition_52 (operands, insn))
28501 : return 1216; /* lshrti3_doubleword */
28502 : break;
28503 :
28504 832699 : case E_SImode:
28505 832699 : if (nonimmediate_operand (operands[0], E_SImode)
28506 832695 : && GET_MODE (x4) == E_SImode
28507 832695 : && nonimmediate_operand (operands[1], E_SImode)
28508 1565707 : && insn_condition_835 (operands, insn))
28509 : return 1313; /* *lshrsi3_1 */
28510 : break;
28511 :
28512 100099 : case E_QImode:
28513 100099 : if (nonimmediate_operand (operands[0], E_QImode)
28514 99842 : && GET_MODE (x4) == E_QImode
28515 99842 : && nonimmediate_operand (operands[1], E_QImode)
28516 197888 : && insn_condition_203 (operands, insn))
28517 : return 1345; /* *lshrqi3_1 */
28518 : break;
28519 :
28520 51371 : case E_HImode:
28521 51371 : if (nonimmediate_operand (operands[0], E_HImode)
28522 51371 : && GET_MODE (x4) == E_HImode
28523 51371 : && nonimmediate_operand (operands[1], E_HImode)
28524 98778 : && insn_condition_205 (operands, insn))
28525 : return 1347; /* *lshrhi3_1 */
28526 : break;
28527 :
28528 389 : case E_V2QImode:
28529 389 : if (register_operand (operands[0], E_V2QImode)
28530 389 : && GET_MODE (x4) == E_V2QImode
28531 389 : && register_operand (operands[1], E_V2QImode)
28532 389 : && insn_condition_206 (operands, insn))
28533 : return 2375; /* lshrv2qi3 */
28534 : break;
28535 :
28536 : default:
28537 : break;
28538 : }
28539 : break;
28540 :
28541 40 : case 1:
28542 40 : x6 = XEXP (x3, 0);
28543 40 : operands[0] = x6;
28544 40 : switch (pattern415 (x4))
28545 : {
28546 40 : case 0:
28547 40 : if (insn_condition_194 (operands, insn))
28548 : return 1348; /* *lshrqi3_1_slp */
28549 : break;
28550 :
28551 0 : case 1:
28552 0 : if (insn_condition_194 (operands, insn))
28553 : return 1350; /* *lshrhi3_1_slp */
28554 : break;
28555 :
28556 : default:
28557 : break;
28558 : }
28559 : break;
28560 :
28561 : default:
28562 : break;
28563 : }
28564 2381455 : x7 = XVECEXP (x1, 0, 1);
28565 2381455 : if (GET_CODE (x7) != CLOBBER)
28566 : return -1;
28567 2018286 : x8 = XEXP (x7, 0);
28568 2018286 : if (GET_CODE (x8) != REG
28569 2018257 : || REGNO (x8) != 17
28570 4036543 : || GET_MODE (x8) != E_CCmode)
28571 : return -1;
28572 2018257 : switch (GET_CODE (x5))
28573 : {
28574 1905470 : case CONST_INT:
28575 1905470 : if (pattern1282 (x2) == 0
28576 1833 : && GET_MODE (x4) == E_DImode
28577 1833 : && nonimmediate_operand (operands[1], E_DImode)
28578 1907146 : && insn_condition_52 (operands, insn))
28579 : return 1311; /* *highpartdisi2 */
28580 : break;
28581 :
28582 93991 : case SUBREG:
28583 93991 : switch (pattern1285 (x2,
28584 : E_SImode))
28585 : {
28586 2104 : case 0:
28587 2104 : if (insn_condition_836 (operands, insn))
28588 : return 1377; /* *lshrsi3_mask */
28589 : break;
28590 :
28591 0 : case 1:
28592 0 : if (insn_condition_837 (operands, insn))
28593 : return 1389; /* *lshrsi3_add */
28594 : break;
28595 :
28596 0 : case 2:
28597 0 : if (insn_condition_838 (operands, insn))
28598 : return 1401; /* *lshrsi3_sub */
28599 : break;
28600 :
28601 : default:
28602 : break;
28603 : }
28604 : break;
28605 :
28606 : default:
28607 : break;
28608 : }
28609 2014775 : operands[0] = x3;
28610 2014775 : if (!nonimmediate_operand (operands[0], E_DImode)
28611 1875241 : || GET_MODE (x4) != E_DImode
28612 3890016 : || !nonimmediate_operand (operands[1], E_DImode))
28613 : return -1;
28614 1523929 : operands[2] = x5;
28615 1523929 : if (nonmemory_operand (operands[2], E_QImode)
28616 1523929 : && insn_condition_840 (operands, insn))
28617 : return 1315; /* *lshrdi3_1 */
28618 11150 : if (GET_CODE (x5) != SUBREG
28619 3199 : || maybe_ne (SUBREG_BYTE (x5), 0)
28620 14349 : || GET_MODE (x5) != E_QImode)
28621 : return -1;
28622 3199 : x9 = XEXP (x5, 0);
28623 3199 : switch (pattern1283 (x9))
28624 : {
28625 786 : case 0:
28626 786 : if (!insn_condition_841 (operands, insn))
28627 149 : return -1;
28628 : return 1380; /* *lshrdi3_mask */
28629 :
28630 0 : case 1:
28631 0 : if (!insn_condition_842 (operands, insn))
28632 0 : return -1;
28633 : return 1392; /* *lshrdi3_add */
28634 :
28635 0 : case 2:
28636 0 : if (!insn_condition_843 (operands, insn))
28637 0 : return -1;
28638 : return 1404; /* *lshrdi3_sub */
28639 :
28640 : default:
28641 : return -1;
28642 : }
28643 :
28644 126 : case 1:
28645 126 : if (register_operand (operands[0], E_DImode)
28646 126 : && register_operand (operands[1], E_DImode)
28647 246 : && insn_condition_826 (operands, insn))
28648 : return 1210; /* *lshrdi3_doubleword_mask_1 */
28649 75 : if (!nonimmediate_operand (operands[0], E_DImode)
28650 75 : || !nonimmediate_operand (operands[1], E_DImode)
28651 144 : || !insn_condition_841 (operands, insn))
28652 36 : return -1;
28653 : return 1386; /* *lshrdi3_mask_1 */
28654 :
28655 1 : case 2:
28656 1 : if (!insn_condition_201 (operands, insn))
28657 0 : return -1;
28658 : return 1212; /* *lshrti3_doubleword_mask_1 */
28659 :
28660 28 : case 3:
28661 28 : if (!insn_condition_836 (operands, insn))
28662 0 : return -1;
28663 : return 1383; /* *lshrsi3_mask_1 */
28664 :
28665 1228 : case 4:
28666 1228 : if (!insn_condition_837 (operands, insn))
28667 1155 : return -1;
28668 : return 1395; /* *lshrsi3_add_1 */
28669 :
28670 3509 : case 5:
28671 3509 : if (!insn_condition_842 (operands, insn))
28672 3291 : return -1;
28673 : return 1398; /* *lshrdi3_add_1 */
28674 :
28675 492 : case 6:
28676 492 : if (!insn_condition_838 (operands, insn))
28677 136 : return -1;
28678 : return 1407; /* *lshrsi3_sub_1 */
28679 :
28680 1091 : case 7:
28681 1091 : if (!insn_condition_843 (operands, insn))
28682 567 : return -1;
28683 : return 1410; /* *lshrdi3_sub_1 */
28684 :
28685 : default:
28686 : return -1;
28687 : }
28688 : }
28689 :
28690 : int
28691 11333 : recog_429 (rtx x1 ATTRIBUTE_UNUSED,
28692 : rtx_insn *insn ATTRIBUTE_UNUSED,
28693 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28694 : {
28695 11333 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28696 11333 : rtx x2, x3, x4, x5, x6;
28697 11333 : int res ATTRIBUTE_UNUSED;
28698 11333 : x2 = XVECEXP (x1, 0, 0);
28699 11333 : x3 = XEXP (x2, 0);
28700 11333 : operands[0] = x3;
28701 11333 : x4 = XEXP (x2, 1);
28702 11333 : x5 = XEXP (x4, 0);
28703 11333 : operands[1] = x5;
28704 11333 : x6 = XVECEXP (x1, 0, 1);
28705 11333 : switch (GET_CODE (x6))
28706 : {
28707 10742 : case CLOBBER:
28708 10742 : switch (pattern740 (x1))
28709 : {
28710 : case 0:
28711 : return 1644; /* ctzsi2 */
28712 :
28713 3984 : case 1:
28714 3984 : if (!insn_condition_52 (operands, insn))
28715 : return -1;
28716 : return 1645; /* ctzdi2 */
28717 :
28718 : default:
28719 : return -1;
28720 : }
28721 :
28722 0 : case UNSPEC:
28723 0 : if (pnum_clobbers == NULL)
28724 : return -1;
28725 0 : switch (pattern741 (x1))
28726 : {
28727 0 : case 0:
28728 0 : *pnum_clobbers = 1;
28729 0 : return 1646; /* *ctzsi2_falsedep */
28730 :
28731 0 : case 1:
28732 0 : if (!insn_condition_52 (operands, insn))
28733 : return -1;
28734 0 : *pnum_clobbers = 1;
28735 0 : return 1647; /* *ctzdi2_falsedep */
28736 :
28737 : default:
28738 : return -1;
28739 : }
28740 :
28741 : default:
28742 : return -1;
28743 : }
28744 : }
28745 :
28746 : int
28747 159229 : recog_430 (rtx x1 ATTRIBUTE_UNUSED,
28748 : rtx_insn *insn ATTRIBUTE_UNUSED,
28749 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28750 : {
28751 159229 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28752 159229 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28753 159229 : rtx x10, x11;
28754 159229 : int res ATTRIBUTE_UNUSED;
28755 159229 : x2 = XVECEXP (x1, 0, 0);
28756 159229 : x3 = XEXP (x2, 1);
28757 159229 : if (GET_MODE (x3) != E_DImode)
28758 : return -1;
28759 110916 : x4 = XEXP (x2, 0);
28760 110916 : operands[0] = x4;
28761 110916 : if (!register_operand (operands[0], E_DImode))
28762 : return -1;
28763 106305 : x5 = XEXP (x3, 0);
28764 106305 : if (GET_MODE (x5) != E_SImode)
28765 : return -1;
28766 96739 : switch (GET_CODE (x5))
28767 : {
28768 1 : case CTZ:
28769 1 : switch (pattern976 (x1, pnum_clobbers))
28770 : {
28771 0 : case 0:
28772 0 : if (!insn_condition_52 (operands, insn))
28773 0 : return -1;
28774 : return 1650; /* *ctzsidi2_sext */
28775 :
28776 0 : case 1:
28777 0 : if (!insn_condition_52 (operands, insn))
28778 : return -1;
28779 0 : *pnum_clobbers = 1;
28780 0 : return 1652; /* *ctzsidi2_sext_falsedep */
28781 :
28782 : default:
28783 : return -1;
28784 : }
28785 :
28786 315 : case XOR:
28787 315 : x6 = XEXP (x5, 0);
28788 315 : if (GET_CODE (x6) != MINUS
28789 0 : || GET_MODE (x6) != E_SImode)
28790 : return -1;
28791 0 : x7 = XEXP (x6, 0);
28792 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
28793 : return -1;
28794 0 : x8 = XEXP (x6, 1);
28795 0 : if (GET_CODE (x8) != CLZ
28796 0 : || GET_MODE (x8) != E_SImode)
28797 : return -1;
28798 0 : x9 = XEXP (x5, 1);
28799 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
28800 : return -1;
28801 0 : x10 = XVECEXP (x1, 0, 1);
28802 0 : if (pattern286 (x10,
28803 : E_CCmode,
28804 : 17) != 0)
28805 : return -1;
28806 0 : x11 = XEXP (x8, 0);
28807 0 : operands[1] = x11;
28808 0 : if (!nonimmediate_operand (operands[1], E_SImode)
28809 0 : || !insn_condition_712 (operands, insn))
28810 0 : return -1;
28811 : return 1668; /* *bsr_2 */
28812 :
28813 : default:
28814 : return -1;
28815 : }
28816 : }
28817 :
28818 : int
28819 355787 : recog_433 (rtx x1 ATTRIBUTE_UNUSED,
28820 : rtx_insn *insn ATTRIBUTE_UNUSED,
28821 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28822 : {
28823 355787 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28824 355787 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28825 355787 : rtx x10, x11;
28826 355787 : int res ATTRIBUTE_UNUSED;
28827 355787 : x2 = XVECEXP (x1, 0, 0);
28828 355787 : x3 = XEXP (x2, 0);
28829 355787 : operands[0] = x3;
28830 355787 : x4 = XEXP (x2, 1);
28831 355787 : switch (XVECLEN (x4, 0))
28832 : {
28833 1488 : case 1:
28834 1488 : switch (XINT (x4, 1))
28835 : {
28836 45 : case 2:
28837 45 : x5 = XVECEXP (x1, 0, 1);
28838 45 : if (pattern286 (x5,
28839 : E_CCmode,
28840 : 17) != 0)
28841 : return -1;
28842 45 : x6 = XVECEXP (x4, 0, 0);
28843 45 : operands[1] = x6;
28844 45 : switch (GET_MODE (operands[0]))
28845 : {
28846 0 : case E_SImode:
28847 0 : if (!register_operand (operands[0], E_SImode)
28848 0 : || GET_MODE (x4) != E_SImode
28849 0 : || !register_operand (operands[1], E_SImode)
28850 0 : || !insn_condition_938 (operands, insn))
28851 : return -1;
28852 : return 2016; /* allocate_stack_worker_probe_si */
28853 :
28854 45 : case E_DImode:
28855 45 : if (!register_operand (operands[0], E_DImode)
28856 45 : || GET_MODE (x4) != E_DImode
28857 45 : || !register_operand (operands[1], E_DImode)
28858 90 : || !insn_condition_939 (operands, insn))
28859 : return -1;
28860 : return 2017; /* allocate_stack_worker_probe_di */
28861 :
28862 : default:
28863 : return -1;
28864 : }
28865 :
28866 126 : case 11:
28867 126 : if (pattern742 (x1,
28868 : 11) != 0
28869 126 : || !insn_condition_52 (operands, insn))
28870 : return -1;
28871 : return 2053; /* rdpmc_rex64 */
28872 :
28873 166 : case 9:
28874 166 : if (pattern743 (x1,
28875 : E_DImode,
28876 : 9) != 0
28877 166 : || !insn_condition_52 (operands, insn))
28878 : return -1;
28879 : return 2055; /* rdtsc_rex64 */
28880 :
28881 0 : case 10:
28882 0 : if (pattern743 (x1,
28883 : E_SImode,
28884 : 10) != 0
28885 0 : || !insn_condition_51 (operands, insn))
28886 : return -1;
28887 : return 2056; /* rdtscp */
28888 :
28889 116 : case 36:
28890 116 : if (pattern742 (x1,
28891 : 36) != 0
28892 116 : || !insn_condition_511 (operands, insn))
28893 : return -1;
28894 : return 2083; /* xgetbv_rex64 */
28895 :
28896 396 : case 44:
28897 396 : switch (pattern744 (x1,
28898 : 44))
28899 : {
28900 81 : case 0:
28901 81 : if (!insn_condition_2205 (operands, insn))
28902 : return -1;
28903 : return 2106; /* rdrandhi */
28904 :
28905 228 : case 1:
28906 228 : if (!insn_condition_2205 (operands, insn))
28907 : return -1;
28908 : return 2107; /* rdrandsi */
28909 :
28910 81 : case 2:
28911 81 : if (!insn_condition_2206 (operands, insn))
28912 : return -1;
28913 : return 2108; /* rdranddi */
28914 :
28915 : default:
28916 : return -1;
28917 : }
28918 :
28919 407 : case 45:
28920 407 : switch (pattern744 (x1,
28921 : 45))
28922 : {
28923 79 : case 0:
28924 79 : if (!insn_condition_2207 (operands, insn))
28925 : return -1;
28926 : return 2109; /* rdseedhi */
28927 :
28928 172 : case 1:
28929 172 : if (!insn_condition_2207 (operands, insn))
28930 : return -1;
28931 : return 2110; /* rdseedsi */
28932 :
28933 80 : case 2:
28934 80 : if (!insn_condition_2208 (operands, insn))
28935 : return -1;
28936 : return 2111; /* rdseeddi */
28937 :
28938 : default:
28939 : return -1;
28940 : }
28941 :
28942 79 : case 65:
28943 79 : if (GET_MODE (x4) != E_DImode)
28944 : return -1;
28945 79 : x5 = XVECEXP (x1, 0, 1);
28946 79 : if (pattern286 (x5,
28947 : E_CCmode,
28948 : 17) != 0
28949 79 : || !memory_operand (operands[0], E_DImode))
28950 : return -1;
28951 79 : x6 = XVECEXP (x4, 0, 0);
28952 79 : if (!rtx_equal_p (x6, operands[0])
28953 79 : || !insn_condition_946 (operands, insn))
28954 : return -1;
28955 : return 2124; /* clrssbsy */
28956 :
28957 149 : case 55:
28958 149 : if (GET_MODE (x4) != E_SImode)
28959 : return -1;
28960 149 : x5 = XVECEXP (x1, 0, 1);
28961 149 : if (GET_CODE (x5) != SET)
28962 : return -1;
28963 149 : x7 = XEXP (x5, 1);
28964 149 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
28965 149 : || !register_operand (operands[0], E_SImode))
28966 : return -1;
28967 149 : x6 = XVECEXP (x4, 0, 0);
28968 149 : operands[2] = x6;
28969 149 : if (!register_operand (operands[2], E_SImode))
28970 : return -1;
28971 79 : x8 = XEXP (x5, 0);
28972 79 : operands[1] = x8;
28973 79 : if (!register_operand (operands[1], E_SImode)
28974 79 : || !insn_condition_2209 (operands, insn))
28975 : return -1;
28976 : return 2137; /* *rdpkru */
28977 :
28978 : default:
28979 : return -1;
28980 : }
28981 :
28982 354299 : case 2:
28983 354299 : switch (XINT (x4, 1))
28984 : {
28985 0 : case 3:
28986 0 : x5 = XVECEXP (x1, 0, 1);
28987 0 : if (pattern286 (x5,
28988 : E_CCmode,
28989 : 17) != 0)
28990 : return -1;
28991 0 : x6 = XVECEXP (x4, 0, 0);
28992 0 : operands[1] = x6;
28993 0 : x9 = XVECEXP (x4, 0, 1);
28994 0 : operands[2] = x9;
28995 0 : switch (GET_MODE (operands[0]))
28996 : {
28997 0 : case E_SImode:
28998 0 : if (pattern1480 (x4,
28999 : E_SImode) != 0
29000 0 : || !insn_condition_951 (operands, insn))
29001 : return -1;
29002 : return 2021; /* probe_stack_range_si */
29003 :
29004 0 : case E_DImode:
29005 0 : if (pattern1480 (x4,
29006 : E_DImode) != 0
29007 0 : || !insn_condition_952 (operands, insn))
29008 : return -1;
29009 : return 2022; /* probe_stack_range_di */
29010 :
29011 : default:
29012 : return -1;
29013 : }
29014 :
29015 70 : case 98:
29016 70 : if (pattern745 (x1,
29017 : 98) != 0
29018 70 : || !insn_condition_2210 (operands, insn))
29019 : return -1;
29020 : return 9058; /* aesdec128klu8 */
29021 :
29022 70 : case 100:
29023 70 : if (pattern745 (x1,
29024 : 100) != 0
29025 70 : || !insn_condition_2210 (operands, insn))
29026 : return -1;
29027 : return 9059; /* aesdec256klu8 */
29028 :
29029 70 : case 99:
29030 70 : if (pattern745 (x1,
29031 : 99) != 0
29032 70 : || !insn_condition_2210 (operands, insn))
29033 : return -1;
29034 : return 9060; /* aesenc128klu8 */
29035 :
29036 70 : case 101:
29037 70 : if (pattern745 (x1,
29038 : 101) != 0
29039 70 : || !insn_condition_2210 (operands, insn))
29040 : return -1;
29041 : return 9061; /* aesenc256klu8 */
29042 :
29043 263962 : case 126:
29044 263962 : x5 = XVECEXP (x1, 0, 1);
29045 263962 : if (GET_CODE (x5) != SET)
29046 : return -1;
29047 263962 : x6 = XVECEXP (x4, 0, 0);
29048 263962 : operands[1] = x6;
29049 263962 : x9 = XVECEXP (x4, 0, 1);
29050 263962 : operands[3] = x9;
29051 263962 : if (!const_int_operand (operands[3], E_SImode))
29052 : return -1;
29053 263962 : x8 = XEXP (x5, 0);
29054 263962 : if (!rtx_equal_p (x8, operands[1]))
29055 : return -1;
29056 263953 : x7 = XEXP (x5, 1);
29057 263953 : switch (GET_CODE (x7))
29058 : {
29059 11274 : case PLUS:
29060 11274 : if (pnum_clobbers == NULL)
29061 : return -1;
29062 11103 : x10 = XEXP (x7, 1);
29063 11103 : operands[2] = x10;
29064 11103 : x11 = XEXP (x7, 0);
29065 11103 : if (!rtx_equal_p (x11, operands[1]))
29066 : return -1;
29067 10040 : switch (GET_MODE (operands[0]))
29068 : {
29069 880 : case E_QImode:
29070 880 : if (pattern1619 (x1,
29071 : E_QImode) != 0
29072 880 : || !insn_condition_2211 (operands, insn))
29073 : return -1;
29074 800 : *pnum_clobbers = 1;
29075 800 : return 9856; /* atomic_fetch_addqi */
29076 :
29077 734 : case E_HImode:
29078 734 : if (pattern1619 (x1,
29079 : E_HImode) != 0
29080 734 : || !insn_condition_2211 (operands, insn))
29081 : return -1;
29082 648 : *pnum_clobbers = 1;
29083 648 : return 9857; /* atomic_fetch_addhi */
29084 :
29085 6988 : case E_SImode:
29086 6988 : if (pattern1619 (x1,
29087 : E_SImode) != 0
29088 6988 : || !insn_condition_2211 (operands, insn))
29089 : return -1;
29090 6439 : *pnum_clobbers = 1;
29091 6439 : return 9858; /* atomic_fetch_addsi */
29092 :
29093 1438 : case E_DImode:
29094 1438 : if (pattern1619 (x1,
29095 : E_DImode) != 0
29096 121075 : || !insn_condition_2212 (operands, insn))
29097 : return -1;
29098 1384 : *pnum_clobbers = 1;
29099 1384 : return 9859; /* atomic_fetch_adddi */
29100 :
29101 : default:
29102 : return -1;
29103 : }
29104 :
29105 142326 : case REG:
29106 142326 : case SUBREG:
29107 142326 : operands[2] = x7;
29108 142326 : switch (GET_MODE (operands[0]))
29109 : {
29110 55493 : case E_QImode:
29111 55493 : if (pattern1538 (x4,
29112 : E_QImode) != 0)
29113 : return -1;
29114 : return 9864; /* atomic_exchangeqi */
29115 :
29116 5046 : case E_HImode:
29117 5046 : if (pattern1538 (x4,
29118 : E_HImode) != 0)
29119 : return -1;
29120 : return 9865; /* atomic_exchangehi */
29121 :
29122 50147 : case E_SImode:
29123 50147 : if (pattern1538 (x4,
29124 : E_SImode) != 0)
29125 : return -1;
29126 : return 9866; /* atomic_exchangesi */
29127 :
29128 31640 : case E_DImode:
29129 31640 : if (pattern1538 (x4,
29130 : E_DImode) != 0
29131 31640 : || !insn_condition_52 (operands, insn))
29132 : return -1;
29133 : return 9867; /* atomic_exchangedi */
29134 :
29135 : default:
29136 : return -1;
29137 : }
29138 :
29139 : default:
29140 : return -1;
29141 : }
29142 :
29143 90029 : case 127:
29144 90029 : x5 = XVECEXP (x1, 0, 1);
29145 90029 : if (pattern286 (x5,
29146 : E_CCmode,
29147 : 17) != 0)
29148 : return -1;
29149 89840 : x9 = XVECEXP (x4, 0, 1);
29150 89840 : operands[2] = x9;
29151 89840 : if (!const_int_operand (operands[2], E_SImode))
29152 : return -1;
29153 89840 : x6 = XVECEXP (x4, 0, 0);
29154 89840 : switch (GET_CODE (x6))
29155 : {
29156 63758 : case PLUS:
29157 63758 : switch (pattern1482 (x4))
29158 : {
29159 : case 0:
29160 : return 9876; /* atomic_addqi */
29161 :
29162 1367 : case 1:
29163 1367 : return 9877; /* atomic_addhi */
29164 :
29165 45181 : case 2:
29166 45181 : return 9878; /* atomic_addsi */
29167 :
29168 12364 : case 3:
29169 12364 : if (!insn_condition_52 (operands, insn))
29170 : return -1;
29171 : return 9879; /* atomic_adddi */
29172 :
29173 : default:
29174 : return -1;
29175 : }
29176 :
29177 13255 : case MINUS:
29178 13255 : switch (pattern1482 (x4))
29179 : {
29180 : case 0:
29181 : return 9880; /* atomic_subqi */
29182 :
29183 1183 : case 1:
29184 1183 : return 9881; /* atomic_subhi */
29185 :
29186 3543 : case 2:
29187 3543 : return 9882; /* atomic_subsi */
29188 :
29189 7042 : case 3:
29190 7042 : if (!insn_condition_52 (operands, insn))
29191 : return -1;
29192 : return 9883; /* atomic_subdi */
29193 :
29194 : default:
29195 : return -1;
29196 : }
29197 :
29198 3312 : case AND:
29199 3312 : switch (pattern1482 (x4))
29200 : {
29201 : case 0:
29202 : return 9884; /* atomic_andqi */
29203 :
29204 390 : case 1:
29205 390 : return 9887; /* atomic_andhi */
29206 :
29207 845 : case 2:
29208 845 : return 9890; /* atomic_andsi */
29209 :
29210 714 : case 3:
29211 714 : if (!insn_condition_52 (operands, insn))
29212 : return -1;
29213 : return 9893; /* atomic_anddi */
29214 :
29215 : default:
29216 : return -1;
29217 : }
29218 :
29219 5738 : case IOR:
29220 5738 : switch (pattern1482 (x4))
29221 : {
29222 : case 0:
29223 : return 9885; /* atomic_orqi */
29224 :
29225 412 : case 1:
29226 412 : return 9888; /* atomic_orhi */
29227 :
29228 2566 : case 2:
29229 2566 : return 9891; /* atomic_orsi */
29230 :
29231 703 : case 3:
29232 703 : if (!insn_condition_52 (operands, insn))
29233 : return -1;
29234 : return 9894; /* atomic_ordi */
29235 :
29236 : default:
29237 : return -1;
29238 : }
29239 :
29240 3303 : case XOR:
29241 3303 : switch (pattern1482 (x4))
29242 : {
29243 : case 0:
29244 : return 9886; /* atomic_xorqi */
29245 :
29246 556 : case 1:
29247 556 : return 9889; /* atomic_xorhi */
29248 :
29249 986 : case 2:
29250 986 : return 9892; /* atomic_xorsi */
29251 :
29252 896 : case 3:
29253 896 : if (!insn_condition_52 (operands, insn))
29254 : return -1;
29255 : return 9895; /* atomic_xordi */
29256 :
29257 : default:
29258 : return -1;
29259 : }
29260 :
29261 : default:
29262 : return -1;
29263 : }
29264 :
29265 : default:
29266 : return -1;
29267 : }
29268 :
29269 : default:
29270 : return -1;
29271 : }
29272 : }
29273 :
29274 : int
29275 625486 : recog_443 (rtx x1 ATTRIBUTE_UNUSED,
29276 : rtx_insn *insn ATTRIBUTE_UNUSED,
29277 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29278 : {
29279 625486 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29280 625486 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29281 625486 : rtx x10, x11, x12, x13, x14, x15, x16;
29282 625486 : int res ATTRIBUTE_UNUSED;
29283 625486 : if (pattern269 (x1) != 0)
29284 : return -1;
29285 152217 : x2 = XVECEXP (x1, 0, 2);
29286 152217 : if (GET_CODE (x2) != UNSPEC
29287 2357 : || XVECLEN (x2, 0) != 1
29288 2357 : || XINT (x2, 1) != 35)
29289 : return -1;
29290 2357 : x3 = XVECEXP (x1, 0, 1);
29291 2357 : x4 = XEXP (x3, 0);
29292 2357 : operands[0] = x4;
29293 2357 : x5 = XVECEXP (x2, 0, 0);
29294 2357 : operands[2] = x5;
29295 2357 : x6 = XVECEXP (x1, 0, 0);
29296 2357 : x7 = XEXP (x6, 1);
29297 2357 : x8 = XEXP (x7, 0);
29298 2357 : switch (GET_CODE (x8))
29299 : {
29300 2353 : case REG:
29301 2353 : case SUBREG:
29302 2353 : case MEM:
29303 2353 : operands[1] = x8;
29304 2353 : x9 = XEXP (x3, 1);
29305 2353 : switch (GET_CODE (x9))
29306 : {
29307 11 : case CTZ:
29308 11 : x10 = XEXP (x6, 0);
29309 11 : if (GET_MODE (x10) != E_CCCmode
29310 11 : || GET_MODE (x7) != E_CCCmode)
29311 : return -1;
29312 11 : x11 = XEXP (x9, 0);
29313 11 : if (!rtx_equal_p (x11, operands[1]))
29314 : return -1;
29315 11 : switch (GET_MODE (operands[1]))
29316 : {
29317 6 : case E_SImode:
29318 6 : if (pattern1747 (x9,
29319 : E_SImode) != 0
29320 6 : || !insn_condition_56 (operands, insn))
29321 0 : return -1;
29322 : return 1640; /* *tzcntsi_1_falsedep */
29323 :
29324 5 : case E_DImode:
29325 5 : if (pattern1747 (x9,
29326 : E_DImode) != 0
29327 5 : || !insn_condition_57 (operands, insn))
29328 0 : return -1;
29329 : return 1641; /* *tzcntdi_1_falsedep */
29330 :
29331 : default:
29332 : return -1;
29333 : }
29334 :
29335 2342 : case MINUS:
29336 2342 : x11 = XEXP (x9, 0);
29337 2342 : if (GET_CODE (x11) != CONST_INT)
29338 : return -1;
29339 2342 : x12 = XEXP (x9, 1);
29340 2342 : if (GET_CODE (x12) != CLZ)
29341 : return -1;
29342 2342 : x10 = XEXP (x6, 0);
29343 2342 : if (GET_MODE (x10) != E_CCZmode
29344 2342 : || GET_MODE (x7) != E_CCZmode)
29345 : return -1;
29346 2342 : x13 = XEXP (x12, 0);
29347 2342 : if (!rtx_equal_p (x13, operands[1]))
29348 : return -1;
29349 2342 : switch (XWINT (x11, 0))
29350 : {
29351 1039 : case 63L:
29352 1039 : if (pattern1819 (x9,
29353 : E_DImode) != 0
29354 1039 : || !insn_condition_52 (operands, insn))
29355 0 : return -1;
29356 : return 1655; /* *bsr_rex64_falsedep */
29357 :
29358 1303 : case 31L:
29359 1303 : if (pattern1819 (x9,
29360 : E_SImode) != 0)
29361 0 : return -1;
29362 : return 1661; /* *bsr_falsedep */
29363 :
29364 : default:
29365 : return -1;
29366 : }
29367 :
29368 : default:
29369 : return -1;
29370 : }
29371 :
29372 4 : case AND:
29373 4 : x9 = XEXP (x3, 1);
29374 4 : if (GET_CODE (x9) != AND)
29375 : return -1;
29376 4 : x14 = XEXP (x8, 0);
29377 4 : switch (GET_CODE (x14))
29378 : {
29379 2 : case NEG:
29380 2 : x11 = XEXP (x9, 0);
29381 2 : if (GET_CODE (x11) != NEG)
29382 : return -1;
29383 2 : switch (pattern1623 (x1))
29384 : {
29385 2 : case 0:
29386 2 : if (!insn_condition_739 (operands, insn))
29387 0 : return -1;
29388 : return 1712; /* *bmi_blsi_si_falsedep */
29389 :
29390 0 : case 1:
29391 0 : if (!insn_condition_740 (operands, insn))
29392 0 : return -1;
29393 : return 1713; /* *bmi_blsi_di_falsedep */
29394 :
29395 : default:
29396 : return -1;
29397 : }
29398 :
29399 2 : case PLUS:
29400 2 : x15 = XEXP (x14, 1);
29401 2 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
29402 : return -1;
29403 2 : x11 = XEXP (x9, 0);
29404 2 : if (GET_CODE (x11) != PLUS)
29405 : return -1;
29406 2 : x16 = XEXP (x11, 1);
29407 2 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
29408 : return -1;
29409 2 : x10 = XEXP (x6, 0);
29410 2 : if (GET_MODE (x10) != E_CCZmode
29411 2 : || GET_MODE (x7) != E_CCZmode)
29412 : return -1;
29413 2 : switch (pattern1623 (x1))
29414 : {
29415 2 : case 0:
29416 2 : if (!insn_condition_56 (operands, insn))
29417 0 : return -1;
29418 : return 1724; /* *bmi_blsr_si_cmp_falsedep */
29419 :
29420 0 : case 1:
29421 0 : if (!insn_condition_57 (operands, insn))
29422 0 : return -1;
29423 : return 1725; /* *bmi_blsr_di_cmp_falsedep */
29424 :
29425 : default:
29426 : return -1;
29427 : }
29428 :
29429 : default:
29430 : return -1;
29431 : }
29432 :
29433 : default:
29434 : return -1;
29435 : }
29436 : }
29437 :
29438 : int
29439 14930 : recog_444 (rtx x1 ATTRIBUTE_UNUSED,
29440 : rtx_insn *insn ATTRIBUTE_UNUSED,
29441 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29442 : {
29443 14930 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29444 14930 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29445 14930 : rtx x10, x11, x12, x13, x14, x15, x16;
29446 14930 : int res ATTRIBUTE_UNUSED;
29447 14930 : x2 = XVECEXP (x1, 0, 0);
29448 14930 : x3 = XEXP (x2, 1);
29449 14930 : x4 = XEXP (x3, 0);
29450 14930 : if (GET_CODE (x4) != MEM
29451 14930 : || GET_MODE (x4) != E_QImode)
29452 : return -1;
29453 14930 : x5 = XEXP (x2, 0);
29454 14930 : operands[0] = x5;
29455 14930 : x6 = XEXP (x4, 0);
29456 14930 : switch (GET_CODE (x6))
29457 : {
29458 0 : case SUBREG:
29459 0 : case MEM:
29460 0 : operands[1] = x6;
29461 0 : if (!memory_operand (operands[1], E_SImode)
29462 0 : || pattern424 (x1) != 0)
29463 : return -1;
29464 0 : x7 = XEXP (x3, 1);
29465 0 : operands[2] = x7;
29466 0 : x8 = XVECEXP (x1, 0, 1);
29467 0 : x9 = XEXP (x8, 1);
29468 0 : x10 = XEXP (x9, 1);
29469 0 : operands[3] = x10;
29470 0 : if (!immediate_operand (operands[3], E_SImode)
29471 0 : || !insn_condition_2233 (operands, insn))
29472 0 : return -1;
29473 : return 1615; /* *sibcall_value_pop_memory */
29474 :
29475 14922 : case SYMBOL_REF:
29476 14922 : if (!constant_call_address_operand (x6, E_VOIDmode))
29477 : return -1;
29478 14922 : x8 = XVECEXP (x1, 0, 1);
29479 14922 : if (GET_CODE (x8) != UNSPEC)
29480 : return -1;
29481 14922 : x11 = XVECEXP (x1, 0, 2);
29482 14922 : if (GET_CODE (x11) != CLOBBER)
29483 : return -1;
29484 14922 : switch (pattern1210 (x8))
29485 : {
29486 13939 : case 0:
29487 13939 : operands[2] = x6;
29488 13939 : x7 = XEXP (x3, 1);
29489 13939 : operands[3] = x7;
29490 13939 : x12 = XVECEXP (x8, 0, 0);
29491 13939 : operands[1] = x12;
29492 13939 : if (!tls_symbolic_operand (operands[1], E_VOIDmode))
29493 : return -1;
29494 13939 : x13 = XEXP (x11, 0);
29495 13939 : operands[4] = x13;
29496 13939 : switch (GET_MODE (operands[0]))
29497 : {
29498 0 : case E_SImode:
29499 0 : if (pattern1792 (x1,
29500 : E_SImode) != 0
29501 0 : || !insn_condition_2234 (operands, insn))
29502 0 : return -1;
29503 : return 1789; /* *tls_global_dynamic_64_si */
29504 :
29505 13939 : case E_DImode:
29506 13939 : if (pattern1792 (x1,
29507 : E_DImode) != 0
29508 13939 : || !insn_condition_2235 (operands, insn))
29509 0 : return -1;
29510 : return 1790; /* *tls_global_dynamic_64_di */
29511 :
29512 : default:
29513 : return -1;
29514 : }
29515 :
29516 983 : case 1:
29517 983 : operands[1] = x6;
29518 983 : x7 = XEXP (x3, 1);
29519 983 : operands[2] = x7;
29520 983 : x13 = XEXP (x11, 0);
29521 983 : operands[3] = x13;
29522 983 : switch (GET_MODE (operands[0]))
29523 : {
29524 0 : case E_SImode:
29525 0 : if (pattern1722 (x1,
29526 : E_SImode) != 0
29527 0 : || !insn_condition_2234 (operands, insn))
29528 0 : return -1;
29529 : return 1793; /* *tls_local_dynamic_base_64_si */
29530 :
29531 983 : case E_DImode:
29532 983 : if (pattern1722 (x1,
29533 : E_DImode) != 0
29534 983 : || !insn_condition_2235 (operands, insn))
29535 0 : return -1;
29536 : return 1794; /* *tls_local_dynamic_base_64_di */
29537 :
29538 : default:
29539 : return -1;
29540 : }
29541 :
29542 : default:
29543 : return -1;
29544 : }
29545 :
29546 8 : case PLUS:
29547 8 : if (GET_MODE (x6) != E_DImode)
29548 : return -1;
29549 8 : x8 = XVECEXP (x1, 0, 1);
29550 8 : if (GET_CODE (x8) != UNSPEC)
29551 : return -1;
29552 8 : x11 = XVECEXP (x1, 0, 2);
29553 8 : if (GET_CODE (x11) != CLOBBER
29554 8 : || !register_operand (operands[0], E_DImode)
29555 16 : || GET_MODE (x3) != E_DImode)
29556 : return -1;
29557 8 : x14 = XEXP (x6, 0);
29558 8 : if (!register_operand (x14, E_DImode))
29559 : return -1;
29560 6 : x15 = XEXP (x6, 1);
29561 6 : if (!pltoff_symbol_operand (x15, E_DImode)
29562 6 : || GET_MODE (x8) != E_DImode)
29563 : return -1;
29564 6 : x13 = XEXP (x11, 0);
29565 6 : if (!register_operand (x13, E_DImode))
29566 : return -1;
29567 6 : switch (pattern1210 (x8))
29568 : {
29569 3 : case 0:
29570 3 : x16 = XVECEXP (x8, 0, 1);
29571 3 : if (GET_MODE (x16) != E_DImode)
29572 : return -1;
29573 3 : operands[2] = x14;
29574 3 : operands[3] = x15;
29575 3 : x7 = XEXP (x3, 1);
29576 3 : operands[4] = x7;
29577 3 : x12 = XVECEXP (x8, 0, 0);
29578 3 : operands[1] = x12;
29579 3 : if (!tls_symbolic_operand (operands[1], E_VOIDmode))
29580 : return -1;
29581 3 : operands[5] = x13;
29582 3 : if (!insn_condition_2236 (operands, insn))
29583 0 : return -1;
29584 : return 1791; /* *tls_global_dynamic_64_largepic */
29585 :
29586 3 : case 1:
29587 3 : x12 = XVECEXP (x8, 0, 0);
29588 3 : if (GET_MODE (x12) != E_DImode)
29589 : return -1;
29590 3 : operands[1] = x14;
29591 3 : operands[2] = x15;
29592 3 : x7 = XEXP (x3, 1);
29593 3 : operands[3] = x7;
29594 3 : operands[4] = x13;
29595 3 : if (!insn_condition_2236 (operands, insn))
29596 0 : return -1;
29597 : return 1795; /* *tls_local_dynamic_base_64_largepic */
29598 :
29599 : default:
29600 : return -1;
29601 : }
29602 :
29603 : default:
29604 : return -1;
29605 : }
29606 : }
29607 :
29608 : int
29609 4688 : recog_452 (rtx x1 ATTRIBUTE_UNUSED,
29610 : rtx_insn *insn ATTRIBUTE_UNUSED,
29611 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29612 : {
29613 4688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29614 4688 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29615 4688 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
29616 4688 : rtx x18, x19;
29617 4688 : int res ATTRIBUTE_UNUSED;
29618 4688 : x2 = XVECEXP (x1, 0, 0);
29619 4688 : if (GET_CODE (x2) != UNSPEC_VOLATILE
29620 3996 : || XVECLEN (x2, 0) != 1)
29621 : return -1;
29622 3996 : x3 = XVECEXP (x2, 0, 0);
29623 3996 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
29624 3996 : || pattern37 (x1) != 0)
29625 : return -1;
29626 119 : x4 = XVECEXP (x1, 0, 9);
29627 119 : if (GET_CODE (x4) != CLOBBER)
29628 : return -1;
29629 119 : x5 = XEXP (x4, 0);
29630 119 : if (GET_CODE (x5) != REG
29631 119 : || REGNO (x5) != 28
29632 238 : || GET_MODE (x5) != E_DImode)
29633 : return -1;
29634 119 : x6 = XVECEXP (x1, 0, 10);
29635 119 : if (GET_CODE (x6) != CLOBBER)
29636 : return -1;
29637 119 : x7 = XEXP (x6, 0);
29638 119 : if (GET_CODE (x7) != REG
29639 119 : || REGNO (x7) != 29
29640 238 : || GET_MODE (x7) != E_DImode)
29641 : return -1;
29642 119 : x8 = XVECEXP (x1, 0, 11);
29643 119 : if (GET_CODE (x8) != CLOBBER)
29644 : return -1;
29645 119 : x9 = XEXP (x8, 0);
29646 119 : if (GET_CODE (x9) != REG
29647 119 : || REGNO (x9) != 30
29648 238 : || GET_MODE (x9) != E_DImode)
29649 : return -1;
29650 119 : x10 = XVECEXP (x1, 0, 12);
29651 119 : if (GET_CODE (x10) != CLOBBER)
29652 : return -1;
29653 119 : x11 = XEXP (x10, 0);
29654 119 : if (GET_CODE (x11) != REG
29655 119 : || REGNO (x11) != 31
29656 238 : || GET_MODE (x11) != E_DImode)
29657 : return -1;
29658 119 : x12 = XVECEXP (x1, 0, 13);
29659 119 : if (GET_CODE (x12) != CLOBBER)
29660 : return -1;
29661 119 : x13 = XEXP (x12, 0);
29662 119 : if (GET_CODE (x13) != REG
29663 119 : || REGNO (x13) != 32
29664 238 : || GET_MODE (x13) != E_DImode)
29665 : return -1;
29666 119 : x14 = XVECEXP (x1, 0, 14);
29667 119 : if (GET_CODE (x14) != CLOBBER)
29668 : return -1;
29669 119 : x15 = XEXP (x14, 0);
29670 119 : if (GET_CODE (x15) != REG
29671 119 : || REGNO (x15) != 33
29672 238 : || GET_MODE (x15) != E_DImode)
29673 : return -1;
29674 119 : x16 = XVECEXP (x1, 0, 15);
29675 119 : if (GET_CODE (x16) != CLOBBER)
29676 : return -1;
29677 119 : x17 = XEXP (x16, 0);
29678 119 : if (GET_CODE (x17) != REG
29679 119 : || REGNO (x17) != 34
29680 238 : || GET_MODE (x17) != E_DImode)
29681 : return -1;
29682 119 : x18 = XVECEXP (x1, 0, 16);
29683 119 : if (GET_CODE (x18) != CLOBBER)
29684 : return -1;
29685 119 : x19 = XEXP (x18, 0);
29686 119 : if (GET_CODE (x19) != REG
29687 119 : || REGNO (x19) != 35
29688 238 : || GET_MODE (x19) != E_DImode)
29689 : return -1;
29690 119 : switch (XINT (x2, 1))
29691 : {
29692 104 : case 89:
29693 104 : if (!insn_condition_2259 (operands, insn))
29694 0 : return -1;
29695 : return 2547; /* *mmx_emms */
29696 :
29697 15 : case 90:
29698 15 : if (!insn_condition_113 (operands, insn))
29699 0 : return -1;
29700 : return 2548; /* *mmx_femms */
29701 :
29702 : default:
29703 : return -1;
29704 : }
29705 : }
29706 :
29707 : int
29708 1031 : recog_454 (rtx x1 ATTRIBUTE_UNUSED,
29709 : rtx_insn *insn ATTRIBUTE_UNUSED,
29710 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29711 : {
29712 1031 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29713 1031 : rtx x2, x3, x4, x5, x6;
29714 1031 : int res ATTRIBUTE_UNUSED;
29715 1031 : x2 = XVECEXP (x1, 0, 0);
29716 1031 : if (GET_CODE (x2) != RETURN)
29717 : return -1;
29718 1031 : x3 = XVECEXP (x1, 0, 1);
29719 1031 : if (GET_CODE (x3) != USE)
29720 : return -1;
29721 1031 : x4 = XVECEXP (x1, 0, 2);
29722 1031 : if (GET_CODE (x4) != SET)
29723 : return -1;
29724 1031 : x5 = XEXP (x4, 1);
29725 1031 : if (GET_CODE (x5) != REG
29726 104 : || REGNO (x5) != 38
29727 1135 : || pattern756 (x4,
29728 : E_DImode,
29729 : 7) != 0)
29730 : return -1;
29731 104 : x6 = XEXP (x3, 0);
29732 104 : operands[1] = x6;
29733 104 : switch (GET_MODE (operands[1]))
29734 : {
29735 0 : case E_SImode:
29736 0 : if (!symbol_operand (operands[1], E_SImode)
29737 0 : || !insn_condition_2260 (operands, insn))
29738 0 : return -1;
29739 : return 8844; /* *restore_multiple_and_returnsi */
29740 :
29741 104 : case E_DImode:
29742 104 : if (!symbol_operand (operands[1], E_DImode)
29743 104 : || !insn_condition_2261 (operands, insn))
29744 0 : return -1;
29745 : return 8845; /* *restore_multiple_and_returndi */
29746 :
29747 : default:
29748 : return -1;
29749 : }
29750 : }
29751 :
29752 : int
29753 1613507050 : recog_455 (rtx x1 ATTRIBUTE_UNUSED,
29754 : rtx_insn *insn ATTRIBUTE_UNUSED,
29755 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29756 : {
29757 1613507050 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29758 1613507050 : rtx x2, x3, x4, x5;
29759 1613507050 : int res ATTRIBUTE_UNUSED;
29760 1613507050 : x2 = XEXP (x1, 1);
29761 1613507050 : switch (GET_CODE (x2))
29762 : {
29763 95288910 : case IF_THEN_ELSE:
29764 95288910 : res = recog_3 (x1, insn, pnum_clobbers);
29765 95288910 : if (res >= 0)
29766 : return res;
29767 : break;
29768 :
29769 59699369 : case COMPARE:
29770 59699369 : res = recog_6 (x1, insn, pnum_clobbers);
29771 59699369 : if (res >= 0)
29772 : return res;
29773 : break;
29774 :
29775 5684484 : case UNSPEC:
29776 5684484 : res = recog_16 (x1, insn, pnum_clobbers);
29777 5684484 : if (res >= 0)
29778 : return res;
29779 : break;
29780 :
29781 1354090844 : case CONST_INT:
29782 1354090844 : case CONST_WIDE_INT:
29783 1354090844 : case CONST_POLY_INT:
29784 1354090844 : case CONST_FIXED:
29785 1354090844 : case CONST_DOUBLE:
29786 1354090844 : case CONST_VECTOR:
29787 1354090844 : case CONST:
29788 1354090844 : case REG:
29789 1354090844 : case SUBREG:
29790 1354090844 : case MEM:
29791 1354090844 : case LABEL_REF:
29792 1354090844 : case SYMBOL_REF:
29793 1354090844 : case HIGH:
29794 1354090844 : res = recog_22 (x1, insn, pnum_clobbers);
29795 1354090844 : if (res >= 0)
29796 : return res;
29797 : break;
29798 :
29799 3059682 : case ASHIFTRT:
29800 3059682 : case LSHIFTRT:
29801 3059682 : case SIGN_EXTRACT:
29802 3059682 : case ZERO_EXTRACT:
29803 3059682 : res = recog_27 (x1, insn, pnum_clobbers);
29804 3059682 : if (res >= 0)
29805 : return res;
29806 : break;
29807 :
29808 4196206 : case IOR:
29809 4196206 : res = recog_28 (x1, insn, pnum_clobbers);
29810 4196206 : if (res >= 0)
29811 : return res;
29812 : break;
29813 :
29814 700975 : case XOR:
29815 700975 : res = recog_29 (x1, insn, pnum_clobbers);
29816 700975 : if (res >= 0)
29817 : return res;
29818 : break;
29819 :
29820 6757947 : case ZERO_EXTEND:
29821 6757947 : res = recog_31 (x1, insn, pnum_clobbers);
29822 6757947 : if (res >= 0)
29823 : return res;
29824 : break;
29825 :
29826 3308762 : case SIGN_EXTEND:
29827 3308762 : res = recog_32 (x1, insn, pnum_clobbers);
29828 3308762 : if (res >= 0)
29829 : return res;
29830 : break;
29831 :
29832 1440668 : case FLOAT_EXTEND:
29833 1440668 : res = recog_33 (x1, insn, pnum_clobbers);
29834 1440668 : if (res >= 0)
29835 : return res;
29836 : break;
29837 :
29838 159150 : case FLOAT_TRUNCATE:
29839 159150 : res = recog_34 (x1, insn, pnum_clobbers);
29840 159150 : if (res >= 0)
29841 : return res;
29842 : break;
29843 :
29844 351379 : case FIX:
29845 351379 : res = recog_35 (x1, insn, pnum_clobbers);
29846 351379 : if (res >= 0)
29847 : return res;
29848 : break;
29849 :
29850 1012 : case UNSIGNED_FIX:
29851 1012 : res = recog_36 (x1, insn, pnum_clobbers);
29852 1012 : if (res >= 0)
29853 : return res;
29854 : break;
29855 :
29856 1108363 : case FLOAT:
29857 1108363 : res = recog_37 (x1, insn, pnum_clobbers);
29858 1108363 : if (res >= 0)
29859 : return res;
29860 : break;
29861 :
29862 2481 : case UNSIGNED_FLOAT:
29863 2481 : res = recog_38 (x1, insn, pnum_clobbers);
29864 2481 : if (res >= 0)
29865 : return res;
29866 : break;
29867 :
29868 3685498 : case AND:
29869 3685498 : res = recog_43 (x1, insn, pnum_clobbers);
29870 3685498 : if (res >= 0)
29871 : return res;
29872 : break;
29873 :
29874 674805 : case NOT:
29875 674805 : res = recog_44 (x1, insn, pnum_clobbers);
29876 674805 : if (res >= 0)
29877 : return res;
29878 : break;
29879 :
29880 268072 : case NEG:
29881 268072 : res = recog_45 (x1, insn, pnum_clobbers);
29882 268072 : if (res >= 0)
29883 : return res;
29884 : break;
29885 :
29886 65631 : case ABS:
29887 65631 : res = recog_46 (x1, insn, pnum_clobbers);
29888 65631 : if (res >= 0)
29889 : return res;
29890 : break;
29891 :
29892 2968138 : case ASHIFT:
29893 2968138 : res = recog_47 (x1, insn, pnum_clobbers);
29894 2968138 : if (res >= 0)
29895 : return res;
29896 : break;
29897 :
29898 24044 : case ROTATE:
29899 24044 : res = recog_48 (x1, insn, pnum_clobbers);
29900 24044 : if (res >= 0)
29901 : return res;
29902 : break;
29903 :
29904 16124 : case ROTATERT:
29905 16124 : res = recog_49 (x1, insn, pnum_clobbers);
29906 16124 : if (res >= 0)
29907 : return res;
29908 : break;
29909 :
29910 6661011 : case NE:
29911 6661011 : case EQ:
29912 6661011 : case GE:
29913 6661011 : case GT:
29914 6661011 : case LE:
29915 6661011 : case LT:
29916 6661011 : case LTGT:
29917 6661011 : case GEU:
29918 6661011 : case GTU:
29919 6661011 : case LEU:
29920 6661011 : case LTU:
29921 6661011 : case UNORDERED:
29922 6661011 : case ORDERED:
29923 6661011 : case UNEQ:
29924 6661011 : case UNGE:
29925 6661011 : case UNGT:
29926 6661011 : case UNLE:
29927 6661011 : case UNLT:
29928 6661011 : res = recog_55 (x1, insn, pnum_clobbers);
29929 6661011 : if (res >= 0)
29930 : return res;
29931 : break;
29932 :
29933 1963 : case POPCOUNT:
29934 1963 : res = recog_56 (x1, insn, pnum_clobbers);
29935 1963 : if (res >= 0)
29936 : return res;
29937 : break;
29938 :
29939 33327 : case BSWAP:
29940 33327 : res = recog_57 (x1, insn, pnum_clobbers);
29941 33327 : if (res >= 0)
29942 : return res;
29943 : break;
29944 :
29945 40509282 : case PLUS:
29946 40509282 : case MINUS:
29947 40509282 : case MULT:
29948 40509282 : case DIV:
29949 40509282 : res = recog_64 (x1, insn, pnum_clobbers);
29950 40509282 : if (res >= 0)
29951 : return res;
29952 : break;
29953 :
29954 27380 : case SQRT:
29955 27380 : res = recog_366 (x1, insn, pnum_clobbers);
29956 27380 : if (res >= 0)
29957 : return res;
29958 : break;
29959 :
29960 280825 : case SMAX:
29961 280825 : switch (pattern7 (x1, pnum_clobbers))
29962 : {
29963 3203 : case 0:
29964 3203 : if (insn_condition_111 (operands, insn))
29965 : return 1952; /* smaxsf3 */
29966 : break;
29967 :
29968 979 : case 1:
29969 979 : if (insn_condition_112 (operands, insn))
29970 : return 1954; /* smaxdf3 */
29971 : break;
29972 :
29973 36 : case 2:
29974 36 : if (insn_condition_40 (operands, insn))
29975 : return 1956; /* smaxhf3 */
29976 : break;
29977 :
29978 37 : case 3:
29979 37 : if (insn_condition_398 (operands, insn))
29980 : {
29981 37 : *pnum_clobbers = 1;
29982 37 : return 1972; /* *smaxti3_doubleword */
29983 : }
29984 : break;
29985 :
29986 206 : case 4:
29987 206 : if (insn_condition_399 (operands, insn))
29988 : {
29989 206 : *pnum_clobbers = 1;
29990 206 : return 1976; /* *smaxqi3_1 */
29991 : }
29992 : break;
29993 :
29994 80 : case 5:
29995 80 : if (insn_condition_400 (operands, insn))
29996 : {
29997 80 : *pnum_clobbers = 1;
29998 80 : return 1980; /* *smaxhi3_1 */
29999 : }
30000 : break;
30001 :
30002 0 : case 6:
30003 0 : if (insn_condition_115 (operands, insn))
30004 : return 2328; /* smaxv8qi3 */
30005 : break;
30006 :
30007 165 : case 7:
30008 165 : if (insn_condition_115 (operands, insn))
30009 : return 2330; /* smaxv2si3 */
30010 : break;
30011 :
30012 259 : case 8:
30013 259 : if (insn_condition_2263 (operands, insn))
30014 : return 2332; /* *mmx_smaxv4hi3 */
30015 : break;
30016 :
30017 53 : case 9:
30018 53 : if (insn_condition_92 (operands, insn))
30019 : return 2334; /* smaxv4qi3 */
30020 : break;
30021 :
30022 5 : case 10:
30023 5 : if (insn_condition_92 (operands, insn))
30024 : return 2336; /* smaxv2qi3 */
30025 : break;
30026 :
30027 45 : case 11:
30028 45 : if (insn_condition_141 (operands, insn))
30029 : return 2338; /* smaxv2hi3 */
30030 : break;
30031 :
30032 : default:
30033 : break;
30034 : }
30035 : break;
30036 :
30037 89563 : case SMIN:
30038 89563 : switch (pattern7 (x1, pnum_clobbers))
30039 : {
30040 1572 : case 0:
30041 1572 : if (insn_condition_111 (operands, insn))
30042 : return 1953; /* sminsf3 */
30043 : break;
30044 :
30045 928 : case 1:
30046 928 : if (insn_condition_112 (operands, insn))
30047 : return 1955; /* smindf3 */
30048 : break;
30049 :
30050 36 : case 2:
30051 36 : if (insn_condition_40 (operands, insn))
30052 : return 1957; /* sminhf3 */
30053 : break;
30054 :
30055 88 : case 3:
30056 88 : if (insn_condition_398 (operands, insn))
30057 : {
30058 88 : *pnum_clobbers = 1;
30059 88 : return 1973; /* *sminti3_doubleword */
30060 : }
30061 : break;
30062 :
30063 102 : case 4:
30064 102 : if (insn_condition_399 (operands, insn))
30065 : {
30066 102 : *pnum_clobbers = 1;
30067 102 : return 1977; /* *sminqi3_1 */
30068 : }
30069 : break;
30070 :
30071 169 : case 5:
30072 169 : if (insn_condition_400 (operands, insn))
30073 : {
30074 169 : *pnum_clobbers = 1;
30075 169 : return 1981; /* *sminhi3_1 */
30076 : }
30077 : break;
30078 :
30079 368 : case 6:
30080 368 : if (insn_condition_115 (operands, insn))
30081 : return 2329; /* sminv8qi3 */
30082 : break;
30083 :
30084 96 : case 7:
30085 96 : if (insn_condition_115 (operands, insn))
30086 : return 2331; /* sminv2si3 */
30087 : break;
30088 :
30089 211 : case 8:
30090 211 : if (insn_condition_2264 (operands, insn))
30091 : return 2333; /* *mmx_sminv4hi3 */
30092 : break;
30093 :
30094 53 : case 9:
30095 53 : if (insn_condition_92 (operands, insn))
30096 : return 2335; /* sminv4qi3 */
30097 : break;
30098 :
30099 5 : case 10:
30100 5 : if (insn_condition_92 (operands, insn))
30101 : return 2337; /* sminv2qi3 */
30102 : break;
30103 :
30104 129 : case 11:
30105 129 : if (insn_condition_141 (operands, insn))
30106 : return 2339; /* sminv2hi3 */
30107 : break;
30108 :
30109 : default:
30110 : break;
30111 : }
30112 : break;
30113 :
30114 124923 : case UMAX:
30115 124923 : res = recog_369 (x1, insn, pnum_clobbers);
30116 124923 : if (res >= 0)
30117 : return res;
30118 : break;
30119 :
30120 129850 : case UMIN:
30121 129850 : res = recog_368 (x1, insn, pnum_clobbers);
30122 129850 : if (res >= 0)
30123 : return res;
30124 : break;
30125 :
30126 219813 : case UNSPEC_VOLATILE:
30127 219813 : res = recog_65 (x1, insn, pnum_clobbers);
30128 219813 : if (res >= 0)
30129 : return res;
30130 : break;
30131 :
30132 3761684 : case VEC_CONCAT:
30133 3761684 : res = recog_66 (x1, insn, pnum_clobbers);
30134 3761684 : if (res >= 0)
30135 : return res;
30136 : break;
30137 :
30138 1444489 : case VEC_MERGE:
30139 1444489 : res = recog_67 (x1, insn, pnum_clobbers);
30140 1444489 : if (res >= 0)
30141 : return res;
30142 : break;
30143 :
30144 4384206 : case VEC_SELECT:
30145 4384206 : res = recog_69 (x1, insn, pnum_clobbers);
30146 4384206 : if (res >= 0)
30147 : return res;
30148 : break;
30149 :
30150 1493893 : case VEC_DUPLICATE:
30151 1493893 : res = recog_70 (x1, insn, pnum_clobbers);
30152 1493893 : if (res >= 0)
30153 : return res;
30154 : break;
30155 :
30156 2435 : case SS_PLUS:
30157 2435 : res = recog_71 (x1, insn, pnum_clobbers);
30158 2435 : if (res >= 0)
30159 : return res;
30160 : break;
30161 :
30162 2363 : case US_PLUS:
30163 2363 : x3 = XEXP (x1, 0);
30164 2363 : operands[0] = x3;
30165 2363 : switch (pattern49 (x2))
30166 : {
30167 451 : case 0:
30168 451 : if (insn_condition_2265 (operands, insn))
30169 : return 2299; /* *mmx_usaddv8qi3 */
30170 : break;
30171 :
30172 200 : case 1:
30173 200 : if (insn_condition_2266 (operands, insn))
30174 : return 2303; /* *mmx_usaddv4hi3 */
30175 : break;
30176 :
30177 0 : case 2:
30178 0 : if (insn_condition_141 (operands, insn))
30179 : return 2307; /* usaddv4qi3 */
30180 : break;
30181 :
30182 0 : case 3:
30183 0 : if (insn_condition_141 (operands, insn))
30184 : return 2311; /* usaddv2qi3 */
30185 : break;
30186 :
30187 0 : case 4:
30188 0 : if (insn_condition_141 (operands, insn))
30189 : return 2315; /* usaddv2hi3 */
30190 : break;
30191 :
30192 : default:
30193 : break;
30194 : }
30195 : break;
30196 :
30197 1514 : case SS_MINUS:
30198 1514 : x3 = XEXP (x1, 0);
30199 1514 : operands[0] = x3;
30200 1514 : x4 = XEXP (x2, 0);
30201 1514 : switch (GET_CODE (x4))
30202 : {
30203 1098 : case REG:
30204 1098 : case SUBREG:
30205 1098 : case MEM:
30206 1098 : switch (pattern49 (x2))
30207 : {
30208 196 : case 0:
30209 196 : if (insn_condition_2267 (operands, insn))
30210 : return 2300; /* *mmx_sssubv8qi3 */
30211 : break;
30212 :
30213 184 : case 1:
30214 184 : if (insn_condition_2268 (operands, insn))
30215 : return 2304; /* *mmx_sssubv4hi3 */
30216 : break;
30217 :
30218 0 : case 2:
30219 0 : if (insn_condition_141 (operands, insn))
30220 : return 2308; /* sssubv4qi3 */
30221 : break;
30222 :
30223 0 : case 3:
30224 0 : if (insn_condition_141 (operands, insn))
30225 : return 2312; /* sssubv2qi3 */
30226 : break;
30227 :
30228 0 : case 4:
30229 0 : if (insn_condition_141 (operands, insn))
30230 : return 2316; /* sssubv2hi3 */
30231 : break;
30232 :
30233 : default:
30234 : break;
30235 : }
30236 : break;
30237 :
30238 334 : case VEC_SELECT:
30239 334 : if (pattern126 (x2) == 0
30240 334 : && insn_condition_121 (operands, insn))
30241 : return 7264; /* ssse3_phsubswv4hi3 */
30242 : break;
30243 :
30244 : default:
30245 : break;
30246 : }
30247 : break;
30248 :
30249 6843 : case US_MINUS:
30250 6843 : x3 = XEXP (x1, 0);
30251 6843 : operands[0] = x3;
30252 6843 : switch (pattern49 (x2))
30253 : {
30254 282 : case 0:
30255 282 : if (insn_condition_2269 (operands, insn))
30256 : return 2301; /* *mmx_ussubv8qi3 */
30257 : break;
30258 :
30259 328 : case 1:
30260 328 : if (insn_condition_2270 (operands, insn))
30261 : return 2305; /* *mmx_ussubv4hi3 */
30262 : break;
30263 :
30264 170 : case 2:
30265 170 : if (insn_condition_141 (operands, insn))
30266 : return 2309; /* ussubv4qi3 */
30267 : break;
30268 :
30269 220 : case 3:
30270 220 : if (insn_condition_141 (operands, insn))
30271 : return 2313; /* ussubv2qi3 */
30272 : break;
30273 :
30274 225 : case 4:
30275 225 : if (insn_condition_141 (operands, insn))
30276 : return 2317; /* ussubv2hi3 */
30277 : break;
30278 :
30279 : default:
30280 : break;
30281 : }
30282 : break;
30283 :
30284 14142 : case TRUNCATE:
30285 14142 : res = recog_72 (x1, insn, pnum_clobbers);
30286 14142 : if (res >= 0)
30287 : return res;
30288 : break;
30289 :
30290 343278 : case FMA:
30291 343278 : res = recog_73 (x1, insn, pnum_clobbers);
30292 343278 : if (res >= 0)
30293 : return res;
30294 : break;
30295 :
30296 524 : case SS_TRUNCATE:
30297 524 : switch (pattern11 (x1))
30298 : {
30299 0 : case 0:
30300 0 : if (insn_condition_532 (operands, insn))
30301 : return 5976; /* *avx512vl_ss_truncatev2div2qi2_store_1 */
30302 : break;
30303 :
30304 0 : case 1:
30305 0 : if (insn_condition_532 (operands, insn))
30306 : return 5991; /* *avx512vl_ss_truncatev4siv4qi2_store_1 */
30307 : break;
30308 :
30309 0 : case 2:
30310 0 : if (insn_condition_532 (operands, insn))
30311 : return 5994; /* *avx512vl_ss_truncatev4div4qi2_store_1 */
30312 : break;
30313 :
30314 0 : case 3:
30315 0 : if (insn_condition_533 (operands, insn))
30316 : return 6021; /* *avx512vl_ss_truncatev8hiv8qi2_store_1 */
30317 : break;
30318 :
30319 0 : case 4:
30320 0 : if (insn_condition_532 (operands, insn))
30321 : return 6024; /* *avx512vl_ss_truncatev8siv8qi2_store_1 */
30322 : break;
30323 :
30324 0 : case 5:
30325 0 : if (insn_condition_27 (operands, insn))
30326 : return 6128; /* *avx512f_ss_truncatev8div16qi2_store_1 */
30327 : break;
30328 :
30329 0 : case 6:
30330 0 : if (insn_condition_532 (operands, insn))
30331 : return 6061; /* *avx512vl_ss_truncatev4siv4hi2_store_1 */
30332 : break;
30333 :
30334 0 : case 7:
30335 0 : if (insn_condition_532 (operands, insn))
30336 : return 6064; /* *avx512vl_ss_truncatev4div4hi2_store_1 */
30337 : break;
30338 :
30339 0 : case 8:
30340 0 : if (insn_condition_532 (operands, insn))
30341 : return 6091; /* *avx512vl_ss_truncatev2div2hi2_store_1 */
30342 : break;
30343 :
30344 0 : case 9:
30345 0 : if (insn_condition_532 (operands, insn))
30346 : return 6110; /* *avx512vl_ss_truncatev2div2si2_store_1 */
30347 : break;
30348 :
30349 : default:
30350 : break;
30351 : }
30352 : break;
30353 :
30354 544 : case US_TRUNCATE:
30355 544 : switch (pattern11 (x1))
30356 : {
30357 0 : case 0:
30358 0 : if (insn_condition_532 (operands, insn))
30359 : return 5978; /* *avx512vl_us_truncatev2div2qi2_store_1 */
30360 : break;
30361 :
30362 0 : case 1:
30363 0 : if (insn_condition_532 (operands, insn))
30364 : return 5993; /* *avx512vl_us_truncatev4siv4qi2_store_1 */
30365 : break;
30366 :
30367 0 : case 2:
30368 0 : if (insn_condition_532 (operands, insn))
30369 : return 5996; /* *avx512vl_us_truncatev4div4qi2_store_1 */
30370 : break;
30371 :
30372 0 : case 3:
30373 0 : if (insn_condition_533 (operands, insn))
30374 : return 6023; /* *avx512vl_us_truncatev8hiv8qi2_store_1 */
30375 : break;
30376 :
30377 0 : case 4:
30378 0 : if (insn_condition_532 (operands, insn))
30379 : return 6026; /* *avx512vl_us_truncatev8siv8qi2_store_1 */
30380 : break;
30381 :
30382 0 : case 5:
30383 0 : if (insn_condition_27 (operands, insn))
30384 : return 6130; /* *avx512f_us_truncatev8div16qi2_store_1 */
30385 : break;
30386 :
30387 0 : case 6:
30388 0 : if (insn_condition_532 (operands, insn))
30389 : return 6063; /* *avx512vl_us_truncatev4siv4hi2_store_1 */
30390 : break;
30391 :
30392 0 : case 7:
30393 0 : if (insn_condition_532 (operands, insn))
30394 : return 6066; /* *avx512vl_us_truncatev4div4hi2_store_1 */
30395 : break;
30396 :
30397 0 : case 8:
30398 0 : if (insn_condition_532 (operands, insn))
30399 : return 6093; /* *avx512vl_us_truncatev2div2hi2_store_1 */
30400 : break;
30401 :
30402 0 : case 9:
30403 0 : if (insn_condition_532 (operands, insn))
30404 : return 6112; /* *avx512vl_us_truncatev2div2si2_store_1 */
30405 : break;
30406 :
30407 : default:
30408 : break;
30409 : }
30410 : break;
30411 :
30412 : default:
30413 : break;
30414 : }
30415 885569676 : x3 = XEXP (x1, 0);
30416 885569676 : operands[0] = x3;
30417 885569676 : operands[1] = x2;
30418 885569676 : switch (GET_MODE (operands[0]))
30419 : {
30420 323784 : case E_XImode:
30421 323784 : if (nonimmediate_operand (operands[0], E_XImode)
30422 323182 : && nonimmediate_or_sse_const_operand (operands[1], E_XImode)
30423 644964 : && insn_condition_2271 (operands, insn))
30424 : return 96; /* *movxi_internal_avx512f */
30425 : break;
30426 :
30427 297547 : case E_OImode:
30428 297547 : if (nonimmediate_operand (operands[0], E_OImode)
30429 296455 : && nonimmediate_or_sse_const_operand (operands[1], E_OImode)
30430 592995 : && insn_condition_2272 (operands, insn))
30431 : return 97; /* *movoi_internal_avx */
30432 : break;
30433 :
30434 24059217 : case E_SImode:
30435 24059217 : if (register_operand (operands[0], E_SImode)
30436 16213111 : && address_no_seg_operand (operands[1], E_SImode)
30437 27801990 : && insn_condition_2273 (operands, insn))
30438 : return 269; /* *leasi */
30439 : break;
30440 :
30441 42346742 : case E_DImode:
30442 42346742 : if (register_operand (operands[0], E_DImode)
30443 34839451 : && address_no_seg_operand (operands[1], E_DImode)
30444 56803929 : && insn_condition_2274 (operands, insn))
30445 : return 270; /* *leadi */
30446 : break;
30447 :
30448 : default:
30449 : break;
30450 : }
30451 868883088 : switch (GET_CODE (x2))
30452 : {
30453 14086686 : case PLUS:
30454 14086686 : res = recog_78 (x1, insn, pnum_clobbers);
30455 14086686 : if (res >= 0)
30456 : return res;
30457 : break;
30458 :
30459 639598 : case ZERO_EXTEND:
30460 639598 : res = recog_88 (x1, insn, pnum_clobbers);
30461 639598 : if (res >= 0)
30462 : return res;
30463 : break;
30464 :
30465 5528731 : case COMPARE:
30466 5528731 : res = recog_89 (x1, insn, pnum_clobbers);
30467 5528731 : if (res >= 0)
30468 : return res;
30469 : break;
30470 :
30471 2330834 : case IOR:
30472 2330834 : res = recog_93 (x1, insn, pnum_clobbers);
30473 2330834 : if (res >= 0)
30474 : return res;
30475 : break;
30476 :
30477 668125 : case XOR:
30478 668125 : res = recog_97 (x1, insn, pnum_clobbers);
30479 668125 : if (res >= 0)
30480 : return res;
30481 : break;
30482 :
30483 3497759 : case MINUS:
30484 3497759 : res = recog_99 (x1, insn, pnum_clobbers);
30485 3497759 : if (res >= 0)
30486 : return res;
30487 : break;
30488 :
30489 15298043 : case IF_THEN_ELSE:
30490 15298043 : res = recog_102 (x1, insn, pnum_clobbers);
30491 15298043 : if (res >= 0)
30492 : return res;
30493 : break;
30494 :
30495 2303604 : case MULT:
30496 2303604 : res = recog_103 (x1, insn, pnum_clobbers);
30497 2303604 : if (res >= 0)
30498 : return res;
30499 : break;
30500 :
30501 164014 : case UMUL_HIGHPART:
30502 164014 : switch (pattern13 (x1))
30503 : {
30504 3787 : case 0:
30505 3787 : if (insn_condition_2197 (operands, insn))
30506 : return 656; /* *bmi2_umulsi3_highpart */
30507 3787 : if (pnum_clobbers != NULL
30508 3787 : && insn_condition_51 (operands, insn))
30509 : {
30510 3787 : *pnum_clobbers = 2;
30511 3787 : return 658; /* umulsi3_highpart */
30512 : }
30513 : break;
30514 :
30515 32067 : case 1:
30516 32067 : if (insn_condition_801 (operands, insn))
30517 : return 657; /* *bmi2_umuldi3_highpart */
30518 31984 : if (pnum_clobbers != NULL
30519 31984 : && insn_condition_52 (operands, insn))
30520 : {
30521 31984 : *pnum_clobbers = 2;
30522 31984 : return 659; /* umuldi3_highpart */
30523 : }
30524 : break;
30525 :
30526 : default:
30527 : break;
30528 : }
30529 : break;
30530 :
30531 86201 : case SMUL_HIGHPART:
30532 86201 : if (pnum_clobbers != NULL)
30533 : {
30534 86201 : switch (pattern13 (x1))
30535 : {
30536 1014 : case 0:
30537 1014 : if (insn_condition_51 (operands, insn))
30538 : {
30539 1014 : *pnum_clobbers = 2;
30540 1014 : return 660; /* smulsi3_highpart */
30541 : }
30542 : break;
30543 :
30544 17977 : case 1:
30545 17977 : if (insn_condition_52 (operands, insn))
30546 : {
30547 17977 : *pnum_clobbers = 2;
30548 17977 : return 661; /* smuldi3_highpart */
30549 : }
30550 : break;
30551 :
30552 : default:
30553 : break;
30554 : }
30555 : }
30556 : break;
30557 :
30558 12665 : case TRUNCATE:
30559 12665 : res = recog_104 (x1, insn, pnum_clobbers);
30560 12665 : if (res >= 0)
30561 : return res;
30562 : break;
30563 :
30564 3390842 : case AND:
30565 3390842 : res = recog_106 (x1, insn, pnum_clobbers);
30566 3390842 : if (res >= 0)
30567 : return res;
30568 : break;
30569 :
30570 626757 : case NOT:
30571 626757 : res = recog_107 (x1, insn, pnum_clobbers);
30572 626757 : if (res >= 0)
30573 : return res;
30574 : break;
30575 :
30576 241874 : case NEG:
30577 241874 : res = recog_108 (x1, insn, pnum_clobbers);
30578 241874 : if (res >= 0)
30579 : return res;
30580 : break;
30581 :
30582 52507 : case ABS:
30583 52507 : res = recog_109 (x1, insn, pnum_clobbers);
30584 52507 : if (res >= 0)
30585 : return res;
30586 : break;
30587 :
30588 2272221 : case ASHIFT:
30589 2272221 : res = recog_111 (x1, insn, pnum_clobbers);
30590 2272221 : if (res >= 0)
30591 : return res;
30592 : break;
30593 :
30594 1946791 : case LSHIFTRT:
30595 1946791 : res = recog_113 (x1, insn, pnum_clobbers);
30596 1946791 : if (res >= 0)
30597 : return res;
30598 : break;
30599 :
30600 801098 : case ASHIFTRT:
30601 801098 : res = recog_115 (x1, insn, pnum_clobbers);
30602 801098 : if (res >= 0)
30603 : return res;
30604 : break;
30605 :
30606 2375438 : case SUBREG:
30607 2375438 : res = recog_116 (x1, insn, pnum_clobbers);
30608 2375438 : if (res >= 0)
30609 : return res;
30610 : break;
30611 :
30612 21052 : case ROTATE:
30613 21052 : res = recog_117 (x1, insn, pnum_clobbers);
30614 21052 : if (res >= 0)
30615 : return res;
30616 : break;
30617 :
30618 13467 : case ROTATERT:
30619 13467 : res = recog_118 (x1, insn, pnum_clobbers);
30620 13467 : if (res >= 0)
30621 : return res;
30622 : break;
30623 :
30624 163298 : case ZERO_EXTRACT:
30625 163298 : res = recog_120 (x1, insn, pnum_clobbers);
30626 163298 : if (res >= 0)
30627 : return res;
30628 : break;
30629 :
30630 2629581 : case NE:
30631 2629581 : case EQ:
30632 2629581 : case GE:
30633 2629581 : case GT:
30634 2629581 : case LE:
30635 2629581 : case LT:
30636 2629581 : case LTGT:
30637 2629581 : case GEU:
30638 2629581 : case GTU:
30639 2629581 : case LEU:
30640 2629581 : case LTU:
30641 2629581 : case UNORDERED:
30642 2629581 : case ORDERED:
30643 2629581 : case UNEQ:
30644 2629581 : case UNGE:
30645 2629581 : case UNGT:
30646 2629581 : case UNLE:
30647 2629581 : case UNLT:
30648 2629581 : res = recog_121 (x1, insn, pnum_clobbers);
30649 2629581 : if (res >= 0)
30650 : return res;
30651 : break;
30652 :
30653 3085814 : case UNSPEC:
30654 3085814 : res = recog_125 (x1, insn, pnum_clobbers);
30655 3085814 : if (res >= 0)
30656 : return res;
30657 : break;
30658 :
30659 9947699 : case CALL:
30660 9947699 : res = recog_126 (x1, insn, pnum_clobbers);
30661 9947699 : if (res >= 0)
30662 : return res;
30663 : break;
30664 :
30665 0 : case FFS:
30666 0 : if (pnum_clobbers != NULL
30667 0 : && GET_MODE (x2) == E_SImode)
30668 : {
30669 0 : operands[0] = x3;
30670 0 : if (register_operand (operands[0], E_SImode))
30671 : {
30672 0 : x4 = XEXP (x2, 0);
30673 0 : operands[1] = x4;
30674 0 : if (nonimmediate_operand (operands[1], E_SImode)
30675 0 : && insn_condition_2244 (operands, insn))
30676 : {
30677 0 : *pnum_clobbers = 2;
30678 0 : return 1637; /* ffssi2_no_cmove */
30679 : }
30680 : }
30681 : }
30682 : break;
30683 :
30684 3820 : case CTZ:
30685 3820 : res = recog_127 (x1, insn, pnum_clobbers);
30686 3820 : if (res >= 0)
30687 : return res;
30688 : break;
30689 :
30690 379134 : case SIGN_EXTEND:
30691 379134 : res = recog_128 (x1, insn, pnum_clobbers);
30692 379134 : if (res >= 0)
30693 : return res;
30694 : break;
30695 :
30696 10248 : case CLZ:
30697 10248 : res = recog_129 (x1, insn, pnum_clobbers);
30698 10248 : if (res >= 0)
30699 : return res;
30700 : break;
30701 :
30702 1930 : case POPCOUNT:
30703 1930 : res = recog_130 (x1, insn, pnum_clobbers);
30704 1930 : if (res >= 0)
30705 : return res;
30706 : break;
30707 :
30708 31604 : case BSWAP:
30709 31604 : res = recog_367 (x1, insn, pnum_clobbers);
30710 31604 : if (res >= 0)
30711 : return res;
30712 : break;
30713 :
30714 32598 : case SIGN_EXTRACT:
30715 32598 : res = recog_131 (x1, insn, pnum_clobbers);
30716 32598 : if (res >= 0)
30717 : return res;
30718 : break;
30719 :
30720 275757 : case SMAX:
30721 275757 : switch (pattern20 (x1, pnum_clobbers))
30722 : {
30723 51431 : case 0:
30724 51431 : if (insn_condition_819 (operands, insn))
30725 : {
30726 131 : *pnum_clobbers = 1;
30727 131 : return 1968; /* *smaxdi3_doubleword */
30728 : }
30729 51300 : if (insn_condition_820 (operands, insn))
30730 : {
30731 51300 : *pnum_clobbers = 1;
30732 51300 : return 1988; /* *smaxdi3_1 */
30733 : }
30734 : break;
30735 :
30736 7750 : case 1:
30737 7750 : if (insn_condition_821 (operands, insn))
30738 : {
30739 7750 : *pnum_clobbers = 1;
30740 7750 : return 1984; /* *smaxsi3_1 */
30741 : }
30742 : break;
30743 :
30744 : default:
30745 : break;
30746 : }
30747 : break;
30748 :
30749 85806 : case SMIN:
30750 85806 : switch (pattern20 (x1, pnum_clobbers))
30751 : {
30752 10163 : case 0:
30753 10163 : if (insn_condition_819 (operands, insn))
30754 : {
30755 188 : *pnum_clobbers = 1;
30756 188 : return 1969; /* *smindi3_doubleword */
30757 : }
30758 9975 : if (insn_condition_820 (operands, insn))
30759 : {
30760 9975 : *pnum_clobbers = 1;
30761 9975 : return 1989; /* *smindi3_1 */
30762 : }
30763 : break;
30764 :
30765 14238 : case 1:
30766 14238 : if (insn_condition_821 (operands, insn))
30767 : {
30768 14238 : *pnum_clobbers = 1;
30769 14238 : return 1985; /* *sminsi3_1 */
30770 : }
30771 : break;
30772 :
30773 : default:
30774 : break;
30775 : }
30776 : break;
30777 :
30778 123450 : case UMAX:
30779 123450 : switch (pattern22 (x1, pnum_clobbers))
30780 : {
30781 36177 : case 0:
30782 36177 : if (insn_condition_819 (operands, insn))
30783 : {
30784 29 : *pnum_clobbers = 1;
30785 29 : return 1970; /* *umaxdi3_doubleword */
30786 : }
30787 36148 : if (insn_condition_820 (operands, insn))
30788 : {
30789 36148 : *pnum_clobbers = 1;
30790 36148 : return 1990; /* *umaxdi3_1 */
30791 : }
30792 : break;
30793 :
30794 2010 : case 1:
30795 2010 : if (insn_condition_821 (operands, insn))
30796 : {
30797 2010 : *pnum_clobbers = 1;
30798 2010 : return 1986; /* *umaxsi3_1 */
30799 : }
30800 : break;
30801 :
30802 131 : case 2:
30803 131 : x5 = XEXP (x2, 1);
30804 131 : if (rtx_equal_p (x5, operands[1])
30805 131 : && insn_condition_1994 (operands, insn))
30806 : {
30807 0 : *pnum_clobbers = 1;
30808 0 : return 1996; /* *plus_within_umaxsi3_1 */
30809 : }
30810 131 : if (rtx_equal_p (x5, operands[2])
30811 131 : && insn_condition_1994 (operands, insn))
30812 : {
30813 0 : *pnum_clobbers = 1;
30814 0 : return 1997; /* *plus_within_umaxsi3_2 */
30815 : }
30816 : break;
30817 :
30818 3407 : case 3:
30819 3407 : x5 = XEXP (x2, 1);
30820 3407 : if (rtx_equal_p (x5, operands[1])
30821 3407 : && insn_condition_398 (operands, insn))
30822 : {
30823 0 : *pnum_clobbers = 1;
30824 0 : return 2000; /* *plus_within_umaxdi3_1 */
30825 : }
30826 3407 : if (rtx_equal_p (x5, operands[2])
30827 3407 : && insn_condition_398 (operands, insn))
30828 : {
30829 227 : *pnum_clobbers = 1;
30830 227 : return 2001; /* *plus_within_umaxdi3_2 */
30831 : }
30832 : break;
30833 :
30834 0 : case 4:
30835 0 : if (insn_condition_1994 (operands, insn))
30836 : {
30837 0 : *pnum_clobbers = 1;
30838 0 : return 2006; /* *minus_within_umaxsi3 */
30839 : }
30840 : break;
30841 :
30842 0 : case 5:
30843 0 : if (insn_condition_398 (operands, insn))
30844 : {
30845 0 : *pnum_clobbers = 1;
30846 0 : return 2008; /* *minus_within_umaxdi3 */
30847 : }
30848 : break;
30849 :
30850 : default:
30851 : break;
30852 : }
30853 : break;
30854 :
30855 128871 : case UMIN:
30856 128871 : switch (pattern22 (x1, pnum_clobbers))
30857 : {
30858 39784 : case 0:
30859 39784 : if (insn_condition_819 (operands, insn))
30860 : {
30861 71 : *pnum_clobbers = 1;
30862 71 : return 1971; /* *umindi3_doubleword */
30863 : }
30864 39713 : if (insn_condition_820 (operands, insn))
30865 : {
30866 39713 : *pnum_clobbers = 1;
30867 39713 : return 1991; /* *umindi3_1 */
30868 : }
30869 : break;
30870 :
30871 6788 : case 1:
30872 6788 : if (insn_condition_821 (operands, insn))
30873 : {
30874 6788 : *pnum_clobbers = 1;
30875 6788 : return 1987; /* *uminsi3_1 */
30876 : }
30877 : break;
30878 :
30879 4606 : case 2:
30880 4606 : x5 = XEXP (x2, 1);
30881 4606 : if (rtx_equal_p (x5, operands[1])
30882 4606 : && insn_condition_1994 (operands, insn))
30883 : {
30884 0 : *pnum_clobbers = 1;
30885 0 : return 1998; /* *plus_within_uminsi3_1 */
30886 : }
30887 4606 : if (rtx_equal_p (x5, operands[2])
30888 4606 : && insn_condition_1994 (operands, insn))
30889 : {
30890 0 : *pnum_clobbers = 1;
30891 0 : return 1999; /* *plus_within_uminsi3_2 */
30892 : }
30893 : break;
30894 :
30895 12156 : case 3:
30896 12156 : x5 = XEXP (x2, 1);
30897 12156 : if (rtx_equal_p (x5, operands[1])
30898 12156 : && insn_condition_398 (operands, insn))
30899 : {
30900 10 : *pnum_clobbers = 1;
30901 10 : return 2002; /* *plus_within_umindi3_1 */
30902 : }
30903 12146 : if (rtx_equal_p (x5, operands[2])
30904 12146 : && insn_condition_398 (operands, insn))
30905 : {
30906 0 : *pnum_clobbers = 1;
30907 0 : return 2003; /* *plus_within_umindi3_2 */
30908 : }
30909 : break;
30910 :
30911 0 : case 4:
30912 0 : if (insn_condition_1994 (operands, insn))
30913 : {
30914 0 : *pnum_clobbers = 1;
30915 0 : return 2007; /* *minus_within_uminsi3 */
30916 : }
30917 : break;
30918 :
30919 0 : case 5:
30920 0 : if (insn_condition_398 (operands, insn))
30921 : {
30922 0 : *pnum_clobbers = 1;
30923 0 : return 2009; /* *minus_within_umindi3 */
30924 : }
30925 : break;
30926 :
30927 : default:
30928 : break;
30929 : }
30930 : break;
30931 :
30932 172162 : case UNSPEC_VOLATILE:
30933 172162 : res = recog_132 (x1, insn, pnum_clobbers);
30934 172162 : if (res >= 0)
30935 : return res;
30936 : break;
30937 :
30938 4020335 : case VEC_SELECT:
30939 4020335 : res = recog_134 (x1, insn, pnum_clobbers);
30940 4020335 : if (res >= 0)
30941 : return res;
30942 : break;
30943 :
30944 72544 : case FIX:
30945 72544 : switch (pattern25 (x1))
30946 : {
30947 0 : case 0:
30948 0 : if (insn_condition_40 (operands, insn))
30949 : return 4866; /* avx512fp16_fix_truncsi2 */
30950 : break;
30951 :
30952 66 : case 1:
30953 66 : if (insn_condition_148 (operands, insn))
30954 : return 4970; /* sse_cvttss2si */
30955 : break;
30956 :
30957 14 : case 2:
30958 14 : if (insn_condition_141 (operands, insn))
30959 : return 5124; /* sse2_cvttsd2si */
30960 : break;
30961 :
30962 0 : case 3:
30963 0 : if (insn_condition_306 (operands, insn))
30964 : return 4870; /* avx512fp16_fix_truncdi2 */
30965 : break;
30966 :
30967 0 : case 4:
30968 0 : if (insn_condition_900 (operands, insn))
30969 : return 4972; /* sse_cvttss2siq */
30970 : break;
30971 :
30972 3 : case 5:
30973 3 : if (insn_condition_701 (operands, insn))
30974 : return 5126; /* sse2_cvttsd2siq */
30975 : break;
30976 :
30977 0 : case 6:
30978 0 : if (insn_condition_40 (operands, insn))
30979 : return 4874; /* avx512fp16_fix_truncsi2_mem */
30980 : break;
30981 :
30982 0 : case 7:
30983 0 : if (insn_condition_306 (operands, insn))
30984 : return 4876; /* avx512fp16_fix_truncdi2_mem */
30985 : break;
30986 :
30987 : default:
30988 : break;
30989 : }
30990 : break;
30991 :
30992 542 : case UNSIGNED_FIX:
30993 542 : switch (pattern25 (x1))
30994 : {
30995 0 : case 0:
30996 0 : if (insn_condition_40 (operands, insn))
30997 : return 4868; /* avx512fp16_fixuns_truncsi2 */
30998 : break;
30999 :
31000 0 : case 1:
31001 0 : if (insn_condition_27 (operands, insn))
31002 : return 5085; /* avx512f_vcvttss2usi */
31003 : break;
31004 :
31005 0 : case 2:
31006 0 : if (insn_condition_27 (operands, insn))
31007 : return 5103; /* avx512f_vcvttsd2usi */
31008 : break;
31009 :
31010 0 : case 3:
31011 0 : if (insn_condition_306 (operands, insn))
31012 : return 4872; /* avx512fp16_fixuns_truncdi2 */
31013 : break;
31014 :
31015 0 : case 4:
31016 0 : if (insn_condition_899 (operands, insn))
31017 : return 5087; /* avx512f_vcvttss2usiq */
31018 : break;
31019 :
31020 0 : case 5:
31021 0 : if (insn_condition_899 (operands, insn))
31022 : return 5105; /* avx512f_vcvttsd2usiq */
31023 : break;
31024 :
31025 0 : case 6:
31026 0 : if (insn_condition_40 (operands, insn))
31027 : return 4875; /* avx512fp16_fixuns_truncsi2_mem */
31028 : break;
31029 :
31030 0 : case 7:
31031 0 : if (insn_condition_306 (operands, insn))
31032 : return 4877; /* avx512fp16_fixuns_truncdi2_mem */
31033 : break;
31034 :
31035 : default:
31036 : break;
31037 : }
31038 : break;
31039 :
31040 : default:
31041 : break;
31042 : }
31043 848921875 : operands[0] = x3;
31044 848921875 : res = recog_337 (x1, insn, pnum_clobbers);
31045 848921875 : if (res >= 0)
31046 : return res;
31047 780153428 : switch (GET_CODE (x2))
31048 : {
31049 1433679 : case VEC_MERGE:
31050 1433679 : return recog_333 (x1, insn, pnum_clobbers);
31051 :
31052 1957506 : case UNSPEC:
31053 1957506 : return recog_331 (x1, insn, pnum_clobbers);
31054 :
31055 3463183 : case VEC_CONCAT:
31056 3463183 : return recog_330 (x1, insn, pnum_clobbers);
31057 :
31058 12377536 : case PLUS:
31059 12377536 : return recog_329 (x1, insn, pnum_clobbers);
31060 :
31061 2561499 : case MINUS:
31062 2561499 : return recog_352 (x1, insn, pnum_clobbers);
31063 :
31064 1858229 : case MULT:
31065 1858229 : return recog_345 (x1, insn, pnum_clobbers);
31066 :
31067 285848 : case DIV:
31068 285848 : return recog_363 (x1, insn, pnum_clobbers);
31069 :
31070 4985 : case SQRT:
31071 4985 : return recog_350 (x1, insn, pnum_clobbers);
31072 :
31073 216576 : case SMAX:
31074 216576 : return recog_355 (x1, insn, pnum_clobbers);
31075 :
31076 61405 : case SMIN:
31077 61405 : return recog_354 (x1, insn, pnum_clobbers);
31078 :
31079 2471151 : case NE:
31080 2471151 : case EQ:
31081 2471151 : case GE:
31082 2471151 : case GT:
31083 2471151 : case LE:
31084 2471151 : case LT:
31085 2471151 : case LTGT:
31086 2471151 : case GEU:
31087 2471151 : case GTU:
31088 2471151 : case LEU:
31089 2471151 : case LTU:
31090 2471151 : case UNORDERED:
31091 2471151 : case ORDERED:
31092 2471151 : case UNEQ:
31093 2471151 : case UNGE:
31094 2471151 : case UNGT:
31095 2471151 : case UNLE:
31096 2471151 : case UNLT:
31097 2471151 : return recog_353 (x1, insn, pnum_clobbers);
31098 :
31099 239098 : case FMA:
31100 239098 : return recog_338 (x1, insn, pnum_clobbers);
31101 :
31102 226787 : case FLOAT:
31103 226787 : return recog_344 (x1, insn, pnum_clobbers);
31104 :
31105 2083 : case UNSIGNED_FLOAT:
31106 2083 : return recog_349 (x1, insn, pnum_clobbers);
31107 :
31108 72461 : case FIX:
31109 72461 : return recog_357 (x1, insn, pnum_clobbers);
31110 :
31111 542 : case UNSIGNED_FIX:
31112 542 : return recog_358 (x1, insn, pnum_clobbers);
31113 :
31114 117549 : case FLOAT_EXTEND:
31115 117549 : return recog_339 (x1, insn, pnum_clobbers);
31116 :
31117 46591 : case FLOAT_TRUNCATE:
31118 46591 : return recog_361 (x1, insn, pnum_clobbers);
31119 :
31120 3363475 : case VEC_SELECT:
31121 3363475 : return recog_332 (x1, insn, pnum_clobbers);
31122 :
31123 1471182 : case VEC_DUPLICATE:
31124 1471182 : return recog_334 (x1, insn, pnum_clobbers);
31125 :
31126 5667623 : case AND:
31127 5667623 : case IOR:
31128 5667623 : case XOR:
31129 5667623 : case NOT:
31130 5667623 : return recog_336 (x1, insn, pnum_clobbers);
31131 :
31132 524 : case SS_TRUNCATE:
31133 524 : operands[0] = x3;
31134 524 : switch (pattern55 (x2))
31135 : {
31136 62 : case 0:
31137 62 : if (!insn_condition_27 (operands, insn))
31138 0 : return -1;
31139 : return 5904; /* *avx512f_ss_truncatev16siv16qi2 */
31140 :
31141 65 : case 1:
31142 65 : if (!insn_condition_533 (operands, insn))
31143 0 : return -1;
31144 : return 5946; /* *avx512vl_ss_truncatev16hiv16qi2 */
31145 :
31146 58 : case 2:
31147 58 : if (!insn_condition_27 (operands, insn))
31148 0 : return -1;
31149 : return 5907; /* *avx512f_ss_truncatev16siv16hi2 */
31150 :
31151 56 : case 3:
31152 56 : if (!insn_condition_27 (operands, insn))
31153 0 : return -1;
31154 : return 5910; /* *avx512f_ss_truncatev8div8si2 */
31155 :
31156 50 : case 4:
31157 50 : if (!insn_condition_27 (operands, insn))
31158 0 : return -1;
31159 : return 5913; /* *avx512f_ss_truncatev8div8hi2 */
31160 :
31161 52 : case 5:
31162 52 : if (!insn_condition_532 (operands, insn))
31163 0 : return -1;
31164 : return 5943; /* *avx512vl_ss_truncatev8siv8hi2 */
31165 :
31166 64 : case 6:
31167 64 : if (!insn_condition_12 (operands, insn))
31168 0 : return -1;
31169 : return 5933; /* avx512bw_ss_truncatev32hiv32qi2 */
31170 :
31171 50 : case 7:
31172 50 : if (!insn_condition_532 (operands, insn))
31173 0 : return -1;
31174 : return 5940; /* *avx512vl_ss_truncatev4div4si2 */
31175 :
31176 : default:
31177 : return -1;
31178 : }
31179 :
31180 12665 : case TRUNCATE:
31181 12665 : return recog_351 (x1, insn, pnum_clobbers);
31182 :
31183 544 : case US_TRUNCATE:
31184 544 : operands[0] = x3;
31185 544 : switch (pattern55 (x2))
31186 : {
31187 62 : case 0:
31188 62 : if (!insn_condition_27 (operands, insn))
31189 0 : return -1;
31190 : return 5906; /* *avx512f_us_truncatev16siv16qi2 */
31191 :
31192 62 : case 1:
31193 62 : if (!insn_condition_533 (operands, insn))
31194 0 : return -1;
31195 : return 5948; /* *avx512vl_us_truncatev16hiv16qi2 */
31196 :
31197 61 : case 2:
31198 61 : if (!insn_condition_27 (operands, insn))
31199 0 : return -1;
31200 : return 5909; /* *avx512f_us_truncatev16siv16hi2 */
31201 :
31202 61 : case 3:
31203 61 : if (!insn_condition_27 (operands, insn))
31204 0 : return -1;
31205 : return 5912; /* *avx512f_us_truncatev8div8si2 */
31206 :
31207 62 : case 4:
31208 62 : if (!insn_condition_27 (operands, insn))
31209 0 : return -1;
31210 : return 5915; /* *avx512f_us_truncatev8div8hi2 */
31211 :
31212 64 : case 5:
31213 64 : if (!insn_condition_532 (operands, insn))
31214 0 : return -1;
31215 : return 5945; /* *avx512vl_us_truncatev8siv8hi2 */
31216 :
31217 61 : case 6:
31218 61 : if (!insn_condition_12 (operands, insn))
31219 0 : return -1;
31220 : return 5935; /* avx512bw_us_truncatev32hiv32qi2 */
31221 :
31222 62 : case 7:
31223 62 : if (!insn_condition_532 (operands, insn))
31224 0 : return -1;
31225 : return 5942; /* *avx512vl_us_truncatev4div4si2 */
31226 :
31227 : default:
31228 : return -1;
31229 : }
31230 :
31231 1801 : case SS_PLUS:
31232 1801 : return recog_335 (x1, insn, pnum_clobbers);
31233 :
31234 1712 : case US_PLUS:
31235 1712 : operands[0] = x3;
31236 1712 : switch (pattern56 (x2))
31237 : {
31238 66 : case 0:
31239 66 : if (!insn_condition_2275 (operands, insn))
31240 0 : return -1;
31241 : return 6217; /* *avx512bw_usaddv64qi3 */
31242 :
31243 104 : case 1:
31244 104 : if (!insn_condition_2276 (operands, insn))
31245 0 : return -1;
31246 : return 6225; /* *avx2_usaddv32qi3 */
31247 :
31248 427 : case 2:
31249 427 : if (!insn_condition_2277 (operands, insn))
31250 0 : return -1;
31251 : return 6233; /* *sse2_usaddv16qi3 */
31252 :
31253 66 : case 3:
31254 66 : if (!insn_condition_2278 (operands, insn))
31255 0 : return -1;
31256 : return 6241; /* *avx512bw_usaddv32hi3 */
31257 :
31258 117 : case 4:
31259 117 : if (!insn_condition_2279 (operands, insn))
31260 0 : return -1;
31261 : return 6249; /* *avx2_usaddv16hi3 */
31262 :
31263 160 : case 5:
31264 160 : if (!insn_condition_2280 (operands, insn))
31265 0 : return -1;
31266 : return 6257; /* *sse2_usaddv8hi3 */
31267 :
31268 : default:
31269 : return -1;
31270 : }
31271 :
31272 1019 : case SS_MINUS:
31273 1019 : operands[0] = x3;
31274 1019 : x4 = XEXP (x2, 0);
31275 1019 : switch (GET_CODE (x4))
31276 : {
31277 718 : case REG:
31278 718 : case SUBREG:
31279 718 : case MEM:
31280 718 : switch (pattern56 (x2))
31281 : {
31282 64 : case 0:
31283 64 : if (!insn_condition_2281 (operands, insn))
31284 0 : return -1;
31285 : return 6219; /* *avx512bw_sssubv64qi3 */
31286 :
31287 102 : case 1:
31288 102 : if (!insn_condition_2282 (operands, insn))
31289 0 : return -1;
31290 : return 6227; /* *avx2_sssubv32qi3 */
31291 :
31292 100 : case 2:
31293 100 : if (!insn_condition_2283 (operands, insn))
31294 0 : return -1;
31295 : return 6235; /* *sse2_sssubv16qi3 */
31296 :
31297 66 : case 3:
31298 66 : if (!insn_condition_2284 (operands, insn))
31299 0 : return -1;
31300 : return 6243; /* *avx512bw_sssubv32hi3 */
31301 :
31302 106 : case 4:
31303 106 : if (!insn_condition_2285 (operands, insn))
31304 0 : return -1;
31305 : return 6251; /* *avx2_sssubv16hi3 */
31306 :
31307 122 : case 5:
31308 122 : if (!insn_condition_2286 (operands, insn))
31309 0 : return -1;
31310 : return 6259; /* *sse2_sssubv8hi3 */
31311 :
31312 : default:
31313 : return -1;
31314 : }
31315 :
31316 219 : case VEC_SELECT:
31317 219 : switch (pattern243 (x2))
31318 : {
31319 90 : case 0:
31320 90 : if (!insn_condition_1108 (operands, insn))
31321 0 : return -1;
31322 : return 7256; /* avx2_phsubswv16hi3 */
31323 :
31324 109 : case 1:
31325 109 : if (!insn_condition_117 (operands, insn))
31326 0 : return -1;
31327 : return 7260; /* ssse3_phsubswv8hi3 */
31328 :
31329 : default:
31330 : return -1;
31331 : }
31332 :
31333 : default:
31334 : return -1;
31335 : }
31336 :
31337 5618 : case US_MINUS:
31338 5618 : operands[0] = x3;
31339 5618 : switch (pattern56 (x2))
31340 : {
31341 108 : case 0:
31342 108 : if (!insn_condition_2287 (operands, insn))
31343 0 : return -1;
31344 : return 6221; /* *avx512bw_ussubv64qi3 */
31345 :
31346 178 : case 1:
31347 178 : if (!insn_condition_2288 (operands, insn))
31348 0 : return -1;
31349 : return 6229; /* *avx2_ussubv32qi3 */
31350 :
31351 1546 : case 2:
31352 1546 : if (!insn_condition_2289 (operands, insn))
31353 96 : return -1;
31354 : return 6237; /* *sse2_ussubv16qi3 */
31355 :
31356 102 : case 3:
31357 102 : if (!insn_condition_2290 (operands, insn))
31358 0 : return -1;
31359 : return 6245; /* *avx512bw_ussubv32hi3 */
31360 :
31361 156 : case 4:
31362 156 : if (!insn_condition_2291 (operands, insn))
31363 0 : return -1;
31364 : return 6253; /* *avx2_ussubv16hi3 */
31365 :
31366 2626 : case 5:
31367 2626 : if (!insn_condition_2292 (operands, insn))
31368 168 : return -1;
31369 : return 6261; /* *sse2_ussubv8hi3 */
31370 :
31371 : default:
31372 : return -1;
31373 : }
31374 :
31375 461299 : case ASHIFTRT:
31376 461299 : return recog_340 (x1, insn, pnum_clobbers);
31377 :
31378 1839889 : case ASHIFT:
31379 1839889 : return recog_342 (x1, insn, pnum_clobbers);
31380 :
31381 1395388 : case LSHIFTRT:
31382 1395388 : return recog_341 (x1, insn, pnum_clobbers);
31383 :
31384 13283 : case ROTATE:
31385 13283 : return recog_365 (x1, insn, pnum_clobbers);
31386 :
31387 7093 : case ROTATERT:
31388 7093 : return recog_364 (x1, insn, pnum_clobbers);
31389 :
31390 85036 : case UMAX:
31391 85036 : return recog_360 (x1, insn, pnum_clobbers);
31392 :
31393 82289 : case UMIN:
31394 82289 : return recog_359 (x1, insn, pnum_clobbers);
31395 :
31396 44634 : case ABS:
31397 44634 : return recog_348 (x1, insn, pnum_clobbers);
31398 :
31399 379119 : case SIGN_EXTEND:
31400 379119 : return recog_356 (x1, insn, pnum_clobbers);
31401 :
31402 480828 : case ZERO_EXTEND:
31403 480828 : return recog_346 (x1, insn, pnum_clobbers);
31404 :
31405 14113697 : case IF_THEN_ELSE:
31406 14113697 : return recog_343 (x1, insn, pnum_clobbers);
31407 :
31408 10198 : case CLZ:
31409 10198 : return recog_362 (x1, insn, pnum_clobbers);
31410 :
31411 1827 : case POPCOUNT:
31412 1827 : return recog_347 (x1, insn, pnum_clobbers);
31413 :
31414 : default:
31415 : return -1;
31416 : }
31417 : }
31418 :
31419 : rtx_insn *
31420 1350847 : split_28 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31421 : {
31422 1350847 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31423 1350847 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31424 1350847 : rtx x10, x11, x12;
31425 1350847 : rtx_insn *res ATTRIBUTE_UNUSED;
31426 1350847 : x2 = XVECEXP (x1, 0, 1);
31427 1350847 : if (pattern286 (x2,
31428 : E_CCmode,
31429 : 17) != 0)
31430 : return NULL;
31431 915847 : x3 = XVECEXP (x1, 0, 0);
31432 915847 : x4 = XEXP (x3, 1);
31433 915847 : x5 = XEXP (x4, 0);
31434 915847 : switch (GET_CODE (x5))
31435 : {
31436 689732 : case CONST_INT:
31437 689732 : case CONST_WIDE_INT:
31438 689732 : case CONST_POLY_INT:
31439 689732 : case CONST_FIXED:
31440 689732 : case CONST_DOUBLE:
31441 689732 : case CONST_VECTOR:
31442 689732 : case CONST:
31443 689732 : case REG:
31444 689732 : case SUBREG:
31445 689732 : case MEM:
31446 689732 : case LABEL_REF:
31447 689732 : case SYMBOL_REF:
31448 689732 : case HIGH:
31449 689732 : operands[1] = x5;
31450 689732 : switch (pattern1218 (x3))
31451 : {
31452 1186 : case 0:
31453 1186 : if (insn_condition_2437 (operands, insn))
31454 3 : return gen_split_302 (insn, operands);
31455 : break;
31456 :
31457 73 : case 1:
31458 73 : if (insn_condition_2437 (operands, insn))
31459 16 : return gen_split_305 (insn, operands);
31460 : break;
31461 :
31462 147303 : case 2:
31463 147303 : if (nonimmediate_operand (operands[0], E_DImode)
31464 147303 : && nonimmediate_operand (operands[1], E_DImode))
31465 : {
31466 144033 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
31467 144033 : && insn_condition_2542 (operands, insn))
31468 4433 : return gen_split_401 (insn, operands);
31469 139600 : if (const_int_operand (operands[2], E_DImode)
31470 139600 : && insn_condition_2543 (operands, insn))
31471 1346 : return gen_split_408 (insn, operands);
31472 : }
31473 141524 : if (const_int_operand (operands[2], E_DImode))
31474 : {
31475 9600 : if (QIreg_operand (operands[0], E_DImode)
31476 3462 : && register_operand (operands[1], E_DImode)
31477 13036 : && insn_condition_2480 (operands, insn))
31478 121 : return gen_split_436 (insn, operands);
31479 9479 : if (any_QIreg_operand (operands[0], E_DImode)
31480 3852 : && general_operand (operands[1], E_DImode)
31481 13331 : && insn_condition_2481 (operands, insn))
31482 91 : return gen_split_442 (insn, operands);
31483 : }
31484 : break;
31485 :
31486 4538 : case 3:
31487 4538 : if (insn_condition_2544 (operands, insn))
31488 2268 : return gen_split_403 (insn, operands);
31489 : break;
31490 :
31491 23501 : case 4:
31492 23501 : if (QIreg_operand (operands[0], E_HImode)
31493 10516 : && register_operand (operands[1], E_HImode)
31494 34005 : && insn_condition_2483 (operands, insn))
31495 3690 : return gen_split_432 (insn, operands);
31496 19811 : if (any_QIreg_operand (operands[0], E_HImode)
31497 7965 : && general_operand (operands[1], E_HImode)
31498 27776 : && insn_condition_2484 (operands, insn))
31499 637 : return gen_split_438 (insn, operands);
31500 : break;
31501 :
31502 93755 : case 5:
31503 93755 : if (QIreg_operand (operands[0], E_SImode)
31504 47190 : && register_operand (operands[1], E_SImode)
31505 140933 : && insn_condition_2483 (operands, insn))
31506 306 : return gen_split_434 (insn, operands);
31507 93449 : if (any_QIreg_operand (operands[0], E_SImode)
31508 54739 : && general_operand (operands[1], E_SImode)
31509 148188 : && insn_condition_2484 (operands, insn))
31510 180 : return gen_split_440 (insn, operands);
31511 : break;
31512 :
31513 : default:
31514 : break;
31515 : }
31516 676641 : if (GET_CODE (x5) != SUBREG
31517 676641 : || pattern1217 (x4) != 0)
31518 : return NULL;
31519 440 : x6 = XEXP (x5, 0);
31520 440 : x7 = XEXP (x6, 0);
31521 440 : operands[2] = x7;
31522 440 : switch (pattern1687 (x3))
31523 : {
31524 9 : case 0:
31525 9 : if (insn_condition_2440 (operands, insn))
31526 1 : return gen_split_308 (insn, operands);
31527 : break;
31528 :
31529 5 : case 1:
31530 5 : if (insn_condition_2440 (operands, insn))
31531 0 : return gen_split_311 (insn, operands);
31532 : break;
31533 :
31534 5 : case 2:
31535 5 : if (insn_condition_2441 (operands, insn))
31536 0 : return gen_split_314 (insn, operands);
31537 : break;
31538 :
31539 : default:
31540 : break;
31541 : }
31542 439 : operands[1] = x7;
31543 439 : switch (pattern1688 (x3))
31544 : {
31545 2 : case 0:
31546 2 : if (!insn_condition_2358 (operands, insn))
31547 : return NULL;
31548 1 : return gen_split_317 (insn, operands);
31549 :
31550 2 : case 1:
31551 2 : if (!insn_condition_2358 (operands, insn))
31552 : return NULL;
31553 1 : return gen_split_320 (insn, operands);
31554 :
31555 2 : case 2:
31556 2 : if (!insn_condition_2452 (operands, insn))
31557 : return NULL;
31558 1 : return gen_split_323 (insn, operands);
31559 :
31560 2 : case 3:
31561 2 : if (!insn_condition_2453 (operands, insn))
31562 : return NULL;
31563 1 : return gen_split_337 (insn, operands);
31564 :
31565 2 : case 4:
31566 2 : if (!insn_condition_2453 (operands, insn))
31567 : return NULL;
31568 1 : return gen_split_340 (insn, operands);
31569 :
31570 2 : case 5:
31571 2 : if (!insn_condition_2384 (operands, insn))
31572 : return NULL;
31573 1 : return gen_split_343 (insn, operands);
31574 :
31575 : default:
31576 : return NULL;
31577 : }
31578 :
31579 64126 : case ASHIFT:
31580 64126 : switch (pattern1102 (x3))
31581 : {
31582 108 : case 0:
31583 108 : if (!insn_condition_2487 (operands, insn))
31584 : return NULL;
31585 55 : return gen_split_580 (insn, operands);
31586 :
31587 82 : case 1:
31588 82 : if (!insn_condition_2488 (operands, insn))
31589 : return NULL;
31590 34 : return gen_split_592 (insn, operands);
31591 :
31592 7 : case 2:
31593 7 : x8 = XEXP (x4, 1);
31594 7 : x9 = XEXP (x8, 0);
31595 7 : operands[1] = x9;
31596 7 : if (nonimmediate_operand (operands[0], E_DImode))
31597 : {
31598 7 : x10 = XEXP (x5, 1);
31599 7 : operands[2] = x10;
31600 7 : x6 = XEXP (x5, 0);
31601 7 : if (rtx_equal_p (x6, operands[0]))
31602 : {
31603 0 : x11 = XEXP (x8, 1);
31604 0 : x12 = XEXP (x11, 1);
31605 0 : if (rtx_equal_p (x12, operands[2])
31606 0 : && insn_condition_2489 (operands, insn))
31607 0 : return gen_split_583 (insn, operands);
31608 : }
31609 : }
31610 7 : operands[2] = x9;
31611 7 : if (!register_operand (operands[0], E_DImode))
31612 : return NULL;
31613 7 : x6 = XEXP (x5, 0);
31614 7 : operands[1] = x6;
31615 7 : if (!nonimmediate_operand (operands[1], E_DImode))
31616 : return NULL;
31617 7 : x10 = XEXP (x5, 1);
31618 7 : operands[3] = x10;
31619 7 : x11 = XEXP (x8, 1);
31620 7 : x12 = XEXP (x11, 1);
31621 7 : if (!rtx_equal_p (x12, operands[3])
31622 7 : || !insn_condition_2490 (operands, insn))
31623 : return NULL;
31624 0 : return gen_split_586 (insn, operands);
31625 :
31626 7 : case 3:
31627 7 : x8 = XEXP (x4, 1);
31628 7 : x9 = XEXP (x8, 0);
31629 7 : operands[1] = x9;
31630 7 : if (nonimmediate_operand (operands[0], E_SImode))
31631 : {
31632 7 : x10 = XEXP (x5, 1);
31633 7 : operands[2] = x10;
31634 7 : x6 = XEXP (x5, 0);
31635 7 : if (rtx_equal_p (x6, operands[0]))
31636 : {
31637 0 : x11 = XEXP (x8, 1);
31638 0 : x12 = XEXP (x11, 1);
31639 0 : if (rtx_equal_p (x12, operands[2])
31640 0 : && insn_condition_2489 (operands, insn))
31641 0 : return gen_split_595 (insn, operands);
31642 : }
31643 : }
31644 7 : operands[2] = x9;
31645 7 : if (!register_operand (operands[0], E_SImode))
31646 : return NULL;
31647 7 : x6 = XEXP (x5, 0);
31648 7 : operands[1] = x6;
31649 7 : if (!nonimmediate_operand (operands[1], E_SImode))
31650 : return NULL;
31651 7 : x10 = XEXP (x5, 1);
31652 7 : operands[3] = x10;
31653 7 : x11 = XEXP (x8, 1);
31654 7 : x12 = XEXP (x11, 1);
31655 7 : if (!rtx_equal_p (x12, operands[3])
31656 7 : || !insn_condition_2490 (operands, insn))
31657 : return NULL;
31658 0 : return gen_split_598 (insn, operands);
31659 :
31660 10 : case 4:
31661 10 : if (!insn_condition_2351 (operands, insn))
31662 : return NULL;
31663 10 : return gen_split_842 (insn, operands);
31664 :
31665 3 : case 5:
31666 3 : if (!insn_condition_2352 (operands, insn))
31667 : return NULL;
31668 3 : return gen_split_844 (insn, operands);
31669 :
31670 1 : case 6:
31671 1 : if (!insn_condition_2351 (operands, insn))
31672 : return NULL;
31673 1 : return gen_split_846 (insn, operands);
31674 :
31675 0 : case 7:
31676 0 : if (!insn_condition_2352 (operands, insn))
31677 : return NULL;
31678 0 : return gen_split_848 (insn, operands);
31679 :
31680 : default:
31681 : return NULL;
31682 : }
31683 :
31684 13250 : case LSHIFTRT:
31685 13250 : switch (pattern1099 (x3,
31686 : ASHIFT))
31687 : {
31688 140 : case 0:
31689 140 : if (!insn_condition_2487 (operands, insn))
31690 : return NULL;
31691 6 : return gen_split_643 (insn, operands);
31692 :
31693 64 : case 1:
31694 64 : if (!insn_condition_2488 (operands, insn))
31695 : return NULL;
31696 0 : return gen_split_655 (insn, operands);
31697 :
31698 75 : case 2:
31699 75 : x8 = XEXP (x4, 1);
31700 75 : x9 = XEXP (x8, 0);
31701 75 : operands[1] = x9;
31702 75 : if (nonimmediate_operand (operands[0], E_DImode))
31703 : {
31704 75 : x10 = XEXP (x5, 1);
31705 75 : operands[2] = x10;
31706 75 : x6 = XEXP (x5, 0);
31707 75 : if (rtx_equal_p (x6, operands[0]))
31708 : {
31709 0 : x11 = XEXP (x8, 1);
31710 0 : x12 = XEXP (x11, 1);
31711 0 : if (rtx_equal_p (x12, operands[2])
31712 0 : && insn_condition_2489 (operands, insn))
31713 0 : return gen_split_646 (insn, operands);
31714 : }
31715 : }
31716 75 : operands[2] = x9;
31717 75 : if (!register_operand (operands[0], E_DImode))
31718 : return NULL;
31719 75 : x6 = XEXP (x5, 0);
31720 75 : operands[1] = x6;
31721 75 : if (!nonimmediate_operand (operands[1], E_DImode))
31722 : return NULL;
31723 75 : x10 = XEXP (x5, 1);
31724 75 : operands[3] = x10;
31725 75 : x11 = XEXP (x8, 1);
31726 75 : x12 = XEXP (x11, 1);
31727 75 : if (!rtx_equal_p (x12, operands[3])
31728 75 : || !insn_condition_2491 (operands, insn))
31729 : return NULL;
31730 0 : return gen_split_649 (insn, operands);
31731 :
31732 9 : case 3:
31733 9 : x8 = XEXP (x4, 1);
31734 9 : x9 = XEXP (x8, 0);
31735 9 : operands[1] = x9;
31736 9 : if (nonimmediate_operand (operands[0], E_SImode))
31737 : {
31738 9 : x10 = XEXP (x5, 1);
31739 9 : operands[2] = x10;
31740 9 : x6 = XEXP (x5, 0);
31741 9 : if (rtx_equal_p (x6, operands[0]))
31742 : {
31743 0 : x11 = XEXP (x8, 1);
31744 0 : x12 = XEXP (x11, 1);
31745 0 : if (rtx_equal_p (x12, operands[2])
31746 0 : && insn_condition_2489 (operands, insn))
31747 0 : return gen_split_658 (insn, operands);
31748 : }
31749 : }
31750 9 : operands[2] = x9;
31751 9 : if (!register_operand (operands[0], E_SImode))
31752 : return NULL;
31753 9 : x6 = XEXP (x5, 0);
31754 9 : operands[1] = x6;
31755 9 : if (!nonimmediate_operand (operands[1], E_SImode))
31756 : return NULL;
31757 9 : x10 = XEXP (x5, 1);
31758 9 : operands[3] = x10;
31759 9 : x11 = XEXP (x8, 1);
31760 9 : x12 = XEXP (x11, 1);
31761 9 : if (!rtx_equal_p (x12, operands[3])
31762 9 : || !insn_condition_2490 (operands, insn))
31763 : return NULL;
31764 1 : return gen_split_661 (insn, operands);
31765 :
31766 : default:
31767 : return NULL;
31768 : }
31769 :
31770 : default:
31771 : return NULL;
31772 : }
31773 : }
31774 :
31775 : rtx_insn *
31776 16953 : split_35 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31777 : {
31778 16953 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31779 16953 : rtx x2, x3, x4, x5, x6;
31780 16953 : rtx_insn *res ATTRIBUTE_UNUSED;
31781 16953 : switch (pattern440 (x1))
31782 : {
31783 1 : case 0:
31784 1 : if (!insn_condition_2594 (operands, insn))
31785 : return NULL;
31786 1 : return gen_split_740 (insn, operands);
31787 :
31788 1 : case 1:
31789 1 : if (!insn_condition_2595 (operands, insn))
31790 : return NULL;
31791 1 : return gen_split_742 (insn, operands);
31792 :
31793 52 : case 2:
31794 52 : if (!insn_condition_2596 (operands, insn))
31795 : return NULL;
31796 52 : return gen_split_744 (insn, operands);
31797 :
31798 3 : case 3:
31799 3 : if (!insn_condition_2597 (operands, insn))
31800 : return NULL;
31801 3 : return gen_split_746 (insn, operands);
31802 :
31803 0 : case 4:
31804 0 : if (!insn_condition_2598 (operands, insn))
31805 : return NULL;
31806 0 : return gen_split_772 (insn, operands);
31807 :
31808 0 : case 5:
31809 0 : if (!insn_condition_2599 (operands, insn))
31810 : return NULL;
31811 0 : return gen_split_774 (insn, operands);
31812 :
31813 4 : case 6:
31814 4 : if (!insn_condition_2600 (operands, insn))
31815 : return NULL;
31816 4 : return gen_split_776 (insn, operands);
31817 :
31818 0 : case 7:
31819 0 : if (!insn_condition_2601 (operands, insn))
31820 : return NULL;
31821 0 : return gen_split_778 (insn, operands);
31822 :
31823 0 : case 8:
31824 0 : if (!insn_condition_2598 (operands, insn))
31825 : return NULL;
31826 0 : return gen_split_804 (insn, operands);
31827 :
31828 0 : case 9:
31829 0 : if (!insn_condition_2599 (operands, insn))
31830 : return NULL;
31831 0 : return gen_split_806 (insn, operands);
31832 :
31833 2 : case 10:
31834 2 : if (!insn_condition_2600 (operands, insn))
31835 : return NULL;
31836 2 : return gen_split_808 (insn, operands);
31837 :
31838 1 : case 11:
31839 1 : if (!insn_condition_2601 (operands, insn))
31840 : return NULL;
31841 0 : return gen_split_810 (insn, operands);
31842 :
31843 14828 : case 12:
31844 14828 : x2 = XVECEXP (x1, 0, 0);
31845 14828 : x3 = XEXP (x2, 0);
31846 14828 : operands[0] = x3;
31847 14828 : x4 = XEXP (x2, 1);
31848 14828 : switch (pattern1219 (x4))
31849 : {
31850 245 : case 0:
31851 245 : if (insn_condition_2594 (operands, insn))
31852 245 : return gen_split_724 (insn, operands);
31853 : break;
31854 :
31855 209 : case 1:
31856 209 : if (insn_condition_2595 (operands, insn))
31857 209 : return gen_split_726 (insn, operands);
31858 : break;
31859 :
31860 284 : case 2:
31861 284 : if (insn_condition_2596 (operands, insn))
31862 284 : return gen_split_728 (insn, operands);
31863 : break;
31864 :
31865 115 : case 3:
31866 115 : if (insn_condition_2597 (operands, insn))
31867 115 : return gen_split_730 (insn, operands);
31868 : break;
31869 :
31870 0 : case 4:
31871 0 : if (insn_condition_2598 (operands, insn))
31872 0 : return gen_split_756 (insn, operands);
31873 : break;
31874 :
31875 0 : case 5:
31876 0 : if (insn_condition_2599 (operands, insn))
31877 0 : return gen_split_758 (insn, operands);
31878 : break;
31879 :
31880 0 : case 6:
31881 0 : if (insn_condition_2600 (operands, insn))
31882 0 : return gen_split_760 (insn, operands);
31883 : break;
31884 :
31885 0 : case 7:
31886 0 : if (insn_condition_2601 (operands, insn))
31887 0 : return gen_split_762 (insn, operands);
31888 : break;
31889 :
31890 0 : case 8:
31891 0 : if (insn_condition_2598 (operands, insn))
31892 0 : return gen_split_788 (insn, operands);
31893 : break;
31894 :
31895 0 : case 9:
31896 0 : if (insn_condition_2599 (operands, insn))
31897 0 : return gen_split_790 (insn, operands);
31898 : break;
31899 :
31900 0 : case 10:
31901 0 : if (insn_condition_2600 (operands, insn))
31902 0 : return gen_split_792 (insn, operands);
31903 : break;
31904 :
31905 0 : case 11:
31906 0 : if (insn_condition_2601 (operands, insn))
31907 0 : return gen_split_794 (insn, operands);
31908 : break;
31909 :
31910 8436 : case 12:
31911 8436 : x5 = XEXP (x4, 1);
31912 8436 : operands[2] = x5;
31913 8436 : switch (pattern1382 (x4))
31914 : {
31915 5033 : case 0:
31916 5033 : if (insn_condition_2592 (operands, insn))
31917 70 : return gen_split_828 (insn, operands);
31918 : break;
31919 :
31920 1172 : case 1:
31921 1172 : if (insn_condition_2593 (operands, insn))
31922 0 : return gen_split_829 (insn, operands);
31923 : break;
31924 :
31925 : default:
31926 : break;
31927 : }
31928 8366 : if (XWINT (x5, 0) == 8L
31929 402 : && register_operand (operands[0], E_HImode)
31930 8366 : && GET_MODE (x4) == E_HImode)
31931 : {
31932 0 : x6 = XEXP (x4, 0);
31933 0 : if (rtx_equal_p (x6, operands[0]))
31934 0 : return gen_split_840 (insn, operands);
31935 : }
31936 : break;
31937 :
31938 : default:
31939 : break;
31940 : }
31941 13905 : x5 = XEXP (x4, 1);
31942 13905 : operands[2] = x5;
31943 13905 : switch (pattern1220 (x2))
31944 : {
31945 3 : case 0:
31946 3 : if (!insn_condition_2416 (operands, insn))
31947 : return NULL;
31948 0 : return gen_split_836 (insn, operands);
31949 :
31950 3 : case 1:
31951 3 : if (!insn_condition_2416 (operands, insn))
31952 : return NULL;
31953 0 : return gen_split_838 (insn, operands);
31954 :
31955 : default:
31956 : return NULL;
31957 : }
31958 :
31959 : default:
31960 : return NULL;
31961 : }
31962 : }
31963 :
31964 : rtx_insn *
31965 185614 : split_42 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31966 : {
31967 185614 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31968 185614 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31969 185614 : rtx_insn *res ATTRIBUTE_UNUSED;
31970 185614 : x2 = XVECEXP (x1, 0, 0);
31971 185614 : x3 = XEXP (x2, 0);
31972 185614 : operands[0] = x3;
31973 185614 : x4 = XEXP (x2, 1);
31974 185614 : x5 = XEXP (x4, 0);
31975 185614 : switch (GET_CODE (x5))
31976 : {
31977 152292 : case REG:
31978 152292 : case SUBREG:
31979 152292 : case MEM:
31980 152292 : operands[1] = x5;
31981 152292 : x6 = XVECEXP (x1, 0, 1);
31982 152292 : switch (GET_CODE (x6))
31983 : {
31984 148724 : case CLOBBER:
31985 148724 : x7 = XEXP (x6, 0);
31986 148724 : if (GET_CODE (x7) != REG
31987 148724 : || REGNO (x7) != 17
31988 296301 : || GET_MODE (x7) != E_CCmode)
31989 : return NULL;
31990 147577 : if (register_operand (operands[0], E_VOIDmode)
31991 146454 : && register_operand (operands[1], E_VOIDmode)
31992 293757 : && insn_condition_2753 (operands, insn))
31993 3758 : return gen_split_1059 (insn, operands);
31994 143819 : if (GET_MODE (x4) != E_V2QImode)
31995 : return NULL;
31996 18 : if (general_reg_operand (operands[0], E_V2QImode)
31997 9 : && general_reg_operand (operands[1], E_V2QImode)
31998 27 : && insn_condition_2449 (operands, insn))
31999 9 : return gen_split_1135 (insn, operands);
32000 9 : if (!sse_reg_operand (operands[0], E_V2QImode)
32001 0 : || !sse_reg_operand (operands[1], E_V2QImode)
32002 9 : || !insn_condition_2666 (operands, insn))
32003 : return NULL;
32004 0 : return gen_split_1136 (insn, operands);
32005 :
32006 3568 : case USE:
32007 3568 : switch (pattern881 (x1))
32008 : {
32009 58 : case 0:
32010 58 : if (!insn_condition_2754 (operands, insn))
32011 : return NULL;
32012 29 : return gen_split_1115 (insn, operands);
32013 :
32014 2 : case 1:
32015 2 : if (!insn_condition_2575 (operands, insn))
32016 : return NULL;
32017 1 : return gen_split_1124 (insn, operands);
32018 :
32019 2 : case 2:
32020 2 : if (!insn_condition_2755 (operands, insn))
32021 : return NULL;
32022 1 : return gen_split_1126 (insn, operands);
32023 :
32024 6 : case 3:
32025 6 : if (!insn_condition_2575 (operands, insn))
32026 : return NULL;
32027 3 : return gen_split_1128 (insn, operands);
32028 :
32029 4 : case 4:
32030 4 : if (!insn_condition_2755 (operands, insn))
32031 : return NULL;
32032 2 : return gen_split_1130 (insn, operands);
32033 :
32034 2 : case 5:
32035 2 : if (!insn_condition_2756 (operands, insn))
32036 : return NULL;
32037 1 : return gen_split_1353 (insn, operands);
32038 :
32039 2 : case 6:
32040 2 : if (!insn_condition_2757 (operands, insn))
32041 : return NULL;
32042 1 : return gen_split_1355 (insn, operands);
32043 :
32044 2 : case 7:
32045 2 : if (!insn_condition_2758 (operands, insn))
32046 : return NULL;
32047 1 : return gen_split_1357 (insn, operands);
32048 :
32049 10 : case 8:
32050 10 : if (!insn_condition_2756 (operands, insn))
32051 : return NULL;
32052 5 : return gen_split_1359 (insn, operands);
32053 :
32054 6 : case 9:
32055 6 : if (!insn_condition_2757 (operands, insn))
32056 : return NULL;
32057 3 : return gen_split_1361 (insn, operands);
32058 :
32059 153 : case 10:
32060 153 : if (!insn_condition_2758 (operands, insn))
32061 : return NULL;
32062 76 : return gen_split_1363 (insn, operands);
32063 :
32064 58 : case 11:
32065 58 : if (!insn_condition_2756 (operands, insn))
32066 : return NULL;
32067 29 : return gen_split_1365 (insn, operands);
32068 :
32069 534 : case 12:
32070 534 : if (!insn_condition_2757 (operands, insn))
32071 : return NULL;
32072 267 : return gen_split_1367 (insn, operands);
32073 :
32074 576 : case 13:
32075 576 : if (!insn_condition_2575 (operands, insn))
32076 : return NULL;
32077 288 : return gen_split_1369 (insn, operands);
32078 :
32079 42 : case 14:
32080 42 : if (!insn_condition_2756 (operands, insn))
32081 : return NULL;
32082 21 : return gen_split_1371 (insn, operands);
32083 :
32084 1018 : case 15:
32085 1018 : if (!insn_condition_2757 (operands, insn))
32086 : return NULL;
32087 509 : return gen_split_1373 (insn, operands);
32088 :
32089 476 : case 16:
32090 476 : if (!insn_condition_2758 (operands, insn))
32091 : return NULL;
32092 238 : return gen_split_1375 (insn, operands);
32093 :
32094 : default:
32095 : return NULL;
32096 : }
32097 :
32098 : default:
32099 : return NULL;
32100 : }
32101 :
32102 11679 : case LTU:
32103 11679 : case UNLT:
32104 11679 : operands[1] = x5;
32105 11679 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
32106 : return NULL;
32107 11664 : x8 = XEXP (x5, 0);
32108 11664 : if (GET_CODE (x8) != REG
32109 11664 : || REGNO (x8) != 17)
32110 : return NULL;
32111 11643 : x9 = XEXP (x5, 1);
32112 11643 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
32113 : return NULL;
32114 11643 : x6 = XVECEXP (x1, 0, 1);
32115 11643 : if (pattern286 (x6,
32116 : E_CCmode,
32117 : 17) != 0
32118 11643 : || !general_reg_operand (operands[0], E_VOIDmode)
32119 19448 : || !insn_condition_2753 (operands, insn))
32120 : return NULL;
32121 312 : return gen_split_1061 (insn, operands);
32122 :
32123 7 : case ABS:
32124 7 : x6 = XVECEXP (x1, 0, 1);
32125 7 : if (GET_CODE (x6) != USE)
32126 : return NULL;
32127 1 : x8 = XEXP (x5, 0);
32128 1 : operands[1] = x8;
32129 1 : x7 = XEXP (x6, 0);
32130 1 : operands[2] = x7;
32131 1 : switch (GET_MODE (operands[0]))
32132 : {
32133 0 : case E_V2SFmode:
32134 0 : if (pattern1096 (x4) != 0
32135 0 : || !insn_condition_2754 (operands, insn))
32136 : return NULL;
32137 0 : return gen_split_1116 (insn, operands);
32138 :
32139 0 : case E_V2BFmode:
32140 0 : if (pattern1097 (x4,
32141 : E_V2BFmode) != 0
32142 0 : || !insn_condition_2575 (operands, insn))
32143 : return NULL;
32144 0 : return gen_split_1131 (insn, operands);
32145 :
32146 0 : case E_V4BFmode:
32147 0 : if (pattern1097 (x4,
32148 : E_V4BFmode) != 0
32149 0 : || !insn_condition_2755 (operands, insn))
32150 : return NULL;
32151 0 : return gen_split_1132 (insn, operands);
32152 :
32153 0 : case E_V2HFmode:
32154 0 : if (pattern1097 (x4,
32155 : E_V2HFmode) != 0
32156 0 : || !insn_condition_2575 (operands, insn))
32157 : return NULL;
32158 0 : return gen_split_1133 (insn, operands);
32159 :
32160 0 : case E_V4HFmode:
32161 0 : if (pattern1097 (x4,
32162 : E_V4HFmode) != 0
32163 0 : || !insn_condition_2755 (operands, insn))
32164 : return NULL;
32165 0 : return gen_split_1134 (insn, operands);
32166 :
32167 0 : case E_V16SFmode:
32168 0 : if (pattern1094 (x4,
32169 : E_V16SFmode) != 0
32170 0 : || !insn_condition_2756 (operands, insn))
32171 : return NULL;
32172 0 : return gen_split_1376 (insn, operands);
32173 :
32174 0 : case E_V8SFmode:
32175 0 : if (pattern1094 (x4,
32176 : E_V8SFmode) != 0
32177 0 : || !insn_condition_2757 (operands, insn))
32178 : return NULL;
32179 0 : return gen_split_1377 (insn, operands);
32180 :
32181 0 : case E_V4SFmode:
32182 0 : if (pattern1094 (x4,
32183 : E_V4SFmode) != 0
32184 0 : || !insn_condition_2575 (operands, insn))
32185 : return NULL;
32186 0 : return gen_split_1378 (insn, operands);
32187 :
32188 0 : case E_V8DFmode:
32189 0 : if (pattern1094 (x4,
32190 : E_V8DFmode) != 0
32191 0 : || !insn_condition_2756 (operands, insn))
32192 : return NULL;
32193 0 : return gen_split_1379 (insn, operands);
32194 :
32195 0 : case E_V4DFmode:
32196 0 : if (pattern1094 (x4,
32197 : E_V4DFmode) != 0
32198 0 : || !insn_condition_2757 (operands, insn))
32199 : return NULL;
32200 0 : return gen_split_1380 (insn, operands);
32201 :
32202 0 : case E_V2DFmode:
32203 0 : if (pattern1094 (x4,
32204 : E_V2DFmode) != 0
32205 0 : || !insn_condition_2758 (operands, insn))
32206 : return NULL;
32207 0 : return gen_split_1381 (insn, operands);
32208 :
32209 : default:
32210 : return NULL;
32211 : }
32212 :
32213 : default:
32214 : return NULL;
32215 : }
32216 : }
32217 :
32218 : rtx_insn *
32219 19898036 : split_45 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32220 : {
32221 19898036 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32222 19898036 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32223 19898036 : rtx x10, x11, x12, x13, x14, x15, x16;
32224 19898036 : rtx_insn *res ATTRIBUTE_UNUSED;
32225 19898036 : x2 = XEXP (x1, 1);
32226 19898036 : x3 = XEXP (x2, 0);
32227 19898036 : switch (GET_CODE (x3))
32228 : {
32229 19897726 : case NE:
32230 19897726 : case EQ:
32231 19897726 : case GE:
32232 19897726 : case GT:
32233 19897726 : case LE:
32234 19897726 : case LT:
32235 19897726 : case LTGT:
32236 19897726 : case GEU:
32237 19897726 : case GTU:
32238 19897726 : case LEU:
32239 19897726 : case LTU:
32240 19897726 : case UNORDERED:
32241 19897726 : case ORDERED:
32242 19897726 : case UNEQ:
32243 19897726 : case UNGE:
32244 19897726 : case UNGT:
32245 19897726 : case UNLE:
32246 19897726 : case UNLT:
32247 19897726 : operands[1] = x3;
32248 19897726 : res = split_44 (x1, insn);
32249 19897726 : if (res != NULL_RTX)
32250 : return res;
32251 19824266 : if (!bt_comparison_operator (x3, E_VOIDmode))
32252 : return NULL;
32253 13912657 : operands[3] = x3;
32254 13912657 : x4 = XEXP (x3, 0);
32255 13912657 : if (pattern107 (x4,
32256 : E_CCZmode,
32257 : 129,
32258 : 2) != 0)
32259 : return NULL;
32260 17280 : x5 = XVECEXP (x4, 0, 0);
32261 17280 : if (GET_CODE (x5) != AND)
32262 : return NULL;
32263 2 : x6 = XEXP (x5, 0);
32264 2 : if (GET_CODE (x6) != NOT)
32265 : return NULL;
32266 0 : x7 = XVECEXP (x4, 0, 1);
32267 0 : if (GET_CODE (x7) != AND)
32268 : return NULL;
32269 0 : x8 = XEXP (x7, 0);
32270 0 : if (GET_CODE (x8) != NOT)
32271 : return NULL;
32272 0 : x9 = XEXP (x3, 1);
32273 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
32274 : return NULL;
32275 0 : x10 = XEXP (x2, 2);
32276 0 : if (GET_CODE (x10) != PC)
32277 : return NULL;
32278 0 : x11 = XEXP (x1, 0);
32279 0 : if (GET_CODE (x11) != PC)
32280 : return NULL;
32281 0 : x12 = XEXP (x6, 0);
32282 0 : operands[1] = x12;
32283 0 : x13 = XEXP (x5, 1);
32284 0 : operands[2] = x13;
32285 0 : x14 = XEXP (x2, 1);
32286 0 : operands[0] = x14;
32287 0 : x15 = XEXP (x8, 0);
32288 0 : if (!rtx_equal_p (x15, operands[1]))
32289 : return NULL;
32290 0 : x16 = XEXP (x7, 1);
32291 0 : if (!rtx_equal_p (x16, operands[2]))
32292 : return NULL;
32293 0 : switch (GET_MODE (x5))
32294 : {
32295 0 : case E_V16QImode:
32296 0 : if (pattern1828 (x4,
32297 : E_V16QImode) != 0
32298 0 : || !insn_condition_92 (operands, insn))
32299 : return NULL;
32300 0 : return gen_split_2330 (insn, operands);
32301 :
32302 0 : case E_V8HImode:
32303 0 : if (pattern1828 (x4,
32304 : E_V8HImode) != 0
32305 0 : || !insn_condition_92 (operands, insn))
32306 : return NULL;
32307 0 : return gen_split_2331 (insn, operands);
32308 :
32309 0 : case E_V4SImode:
32310 0 : if (pattern1828 (x4,
32311 : E_V4SImode) != 0
32312 0 : || !insn_condition_92 (operands, insn))
32313 : return NULL;
32314 0 : return gen_split_2332 (insn, operands);
32315 :
32316 0 : case E_V2DImode:
32317 0 : if (pattern1828 (x4,
32318 : E_V2DImode) != 0
32319 0 : || !insn_condition_92 (operands, insn))
32320 : return NULL;
32321 0 : return gen_split_2333 (insn, operands);
32322 :
32323 0 : case E_V1TImode:
32324 0 : if (pattern1828 (x4,
32325 : E_V1TImode) != 0
32326 0 : || !insn_condition_92 (operands, insn))
32327 : return NULL;
32328 0 : return gen_split_2334 (insn, operands);
32329 :
32330 0 : case E_V4SFmode:
32331 0 : if (pattern1828 (x4,
32332 : E_V4SFmode) != 0
32333 0 : || !insn_condition_92 (operands, insn))
32334 : return NULL;
32335 0 : return gen_split_2335 (insn, operands);
32336 :
32337 0 : case E_V2DFmode:
32338 0 : if (pattern1828 (x4,
32339 : E_V2DFmode) != 0
32340 0 : || !insn_condition_92 (operands, insn))
32341 : return NULL;
32342 0 : return gen_split_2336 (insn, operands);
32343 :
32344 0 : case E_V32QImode:
32345 0 : if (pattern1828 (x4,
32346 : E_V32QImode) != 0
32347 0 : || !insn_condition_1109 (operands, insn))
32348 : return NULL;
32349 0 : return gen_split_2337 (insn, operands);
32350 :
32351 0 : case E_V16HImode:
32352 0 : if (pattern1828 (x4,
32353 : E_V16HImode) != 0
32354 0 : || !insn_condition_1109 (operands, insn))
32355 : return NULL;
32356 0 : return gen_split_2338 (insn, operands);
32357 :
32358 0 : case E_V8SImode:
32359 0 : if (pattern1828 (x4,
32360 : E_V8SImode) != 0
32361 0 : || !insn_condition_1109 (operands, insn))
32362 : return NULL;
32363 0 : return gen_split_2339 (insn, operands);
32364 :
32365 0 : case E_V4DImode:
32366 0 : if (pattern1828 (x4,
32367 : E_V4DImode) != 0
32368 0 : || !insn_condition_1109 (operands, insn))
32369 : return NULL;
32370 0 : return gen_split_2340 (insn, operands);
32371 :
32372 0 : case E_V2TImode:
32373 0 : if (pattern1828 (x4,
32374 : E_V2TImode) != 0
32375 0 : || !insn_condition_1109 (operands, insn))
32376 : return NULL;
32377 0 : return gen_split_2341 (insn, operands);
32378 :
32379 0 : case E_V8SFmode:
32380 0 : if (pattern1828 (x4,
32381 : E_V8SFmode) != 0
32382 0 : || !insn_condition_1109 (operands, insn))
32383 : return NULL;
32384 0 : return gen_split_2342 (insn, operands);
32385 :
32386 0 : case E_V4DFmode:
32387 0 : if (pattern1828 (x4,
32388 : E_V4DFmode) != 0
32389 0 : || !insn_condition_1109 (operands, insn))
32390 : return NULL;
32391 0 : return gen_split_2343 (insn, operands);
32392 :
32393 : default:
32394 : return NULL;
32395 : }
32396 :
32397 : default:
32398 : return NULL;
32399 : }
32400 : }
32401 :
32402 : rtx_insn *
32403 17712099 : split_47 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32404 : {
32405 17712099 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32406 17712099 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32407 17712099 : rtx x10;
32408 17712099 : rtx_insn *res ATTRIBUTE_UNUSED;
32409 17712099 : x2 = XEXP (x1, 1);
32410 17712099 : x3 = XEXP (x2, 0);
32411 17712099 : switch (GET_CODE (x3))
32412 : {
32413 396634 : case AND:
32414 396634 : x4 = XEXP (x2, 1);
32415 396634 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
32416 : return NULL;
32417 381115 : x5 = XEXP (x1, 0);
32418 381115 : operands[0] = x5;
32419 381115 : if (!flags_reg_operand (operands[0], E_VOIDmode))
32420 : return NULL;
32421 381115 : operands[1] = x2;
32422 381115 : if (!compare_operator (operands[1], E_VOIDmode))
32423 : return NULL;
32424 381115 : x6 = XEXP (x3, 0);
32425 381115 : operands[2] = x6;
32426 381115 : if (!aligned_operand (operands[2], E_HImode))
32427 : return NULL;
32428 22481 : x7 = XEXP (x3, 1);
32429 22481 : operands[3] = x7;
32430 22481 : if (!const_int_operand (operands[3], E_HImode)
32431 22481 : || !insn_condition_2801 (operands, insn))
32432 : return NULL;
32433 0 : return gen_split_1058 (insn, operands);
32434 :
32435 3918 : case UNSPEC:
32436 3918 : if (XVECLEN (x3, 0) != 1
32437 3253 : || XINT (x3, 1) != 46
32438 2835 : || GET_MODE (x3) != E_SImode
32439 6753 : || pattern436 (x1,
32440 : E_CCZmode,
32441 : 17) != 0)
32442 : return NULL;
32443 2835 : x4 = XEXP (x2, 1);
32444 2835 : operands[2] = x4;
32445 2835 : if (!const_int_operand (operands[2], E_VOIDmode))
32446 : return NULL;
32447 2835 : x8 = XVECEXP (x3, 0, 0);
32448 2835 : switch (GET_CODE (x8))
32449 : {
32450 989 : case EQ:
32451 989 : x9 = XEXP (x8, 0);
32452 989 : operands[0] = x9;
32453 989 : x10 = XEXP (x8, 1);
32454 989 : operands[1] = x10;
32455 989 : switch (GET_MODE (x8))
32456 : {
32457 2 : case E_V32QImode:
32458 2 : if (!vector_operand (operands[0], E_V32QImode)
32459 2 : || !const0_operand (operands[1], E_V32QImode)
32460 3 : || !insn_condition_2802 (operands, insn))
32461 : return NULL;
32462 1 : return gen_split_2111 (insn, operands);
32463 :
32464 86 : case E_V16QImode:
32465 86 : if (!vector_operand (operands[0], E_V16QImode)
32466 86 : || !const0_operand (operands[1], E_V16QImode)
32467 86 : || !insn_condition_2803 (operands, insn))
32468 : return NULL;
32469 1 : return gen_split_2112 (insn, operands);
32470 :
32471 : default:
32472 : return NULL;
32473 : }
32474 :
32475 1 : case VEC_MERGE:
32476 1 : switch (pattern1299 (x8))
32477 : {
32478 0 : case 0:
32479 0 : if (!insn_condition_2804 (operands, insn))
32480 : return NULL;
32481 0 : return gen_split_2113 (insn, operands);
32482 :
32483 0 : case 1:
32484 0 : if (!insn_condition_2805 (operands, insn))
32485 : return NULL;
32486 0 : return gen_split_2114 (insn, operands);
32487 :
32488 0 : case 2:
32489 0 : if (!insn_condition_2806 (operands, insn))
32490 : return NULL;
32491 0 : return gen_split_2115 (insn, operands);
32492 :
32493 1 : case 3:
32494 1 : if (!insn_condition_2807 (operands, insn))
32495 : return NULL;
32496 1 : return gen_split_2116 (insn, operands);
32497 :
32498 : default:
32499 : return NULL;
32500 : }
32501 :
32502 : default:
32503 : return NULL;
32504 : }
32505 :
32506 : default:
32507 : return NULL;
32508 : }
32509 : }
32510 :
32511 : rtx_insn *
32512 9683253 : split_50 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32513 : {
32514 9683253 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32515 9683253 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32516 9683253 : rtx x10;
32517 9683253 : rtx_insn *res ATTRIBUTE_UNUSED;
32518 9683253 : x2 = XEXP (x1, 1);
32519 9683253 : x3 = XEXP (x2, 0);
32520 9683253 : if (GET_CODE (x3) != VEC_SELECT)
32521 : return NULL;
32522 28175 : switch (pattern115 (x1))
32523 : {
32524 6296 : case 0:
32525 6296 : x4 = XEXP (x3, 0);
32526 6296 : operands[1] = x4;
32527 6296 : if (!nonimmediate_operand (operands[1], E_V2SFmode))
32528 : return NULL;
32529 475 : x5 = XEXP (x3, 1);
32530 475 : if (XVECLEN (x5, 0) != 1)
32531 : return NULL;
32532 475 : x6 = XEXP (x2, 1);
32533 475 : x7 = XEXP (x6, 1);
32534 475 : if (XVECLEN (x7, 0) != 1
32535 475 : || !register_operand (operands[0], E_SFmode)
32536 475 : || GET_MODE (x2) != E_SFmode
32537 950 : || GET_MODE (x3) != E_SFmode)
32538 : return NULL;
32539 475 : x8 = XVECEXP (x5, 0, 0);
32540 475 : operands[2] = x8;
32541 475 : if (!const_0_to_1_operand (operands[2], E_SImode)
32542 475 : || GET_MODE (x6) != E_SFmode)
32543 : return NULL;
32544 475 : x9 = XVECEXP (x7, 0, 0);
32545 475 : operands[3] = x9;
32546 475 : if (!const_0_to_1_operand (operands[3], E_SImode))
32547 : return NULL;
32548 475 : x10 = XEXP (x6, 0);
32549 475 : if (!rtx_equal_p (x10, operands[1])
32550 475 : || !insn_condition_2843 (operands, insn))
32551 : return NULL;
32552 185 : return gen_split_1117 (insn, operands);
32553 :
32554 747 : case 1:
32555 747 : switch (pattern902 (x2))
32556 : {
32557 30 : case 0:
32558 30 : if (!insn_condition_2844 (operands, insn))
32559 : return NULL;
32560 15 : return gen_split_2117 (insn, operands);
32561 :
32562 33 : case 1:
32563 33 : if (!insn_condition_2844 (operands, insn))
32564 : return NULL;
32565 15 : return gen_split_2121 (insn, operands);
32566 :
32567 : default:
32568 : return NULL;
32569 : }
32570 :
32571 : default:
32572 : return NULL;
32573 : }
32574 : }
32575 :
32576 : rtx_insn *
32577 1119474 : split_53 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32578 : {
32579 1119474 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32580 1119474 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32581 1119474 : rtx x10, x11;
32582 1119474 : rtx_insn *res ATTRIBUTE_UNUSED;
32583 1119474 : x2 = XEXP (x1, 1);
32584 1119474 : x3 = XEXP (x2, 1);
32585 1119474 : if (GET_CODE (x3) != PARALLEL)
32586 : return NULL;
32587 1119474 : x4 = XEXP (x1, 0);
32588 1119474 : operands[0] = x4;
32589 1119474 : x5 = XEXP (x2, 0);
32590 1119474 : switch (GET_CODE (x5))
32591 : {
32592 618188 : case VEC_CONCAT:
32593 618188 : switch (pattern311 (x2))
32594 : {
32595 58963 : case 0:
32596 58963 : x6 = XVECEXP (x3, 0, 1);
32597 58963 : if (GET_CODE (x6) == CONST_INT)
32598 : {
32599 58963 : switch (pattern1017 (x2))
32600 : {
32601 576 : case 0:
32602 576 : if (insn_condition_2754 (operands, insn))
32603 288 : return gen_split_1119 (insn, operands);
32604 : break;
32605 :
32606 748 : case 1:
32607 748 : if (insn_condition_2788 (operands, insn))
32608 374 : return gen_split_1202 (insn, operands);
32609 : break;
32610 :
32611 224 : case 2:
32612 224 : if (insn_condition_2754 (operands, insn))
32613 112 : return gen_split_1120 (insn, operands);
32614 : break;
32615 :
32616 578 : case 3:
32617 578 : if (insn_condition_2788 (operands, insn))
32618 289 : return gen_split_1201 (insn, operands);
32619 : break;
32620 :
32621 : default:
32622 : break;
32623 : }
32624 : }
32625 57900 : x7 = XVECEXP (x3, 0, 0);
32626 57900 : operands[3] = x7;
32627 57900 : switch (pattern1018 (x2))
32628 : {
32629 0 : case 0:
32630 0 : if (!insn_condition_2856 (operands, insn))
32631 : return NULL;
32632 0 : return gen_split_1214 (insn, operands);
32633 :
32634 0 : case 1:
32635 0 : if (!insn_condition_2856 (operands, insn))
32636 : return NULL;
32637 0 : return gen_split_1215 (insn, operands);
32638 :
32639 376 : case 2:
32640 376 : if (!insn_condition_2856 (operands, insn))
32641 : return NULL;
32642 188 : return gen_split_1216 (insn, operands);
32643 :
32644 : default:
32645 : return NULL;
32646 : }
32647 :
32648 886 : case 1:
32649 886 : if (!insn_condition_2788 (operands, insn))
32650 : return NULL;
32651 443 : return gen_split_1195 (insn, operands);
32652 :
32653 990 : case 2:
32654 990 : if (!insn_condition_2788 (operands, insn))
32655 : return NULL;
32656 495 : return gen_split_1197 (insn, operands);
32657 :
32658 486 : case 3:
32659 486 : if (!insn_condition_2856 (operands, insn))
32660 : return NULL;
32661 243 : return gen_split_1196 (insn, operands);
32662 :
32663 2876 : case 4:
32664 2876 : if (!insn_condition_2788 (operands, insn))
32665 : return NULL;
32666 1438 : return gen_split_1199 (insn, operands);
32667 :
32668 744 : case 5:
32669 744 : if (!insn_condition_2856 (operands, insn))
32670 : return NULL;
32671 372 : return gen_split_1198 (insn, operands);
32672 :
32673 3830 : case 6:
32674 3830 : if (!insn_condition_2788 (operands, insn))
32675 : return NULL;
32676 1915 : return gen_split_1200 (insn, operands);
32677 :
32678 : default:
32679 : return NULL;
32680 : }
32681 :
32682 468537 : case REG:
32683 468537 : case SUBREG:
32684 468537 : case MEM:
32685 468537 : switch (XVECLEN (x3, 0))
32686 : {
32687 286231 : case 1:
32688 286231 : res = split_52 (x1, insn);
32689 286231 : if (res != NULL_RTX)
32690 : return res;
32691 : break;
32692 :
32693 35132 : case 2:
32694 35132 : x7 = XVECEXP (x3, 0, 0);
32695 35132 : if (x7 == const_int_rtx[MAX_SAVED_CONST_INT + 1])
32696 : {
32697 11522 : x6 = XVECEXP (x3, 0, 1);
32698 11522 : if (x6 == const_int_rtx[MAX_SAVED_CONST_INT + 0]
32699 6956 : && memory_operand (operands[0], E_V2SImode)
32700 110 : && GET_MODE (x2) == E_V2SImode
32701 110 : && rtx_equal_p (x5, operands[0])
32702 11600 : && insn_condition_2857 (operands, insn))
32703 78 : return gen_split_1206 (insn, operands);
32704 : }
32705 : break;
32706 :
32707 : default:
32708 : break;
32709 : }
32710 406026 : if (XVECLEN (x3, 0) != 1)
32711 : return NULL;
32712 223798 : x7 = XVECEXP (x3, 0, 0);
32713 223798 : if (x7 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
32714 : {
32715 176997 : if (GET_CODE (x5) == SUBREG)
32716 : {
32717 90234 : switch (pattern802 (x2))
32718 : {
32719 3 : case 0:
32720 3 : if (pshufb_truncv8hiv8qi_operand (operands[2], E_V16QImode)
32721 3 : && insn_condition_2858 (operands, insn))
32722 1 : return gen_split_1802 (insn, operands);
32723 2 : if (pshufb_truncv4siv4hi_operand (operands[2], E_V16QImode)
32724 2 : && insn_condition_2840 (operands, insn))
32725 2 : return gen_split_1818 (insn, operands);
32726 : break;
32727 :
32728 1 : case 1:
32729 1 : if (insn_condition_2840 (operands, insn))
32730 1 : return gen_split_1828 (insn, operands);
32731 : break;
32732 :
32733 0 : case 2:
32734 0 : if (insn_condition_2859 (operands, insn))
32735 0 : return gen_split_2490 (insn, operands);
32736 : break;
32737 :
32738 : default:
32739 : break;
32740 : }
32741 : }
32742 176993 : if (GET_MODE (x2) == E_DImode)
32743 : {
32744 80881 : operands[1] = x5;
32745 80881 : if (register_operand (operands[1], E_V2DImode))
32746 : {
32747 78371 : if (general_reg_operand (operands[0], E_DImode)
32748 78371 : && insn_condition_2860 (operands, insn))
32749 82 : return gen_split_2038 (insn, operands);
32750 78289 : if (register_operand (operands[0], E_DImode)
32751 78289 : && insn_condition_2861 (operands, insn))
32752 65 : return gen_split_2039 (insn, operands);
32753 78224 : if (nonimmediate_operand (operands[0], E_DImode)
32754 78224 : && insn_condition_2848 (operands, insn))
32755 37702 : return gen_split_2041 (insn, operands);
32756 : }
32757 : }
32758 : }
32759 185945 : if (GET_MODE (x2) != E_DImode)
32760 : return NULL;
32761 62786 : if (register_operand (operands[0], E_DImode))
32762 : {
32763 53335 : operands[1] = x5;
32764 53335 : if (memory_operand (operands[1], E_V2DImode))
32765 : {
32766 2908 : operands[2] = x7;
32767 2908 : if (const_0_to_1_operand (operands[2], E_VOIDmode)
32768 2908 : && insn_condition_2848 (operands, insn))
32769 2886 : return gen_split_2047 (insn, operands);
32770 : }
32771 : }
32772 59900 : if (GET_CODE (x5) != SUBREG
32773 36636 : || pattern930 (x5) != 0
32774 0 : || x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
32775 59900 : || !memory_operand (operands[0], E_DImode))
32776 : return NULL;
32777 0 : x8 = XEXP (x5, 0);
32778 0 : x9 = XEXP (x8, 0);
32779 0 : x10 = XVECEXP (x9, 0, 0);
32780 0 : operands[1] = x10;
32781 0 : if (!register_operand (operands[1], E_V8SImode))
32782 : return NULL;
32783 0 : x11 = XEXP (x8, 1);
32784 0 : operands[2] = x11;
32785 0 : if (!const0_operand (operands[2], E_V8QImode)
32786 0 : || !insn_condition_2862 (operands, insn))
32787 : return NULL;
32788 0 : return gen_split_2489 (insn, operands);
32789 :
32790 1135 : case UNSPEC:
32791 1135 : if (pattern312 (x2) != 0
32792 1135 : || !insn_condition_2799 (operands, insn))
32793 : return NULL;
32794 69 : return gen_split_1646 (insn, operands);
32795 :
32796 0 : case FIX:
32797 0 : if (pattern314 (x2) != 0
32798 0 : || !insn_condition_2799 (operands, insn))
32799 : return NULL;
32800 0 : return gen_split_1648 (insn, operands);
32801 :
32802 : default:
32803 : return NULL;
32804 : }
32805 : }
32806 :
32807 : rtx_insn *
32808 498827 : split_54 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32809 : {
32810 498827 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32811 498827 : rtx x2, x3, x4, x5, x6, x7;
32812 498827 : rtx_insn *res ATTRIBUTE_UNUSED;
32813 498827 : x2 = XEXP (x1, 0);
32814 498827 : operands[0] = x2;
32815 498827 : x3 = XEXP (x1, 1);
32816 498827 : x4 = XEXP (x3, 0);
32817 498827 : switch (GET_CODE (x4))
32818 : {
32819 1890 : case LT:
32820 1890 : x5 = XEXP (x4, 0);
32821 1890 : operands[1] = x5;
32822 1890 : x6 = XEXP (x4, 1);
32823 1890 : operands[2] = x6;
32824 1890 : x7 = XEXP (x3, 1);
32825 1890 : operands[3] = x7;
32826 1890 : switch (GET_MODE (operands[0]))
32827 : {
32828 0 : case E_V4HImode:
32829 0 : if (pattern994 (x3,
32830 : E_V4HImode) != 0
32831 0 : || !insn_condition_162 (operands, insn))
32832 : return NULL;
32833 0 : return gen_split_1143 (insn, operands);
32834 :
32835 28 : case E_V2SImode:
32836 28 : if (pattern994 (x3,
32837 : E_V2SImode) != 0
32838 28 : || !insn_condition_162 (operands, insn))
32839 : return NULL;
32840 0 : return gen_split_1144 (insn, operands);
32841 :
32842 0 : case E_V1DImode:
32843 0 : if (pattern994 (x3,
32844 : E_V1DImode) != 0
32845 0 : || !insn_condition_162 (operands, insn))
32846 : return NULL;
32847 0 : return gen_split_1145 (insn, operands);
32848 :
32849 0 : case E_V2HImode:
32850 0 : if (pattern994 (x3,
32851 : E_V2HImode) != 0
32852 0 : || !insn_condition_163 (operands, insn))
32853 : return NULL;
32854 0 : return gen_split_1147 (insn, operands);
32855 :
32856 : default:
32857 : return NULL;
32858 : }
32859 :
32860 261881 : case REG:
32861 261881 : switch (pattern279 (x3))
32862 : {
32863 0 : case 0:
32864 0 : if (!insn_condition_2667 (operands, insn))
32865 : return NULL;
32866 0 : return gen_split_1278 (insn, operands);
32867 :
32868 0 : case 1:
32869 0 : if (!insn_condition_2667 (operands, insn))
32870 : return NULL;
32871 0 : return gen_split_1281 (insn, operands);
32872 :
32873 0 : case 2:
32874 0 : if (!insn_condition_2668 (operands, insn))
32875 : return NULL;
32876 0 : return gen_split_1284 (insn, operands);
32877 :
32878 0 : case 3:
32879 0 : if (!insn_condition_2668 (operands, insn))
32880 : return NULL;
32881 0 : return gen_split_1287 (insn, operands);
32882 :
32883 : default:
32884 : return NULL;
32885 : }
32886 :
32887 : default:
32888 : return NULL;
32889 : }
32890 : }
32891 :
32892 : rtx_insn *
32893 608634 : split_59 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32894 : {
32895 608634 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32896 608634 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32897 608634 : rtx x10, x11, x12, x13, x14;
32898 608634 : rtx_insn *res ATTRIBUTE_UNUSED;
32899 608634 : x2 = XEXP (x1, 1);
32900 608634 : operands[3] = x2;
32901 608634 : x3 = XEXP (x2, 0);
32902 608634 : if (GET_CODE (x3) != UNSPEC
32903 13701 : || XVECLEN (x3, 0) != 2
32904 13448 : || XINT (x3, 1) != 129
32905 12939 : || GET_MODE (x3) != E_CCZmode)
32906 : return NULL;
32907 12939 : x4 = XVECEXP (x3, 0, 0);
32908 12939 : if (GET_CODE (x4) != AND)
32909 : return NULL;
32910 20 : x5 = XEXP (x4, 0);
32911 20 : if (GET_CODE (x5) != NOT)
32912 : return NULL;
32913 18 : x6 = XVECEXP (x3, 0, 1);
32914 18 : if (GET_CODE (x6) != AND)
32915 : return NULL;
32916 18 : x7 = XEXP (x6, 0);
32917 18 : if (GET_CODE (x7) != NOT)
32918 : return NULL;
32919 18 : x8 = XEXP (x2, 1);
32920 18 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
32921 : return NULL;
32922 18 : x9 = XEXP (x5, 0);
32923 18 : operands[1] = x9;
32924 18 : x10 = XEXP (x4, 1);
32925 18 : operands[2] = x10;
32926 18 : x11 = XEXP (x7, 0);
32927 18 : if (!rtx_equal_p (x11, operands[1]))
32928 : return NULL;
32929 18 : x12 = XEXP (x6, 1);
32930 18 : if (!rtx_equal_p (x12, operands[2]))
32931 : return NULL;
32932 18 : x13 = XEXP (x1, 0);
32933 18 : switch (GET_CODE (x13))
32934 : {
32935 0 : case REG:
32936 0 : case SUBREG:
32937 0 : operands[0] = x13;
32938 0 : switch (GET_MODE (operands[0]))
32939 : {
32940 0 : case E_QImode:
32941 0 : if (!register_operand (operands[0], E_QImode))
32942 : return NULL;
32943 0 : switch (pattern1751 (x3,
32944 : E_QImode))
32945 : {
32946 0 : case 0:
32947 0 : if (!insn_condition_92 (operands, insn))
32948 : return NULL;
32949 0 : return gen_split_2260 (insn, operands);
32950 :
32951 0 : case 1:
32952 0 : if (!insn_condition_92 (operands, insn))
32953 : return NULL;
32954 0 : return gen_split_2261 (insn, operands);
32955 :
32956 0 : case 2:
32957 0 : if (!insn_condition_92 (operands, insn))
32958 : return NULL;
32959 0 : return gen_split_2262 (insn, operands);
32960 :
32961 0 : case 3:
32962 0 : if (!insn_condition_92 (operands, insn))
32963 : return NULL;
32964 0 : return gen_split_2263 (insn, operands);
32965 :
32966 0 : case 4:
32967 0 : if (!insn_condition_92 (operands, insn))
32968 : return NULL;
32969 0 : return gen_split_2264 (insn, operands);
32970 :
32971 0 : case 5:
32972 0 : if (!insn_condition_92 (operands, insn))
32973 : return NULL;
32974 0 : return gen_split_2265 (insn, operands);
32975 :
32976 0 : case 6:
32977 0 : if (!insn_condition_92 (operands, insn))
32978 : return NULL;
32979 0 : return gen_split_2266 (insn, operands);
32980 :
32981 0 : case 7:
32982 0 : if (!insn_condition_1109 (operands, insn))
32983 : return NULL;
32984 0 : return gen_split_2267 (insn, operands);
32985 :
32986 0 : case 8:
32987 0 : if (!insn_condition_1109 (operands, insn))
32988 : return NULL;
32989 0 : return gen_split_2268 (insn, operands);
32990 :
32991 0 : case 9:
32992 0 : if (!insn_condition_1109 (operands, insn))
32993 : return NULL;
32994 0 : return gen_split_2269 (insn, operands);
32995 :
32996 0 : case 10:
32997 0 : if (!insn_condition_1109 (operands, insn))
32998 : return NULL;
32999 0 : return gen_split_2270 (insn, operands);
33000 :
33001 0 : case 11:
33002 0 : if (!insn_condition_1109 (operands, insn))
33003 : return NULL;
33004 0 : return gen_split_2271 (insn, operands);
33005 :
33006 0 : case 12:
33007 0 : if (!insn_condition_1109 (operands, insn))
33008 : return NULL;
33009 0 : return gen_split_2272 (insn, operands);
33010 :
33011 0 : case 13:
33012 0 : if (!insn_condition_1109 (operands, insn))
33013 : return NULL;
33014 0 : return gen_split_2273 (insn, operands);
33015 :
33016 : default:
33017 : return NULL;
33018 : }
33019 :
33020 0 : case E_HImode:
33021 0 : if (!register_operand (operands[0], E_HImode))
33022 : return NULL;
33023 0 : switch (pattern1751 (x3,
33024 : E_HImode))
33025 : {
33026 0 : case 0:
33027 0 : if (!insn_condition_92 (operands, insn))
33028 : return NULL;
33029 0 : return gen_split_2274 (insn, operands);
33030 :
33031 0 : case 1:
33032 0 : if (!insn_condition_92 (operands, insn))
33033 : return NULL;
33034 0 : return gen_split_2275 (insn, operands);
33035 :
33036 0 : case 2:
33037 0 : if (!insn_condition_92 (operands, insn))
33038 : return NULL;
33039 0 : return gen_split_2276 (insn, operands);
33040 :
33041 0 : case 3:
33042 0 : if (!insn_condition_92 (operands, insn))
33043 : return NULL;
33044 0 : return gen_split_2277 (insn, operands);
33045 :
33046 0 : case 4:
33047 0 : if (!insn_condition_92 (operands, insn))
33048 : return NULL;
33049 0 : return gen_split_2278 (insn, operands);
33050 :
33051 0 : case 5:
33052 0 : if (!insn_condition_92 (operands, insn))
33053 : return NULL;
33054 0 : return gen_split_2279 (insn, operands);
33055 :
33056 0 : case 6:
33057 0 : if (!insn_condition_92 (operands, insn))
33058 : return NULL;
33059 0 : return gen_split_2280 (insn, operands);
33060 :
33061 0 : case 7:
33062 0 : if (!insn_condition_1109 (operands, insn))
33063 : return NULL;
33064 0 : return gen_split_2281 (insn, operands);
33065 :
33066 0 : case 8:
33067 0 : if (!insn_condition_1109 (operands, insn))
33068 : return NULL;
33069 0 : return gen_split_2282 (insn, operands);
33070 :
33071 0 : case 9:
33072 0 : if (!insn_condition_1109 (operands, insn))
33073 : return NULL;
33074 0 : return gen_split_2283 (insn, operands);
33075 :
33076 0 : case 10:
33077 0 : if (!insn_condition_1109 (operands, insn))
33078 : return NULL;
33079 0 : return gen_split_2284 (insn, operands);
33080 :
33081 0 : case 11:
33082 0 : if (!insn_condition_1109 (operands, insn))
33083 : return NULL;
33084 0 : return gen_split_2285 (insn, operands);
33085 :
33086 0 : case 12:
33087 0 : if (!insn_condition_1109 (operands, insn))
33088 : return NULL;
33089 0 : return gen_split_2286 (insn, operands);
33090 :
33091 0 : case 13:
33092 0 : if (!insn_condition_1109 (operands, insn))
33093 : return NULL;
33094 0 : return gen_split_2287 (insn, operands);
33095 :
33096 : default:
33097 : return NULL;
33098 : }
33099 :
33100 0 : case E_SImode:
33101 0 : if (!register_operand (operands[0], E_SImode))
33102 : return NULL;
33103 0 : switch (pattern1751 (x3,
33104 : E_SImode))
33105 : {
33106 0 : case 0:
33107 0 : if (!insn_condition_92 (operands, insn))
33108 : return NULL;
33109 0 : return gen_split_2288 (insn, operands);
33110 :
33111 0 : case 1:
33112 0 : if (!insn_condition_92 (operands, insn))
33113 : return NULL;
33114 0 : return gen_split_2289 (insn, operands);
33115 :
33116 0 : case 2:
33117 0 : if (!insn_condition_92 (operands, insn))
33118 : return NULL;
33119 0 : return gen_split_2290 (insn, operands);
33120 :
33121 0 : case 3:
33122 0 : if (!insn_condition_92 (operands, insn))
33123 : return NULL;
33124 0 : return gen_split_2291 (insn, operands);
33125 :
33126 0 : case 4:
33127 0 : if (!insn_condition_92 (operands, insn))
33128 : return NULL;
33129 0 : return gen_split_2292 (insn, operands);
33130 :
33131 0 : case 5:
33132 0 : if (!insn_condition_92 (operands, insn))
33133 : return NULL;
33134 0 : return gen_split_2293 (insn, operands);
33135 :
33136 0 : case 6:
33137 0 : if (!insn_condition_92 (operands, insn))
33138 : return NULL;
33139 0 : return gen_split_2294 (insn, operands);
33140 :
33141 0 : case 7:
33142 0 : if (!insn_condition_1109 (operands, insn))
33143 : return NULL;
33144 0 : return gen_split_2295 (insn, operands);
33145 :
33146 0 : case 8:
33147 0 : if (!insn_condition_1109 (operands, insn))
33148 : return NULL;
33149 0 : return gen_split_2296 (insn, operands);
33150 :
33151 0 : case 9:
33152 0 : if (!insn_condition_1109 (operands, insn))
33153 : return NULL;
33154 0 : return gen_split_2297 (insn, operands);
33155 :
33156 0 : case 10:
33157 0 : if (!insn_condition_1109 (operands, insn))
33158 : return NULL;
33159 0 : return gen_split_2298 (insn, operands);
33160 :
33161 0 : case 11:
33162 0 : if (!insn_condition_1109 (operands, insn))
33163 : return NULL;
33164 0 : return gen_split_2299 (insn, operands);
33165 :
33166 0 : case 12:
33167 0 : if (!insn_condition_1109 (operands, insn))
33168 : return NULL;
33169 0 : return gen_split_2300 (insn, operands);
33170 :
33171 0 : case 13:
33172 0 : if (!insn_condition_1109 (operands, insn))
33173 : return NULL;
33174 0 : return gen_split_2301 (insn, operands);
33175 :
33176 : default:
33177 : return NULL;
33178 : }
33179 :
33180 0 : case E_DImode:
33181 0 : if (!register_operand (operands[0], E_DImode))
33182 : return NULL;
33183 0 : switch (pattern1751 (x3,
33184 : E_DImode))
33185 : {
33186 0 : case 0:
33187 0 : if (!insn_condition_703 (operands, insn))
33188 : return NULL;
33189 0 : return gen_split_2302 (insn, operands);
33190 :
33191 0 : case 1:
33192 0 : if (!insn_condition_703 (operands, insn))
33193 : return NULL;
33194 0 : return gen_split_2303 (insn, operands);
33195 :
33196 0 : case 2:
33197 0 : if (!insn_condition_703 (operands, insn))
33198 : return NULL;
33199 0 : return gen_split_2304 (insn, operands);
33200 :
33201 0 : case 3:
33202 0 : if (!insn_condition_703 (operands, insn))
33203 : return NULL;
33204 0 : return gen_split_2305 (insn, operands);
33205 :
33206 0 : case 4:
33207 0 : if (!insn_condition_703 (operands, insn))
33208 : return NULL;
33209 0 : return gen_split_2306 (insn, operands);
33210 :
33211 0 : case 5:
33212 0 : if (!insn_condition_703 (operands, insn))
33213 : return NULL;
33214 0 : return gen_split_2307 (insn, operands);
33215 :
33216 0 : case 6:
33217 0 : if (!insn_condition_703 (operands, insn))
33218 : return NULL;
33219 0 : return gen_split_2308 (insn, operands);
33220 :
33221 0 : case 7:
33222 0 : if (!insn_condition_2876 (operands, insn))
33223 : return NULL;
33224 0 : return gen_split_2309 (insn, operands);
33225 :
33226 0 : case 8:
33227 0 : if (!insn_condition_2876 (operands, insn))
33228 : return NULL;
33229 0 : return gen_split_2310 (insn, operands);
33230 :
33231 0 : case 9:
33232 0 : if (!insn_condition_2876 (operands, insn))
33233 : return NULL;
33234 0 : return gen_split_2311 (insn, operands);
33235 :
33236 0 : case 10:
33237 0 : if (!insn_condition_2876 (operands, insn))
33238 : return NULL;
33239 0 : return gen_split_2312 (insn, operands);
33240 :
33241 0 : case 11:
33242 0 : if (!insn_condition_2876 (operands, insn))
33243 : return NULL;
33244 0 : return gen_split_2313 (insn, operands);
33245 :
33246 0 : case 12:
33247 0 : if (!insn_condition_2876 (operands, insn))
33248 : return NULL;
33249 0 : return gen_split_2314 (insn, operands);
33250 :
33251 0 : case 13:
33252 0 : if (!insn_condition_2876 (operands, insn))
33253 : return NULL;
33254 0 : return gen_split_2315 (insn, operands);
33255 :
33256 : default:
33257 : return NULL;
33258 : }
33259 :
33260 : default:
33261 : return NULL;
33262 : }
33263 :
33264 18 : case STRICT_LOW_PART:
33265 18 : x14 = XEXP (x13, 0);
33266 18 : operands[0] = x14;
33267 18 : if (!register_operand (operands[0], E_QImode))
33268 : return NULL;
33269 18 : switch (pattern1751 (x3,
33270 : E_QImode))
33271 : {
33272 0 : case 0:
33273 0 : if (!insn_condition_92 (operands, insn))
33274 : return NULL;
33275 0 : return gen_split_2316 (insn, operands);
33276 :
33277 0 : case 1:
33278 0 : if (!insn_condition_92 (operands, insn))
33279 : return NULL;
33280 0 : return gen_split_2317 (insn, operands);
33281 :
33282 0 : case 2:
33283 0 : if (!insn_condition_92 (operands, insn))
33284 : return NULL;
33285 0 : return gen_split_2318 (insn, operands);
33286 :
33287 8 : case 3:
33288 8 : if (!insn_condition_92 (operands, insn))
33289 : return NULL;
33290 8 : return gen_split_2319 (insn, operands);
33291 :
33292 0 : case 4:
33293 0 : if (!insn_condition_92 (operands, insn))
33294 : return NULL;
33295 0 : return gen_split_2320 (insn, operands);
33296 :
33297 0 : case 5:
33298 0 : if (!insn_condition_92 (operands, insn))
33299 : return NULL;
33300 0 : return gen_split_2321 (insn, operands);
33301 :
33302 0 : case 6:
33303 0 : if (!insn_condition_92 (operands, insn))
33304 : return NULL;
33305 0 : return gen_split_2322 (insn, operands);
33306 :
33307 0 : case 7:
33308 0 : if (!insn_condition_1109 (operands, insn))
33309 : return NULL;
33310 0 : return gen_split_2323 (insn, operands);
33311 :
33312 0 : case 8:
33313 0 : if (!insn_condition_1109 (operands, insn))
33314 : return NULL;
33315 0 : return gen_split_2324 (insn, operands);
33316 :
33317 0 : case 9:
33318 0 : if (!insn_condition_1109 (operands, insn))
33319 : return NULL;
33320 0 : return gen_split_2325 (insn, operands);
33321 :
33322 10 : case 10:
33323 10 : if (!insn_condition_1109 (operands, insn))
33324 : return NULL;
33325 10 : return gen_split_2326 (insn, operands);
33326 :
33327 0 : case 11:
33328 0 : if (!insn_condition_1109 (operands, insn))
33329 : return NULL;
33330 0 : return gen_split_2327 (insn, operands);
33331 :
33332 0 : case 12:
33333 0 : if (!insn_condition_1109 (operands, insn))
33334 : return NULL;
33335 0 : return gen_split_2328 (insn, operands);
33336 :
33337 0 : case 13:
33338 0 : if (!insn_condition_1109 (operands, insn))
33339 : return NULL;
33340 0 : return gen_split_2329 (insn, operands);
33341 :
33342 : default:
33343 : return NULL;
33344 : }
33345 :
33346 : default:
33347 : return NULL;
33348 : }
33349 : }
33350 :
33351 : rtx_insn *
33352 130289 : split_68 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33353 : {
33354 130289 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33355 130289 : rtx x2, x3;
33356 130289 : rtx_insn *res ATTRIBUTE_UNUSED;
33357 130289 : x2 = XEXP (x1, 1);
33358 130289 : x3 = XEXP (x2, 1);
33359 130289 : if (pattern882 (x3) != 0)
33360 : return NULL;
33361 5628 : switch (GET_MODE (operands[0]))
33362 : {
33363 2074 : case E_V4SFmode:
33364 2074 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
33365 2074 : || GET_MODE (x2) != E_V4SFmode)
33366 : return NULL;
33367 2074 : switch (GET_MODE (operands[1]))
33368 : {
33369 4 : case E_V16SFmode:
33370 4 : if (!register_operand (operands[1], E_V16SFmode)
33371 4 : || !insn_condition_2944 (operands, insn))
33372 : return NULL;
33373 2 : return gen_split_1690 (insn, operands);
33374 :
33375 2070 : case E_V8SFmode:
33376 2070 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
33377 2070 : || !insn_condition_2943 (operands, insn))
33378 : return NULL;
33379 737 : return gen_split_1699 (insn, operands);
33380 :
33381 : default:
33382 : return NULL;
33383 : }
33384 :
33385 2400 : case E_V4SImode:
33386 2400 : if (!nonimmediate_operand (operands[0], E_V4SImode)
33387 2400 : || GET_MODE (x2) != E_V4SImode)
33388 : return NULL;
33389 2400 : switch (GET_MODE (operands[1]))
33390 : {
33391 17 : case E_V16SImode:
33392 17 : if (!register_operand (operands[1], E_V16SImode)
33393 17 : || !insn_condition_2944 (operands, insn))
33394 : return NULL;
33395 8 : return gen_split_1691 (insn, operands);
33396 :
33397 2383 : case E_V8SImode:
33398 2383 : if (!nonimmediate_operand (operands[1], E_V8SImode)
33399 2383 : || !insn_condition_2943 (operands, insn))
33400 : return NULL;
33401 541 : return gen_split_1698 (insn, operands);
33402 :
33403 : default:
33404 : return NULL;
33405 : }
33406 :
33407 667 : case E_V4DFmode:
33408 667 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
33409 667 : || GET_MODE (x2) != E_V4DFmode
33410 667 : || !nonimmediate_operand (operands[1], E_V8DFmode)
33411 1334 : || !insn_condition_2945 (operands, insn))
33412 : return NULL;
33413 156 : return gen_split_1692 (insn, operands);
33414 :
33415 487 : case E_V4DImode:
33416 487 : if (!nonimmediate_operand (operands[0], E_V4DImode)
33417 487 : || GET_MODE (x2) != E_V4DImode
33418 487 : || !nonimmediate_operand (operands[1], E_V8DImode)
33419 974 : || !insn_condition_2945 (operands, insn))
33420 : return NULL;
33421 147 : return gen_split_1693 (insn, operands);
33422 :
33423 : default:
33424 : return NULL;
33425 : }
33426 : }
33427 :
33428 : rtx_insn *
33429 895035 : split_71 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33430 : {
33431 895035 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33432 895035 : rtx x2, x3, x4, x5, x6, x7;
33433 895035 : rtx_insn *res ATTRIBUTE_UNUSED;
33434 895035 : x2 = XEXP (x1, 1);
33435 895035 : x3 = XEXP (x2, 1);
33436 895035 : switch (GET_CODE (x3))
33437 : {
33438 683 : case VEC_SELECT:
33439 683 : if (GET_MODE (x3) != E_DFmode)
33440 : return NULL;
33441 8 : x4 = XEXP (x3, 1);
33442 8 : if (GET_CODE (x4) != PARALLEL
33443 8 : || XVECLEN (x4, 0) != 1)
33444 : return NULL;
33445 8 : x5 = XVECEXP (x4, 0, 0);
33446 8 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
33447 8 : || !memory_operand (operands[0], E_V2DFmode)
33448 0 : || GET_MODE (x2) != E_V2DFmode
33449 8 : || !register_operand (operands[1], E_DFmode))
33450 : return NULL;
33451 0 : x6 = XEXP (x3, 0);
33452 0 : if (!rtx_equal_p (x6, operands[0])
33453 0 : || !insn_condition_2666 (operands, insn))
33454 : return NULL;
33455 0 : return gen_split_1793 (insn, operands);
33456 :
33457 540911 : case CONST_INT:
33458 540911 : if (XWINT (x3, 0) != 0L
33459 540779 : || !register_operand (operands[0], E_V2DImode)
33460 539657 : || GET_MODE (x2) != E_V2DImode
33461 539657 : || !register_operand (operands[1], E_DImode)
33462 566368 : || !insn_condition_2952 (operands, insn))
33463 : return NULL;
33464 0 : return gen_split_2055 (insn, operands);
33465 :
33466 284 : case UNSPEC:
33467 284 : if (XVECLEN (x3, 0) != 1
33468 282 : || XINT (x3, 1) != 146)
33469 : return NULL;
33470 250 : x7 = XVECEXP (x3, 0, 0);
33471 250 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
33472 : return NULL;
33473 250 : switch (GET_MODE (operands[0]))
33474 : {
33475 60 : case E_V8SImode:
33476 60 : if (pattern1078 (x2,
33477 : E_V4SImode,
33478 : E_V8SImode) != 0
33479 60 : || !insn_condition_2947 (operands, insn))
33480 : return NULL;
33481 30 : return gen_split_2436 (insn, operands);
33482 :
33483 60 : case E_V8SFmode:
33484 60 : if (pattern1078 (x2,
33485 : E_V4SFmode,
33486 : E_V8SFmode) != 0
33487 60 : || !insn_condition_2947 (operands, insn))
33488 : return NULL;
33489 30 : return gen_split_2437 (insn, operands);
33490 :
33491 64 : case E_V4DFmode:
33492 64 : if (pattern1078 (x2,
33493 : E_V2DFmode,
33494 : E_V4DFmode) != 0
33495 64 : || !insn_condition_2947 (operands, insn))
33496 : return NULL;
33497 32 : return gen_split_2438 (insn, operands);
33498 :
33499 22 : case E_V16SImode:
33500 22 : if (pattern1078 (x2,
33501 : E_V8SImode,
33502 : E_V16SImode) != 0
33503 22 : || !insn_condition_2953 (operands, insn))
33504 : return NULL;
33505 11 : return gen_split_2484 (insn, operands);
33506 :
33507 22 : case E_V16SFmode:
33508 22 : if (pattern1078 (x2,
33509 : E_V8SFmode,
33510 : E_V16SFmode) != 0
33511 22 : || !insn_condition_2953 (operands, insn))
33512 : return NULL;
33513 11 : return gen_split_2485 (insn, operands);
33514 :
33515 22 : case E_V8DFmode:
33516 22 : if (pattern1078 (x2,
33517 : E_V4DFmode,
33518 : E_V8DFmode) != 0
33519 22 : || !insn_condition_2953 (operands, insn))
33520 : return NULL;
33521 11 : return gen_split_2486 (insn, operands);
33522 :
33523 : default:
33524 : return NULL;
33525 : }
33526 :
33527 : default:
33528 : return NULL;
33529 : }
33530 : }
33531 :
33532 : rtx_insn *
33533 581767 : split_75 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33534 : {
33535 581767 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33536 581767 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33537 581767 : rtx x10, x11, x12, x13;
33538 581767 : rtx_insn *res ATTRIBUTE_UNUSED;
33539 581767 : x2 = XEXP (x1, 1);
33540 581767 : x3 = XEXP (x2, 0);
33541 581767 : switch (GET_CODE (x3))
33542 : {
33543 45721 : case UNSPEC:
33544 45721 : if (XVECLEN (x3, 0) != 1
33545 20250 : || XINT (x3, 1) != 176)
33546 : return NULL;
33547 4048 : x4 = XEXP (x2, 2);
33548 4048 : if (GET_CODE (x4) != AND
33549 118 : || GET_MODE (x4) != E_QImode)
33550 : return NULL;
33551 118 : x5 = XEXP (x4, 1);
33552 118 : if (GET_CODE (x5) != CONST_INT)
33553 : return NULL;
33554 118 : x6 = XVECEXP (x3, 0, 0);
33555 118 : operands[1] = x6;
33556 118 : x7 = XEXP (x2, 1);
33557 118 : operands[2] = x7;
33558 118 : switch (pattern1145 (x2))
33559 : {
33560 0 : case 0:
33561 0 : if (!insn_condition_2955 (operands, insn))
33562 : return NULL;
33563 0 : return gen_split_1257 (insn, operands);
33564 :
33565 33 : case 1:
33566 33 : if (!insn_condition_2955 (operands, insn))
33567 : return NULL;
33568 33 : return gen_split_1258 (insn, operands);
33569 :
33570 28 : case 2:
33571 28 : if (!insn_condition_2955 (operands, insn))
33572 : return NULL;
33573 28 : return gen_split_1259 (insn, operands);
33574 :
33575 20 : case 3:
33576 20 : if (!insn_condition_2955 (operands, insn))
33577 : return NULL;
33578 20 : return gen_split_1260 (insn, operands);
33579 :
33580 1 : case 4:
33581 1 : if (!insn_condition_2955 (operands, insn))
33582 : return NULL;
33583 1 : return gen_split_1261 (insn, operands);
33584 :
33585 36 : case 5:
33586 36 : if (!insn_condition_2955 (operands, insn))
33587 : return NULL;
33588 36 : return gen_split_1262 (insn, operands);
33589 :
33590 : default:
33591 : return NULL;
33592 : }
33593 :
33594 6114 : case MINUS:
33595 6114 : x7 = XEXP (x2, 1);
33596 6114 : if (GET_CODE (x7) != PLUS)
33597 : return NULL;
33598 4166 : operands[6] = x2;
33599 4166 : x8 = XEXP (x3, 0);
33600 4166 : operands[1] = x8;
33601 4166 : x9 = XEXP (x3, 1);
33602 4166 : operands[2] = x9;
33603 4166 : x10 = XEXP (x7, 0);
33604 4166 : operands[3] = x10;
33605 4166 : x11 = XEXP (x7, 1);
33606 4166 : operands[4] = x11;
33607 4166 : x4 = XEXP (x2, 2);
33608 4166 : operands[5] = x4;
33609 4166 : if (!const_int_operand (operands[5], E_VOIDmode))
33610 : return NULL;
33611 4157 : switch (GET_MODE (operands[0]))
33612 : {
33613 140 : case E_V8SFmode:
33614 140 : if (pattern1488 (x2,
33615 : E_V8SFmode) != 0
33616 140 : || !insn_condition_2997 (operands, insn))
33617 : return NULL;
33618 48 : return gen_split_1403 (insn, operands);
33619 :
33620 1484 : case E_V4SFmode:
33621 1484 : if (pattern1488 (x2,
33622 : E_V4SFmode) != 0
33623 1484 : || !insn_condition_2998 (operands, insn))
33624 : return NULL;
33625 496 : return gen_split_1404 (insn, operands);
33626 :
33627 206 : case E_V4DFmode:
33628 206 : if (pattern1488 (x2,
33629 : E_V4DFmode) != 0
33630 206 : || !insn_condition_2997 (operands, insn))
33631 : return NULL;
33632 70 : return gen_split_1405 (insn, operands);
33633 :
33634 2327 : case E_V2DFmode:
33635 2327 : if (pattern1488 (x2,
33636 : E_V2DFmode) != 0
33637 2327 : || !insn_condition_2999 (operands, insn))
33638 : return NULL;
33639 777 : return gen_split_1406 (insn, operands);
33640 :
33641 : default:
33642 : return NULL;
33643 : }
33644 :
33645 13464 : case PLUS:
33646 13464 : x7 = XEXP (x2, 1);
33647 13464 : if (GET_CODE (x7) != MINUS)
33648 : return NULL;
33649 7085 : operands[6] = x2;
33650 7085 : x8 = XEXP (x3, 0);
33651 7085 : operands[1] = x8;
33652 7085 : x9 = XEXP (x3, 1);
33653 7085 : operands[2] = x9;
33654 7085 : x10 = XEXP (x7, 0);
33655 7085 : operands[3] = x10;
33656 7085 : x11 = XEXP (x7, 1);
33657 7085 : operands[4] = x11;
33658 7085 : x4 = XEXP (x2, 2);
33659 7085 : operands[5] = x4;
33660 7085 : if (!const_int_operand (operands[5], E_VOIDmode))
33661 : return NULL;
33662 7085 : switch (GET_MODE (operands[0]))
33663 : {
33664 162 : case E_V8SFmode:
33665 162 : if (pattern1489 (x2,
33666 : E_V8SFmode) != 0
33667 162 : || !insn_condition_2997 (operands, insn))
33668 : return NULL;
33669 16 : return gen_split_1407 (insn, operands);
33670 :
33671 1187 : case E_V4SFmode:
33672 1187 : if (pattern1489 (x2,
33673 : E_V4SFmode) != 0
33674 1187 : || !insn_condition_2998 (operands, insn))
33675 : return NULL;
33676 16 : return gen_split_1408 (insn, operands);
33677 :
33678 212 : case E_V4DFmode:
33679 212 : if (pattern1489 (x2,
33680 : E_V4DFmode) != 0
33681 212 : || !insn_condition_2997 (operands, insn))
33682 : return NULL;
33683 16 : return gen_split_1409 (insn, operands);
33684 :
33685 3986 : case E_V2DFmode:
33686 3986 : if (pattern1489 (x2,
33687 : E_V2DFmode) != 0
33688 3986 : || !insn_condition_2999 (operands, insn))
33689 : return NULL;
33690 19 : return gen_split_1410 (insn, operands);
33691 :
33692 : default:
33693 : return NULL;
33694 : }
33695 :
33696 59338 : case CONST_INT:
33697 59338 : case CONST_DOUBLE:
33698 59338 : case CONST_VECTOR:
33699 59338 : case REG:
33700 59338 : case SUBREG:
33701 59338 : case MEM:
33702 59338 : return split_63 (x1, insn);
33703 :
33704 389659 : case VEC_DUPLICATE:
33705 389659 : x8 = XEXP (x3, 0);
33706 389659 : switch (GET_CODE (x8))
33707 : {
33708 1526 : case VEC_SELECT:
33709 1526 : x12 = XEXP (x8, 1);
33710 1526 : if (GET_CODE (x12) != PARALLEL
33711 1526 : || XVECLEN (x12, 0) != 1)
33712 : return NULL;
33713 1162 : x13 = XVECEXP (x12, 0, 0);
33714 1162 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
33715 : return NULL;
33716 1142 : x4 = XEXP (x2, 2);
33717 1142 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
33718 : return NULL;
33719 13 : switch (pattern1051 (x2))
33720 : {
33721 8 : case 0:
33722 8 : if (!insn_condition_2770 (operands, insn))
33723 : return NULL;
33724 8 : return gen_split_1667 (insn, operands);
33725 :
33726 0 : case 1:
33727 0 : if (!insn_condition_2770 (operands, insn))
33728 : return NULL;
33729 0 : return gen_split_1668 (insn, operands);
33730 :
33731 0 : case 2:
33732 0 : if (!insn_condition_2770 (operands, insn))
33733 : return NULL;
33734 0 : return gen_split_1669 (insn, operands);
33735 :
33736 : default:
33737 : return NULL;
33738 : }
33739 :
33740 155 : case ZERO_EXTEND:
33741 155 : switch (pattern346 (x2))
33742 : {
33743 1 : case 0:
33744 1 : if (!insn_condition_3015 (operands, insn))
33745 : return NULL;
33746 1 : return gen_split_1670 (insn, operands);
33747 :
33748 1 : case 1:
33749 1 : if (!insn_condition_2972 (operands, insn))
33750 : return NULL;
33751 1 : return gen_split_1671 (insn, operands);
33752 :
33753 1 : case 2:
33754 1 : if (!insn_condition_2972 (operands, insn))
33755 : return NULL;
33756 1 : return gen_split_1672 (insn, operands);
33757 :
33758 1 : case 3:
33759 1 : if (!insn_condition_3015 (operands, insn))
33760 : return NULL;
33761 1 : return gen_split_1673 (insn, operands);
33762 :
33763 1 : case 4:
33764 1 : if (!insn_condition_3004 (operands, insn))
33765 : return NULL;
33766 1 : return gen_split_1677 (insn, operands);
33767 :
33768 1 : case 5:
33769 1 : if (!insn_condition_2972 (operands, insn))
33770 : return NULL;
33771 1 : return gen_split_1674 (insn, operands);
33772 :
33773 1 : case 6:
33774 1 : if (!insn_condition_3005 (operands, insn))
33775 : return NULL;
33776 1 : return gen_split_1678 (insn, operands);
33777 :
33778 0 : case 7:
33779 0 : if (!insn_condition_2972 (operands, insn))
33780 : return NULL;
33781 0 : return gen_split_1675 (insn, operands);
33782 :
33783 0 : case 8:
33784 0 : if (!insn_condition_2770 (operands, insn))
33785 : return NULL;
33786 0 : return gen_split_1679 (insn, operands);
33787 :
33788 : default:
33789 : return NULL;
33790 : }
33791 :
33792 108786 : case CONST_INT:
33793 108786 : case CONST_WIDE_INT:
33794 108786 : case CONST_POLY_INT:
33795 108786 : case CONST_FIXED:
33796 108786 : case CONST_DOUBLE:
33797 108786 : case CONST_VECTOR:
33798 108786 : case CONST:
33799 108786 : case REG:
33800 108786 : case SUBREG:
33801 108786 : case LABEL_REF:
33802 108786 : case SYMBOL_REF:
33803 108786 : case HIGH:
33804 108786 : x7 = XEXP (x2, 1);
33805 108786 : switch (GET_CODE (x7))
33806 : {
33807 2700 : case SUBREG:
33808 2700 : case MEM:
33809 2700 : if (!rtx_equal_p (x7, operands[0]))
33810 : return NULL;
33811 275 : x4 = XEXP (x2, 2);
33812 275 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
33813 : return NULL;
33814 6 : operands[1] = x8;
33815 6 : switch (GET_MODE (operands[0]))
33816 : {
33817 2 : case E_V4SImode:
33818 2 : if (pattern1226 (x2,
33819 : E_SImode,
33820 : E_V4SImode) != 0
33821 2 : || !insn_condition_2848 (operands, insn))
33822 : return NULL;
33823 1 : return gen_split_1683 (insn, operands);
33824 :
33825 4 : case E_V4SFmode:
33826 4 : if (pattern1226 (x2,
33827 : E_SFmode,
33828 : E_V4SFmode) != 0
33829 4 : || !insn_condition_2848 (operands, insn))
33830 : return NULL;
33831 2 : return gen_split_1684 (insn, operands);
33832 :
33833 : default:
33834 : return NULL;
33835 : }
33836 :
33837 18493 : case REG:
33838 18493 : operands[1] = x7;
33839 18493 : operands[2] = x8;
33840 18493 : x4 = XEXP (x2, 2);
33841 18493 : operands[3] = x4;
33842 18493 : if (!const_int_operand (operands[3], E_SImode))
33843 : return NULL;
33844 17420 : switch (GET_MODE (operands[0]))
33845 : {
33846 9310 : case E_V8HImode:
33847 9310 : if (pattern1106 (x2,
33848 : E_V8HImode,
33849 : E_HImode) != 0
33850 9310 : || !insn_condition_3016 (operands, insn))
33851 : return NULL;
33852 4 : return gen_split_2033 (insn, operands);
33853 :
33854 190 : case E_V8HFmode:
33855 190 : if (pattern1106 (x2,
33856 : E_V8HFmode,
33857 : E_HFmode) != 0
33858 190 : || !insn_condition_3017 (operands, insn))
33859 : return NULL;
33860 4 : return gen_split_2034 (insn, operands);
33861 :
33862 27 : case E_V8BFmode:
33863 27 : if (pattern1106 (x2,
33864 : E_V8BFmode,
33865 : E_BFmode) != 0
33866 27 : || !insn_condition_3018 (operands, insn))
33867 : return NULL;
33868 3 : return gen_split_2035 (insn, operands);
33869 :
33870 : default:
33871 : return NULL;
33872 : }
33873 :
33874 : default:
33875 : return NULL;
33876 : }
33877 :
33878 : default:
33879 : return NULL;
33880 : }
33881 :
33882 1440 : case SIGN_EXTEND:
33883 1440 : switch (pattern448 (x2))
33884 : {
33885 0 : case 0:
33886 0 : if (!insn_condition_2975 (operands, insn))
33887 : return NULL;
33888 0 : return gen_split_2171 (insn, operands);
33889 :
33890 0 : case 1:
33891 0 : if (!insn_condition_3019 (operands, insn))
33892 : return NULL;
33893 0 : return gen_split_2179 (insn, operands);
33894 :
33895 0 : case 2:
33896 0 : if (!insn_condition_2842 (operands, insn))
33897 : return NULL;
33898 0 : return gen_split_2205 (insn, operands);
33899 :
33900 0 : case 3:
33901 0 : if (!insn_condition_3019 (operands, insn))
33902 : return NULL;
33903 0 : return gen_split_2197 (insn, operands);
33904 :
33905 0 : case 4:
33906 0 : if (!insn_condition_3019 (operands, insn))
33907 : return NULL;
33908 0 : return gen_split_2216 (insn, operands);
33909 :
33910 0 : case 5:
33911 0 : if (!insn_condition_3019 (operands, insn))
33912 : return NULL;
33913 0 : return gen_split_2228 (insn, operands);
33914 :
33915 0 : case 6:
33916 0 : if (!insn_condition_3019 (operands, insn))
33917 : return NULL;
33918 0 : return gen_split_2185 (insn, operands);
33919 :
33920 0 : case 7:
33921 0 : if (!insn_condition_3019 (operands, insn))
33922 : return NULL;
33923 0 : return gen_split_2209 (insn, operands);
33924 :
33925 0 : case 8:
33926 0 : if (!insn_condition_3019 (operands, insn))
33927 : return NULL;
33928 0 : return gen_split_2220 (insn, operands);
33929 :
33930 : default:
33931 : return NULL;
33932 : }
33933 :
33934 1353 : case ZERO_EXTEND:
33935 1353 : switch (pattern448 (x2))
33936 : {
33937 3 : case 0:
33938 3 : if (!insn_condition_2975 (operands, insn))
33939 : return NULL;
33940 3 : return gen_split_2172 (insn, operands);
33941 :
33942 3 : case 1:
33943 3 : if (!insn_condition_3019 (operands, insn))
33944 : return NULL;
33945 3 : return gen_split_2180 (insn, operands);
33946 :
33947 3 : case 2:
33948 3 : if (!insn_condition_2842 (operands, insn))
33949 : return NULL;
33950 3 : return gen_split_2206 (insn, operands);
33951 :
33952 3 : case 3:
33953 3 : if (!insn_condition_3019 (operands, insn))
33954 : return NULL;
33955 3 : return gen_split_2198 (insn, operands);
33956 :
33957 3 : case 4:
33958 3 : if (!insn_condition_3019 (operands, insn))
33959 : return NULL;
33960 3 : return gen_split_2217 (insn, operands);
33961 :
33962 3 : case 5:
33963 3 : if (!insn_condition_3019 (operands, insn))
33964 : return NULL;
33965 3 : return gen_split_2229 (insn, operands);
33966 :
33967 3 : case 6:
33968 3 : if (!insn_condition_3019 (operands, insn))
33969 : return NULL;
33970 3 : return gen_split_2186 (insn, operands);
33971 :
33972 3 : case 7:
33973 3 : if (!insn_condition_3019 (operands, insn))
33974 : return NULL;
33975 3 : return gen_split_2210 (insn, operands);
33976 :
33977 3 : case 8:
33978 3 : if (!insn_condition_3019 (operands, insn))
33979 : return NULL;
33980 3 : return gen_split_2221 (insn, operands);
33981 :
33982 : default:
33983 : return NULL;
33984 : }
33985 :
33986 : default:
33987 : return NULL;
33988 : }
33989 : }
33990 :
33991 : rtx_insn *
33992 5048636 : peephole2_1 (rtx x1 ATTRIBUTE_UNUSED,
33993 : rtx_insn *insn ATTRIBUTE_UNUSED,
33994 : int *pmatch_len_ ATTRIBUTE_UNUSED)
33995 : {
33996 5048636 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33997 5048636 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33998 5048636 : rtx x10, x11;
33999 5048636 : rtx_insn *res ATTRIBUTE_UNUSED;
34000 5048636 : x2 = XEXP (x1, 0);
34001 5048636 : if (GET_CODE (x2) != REG
34002 5048636 : || REGNO (x2) != 17)
34003 : return NULL;
34004 5048636 : x3 = XEXP (x1, 1);
34005 5048636 : x4 = XEXP (x3, 0);
34006 5048636 : switch (GET_CODE (x4))
34007 : {
34008 3 : case NEG:
34009 3 : if (GET_MODE (x4) != E_QImode)
34010 : return NULL;
34011 3 : x5 = XEXP (x4, 0);
34012 3 : if (GET_CODE (x5) != LTU
34013 3 : || GET_MODE (x5) != E_QImode)
34014 : return NULL;
34015 3 : x6 = XEXP (x5, 0);
34016 3 : if (GET_CODE (x6) != REG
34017 3 : || REGNO (x6) != 17
34018 6 : || GET_MODE (x6) != E_CCCmode)
34019 : return NULL;
34020 3 : x7 = XEXP (x5, 1);
34021 3 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34022 : return NULL;
34023 3 : x8 = XEXP (x3, 1);
34024 3 : if (GET_CODE (x8) != GEU
34025 3 : || GET_MODE (x8) != E_QImode)
34026 : return NULL;
34027 3 : x9 = XEXP (x8, 0);
34028 3 : if (GET_CODE (x9) != REG
34029 3 : || REGNO (x9) != 17
34030 6 : || GET_MODE (x9) != E_CCCmode)
34031 : return NULL;
34032 3 : x10 = XEXP (x8, 1);
34033 3 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
34034 3 : || GET_MODE (x2) != E_CCCmode
34035 3 : || GET_MODE (x3) != E_CCCmode
34036 3 : || !insn_condition_3088 (operands, insn))
34037 : return NULL;
34038 0 : *pmatch_len_ = 0;
34039 0 : return gen_peephole2_2 (insn, operands);
34040 :
34041 126471 : case AND:
34042 126471 : x8 = XEXP (x3, 1);
34043 126471 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
34044 126471 : || GET_MODE (x2) != E_CCZmode
34045 124319 : || GET_MODE (x3) != E_CCZmode)
34046 : return NULL;
34047 124319 : x5 = XEXP (x4, 0);
34048 124319 : operands[0] = x5;
34049 124319 : x11 = XEXP (x4, 1);
34050 124319 : operands[1] = x11;
34051 124319 : if (!const_int_operand (operands[1], E_VOIDmode))
34052 : return NULL;
34053 107215 : switch (GET_MODE (x4))
34054 : {
34055 4377 : case E_HImode:
34056 4377 : if (!memory_operand (operands[0], E_HImode)
34057 4377 : || !insn_condition_3089 (operands, insn))
34058 : return NULL;
34059 773 : *pmatch_len_ = 0;
34060 773 : return gen_peephole2_146 (insn, operands);
34061 :
34062 16799 : case E_SImode:
34063 16799 : if (!memory_operand (operands[0], E_SImode)
34064 16799 : || !insn_condition_3089 (operands, insn))
34065 : return NULL;
34066 622 : *pmatch_len_ = 0;
34067 622 : return gen_peephole2_147 (insn, operands);
34068 :
34069 2532 : case E_DImode:
34070 2532 : if (!memory_operand (operands[0], E_DImode)
34071 2532 : || !insn_condition_3090 (operands, insn))
34072 : return NULL;
34073 46 : *pmatch_len_ = 0;
34074 46 : return gen_peephole2_148 (insn, operands);
34075 :
34076 : default:
34077 : return NULL;
34078 : }
34079 :
34080 : default:
34081 : return NULL;
34082 : }
34083 : }
34084 :
34085 : rtx_insn *
34086 27690 : peephole2_2 (rtx x1 ATTRIBUTE_UNUSED,
34087 : rtx_insn *insn ATTRIBUTE_UNUSED,
34088 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34089 : {
34090 27690 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34091 27690 : rtx x2, x3, x4;
34092 27690 : rtx_insn *res ATTRIBUTE_UNUSED;
34093 27690 : x2 = XEXP (x1, 0);
34094 27690 : operands[0] = x2;
34095 27690 : x3 = XEXP (x1, 1);
34096 27690 : x4 = XEXP (x3, 0);
34097 27690 : operands[1] = x4;
34098 27690 : switch (GET_MODE (operands[0]))
34099 : {
34100 10711 : case E_SImode:
34101 10711 : switch (pattern450 (x3,
34102 : E_SImode))
34103 : {
34104 1795 : case 0:
34105 1795 : if (!insn_condition_3091 (operands, insn))
34106 : return NULL;
34107 2 : *pmatch_len_ = 0;
34108 2 : return gen_peephole2_62 (insn, operands);
34109 :
34110 2028 : case 1:
34111 2028 : if (!insn_condition_3092 (operands, insn))
34112 : return NULL;
34113 1 : *pmatch_len_ = 0;
34114 1 : return gen_peephole2_64 (insn, operands);
34115 :
34116 : default:
34117 : return NULL;
34118 : }
34119 :
34120 16106 : case E_DImode:
34121 16106 : switch (pattern450 (x3,
34122 : E_DImode))
34123 : {
34124 676 : case 0:
34125 676 : if (!insn_condition_3093 (operands, insn))
34126 : return NULL;
34127 0 : *pmatch_len_ = 0;
34128 0 : return gen_peephole2_63 (insn, operands);
34129 :
34130 7762 : case 1:
34131 7762 : if (!insn_condition_3094 (operands, insn))
34132 : return NULL;
34133 0 : *pmatch_len_ = 0;
34134 0 : return gen_peephole2_65 (insn, operands);
34135 :
34136 : default:
34137 : return NULL;
34138 : }
34139 :
34140 : default:
34141 : return NULL;
34142 : }
34143 : }
34144 :
34145 : rtx_insn *
34146 5543407 : peephole2_4 (rtx x1 ATTRIBUTE_UNUSED,
34147 : rtx_insn *insn ATTRIBUTE_UNUSED,
34148 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34149 : {
34150 5543407 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34151 5543407 : rtx x2;
34152 5543407 : rtx_insn *res ATTRIBUTE_UNUSED;
34153 5543407 : switch (GET_MODE (operands[0]))
34154 : {
34155 3519997 : case E_DImode:
34156 3519997 : if (register_operand (operands[0], E_DImode)
34157 3519997 : && const_int_operand (operands[1], E_DImode)
34158 5377499 : && insn_condition_3096 (operands, insn))
34159 : {
34160 16884 : *pmatch_len_ = 0;
34161 16884 : res = gen_peephole2_4 (insn, operands);
34162 16884 : if (res != NULL_RTX)
34163 : return res;
34164 : }
34165 3503114 : if (!general_reg_operand (operands[0], E_DImode))
34166 : return NULL;
34167 3502883 : if (const_int_operand (operands[1], E_DImode))
34168 : {
34169 1840388 : if (insn_condition_3097 (operands, insn))
34170 : {
34171 15 : *pmatch_len_ = 0;
34172 15 : res = gen_peephole2_7 (insn, operands);
34173 15 : if (res != NULL_RTX)
34174 : return res;
34175 : }
34176 1840373 : if (peep2_current_count >= 2)
34177 : {
34178 1679223 : x2 = PATTERN (peep2_next_insn (1));
34179 1679223 : switch (pattern1108 (x2))
34180 : {
34181 0 : case 0:
34182 0 : if (insn_condition_3098 (operands, insn))
34183 : {
34184 0 : *pmatch_len_ = 1;
34185 0 : res = gen_peephole2_38 (insn, operands);
34186 0 : if (res != NULL_RTX)
34187 : return res;
34188 : }
34189 : break;
34190 :
34191 0 : case 1:
34192 0 : if (insn_condition_3098 (operands, insn))
34193 : {
34194 0 : *pmatch_len_ = 1;
34195 0 : res = gen_peephole2_40 (insn, operands);
34196 0 : if (res != NULL_RTX)
34197 : return res;
34198 : }
34199 : break;
34200 :
34201 0 : case 2:
34202 0 : if (insn_condition_3098 (operands, insn))
34203 : {
34204 0 : *pmatch_len_ = 1;
34205 0 : res = gen_peephole2_42 (insn, operands);
34206 0 : if (res != NULL_RTX)
34207 : return res;
34208 : }
34209 : break;
34210 :
34211 : default:
34212 : break;
34213 : }
34214 : }
34215 : }
34216 3502868 : if (peep2_current_count < 2)
34217 : return NULL;
34218 3314879 : x2 = PATTERN (peep2_next_insn (1));
34219 3314879 : if (pattern997 (x2,
34220 : E_DImode) != 0
34221 3314879 : || !insn_condition_3099 (operands, insn))
34222 : return NULL;
34223 5 : *pmatch_len_ = 1;
34224 5 : return gen_peephole2_14 (insn, operands);
34225 :
34226 27990 : case E_HImode:
34227 27990 : if (!general_reg_operand (operands[0], E_HImode))
34228 : return NULL;
34229 27917 : if (const_int_operand (operands[1], E_HImode)
34230 27917 : && insn_condition_3100 (operands, insn))
34231 : {
34232 0 : *pmatch_len_ = 0;
34233 0 : res = gen_peephole2_5 (insn, operands);
34234 0 : if (res != NULL_RTX)
34235 : return res;
34236 : }
34237 27917 : if (peep2_current_count < 2)
34238 : return NULL;
34239 26676 : x2 = PATTERN (peep2_next_insn (1));
34240 26676 : if (pattern997 (x2,
34241 : E_HImode) != 0
34242 26676 : || !insn_condition_3101 (operands, insn))
34243 : return NULL;
34244 8 : *pmatch_len_ = 1;
34245 8 : return gen_peephole2_12 (insn, operands);
34246 :
34247 1397405 : case E_SImode:
34248 1397405 : if (!general_reg_operand (operands[0], E_SImode))
34249 : return NULL;
34250 1396906 : if (const_int_operand (operands[1], E_SImode))
34251 : {
34252 1329002 : if (insn_condition_3102 (operands, insn))
34253 : {
34254 4 : *pmatch_len_ = 0;
34255 4 : res = gen_peephole2_6 (insn, operands);
34256 4 : if (res != NULL_RTX)
34257 : return res;
34258 : }
34259 1328998 : if (peep2_current_count >= 2)
34260 : {
34261 1229848 : x2 = PATTERN (peep2_next_insn (1));
34262 1229848 : switch (pattern1108 (x2))
34263 : {
34264 0 : case 0:
34265 0 : if (insn_condition_3103 (operands, insn))
34266 : {
34267 0 : *pmatch_len_ = 1;
34268 0 : res = gen_peephole2_37 (insn, operands);
34269 0 : if (res != NULL_RTX)
34270 : return res;
34271 : }
34272 : break;
34273 :
34274 2 : case 1:
34275 2 : if (insn_condition_3103 (operands, insn))
34276 : {
34277 2 : *pmatch_len_ = 1;
34278 2 : res = gen_peephole2_39 (insn, operands);
34279 2 : if (res != NULL_RTX)
34280 : return res;
34281 : }
34282 : break;
34283 :
34284 0 : case 2:
34285 0 : if (insn_condition_3098 (operands, insn))
34286 : {
34287 0 : *pmatch_len_ = 1;
34288 0 : res = gen_peephole2_41 (insn, operands);
34289 0 : if (res != NULL_RTX)
34290 : return res;
34291 : }
34292 : break;
34293 :
34294 : default:
34295 : break;
34296 : }
34297 : }
34298 : }
34299 1396900 : if (peep2_current_count < 2)
34300 : return NULL;
34301 1296106 : x2 = PATTERN (peep2_next_insn (1));
34302 1296106 : if (pattern997 (x2,
34303 : E_SImode) != 0
34304 1296106 : || !insn_condition_3104 (operands, insn))
34305 : return NULL;
34306 3 : *pmatch_len_ = 1;
34307 3 : return gen_peephole2_13 (insn, operands);
34308 :
34309 352981 : case E_QImode:
34310 352981 : if (peep2_current_count < 2
34311 352981 : || !general_reg_operand (operands[0], E_QImode))
34312 : return NULL;
34313 319980 : x2 = PATTERN (peep2_next_insn (1));
34314 319980 : if (pattern997 (x2,
34315 : E_QImode) != 0
34316 319980 : || !insn_condition_3105 (operands, insn))
34317 : return NULL;
34318 0 : *pmatch_len_ = 1;
34319 0 : return gen_peephole2_11 (insn, operands);
34320 :
34321 : default:
34322 : return NULL;
34323 : }
34324 : }
34325 :
34326 : rtx_insn *
34327 13197024 : peephole2_7 (rtx x1 ATTRIBUTE_UNUSED,
34328 : rtx_insn *insn ATTRIBUTE_UNUSED,
34329 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34330 : {
34331 13197024 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34332 13197024 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34333 13197024 : rtx x10, x11, x12, x13;
34334 13197024 : rtx_insn *res ATTRIBUTE_UNUSED;
34335 13197024 : x2 = XEXP (x1, 1);
34336 13197024 : operands[1] = x2;
34337 13197024 : x3 = XEXP (x1, 0);
34338 13197024 : operands[0] = x3;
34339 13197024 : switch (GET_CODE (operands[0]))
34340 : {
34341 4804217 : case REG:
34342 4804217 : switch (GET_MODE (operands[0]))
34343 : {
34344 104917 : case E_QImode:
34345 104917 : x4 = PATTERN (peep2_next_insn (1));
34346 104917 : switch (pattern761 (x4,
34347 : E_QImode))
34348 : {
34349 26917 : case 0:
34350 26917 : if (pattern1385 (x4,
34351 : E_QImode) != 0
34352 26917 : || !insn_condition_3120 (operands, insn))
34353 : return NULL;
34354 1 : *pmatch_len_ = 2;
34355 1 : return gen_peephole2_15 (insn, operands);
34356 :
34357 21214 : case 1:
34358 21214 : if (XVECLEN (x4, 0) != 2)
34359 : return NULL;
34360 20840 : x5 = XVECEXP (x4, 0, 0);
34361 20840 : if (GET_CODE (x5) != SET)
34362 : return NULL;
34363 20839 : x6 = XEXP (x5, 1);
34364 20839 : if (GET_CODE (x6) != NEG
34365 20839 : || pattern1389 (x4,
34366 : E_QImode) != 0)
34367 : return NULL;
34368 0 : *pmatch_len_ = 2;
34369 0 : return gen_peephole2_177 (insn, operands);
34370 :
34371 : default:
34372 : return NULL;
34373 : }
34374 :
34375 33013 : case E_HImode:
34376 33013 : x4 = PATTERN (peep2_next_insn (1));
34377 33013 : switch (pattern761 (x4,
34378 : E_HImode))
34379 : {
34380 5637 : case 0:
34381 5637 : if (pattern1385 (x4,
34382 : E_HImode) != 0
34383 5637 : || !insn_condition_3120 (operands, insn))
34384 : return NULL;
34385 0 : *pmatch_len_ = 2;
34386 0 : return gen_peephole2_16 (insn, operands);
34387 :
34388 6363 : case 1:
34389 6363 : if (XVECLEN (x4, 0) != 2)
34390 : return NULL;
34391 5785 : x5 = XVECEXP (x4, 0, 0);
34392 5785 : if (GET_CODE (x5) != SET)
34393 : return NULL;
34394 5785 : x6 = XEXP (x5, 1);
34395 5785 : if (GET_CODE (x6) == NEG
34396 5785 : && pattern1389 (x4,
34397 : E_HImode) == 0)
34398 : {
34399 0 : *pmatch_len_ = 2;
34400 0 : res = gen_peephole2_178 (insn, operands);
34401 0 : if (res != NULL_RTX)
34402 : return res;
34403 : }
34404 5785 : if (peep2_current_count < 4
34405 4713 : || pattern1391 (x4,
34406 : E_HImode) != 0
34407 5785 : || !insn_condition_3121 (operands, insn))
34408 : return NULL;
34409 0 : *pmatch_len_ = 3;
34410 0 : return gen_peephole2_226 (insn, operands);
34411 :
34412 : default:
34413 : return NULL;
34414 : }
34415 :
34416 802471 : case E_SImode:
34417 802471 : if (!general_reg_operand (operands[0], E_SImode)
34418 802471 : || !general_reg_operand (operands[1], E_SImode))
34419 : return NULL;
34420 717208 : if (peep2_current_count >= 2)
34421 : {
34422 676134 : x4 = PATTERN (peep2_next_insn (1));
34423 676134 : if (pattern1109 (x4,
34424 : E_SImode) == 0
34425 676134 : && insn_condition_3120 (operands, insn))
34426 : {
34427 31 : *pmatch_len_ = 2;
34428 31 : res = gen_peephole2_17 (insn, operands);
34429 31 : if (res != NULL_RTX)
34430 : return res;
34431 : }
34432 : }
34433 717177 : if (!insn_condition_3122 (operands, insn))
34434 : return NULL;
34435 5 : *pmatch_len_ = 0;
34436 5 : return gen_peephole2_29 (insn, operands);
34437 :
34438 3499524 : case E_DImode:
34439 3499524 : if (!general_reg_operand (operands[0], E_DImode)
34440 3499524 : || !general_reg_operand (operands[1], E_DImode))
34441 : return NULL;
34442 3361489 : if (peep2_current_count >= 2)
34443 : {
34444 3150732 : x4 = PATTERN (peep2_next_insn (1));
34445 3150732 : if (pattern1109 (x4,
34446 : E_DImode) == 0
34447 3150732 : && insn_condition_3123 (operands, insn))
34448 : {
34449 113 : *pmatch_len_ = 2;
34450 113 : res = gen_peephole2_18 (insn, operands);
34451 113 : if (res != NULL_RTX)
34452 : return res;
34453 : }
34454 : }
34455 3361376 : if (insn_condition_3124 (operands, insn))
34456 : {
34457 12 : *pmatch_len_ = 0;
34458 12 : res = gen_peephole2_30 (insn, operands);
34459 12 : if (res != NULL_RTX)
34460 : return res;
34461 : }
34462 3361364 : if (peep2_current_count < 2
34463 : || peep2_current_count < 3
34464 3361364 : || peep2_current_count < 4)
34465 : return NULL;
34466 2274814 : x4 = PATTERN (peep2_next_insn (1));
34467 2274814 : if (GET_CODE (x4) != PARALLEL
34468 388056 : || XVECLEN (x4, 0) != 2)
34469 : return NULL;
34470 371197 : x5 = XVECEXP (x4, 0, 0);
34471 371197 : if (GET_CODE (x5) != SET)
34472 : return NULL;
34473 370820 : x6 = XEXP (x5, 1);
34474 370820 : if (GET_CODE (x6) != ASHIFTRT
34475 58857 : || GET_MODE (x6) != E_DImode)
34476 : return NULL;
34477 58798 : x7 = XEXP (x6, 1);
34478 58798 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
34479 58798 : || pattern1387 (x4) != 0)
34480 : return NULL;
34481 5551 : x8 = PATTERN (peep2_next_insn (2));
34482 5551 : if (GET_CODE (x8) != SET)
34483 : return NULL;
34484 3512 : x9 = XEXP (x8, 0);
34485 3512 : operands[2] = x9;
34486 3512 : if (!general_reg_operand (operands[2], E_DImode))
34487 : return NULL;
34488 1365 : x10 = XEXP (x8, 1);
34489 1365 : if (!rtx_equal_p (x10, operands[1]))
34490 : return NULL;
34491 85 : x11 = PATTERN (peep2_next_insn (3));
34492 85 : if (GET_CODE (x11) != SET)
34493 : return NULL;
34494 68 : x12 = XEXP (x11, 0);
34495 68 : operands[3] = x12;
34496 68 : if (!general_reg_operand (operands[3], E_DImode))
34497 : return NULL;
34498 68 : x13 = XEXP (x11, 1);
34499 68 : if (!rtx_equal_p (x13, operands[0])
34500 68 : || !insn_condition_3125 (operands, insn))
34501 : return NULL;
34502 0 : *pmatch_len_ = 3;
34503 0 : return gen_peephole2_59 (insn, operands);
34504 :
34505 : default:
34506 : return NULL;
34507 : }
34508 :
34509 8390848 : case SUBREG:
34510 8390848 : case MEM:
34511 8390848 : if (peep2_current_count < 2
34512 8390848 : || peep2_current_count < 3)
34513 : return NULL;
34514 6458828 : switch (GET_MODE (operands[0]))
34515 : {
34516 2020852 : case E_SImode:
34517 2020852 : x4 = PATTERN (peep2_next_insn (1));
34518 2020852 : switch (pattern998 (x4,
34519 : E_SImode))
34520 : {
34521 940 : case 0:
34522 940 : if (!insn_condition_3126 (operands, insn))
34523 : return NULL;
34524 835 : *pmatch_len_ = 3;
34525 835 : return gen_peephole2_55 (insn, operands);
34526 :
34527 981 : case 1:
34528 981 : if (!insn_condition_3127 (operands, insn))
34529 : return NULL;
34530 65 : *pmatch_len_ = 2;
34531 65 : return gen_peephole2_57 (insn, operands);
34532 :
34533 : default:
34534 : return NULL;
34535 : }
34536 :
34537 2372426 : case E_DImode:
34538 2372426 : x4 = PATTERN (peep2_next_insn (1));
34539 2372426 : switch (pattern998 (x4,
34540 : E_DImode))
34541 : {
34542 419 : case 0:
34543 419 : if (!insn_condition_3128 (operands, insn))
34544 : return NULL;
34545 334 : *pmatch_len_ = 3;
34546 334 : return gen_peephole2_56 (insn, operands);
34547 :
34548 439 : case 1:
34549 439 : if (!insn_condition_3129 (operands, insn))
34550 : return NULL;
34551 43 : *pmatch_len_ = 2;
34552 43 : return gen_peephole2_58 (insn, operands);
34553 :
34554 : default:
34555 : return NULL;
34556 : }
34557 :
34558 : default:
34559 : return NULL;
34560 : }
34561 :
34562 : default:
34563 : return NULL;
34564 : }
34565 : }
34566 :
34567 : rtx_insn *
34568 3714681 : peephole2_13 (rtx x1 ATTRIBUTE_UNUSED,
34569 : rtx_insn *insn ATTRIBUTE_UNUSED,
34570 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34571 : {
34572 3714681 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34573 3714681 : rtx x2, x3;
34574 3714681 : rtx_insn *res ATTRIBUTE_UNUSED;
34575 3714681 : x2 = PATTERN (peep2_next_insn (1));
34576 3714681 : if (GET_CODE (x2) != SET)
34577 : return NULL;
34578 2891159 : x3 = XEXP (x2, 0);
34579 2891159 : if (!general_reg_operand (x3, E_SImode))
34580 : return NULL;
34581 1108235 : operands[8] = x3;
34582 1108235 : switch (pattern999 (x1,
34583 : E_SImode,
34584 : E_DImode))
34585 : {
34586 0 : case 0:
34587 0 : if (insn_condition_3160 (operands, insn))
34588 : {
34589 0 : *pmatch_len_ = 3;
34590 0 : res = gen_peephole2_122 (insn, operands);
34591 0 : if (res != NULL_RTX)
34592 : return res;
34593 : }
34594 : break;
34595 :
34596 0 : case 1:
34597 0 : if (insn_condition_3161 (operands, insn))
34598 : {
34599 0 : *pmatch_len_ = 5;
34600 0 : res = gen_peephole2_124 (insn, operands);
34601 0 : if (res != NULL_RTX)
34602 : return res;
34603 : }
34604 : break;
34605 :
34606 : default:
34607 : break;
34608 : }
34609 1108235 : operands[0] = x3;
34610 1108235 : if (pattern1002 (x1,
34611 : E_SImode) != 0
34612 1108235 : || !insn_condition_3142 (operands, insn))
34613 : return NULL;
34614 2 : *pmatch_len_ = 3;
34615 2 : return gen_peephole2_230 (insn, operands);
34616 : }
34617 :
34618 : rtx_insn *
34619 10403506 : peephole2_14 (rtx x1 ATTRIBUTE_UNUSED,
34620 : rtx_insn *insn ATTRIBUTE_UNUSED,
34621 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34622 : {
34623 10403506 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34624 10403506 : rtx x2, x3, x4, x5, x6;
34625 10403506 : rtx_insn *res ATTRIBUTE_UNUSED;
34626 10403506 : x2 = XEXP (x1, 0);
34627 10403506 : operands[0] = x2;
34628 10403506 : res = peephole2_12 (x1, insn, pmatch_len_);
34629 10403506 : if (res != NULL_RTX)
34630 : return res;
34631 10400163 : if (peep2_current_count < 2)
34632 : return NULL;
34633 9611096 : if (peep2_current_count >= 3
34634 : && peep2_current_count >= 4)
34635 : {
34636 6834129 : if (general_reg_operand (x2, E_SImode))
34637 : {
34638 3714681 : res = peephole2_13 (x1, insn, pmatch_len_);
34639 3714681 : if (res != NULL_RTX)
34640 : return res;
34641 : }
34642 6834127 : if (peep2_current_count >= 5
34643 5740321 : && pattern626 (x1,
34644 : E_SImode) == 0
34645 6834784 : && insn_condition_3162 (operands, insn))
34646 : {
34647 150 : *pmatch_len_ = 4;
34648 150 : res = gen_peephole2_246 (insn, operands);
34649 150 : if (res != NULL_RTX)
34650 : return res;
34651 : }
34652 : }
34653 9610944 : operands[3] = x2;
34654 9610944 : if (peep2_current_count >= 3)
34655 : {
34656 8643510 : x3 = XEXP (x1, 1);
34657 8643510 : if (pattern451 (x3,
34658 : E_SImode) == 0
34659 8643510 : && insn_condition_3162 (operands, insn))
34660 : {
34661 62 : *pmatch_len_ = 2;
34662 62 : res = gen_peephole2_248 (insn, operands);
34663 62 : if (res != NULL_RTX)
34664 : return res;
34665 : }
34666 : }
34667 9610882 : if (general_reg_operand (operands[3], E_SImode))
34668 : {
34669 5721862 : x3 = XEXP (x1, 1);
34670 5721862 : switch (pattern452 (x3,
34671 : E_SImode))
34672 : {
34673 0 : case 0:
34674 0 : if (insn_condition_3163 (operands, insn))
34675 : {
34676 0 : *pmatch_len_ = 1;
34677 0 : res = gen_peephole2_264 (insn, operands);
34678 0 : if (res != NULL_RTX)
34679 : return res;
34680 : }
34681 : break;
34682 :
34683 1 : case 1:
34684 1 : if (insn_condition_3164 (operands, insn))
34685 : {
34686 1 : *pmatch_len_ = 1;
34687 1 : res = gen_peephole2_266 (insn, operands);
34688 1 : if (res != NULL_RTX)
34689 : return res;
34690 : }
34691 : break;
34692 :
34693 : default:
34694 : break;
34695 : }
34696 : }
34697 9610881 : x4 = PATTERN (peep2_next_insn (1));
34698 9610881 : if (GET_CODE (x4) != SET)
34699 : return NULL;
34700 7593744 : operands[2] = x2;
34701 7593744 : if (memory_operand (operands[2], E_SImode))
34702 : {
34703 1746226 : x3 = XEXP (x1, 1);
34704 1746226 : operands[0] = x3;
34705 1746226 : if (general_reg_operand (operands[0], E_SImode))
34706 : {
34707 1131089 : x5 = XEXP (x4, 1);
34708 1131089 : if (x5 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
34709 : {
34710 38294 : x6 = XEXP (x4, 0);
34711 38294 : operands[1] = x6;
34712 38294 : if (memory_operand (operands[1], E_SImode)
34713 38294 : && insn_condition_3162 (operands, insn))
34714 : {
34715 929 : *pmatch_len_ = 1;
34716 929 : res = gen_peephole2_250 (insn, operands);
34717 929 : if (res != NULL_RTX)
34718 : return res;
34719 : }
34720 : }
34721 : }
34722 : }
34723 7592815 : operands[0] = x2;
34724 7592815 : if (!general_reg_operand (operands[0], E_SImode))
34725 : return NULL;
34726 4455442 : x3 = XEXP (x1, 1);
34727 4455442 : operands[1] = x3;
34728 4455442 : if (!x86_64_general_operand (operands[1], E_SImode))
34729 : return NULL;
34730 3137864 : x6 = XEXP (x4, 0);
34731 3137864 : operands[2] = x6;
34732 3137864 : if (!general_reg_operand (operands[2], E_SImode))
34733 : return NULL;
34734 1054770 : x5 = XEXP (x4, 1);
34735 1054770 : if (!rtx_equal_p (x5, operands[0])
34736 1111802 : || !insn_condition_3143 (operands, insn))
34737 : return NULL;
34738 5233 : *pmatch_len_ = 1;
34739 5233 : return gen_peephole2_254 (insn, operands);
34740 : }
34741 :
34742 : rtx_insn *
34743 19178099 : peephole2_18 (rtx x1 ATTRIBUTE_UNUSED,
34744 : rtx_insn *insn ATTRIBUTE_UNUSED,
34745 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34746 : {
34747 19178099 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34748 19178099 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34749 19178099 : rtx x10, x11, x12, x13, x14, x15, x16;
34750 19178099 : rtx_insn *res ATTRIBUTE_UNUSED;
34751 19178099 : x2 = XEXP (x1, 0);
34752 19178099 : operands[0] = x2;
34753 19178099 : res = peephole2_16 (x1, insn, pmatch_len_);
34754 19178099 : if (res != NULL_RTX)
34755 : return res;
34756 19163938 : if (peep2_current_count >= 2)
34757 : {
34758 16927092 : if (peep2_current_count >= 3
34759 : && peep2_current_count >= 4)
34760 : {
34761 12116029 : if (general_reg_operand (x2, E_DImode))
34762 : {
34763 9076796 : res = peephole2_17 (x1, insn, pmatch_len_);
34764 9076796 : if (res != NULL_RTX)
34765 : return res;
34766 : }
34767 12116027 : if (peep2_current_count >= 5
34768 9792042 : && pattern626 (x1,
34769 : E_DImode) == 0
34770 12117386 : && insn_condition_3180 (operands, insn))
34771 : {
34772 872 : *pmatch_len_ = 4;
34773 872 : res = gen_peephole2_247 (insn, operands);
34774 872 : if (res != NULL_RTX)
34775 : return res;
34776 : }
34777 : }
34778 16926218 : operands[3] = x2;
34779 16926218 : if (peep2_current_count >= 3)
34780 : {
34781 14773014 : x3 = XEXP (x1, 1);
34782 14773014 : if (pattern451 (x3,
34783 : E_DImode) == 0
34784 14773014 : && insn_condition_3180 (operands, insn))
34785 : {
34786 301 : *pmatch_len_ = 2;
34787 301 : res = gen_peephole2_249 (insn, operands);
34788 301 : if (res != NULL_RTX)
34789 : return res;
34790 : }
34791 : }
34792 16925917 : if (general_reg_operand (operands[3], E_DImode))
34793 : {
34794 13238185 : x3 = XEXP (x1, 1);
34795 13238185 : switch (pattern452 (x3,
34796 : E_DImode))
34797 : {
34798 0 : case 0:
34799 0 : if (insn_condition_3181 (operands, insn))
34800 : {
34801 0 : *pmatch_len_ = 1;
34802 0 : res = gen_peephole2_265 (insn, operands);
34803 0 : if (res != NULL_RTX)
34804 : return res;
34805 : }
34806 : break;
34807 :
34808 29 : case 1:
34809 29 : if (insn_condition_3182 (operands, insn))
34810 : {
34811 28 : *pmatch_len_ = 1;
34812 28 : res = gen_peephole2_267 (insn, operands);
34813 28 : if (res != NULL_RTX)
34814 : return res;
34815 : }
34816 : break;
34817 :
34818 : default:
34819 : break;
34820 : }
34821 : }
34822 16925889 : operands[2] = x2;
34823 16925889 : if (memory_operand (operands[2], E_DImode))
34824 : {
34825 3339422 : x3 = XEXP (x1, 1);
34826 3339422 : operands[0] = x3;
34827 3339422 : if (general_reg_operand (operands[0], E_DImode))
34828 : {
34829 2296977 : x4 = PATTERN (peep2_next_insn (1));
34830 2296977 : if (GET_CODE (x4) == SET)
34831 : {
34832 2151719 : x5 = XEXP (x4, 1);
34833 2151719 : if (x5 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
34834 : {
34835 97290 : x6 = XEXP (x4, 0);
34836 97290 : operands[1] = x6;
34837 97290 : if (memory_operand (operands[1], E_DImode)
34838 97290 : && insn_condition_3180 (operands, insn))
34839 : {
34840 1210 : *pmatch_len_ = 1;
34841 1210 : res = gen_peephole2_251 (insn, operands);
34842 1210 : if (res != NULL_RTX)
34843 : return res;
34844 : }
34845 : }
34846 : }
34847 : }
34848 : }
34849 : }
34850 19161525 : operands[0] = x2;
34851 19161525 : if (peep2_current_count >= 2
34852 19161525 : && general_reg_operand (operands[0], E_DImode))
34853 : {
34854 13238157 : x3 = XEXP (x1, 1);
34855 13238157 : operands[1] = x3;
34856 13238157 : if (x86_64_general_operand (operands[1], E_DImode))
34857 : {
34858 9477073 : x4 = PATTERN (peep2_next_insn (1));
34859 9477073 : if (GET_CODE (x4) == SET)
34860 : {
34861 7660233 : x6 = XEXP (x4, 0);
34862 7660233 : operands[2] = x6;
34863 7660233 : if (general_reg_operand (operands[2], E_DImode))
34864 : {
34865 4580759 : x5 = XEXP (x4, 1);
34866 4580759 : if (rtx_equal_p (x5, operands[0])
34867 4580759 : && insn_condition_3183 (operands, insn))
34868 : {
34869 17291 : *pmatch_len_ = 1;
34870 17291 : res = gen_peephole2_255 (insn, operands);
34871 17291 : if (res != NULL_RTX)
34872 : return res;
34873 : }
34874 : }
34875 : }
34876 : }
34877 : }
34878 19144234 : x3 = XEXP (x1, 1);
34879 19144234 : operands[1] = x3;
34880 19144234 : if (!memory_operand (operands[1], E_DImode))
34881 : return NULL;
34882 3746343 : if (push_operand (operands[0], E_DImode)
34883 3746343 : && insn_condition_3184 (operands, insn))
34884 : {
34885 0 : *pmatch_len_ = 0;
34886 0 : res = gen_peephole2_279 (insn, operands);
34887 0 : if (res != NULL_RTX)
34888 : return res;
34889 : }
34890 3746343 : if (peep2_current_count < 2
34891 3746343 : || peep2_current_count < 3
34892 3746343 : || !register_operand (operands[0], E_DImode))
34893 : return NULL;
34894 3019201 : x4 = PATTERN (peep2_next_insn (1));
34895 3019201 : switch (GET_CODE (x4))
34896 : {
34897 247325 : case PARALLEL:
34898 247325 : if (XVECLEN (x4, 0) != 2)
34899 : return NULL;
34900 244361 : x7 = XVECEXP (x4, 0, 0);
34901 244361 : if (GET_CODE (x7) != SET)
34902 : return NULL;
34903 244186 : x8 = XEXP (x7, 1);
34904 244186 : if (GET_CODE (x8) != COMPARE
34905 244186 : || pattern1295 (x4,
34906 : E_DImode) != 0)
34907 : return NULL;
34908 3738 : x9 = XEXP (x8, 0);
34909 3738 : x10 = XEXP (x9, 0);
34910 3738 : if (!rtx_equal_p (x10, operands[0]))
34911 : return NULL;
34912 2827 : x11 = XVECEXP (x4, 0, 1);
34913 2827 : x12 = XEXP (x11, 1);
34914 2827 : if (!rtx_equal_p (x12, operands[3]))
34915 : return NULL;
34916 2827 : x13 = XEXP (x11, 0);
34917 2827 : if (!rtx_equal_p (x13, operands[0]))
34918 : return NULL;
34919 2825 : x14 = PATTERN (peep2_next_insn (2));
34920 2825 : if (GET_CODE (x14) != SET)
34921 : return NULL;
34922 2825 : x15 = XEXP (x14, 1);
34923 2825 : if (!rtx_equal_p (x15, operands[0]))
34924 : return NULL;
34925 314 : x16 = XEXP (x14, 0);
34926 314 : if (rtx_equal_p (x16, operands[1])
34927 314 : && insn_condition_3185 (operands, insn))
34928 : {
34929 96 : *pmatch_len_ = 2;
34930 96 : res = gen_peephole2_325 (insn, operands);
34931 96 : if (res != NULL_RTX)
34932 : return res;
34933 : }
34934 218 : if (peep2_current_count < 4
34935 218 : || pattern1875 (x16,
34936 : E_DImode) != 0
34937 218 : || !insn_condition_3186 (operands, insn))
34938 : return NULL;
34939 0 : *pmatch_len_ = 3;
34940 0 : return gen_peephole2_357 (insn, operands);
34941 :
34942 2712201 : case SET:
34943 2712201 : if (pattern890 (x4,
34944 : E_DImode) != 0
34945 2712201 : || !insn_condition_3187 (operands, insn))
34946 : return NULL;
34947 2 : *pmatch_len_ = 4;
34948 2 : return gen_peephole2_361 (insn, operands);
34949 :
34950 : default:
34951 : return NULL;
34952 : }
34953 : }
34954 :
34955 : rtx_insn *
34956 5121072 : peephole2_29 (rtx x1 ATTRIBUTE_UNUSED,
34957 : rtx_insn *insn ATTRIBUTE_UNUSED,
34958 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34959 : {
34960 5121072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34961 5121072 : rtx x2, x3, x4, x5, x6, x7;
34962 5121072 : rtx_insn *res ATTRIBUTE_UNUSED;
34963 5121072 : x2 = XEXP (x1, 1);
34964 5121072 : x3 = XEXP (x2, 0);
34965 5121072 : switch (GET_CODE (x3))
34966 : {
34967 5121016 : case NE:
34968 5121016 : case EQ:
34969 5121016 : case GE:
34970 5121016 : case GT:
34971 5121016 : case LE:
34972 5121016 : case LT:
34973 5121016 : case LTGT:
34974 5121016 : case GEU:
34975 5121016 : case GTU:
34976 5121016 : case LEU:
34977 5121016 : case LTU:
34978 5121016 : case UNORDERED:
34979 5121016 : case ORDERED:
34980 5121016 : case UNEQ:
34981 5121016 : case UNGE:
34982 5121016 : case UNGT:
34983 5121016 : case UNLE:
34984 5121016 : case UNLT:
34985 5121016 : operands[1] = x3;
34986 5121016 : switch (pattern285 (x1))
34987 : {
34988 296985 : case 0:
34989 296985 : switch (GET_MODE (operands[0]))
34990 : {
34991 699 : case E_HImode:
34992 699 : if (pattern1237 (x2,
34993 : E_HImode) != 0
34994 699 : || !insn_condition_3217 (operands, insn))
34995 : return NULL;
34996 0 : *pmatch_len_ = 0;
34997 0 : return gen_peephole2_222 (insn, operands);
34998 :
34999 117310 : case E_SImode:
35000 117310 : if (pattern1237 (x2,
35001 : E_SImode) != 0
35002 117310 : || !insn_condition_3217 (operands, insn))
35003 : return NULL;
35004 0 : *pmatch_len_ = 0;
35005 0 : return gen_peephole2_223 (insn, operands);
35006 :
35007 170810 : case E_DImode:
35008 170810 : if (pattern1237 (x2,
35009 : E_DImode) != 0
35010 170810 : || !insn_condition_3218 (operands, insn))
35011 : return NULL;
35012 0 : *pmatch_len_ = 0;
35013 0 : return gen_peephole2_224 (insn, operands);
35014 :
35015 209 : case E_SFmode:
35016 209 : if (!general_reg_operand (operands[0], E_SFmode)
35017 110 : || pattern1297 (x2,
35018 : E_SFmode) != 0
35019 319 : || !insn_condition_3219 (operands, insn))
35020 : return NULL;
35021 0 : *pmatch_len_ = 0;
35022 0 : return gen_peephole2_232 (insn, operands);
35023 :
35024 602 : case E_DFmode:
35025 602 : if (!general_reg_operand (operands[0], E_DFmode)
35026 298 : || pattern1297 (x2,
35027 : E_DFmode) != 0
35028 900 : || !insn_condition_3220 (operands, insn))
35029 : return NULL;
35030 0 : *pmatch_len_ = 0;
35031 0 : return gen_peephole2_233 (insn, operands);
35032 :
35033 : default:
35034 : return NULL;
35035 : }
35036 :
35037 0 : case 1:
35038 0 : if (!register_operand (operands[0], E_DImode)
35039 0 : || GET_MODE (x2) != E_DImode
35040 0 : || !ix86_comparison_operator (operands[1], E_VOIDmode))
35041 : return NULL;
35042 0 : x4 = XEXP (x2, 1);
35043 0 : x5 = XEXP (x4, 0);
35044 0 : operands[2] = x5;
35045 0 : if (!nonimmediate_operand (operands[2], E_SImode))
35046 : return NULL;
35047 0 : x6 = XEXP (x2, 2);
35048 0 : x7 = XEXP (x6, 0);
35049 0 : operands[3] = x7;
35050 0 : if (!nonimmediate_operand (operands[3], E_SImode)
35051 0 : || !insn_condition_3221 (operands, insn))
35052 : return NULL;
35053 0 : *pmatch_len_ = 0;
35054 0 : return gen_peephole2_225 (insn, operands);
35055 :
35056 : default:
35057 : return NULL;
35058 : }
35059 :
35060 : default:
35061 : return NULL;
35062 : }
35063 : }
35064 :
35065 : rtx_insn *
35066 38688676 : peephole2_35 (rtx x1 ATTRIBUTE_UNUSED,
35067 : rtx_insn *insn ATTRIBUTE_UNUSED,
35068 : int *pmatch_len_ ATTRIBUTE_UNUSED)
35069 : {
35070 38688676 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
35071 38688676 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
35072 38688676 : rtx x10, x11, x12;
35073 38688676 : rtx_insn *res ATTRIBUTE_UNUSED;
35074 38688676 : if (peep2_current_count < 3)
35075 : return NULL;
35076 30636361 : x2 = XEXP (x1, 0);
35077 30636361 : operands[0] = x2;
35078 30636361 : if (!register_operand (operands[0], E_QImode))
35079 : return NULL;
35080 750944 : x3 = PATTERN (peep2_next_insn (1));
35081 750944 : if (pattern454 (x3,
35082 : UNSPEC_VOLATILE,
35083 : 3) != 0)
35084 : return NULL;
35085 2074 : x4 = XVECEXP (x3, 0, 0);
35086 2074 : x5 = XEXP (x4, 1);
35087 2074 : if (XVECLEN (x5, 0) == 4
35088 1260 : && XINT (x5, 1) == 125
35089 1260 : && GET_MODE (x5) == E_QImode)
35090 : {
35091 1260 : res = peephole2_34 (x1, insn, pmatch_len_);
35092 1260 : if (res != NULL_RTX)
35093 : return res;
35094 : }
35095 2028 : if (XVECLEN (x5, 0) != 2
35096 814 : || XINT (x5, 1) != 126
35097 814 : || GET_MODE (x5) != E_QImode)
35098 : return NULL;
35099 814 : x6 = XEXP (x1, 1);
35100 814 : operands[2] = x6;
35101 814 : if (!const_int_operand (operands[2], E_QImode))
35102 : return NULL;
35103 738 : x7 = XVECEXP (x3, 0, 1);
35104 738 : if (GET_CODE (x7) != SET)
35105 : return NULL;
35106 738 : x8 = XEXP (x7, 1);
35107 738 : if (GET_CODE (x8) != PLUS
35108 738 : || GET_MODE (x8) != E_QImode
35109 738 : || pattern1552 (x3) != 0
35110 738 : || !memory_operand (operands[1], E_QImode)
35111 1476 : || pattern1753 (x3) != 0)
35112 : return NULL;
35113 616 : x9 = PATTERN (peep2_next_insn (2));
35114 616 : x10 = XEXP (x9, 1);
35115 616 : x11 = XEXP (x10, 1);
35116 616 : operands[3] = x11;
35117 616 : if (!const_int_operand (operands[3], E_QImode))
35118 : return NULL;
35119 616 : x12 = XEXP (x10, 0);
35120 616 : if (!rtx_equal_p (x12, operands[0])
35121 616 : || !insn_condition_3230 (operands, insn))
35122 : return NULL;
35123 0 : *pmatch_len_ = 2;
35124 0 : return gen_peephole2_450 (insn, operands);
35125 : }
35126 :
35127 : rtx_insn *
35128 2850630 : peephole2_41 (rtx x1 ATTRIBUTE_UNUSED,
35129 : rtx_insn *insn ATTRIBUTE_UNUSED,
35130 : int *pmatch_len_ ATTRIBUTE_UNUSED)
35131 : {
35132 2850630 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
35133 2850630 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
35134 2850630 : rtx x10, x11, x12, x13, x14, x15, x16;
35135 2850630 : rtx_insn *res ATTRIBUTE_UNUSED;
35136 2850630 : if (peep2_current_count < 2)
35137 : return NULL;
35138 2604185 : x2 = XVECEXP (x1, 0, 1);
35139 2604185 : if (GET_CODE (x2) != CLOBBER)
35140 : return NULL;
35141 2604146 : x3 = XEXP (x2, 0);
35142 2604146 : if (GET_CODE (x3) != REG
35143 2604146 : || REGNO (x3) != 17)
35144 : return NULL;
35145 2551486 : x4 = XVECEXP (x1, 0, 0);
35146 2551486 : x5 = XEXP (x4, 0);
35147 2551486 : operands[0] = x5;
35148 2551486 : x6 = XEXP (x4, 1);
35149 2551486 : x7 = XEXP (x6, 0);
35150 2551486 : if (!rtx_equal_p (x7, operands[0]))
35151 : return NULL;
35152 2504469 : x8 = XEXP (x6, 1);
35153 2504469 : switch (GET_CODE (x8))
35154 : {
35155 430464 : case REG:
35156 430464 : case SUBREG:
35157 430464 : operands[1] = x8;
35158 430464 : if (!register_operand (operands[1], E_VOIDmode)
35159 430464 : || GET_MODE (x3) != E_CCmode)
35160 : return NULL;
35161 430464 : switch (GET_MODE (operands[0]))
35162 : {
35163 124776 : case E_SImode:
35164 124776 : switch (pattern1553 (x6,
35165 : E_SImode))
35166 : {
35167 118 : case 0:
35168 118 : x9 = PATTERN (peep2_next_insn (1));
35169 118 : x10 = XVECEXP (x9, 0, 0);
35170 118 : x11 = XEXP (x10, 0);
35171 118 : if (rtx_equal_p (x11, operands[0])
35172 118 : && insn_condition_3267 (operands, insn))
35173 : {
35174 117 : *pmatch_len_ = 1;
35175 117 : res = gen_peephole2_68 (insn, operands);
35176 117 : if (res != NULL_RTX)
35177 : return res;
35178 : }
35179 1 : operands[3] = x11;
35180 1 : if (!register_operand (operands[3], E_SImode)
35181 1 : || !insn_condition_3268 (operands, insn))
35182 : return NULL;
35183 0 : *pmatch_len_ = 1;
35184 0 : return gen_peephole2_72 (insn, operands);
35185 :
35186 510 : case 1:
35187 510 : x9 = PATTERN (peep2_next_insn (1));
35188 510 : x12 = XEXP (x9, 0);
35189 510 : if (rtx_equal_p (x12, operands[0])
35190 510 : && insn_condition_3267 (operands, insn))
35191 : {
35192 0 : *pmatch_len_ = 1;
35193 0 : res = gen_peephole2_70 (insn, operands);
35194 0 : if (res != NULL_RTX)
35195 : return res;
35196 : }
35197 510 : operands[3] = x12;
35198 510 : if (!register_operand (operands[3], E_SImode)
35199 510 : || !insn_condition_3268 (operands, insn))
35200 : return NULL;
35201 8 : *pmatch_len_ = 1;
35202 8 : return gen_peephole2_74 (insn, operands);
35203 :
35204 : default:
35205 : return NULL;
35206 : }
35207 :
35208 301260 : case E_DImode:
35209 301260 : switch (pattern1553 (x6,
35210 : E_DImode))
35211 : {
35212 196 : case 0:
35213 196 : x9 = PATTERN (peep2_next_insn (1));
35214 196 : x10 = XVECEXP (x9, 0, 0);
35215 196 : x11 = XEXP (x10, 0);
35216 196 : if (rtx_equal_p (x11, operands[0])
35217 196 : && insn_condition_3269 (operands, insn))
35218 : {
35219 196 : *pmatch_len_ = 1;
35220 196 : res = gen_peephole2_69 (insn, operands);
35221 196 : if (res != NULL_RTX)
35222 : return res;
35223 : }
35224 0 : operands[3] = x11;
35225 0 : if (!register_operand (operands[3], E_DImode)
35226 0 : || !insn_condition_3270 (operands, insn))
35227 : return NULL;
35228 0 : *pmatch_len_ = 1;
35229 0 : return gen_peephole2_73 (insn, operands);
35230 :
35231 1089 : case 1:
35232 1089 : x9 = PATTERN (peep2_next_insn (1));
35233 1089 : x12 = XEXP (x9, 0);
35234 1089 : if (rtx_equal_p (x12, operands[0])
35235 1089 : && insn_condition_3269 (operands, insn))
35236 : {
35237 0 : *pmatch_len_ = 1;
35238 0 : res = gen_peephole2_71 (insn, operands);
35239 0 : if (res != NULL_RTX)
35240 : return res;
35241 : }
35242 1089 : operands[3] = x12;
35243 1089 : if (!register_operand (operands[3], E_DImode)
35244 1089 : || !insn_condition_3270 (operands, insn))
35245 : return NULL;
35246 21 : *pmatch_len_ = 1;
35247 21 : return gen_peephole2_75 (insn, operands);
35248 :
35249 : default:
35250 : return NULL;
35251 : }
35252 :
35253 : default:
35254 : return NULL;
35255 : }
35256 :
35257 1990742 : case CONST_INT:
35258 1990742 : if (peep2_current_count < 3
35259 1821739 : || XWINT (x8, 0) != -1L)
35260 : return NULL;
35261 43195 : x9 = PATTERN (peep2_next_insn (1));
35262 43195 : if (pattern1293 (x9,
35263 : -1) != 0)
35264 : return NULL;
35265 778 : x13 = PATTERN (peep2_next_insn (2));
35266 778 : x14 = XEXP (x13, 1);
35267 778 : x15 = XEXP (x14, 0);
35268 778 : operands[1] = x15;
35269 778 : if (pattern1847 (x13) != 0)
35270 : return NULL;
35271 778 : x16 = XEXP (x14, 1);
35272 778 : operands[2] = x16;
35273 778 : switch (GET_MODE (operands[0]))
35274 : {
35275 0 : case E_QImode:
35276 0 : if (!general_reg_operand (operands[0], E_QImode)
35277 0 : || GET_MODE (x6) != E_QImode
35278 0 : || !insn_condition_3095 (operands, insn))
35279 : return NULL;
35280 0 : *pmatch_len_ = 2;
35281 0 : return gen_peephole2_88 (insn, operands);
35282 :
35283 0 : case E_HImode:
35284 0 : if (!general_reg_operand (operands[0], E_HImode)
35285 0 : || GET_MODE (x6) != E_HImode
35286 0 : || !insn_condition_3095 (operands, insn))
35287 : return NULL;
35288 0 : *pmatch_len_ = 2;
35289 0 : return gen_peephole2_89 (insn, operands);
35290 :
35291 208 : case E_SImode:
35292 208 : if (!general_reg_operand (operands[0], E_SImode)
35293 208 : || GET_MODE (x6) != E_SImode
35294 416 : || !insn_condition_3095 (operands, insn))
35295 : return NULL;
35296 208 : *pmatch_len_ = 2;
35297 208 : return gen_peephole2_90 (insn, operands);
35298 :
35299 570 : case E_DImode:
35300 570 : if (!general_reg_operand (operands[0], E_DImode)
35301 570 : || GET_MODE (x6) != E_DImode
35302 1140 : || !insn_condition_3271 (operands, insn))
35303 : return NULL;
35304 570 : *pmatch_len_ = 2;
35305 570 : return gen_peephole2_91 (insn, operands);
35306 :
35307 : default:
35308 : return NULL;
35309 : }
35310 :
35311 : default:
35312 : return NULL;
35313 : }
35314 : }
35315 :
35316 : rtx_insn *
35317 6073249 : peephole2_47 (rtx x1 ATTRIBUTE_UNUSED,
35318 : rtx_insn *insn ATTRIBUTE_UNUSED,
35319 : int *pmatch_len_ ATTRIBUTE_UNUSED)
35320 : {
35321 6073249 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
35322 6073249 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
35323 6073249 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
35324 6073249 : rtx_insn *res ATTRIBUTE_UNUSED;
35325 6073249 : if (peep2_current_count < 3)
35326 : return NULL;
35327 5172610 : x2 = XVECEXP (x1, 0, 0);
35328 5172610 : x3 = XEXP (x2, 0);
35329 5172610 : operands[5] = x3;
35330 5172610 : if (!flags_reg_operand (operands[5], E_VOIDmode))
35331 : return NULL;
35332 134078 : x4 = XEXP (x2, 1);
35333 134078 : operands[0] = x4;
35334 134078 : x5 = XVECEXP (x1, 0, 1);
35335 134078 : operands[4] = x5;
35336 134078 : x6 = PATTERN (peep2_next_insn (1));
35337 134078 : if (GET_CODE (x6) != SET)
35338 : return NULL;
35339 86758 : x7 = XEXP (x6, 1);
35340 86758 : if (!ix86_comparison_operator (x7, E_QImode))
35341 : return NULL;
35342 19308 : operands[2] = x7;
35343 19308 : x8 = XEXP (x7, 0);
35344 19308 : if (GET_CODE (x8) != REG
35345 19308 : || REGNO (x8) != 17)
35346 : return NULL;
35347 19308 : x9 = XEXP (x7, 1);
35348 19308 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
35349 : return NULL;
35350 19308 : x10 = XEXP (x6, 0);
35351 19308 : operands[1] = x10;
35352 19308 : if (!register_operand (operands[1], E_QImode))
35353 : return NULL;
35354 14082 : x11 = PATTERN (peep2_next_insn (2));
35355 14082 : switch (GET_CODE (x11))
35356 : {
35357 11585 : case SET:
35358 11585 : x12 = XEXP (x11, 1);
35359 11585 : if (GET_CODE (x12) != ZERO_EXTEND)
35360 : return NULL;
35361 7151 : x13 = XEXP (x11, 0);
35362 7151 : operands[3] = x13;
35363 7151 : if (!any_QIreg_operand (operands[3], E_VOIDmode))
35364 : return NULL;
35365 7151 : x14 = XEXP (x12, 0);
35366 7151 : if (!rtx_equal_p (x14, operands[1])
35367 7151 : || !insn_condition_3287 (operands, insn))
35368 : return NULL;
35369 4558 : *pmatch_len_ = 2;
35370 4558 : return gen_peephole2_196 (insn, operands);
35371 :
35372 2029 : case PARALLEL:
35373 2029 : if (XVECLEN (x11, 0) != 2)
35374 : return NULL;
35375 2029 : x15 = XVECEXP (x11, 0, 0);
35376 2029 : if (GET_CODE (x15) != SET)
35377 : return NULL;
35378 2029 : x16 = XEXP (x15, 1);
35379 2029 : if (GET_CODE (x16) != ZERO_EXTEND
35380 2029 : || pattern1793 (x11,
35381 : E_VOIDmode) != 0)
35382 : return NULL;
35383 6 : x17 = XEXP (x16, 0);
35384 6 : if (!rtx_equal_p (x17, operands[1])
35385 6 : || !insn_condition_3287 (operands, insn))
35386 : return NULL;
35387 0 : *pmatch_len_ = 2;
35388 0 : return gen_peephole2_199 (insn, operands);
35389 :
35390 : default:
35391 : return NULL;
35392 : }
35393 : }
35394 :
35395 : rtx_insn *
35396 4531859 : peephole2_49 (rtx x1 ATTRIBUTE_UNUSED,
35397 : rtx_insn *insn ATTRIBUTE_UNUSED,
35398 : int *pmatch_len_ ATTRIBUTE_UNUSED)
35399 : {
35400 4531859 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
35401 4531859 : rtx x2, x3, x4, x5, x6, x7;
35402 4531859 : rtx_insn *res ATTRIBUTE_UNUSED;
35403 4531859 : x2 = XVECEXP (x1, 0, 0);
35404 4531859 : x3 = XEXP (x2, 1);
35405 4531859 : if (GET_CODE (x3) == PLUS)
35406 : {
35407 2849471 : res = peephole2_48 (x1, insn, pmatch_len_);
35408 2849471 : if (res != NULL_RTX)
35409 : return res;
35410 : }
35411 4443600 : x4 = XVECEXP (x1, 0, 1);
35412 4443600 : x5 = XEXP (x4, 0);
35413 4443600 : if (GET_CODE (x5) != REG
35414 4443590 : || REGNO (x5) != 17
35415 8832069 : || GET_MODE (x5) != E_CCmode)
35416 : return NULL;
35417 4388469 : operands[3] = x3;
35418 4388469 : switch (GET_MODE (operands[0]))
35419 : {
35420 39708 : case E_QImode:
35421 39708 : if (!arith_or_logical_operator (operands[3], E_QImode))
35422 : return NULL;
35423 39708 : if (register_operand (operands[0], E_QImode))
35424 : {
35425 28136 : x6 = XEXP (x3, 1);
35426 28136 : operands[1] = x6;
35427 28136 : if (memory_operand (operands[1], E_QImode))
35428 : {
35429 16753 : x7 = XEXP (x3, 0);
35430 16753 : if (rtx_equal_p (x7, operands[0])
35431 16753 : && insn_condition_3290 (operands, insn))
35432 : {
35433 0 : *pmatch_len_ = 0;
35434 0 : res = gen_peephole2_296 (insn, operands);
35435 0 : if (res != NULL_RTX)
35436 : return res;
35437 : }
35438 : }
35439 28136 : x7 = XEXP (x3, 0);
35440 28136 : operands[1] = x7;
35441 28136 : if (memory_operand (operands[1], E_QImode)
35442 52 : && rtx_equal_p (x6, operands[0])
35443 28136 : && insn_condition_3290 (operands, insn))
35444 : {
35445 0 : *pmatch_len_ = 0;
35446 0 : res = gen_peephole2_300 (insn, operands);
35447 0 : if (res != NULL_RTX)
35448 : return res;
35449 : }
35450 : }
35451 39708 : if (!memory_operand (operands[0], E_QImode))
35452 : return NULL;
35453 11572 : x6 = XEXP (x3, 1);
35454 11572 : operands[1] = x6;
35455 11572 : if (nonmemory_operand (operands[1], E_QImode))
35456 : {
35457 11561 : x7 = XEXP (x3, 0);
35458 11561 : if (rtx_equal_p (x7, operands[0])
35459 11561 : && insn_condition_3291 (operands, insn))
35460 : {
35461 0 : *pmatch_len_ = 0;
35462 0 : res = gen_peephole2_310 (insn, operands);
35463 0 : if (res != NULL_RTX)
35464 : return res;
35465 : }
35466 : }
35467 11572 : x7 = XEXP (x3, 0);
35468 11572 : operands[1] = x7;
35469 11572 : if (!nonmemory_operand (operands[1], E_QImode)
35470 0 : || !rtx_equal_p (x6, operands[0])
35471 11572 : || !insn_condition_3291 (operands, insn))
35472 : return NULL;
35473 0 : *pmatch_len_ = 0;
35474 0 : return gen_peephole2_314 (insn, operands);
35475 :
35476 25743 : case E_HImode:
35477 25743 : if (!arith_or_logical_operator (operands[3], E_HImode))
35478 : return NULL;
35479 25743 : if (register_operand (operands[0], E_HImode))
35480 : {
35481 20206 : x6 = XEXP (x3, 1);
35482 20206 : operands[1] = x6;
35483 20206 : if (memory_operand (operands[1], E_HImode))
35484 : {
35485 2818 : x7 = XEXP (x3, 0);
35486 2818 : if (rtx_equal_p (x7, operands[0])
35487 2818 : && insn_condition_3290 (operands, insn))
35488 : {
35489 0 : *pmatch_len_ = 0;
35490 0 : res = gen_peephole2_297 (insn, operands);
35491 0 : if (res != NULL_RTX)
35492 : return res;
35493 : }
35494 : }
35495 20206 : x7 = XEXP (x3, 0);
35496 20206 : operands[1] = x7;
35497 20206 : if (memory_operand (operands[1], E_HImode)
35498 54 : && rtx_equal_p (x6, operands[0])
35499 20206 : && insn_condition_3290 (operands, insn))
35500 : {
35501 0 : *pmatch_len_ = 0;
35502 0 : res = gen_peephole2_301 (insn, operands);
35503 0 : if (res != NULL_RTX)
35504 : return res;
35505 : }
35506 : }
35507 25743 : if (!memory_operand (operands[0], E_HImode))
35508 : return NULL;
35509 5534 : x6 = XEXP (x3, 1);
35510 5534 : operands[1] = x6;
35511 5534 : if (nonmemory_operand (operands[1], E_HImode))
35512 : {
35513 5534 : x7 = XEXP (x3, 0);
35514 5534 : if (rtx_equal_p (x7, operands[0])
35515 5534 : && insn_condition_3291 (operands, insn))
35516 : {
35517 0 : *pmatch_len_ = 0;
35518 0 : res = gen_peephole2_311 (insn, operands);
35519 0 : if (res != NULL_RTX)
35520 : return res;
35521 : }
35522 : }
35523 5534 : x7 = XEXP (x3, 0);
35524 5534 : operands[1] = x7;
35525 5534 : if (!nonmemory_operand (operands[1], E_HImode)
35526 0 : || !rtx_equal_p (x6, operands[0])
35527 5534 : || !insn_condition_3291 (operands, insn))
35528 : return NULL;
35529 0 : *pmatch_len_ = 0;
35530 0 : return gen_peephole2_315 (insn, operands);
35531 :
35532 1986683 : case E_SImode:
35533 1986683 : if (!arith_or_logical_operator (operands[3], E_SImode))
35534 : return NULL;
35535 1986683 : if (register_operand (operands[0], E_SImode))
35536 : {
35537 1922503 : x6 = XEXP (x3, 1);
35538 1922503 : operands[1] = x6;
35539 1922503 : if (memory_operand (operands[1], E_SImode))
35540 : {
35541 87498 : x7 = XEXP (x3, 0);
35542 87498 : if (rtx_equal_p (x7, operands[0])
35543 87498 : && insn_condition_3290 (operands, insn))
35544 : {
35545 0 : *pmatch_len_ = 0;
35546 0 : res = gen_peephole2_298 (insn, operands);
35547 0 : if (res != NULL_RTX)
35548 : return res;
35549 : }
35550 : }
35551 1922503 : x7 = XEXP (x3, 0);
35552 1922503 : operands[1] = x7;
35553 1922503 : if (memory_operand (operands[1], E_SImode)
35554 2270 : && rtx_equal_p (x6, operands[0])
35555 1922503 : && insn_condition_3290 (operands, insn))
35556 : {
35557 0 : *pmatch_len_ = 0;
35558 0 : res = gen_peephole2_302 (insn, operands);
35559 0 : if (res != NULL_RTX)
35560 : return res;
35561 : }
35562 : }
35563 1986683 : if (!memory_operand (operands[0], E_SImode))
35564 : return NULL;
35565 64174 : x6 = XEXP (x3, 1);
35566 64174 : operands[1] = x6;
35567 64174 : if (x86_64_nonmemory_operand (operands[1], E_SImode))
35568 : {
35569 64043 : x7 = XEXP (x3, 0);
35570 64043 : if (rtx_equal_p (x7, operands[0])
35571 64043 : && insn_condition_3291 (operands, insn))
35572 : {
35573 0 : *pmatch_len_ = 0;
35574 0 : res = gen_peephole2_312 (insn, operands);
35575 0 : if (res != NULL_RTX)
35576 : return res;
35577 : }
35578 : }
35579 64174 : x7 = XEXP (x3, 0);
35580 64174 : operands[1] = x7;
35581 64174 : if (!x86_64_nonmemory_operand (operands[1], E_SImode)
35582 0 : || !rtx_equal_p (x6, operands[0])
35583 64174 : || !insn_condition_3291 (operands, insn))
35584 : return NULL;
35585 0 : *pmatch_len_ = 0;
35586 0 : return gen_peephole2_316 (insn, operands);
35587 :
35588 2325812 : case E_DImode:
35589 2325812 : if (!arith_or_logical_operator (operands[3], E_DImode))
35590 : return NULL;
35591 2325812 : if (register_operand (operands[0], E_DImode))
35592 : {
35593 2289711 : x6 = XEXP (x3, 1);
35594 2289711 : operands[1] = x6;
35595 2289711 : if (memory_operand (operands[1], E_DImode))
35596 : {
35597 145498 : x7 = XEXP (x3, 0);
35598 145498 : if (rtx_equal_p (x7, operands[0])
35599 145498 : && insn_condition_3292 (operands, insn))
35600 : {
35601 0 : *pmatch_len_ = 0;
35602 0 : res = gen_peephole2_299 (insn, operands);
35603 0 : if (res != NULL_RTX)
35604 : return res;
35605 : }
35606 : }
35607 2289711 : x7 = XEXP (x3, 0);
35608 2289711 : operands[1] = x7;
35609 2289711 : if (memory_operand (operands[1], E_DImode)
35610 897 : && rtx_equal_p (x6, operands[0])
35611 2289711 : && insn_condition_3292 (operands, insn))
35612 : {
35613 0 : *pmatch_len_ = 0;
35614 0 : res = gen_peephole2_303 (insn, operands);
35615 0 : if (res != NULL_RTX)
35616 : return res;
35617 : }
35618 : }
35619 2325812 : if (!memory_operand (operands[0], E_DImode))
35620 : return NULL;
35621 36098 : x6 = XEXP (x3, 1);
35622 36098 : operands[1] = x6;
35623 36098 : if (x86_64_nonmemory_operand (operands[1], E_DImode))
35624 : {
35625 35986 : x7 = XEXP (x3, 0);
35626 35986 : if (rtx_equal_p (x7, operands[0])
35627 35986 : && insn_condition_3293 (operands, insn))
35628 : {
35629 0 : *pmatch_len_ = 0;
35630 0 : res = gen_peephole2_313 (insn, operands);
35631 0 : if (res != NULL_RTX)
35632 : return res;
35633 : }
35634 : }
35635 36098 : x7 = XEXP (x3, 0);
35636 36098 : operands[1] = x7;
35637 36098 : if (!x86_64_nonmemory_operand (operands[1], E_DImode)
35638 0 : || !rtx_equal_p (x6, operands[0])
35639 36098 : || !insn_condition_3293 (operands, insn))
35640 : return NULL;
35641 0 : *pmatch_len_ = 0;
35642 0 : return gen_peephole2_317 (insn, operands);
35643 :
35644 : default:
35645 : return NULL;
35646 : }
35647 : }
|