1 ;; MIPS Paired-Single Floating and MIPS-3D Instructions.
2 ;; Copyright (C) 2004, 2007 Free Software Foundation, Inc.
4 ;; This file is part of GCC.
6 ;; GCC is free software; you can redistribute it and/or modify
7 ;; it under the terms of the GNU General Public License as published by
8 ;; the Free Software Foundation; either version 3, or (at your option)
11 ;; GCC is distributed in the hope that it will be useful,
12 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;; GNU General Public License for more details.
16 ;; You should have received a copy of the GNU General Public License
17 ;; along with GCC; see the file COPYING3. If not see
18 ;; <http://www.gnu.org/licenses/>.
20 (define_c_enum "unspec" [
24 ;; MIPS64/MIPS32R2 alnv.ps
27 ;; MIPS-3D instructions
44 (define_insn "*movcc_v2sf_<mode>"
45 [(set (match_operand:V2SF 0 "register_operand" "=f,f")
47 (match_operator:GPR 4 "equality_operator"
48 [(match_operand:GPR 1 "register_operand" "d,d")
50 (match_operand:V2SF 2 "register_operand" "f,0")
51 (match_operand:V2SF 3 "register_operand" "0,f")))]
52 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
56 [(set_attr "type" "condmove")
57 (set_attr "mode" "SF")])
59 (define_insn "mips_cond_move_tf_ps"
60 [(set (match_operand:V2SF 0 "register_operand" "=f,f")
61 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f,0")
62 (match_operand:V2SF 2 "register_operand" "0,f")
63 (match_operand:CCV2 3 "register_operand" "z,z")]
65 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
69 [(set_attr "type" "condmove")
70 (set_attr "mode" "SF")])
72 (define_expand "movv2sfcc"
73 [(set (match_dup 4) (match_operand 1 "comparison_operator"))
74 (set (match_operand:V2SF 0 "register_operand")
75 (if_then_else:V2SF (match_dup 5)
76 (match_operand:V2SF 2 "register_operand")
77 (match_operand:V2SF 3 "register_operand")))]
78 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
80 /* We can only support MOVN.PS and MOVZ.PS.
81 NOTE: MOVT.PS and MOVF.PS have different semantics from MOVN.PS and
82 MOVZ.PS. MOVT.PS and MOVF.PS depend on two CC values and move
83 each item independently. */
85 if (GET_MODE_CLASS (GET_MODE (XEXP (operands[1], 0))) != MODE_INT)
88 mips_expand_conditional_move (operands);
92 ; pul.ps - Pair Upper Lower
93 (define_insn "mips_pul_ps"
94 [(set (match_operand:V2SF 0 "register_operand" "=f")
96 (match_operand:V2SF 1 "register_operand" "f")
97 (match_operand:V2SF 2 "register_operand" "f")
99 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
101 [(set_attr "type" "fmove")
102 (set_attr "mode" "SF")])
104 ; puu.ps - Pair upper upper
105 (define_insn "mips_puu_ps"
106 [(set (match_operand:V2SF 0 "register_operand" "=f")
108 (match_operand:V2SF 1 "register_operand" "f")
109 (vec_select:V2SF (match_operand:V2SF 2 "register_operand" "f")
110 (parallel [(const_int 1)
113 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
115 [(set_attr "type" "fmove")
116 (set_attr "mode" "SF")])
118 ; pll.ps - Pair Lower Lower
119 (define_insn "mips_pll_ps"
120 [(set (match_operand:V2SF 0 "register_operand" "=f")
122 (vec_select:V2SF (match_operand:V2SF 1 "register_operand" "f")
123 (parallel [(const_int 1)
125 (match_operand:V2SF 2 "register_operand" "f")
127 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
129 [(set_attr "type" "fmove")
130 (set_attr "mode" "SF")])
132 ; plu.ps - Pair Lower Upper
133 (define_insn "mips_plu_ps"
134 [(set (match_operand:V2SF 0 "register_operand" "=f")
136 (vec_select:V2SF (match_operand:V2SF 1 "register_operand" "f")
137 (parallel [(const_int 1)
139 (vec_select:V2SF (match_operand:V2SF 2 "register_operand" "f")
140 (parallel [(const_int 1)
143 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
145 [(set_attr "type" "fmove")
146 (set_attr "mode" "SF")])
149 (define_expand "vec_initv2sf"
150 [(match_operand:V2SF 0 "register_operand")
151 (match_operand:V2SF 1 "")]
152 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
154 rtx op0 = force_reg (SFmode, XVECEXP (operands[1], 0, 0));
155 rtx op1 = force_reg (SFmode, XVECEXP (operands[1], 0, 1));
156 emit_insn (gen_vec_initv2sf_internal (operands[0], op0, op1));
160 (define_insn "vec_initv2sf_internal"
161 [(set (match_operand:V2SF 0 "register_operand" "=f")
163 (match_operand:SF 1 "register_operand" "f")
164 (match_operand:SF 2 "register_operand" "f")))]
165 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
167 if (BYTES_BIG_ENDIAN)
168 return "cvt.ps.s\t%0,%1,%2";
170 return "cvt.ps.s\t%0,%2,%1";
172 [(set_attr "type" "fcvt")
173 (set_attr "mode" "SF")])
175 ;; ??? This is only generated if we perform a vector operation that has to be
176 ;; emulated. There is no other way to get a vector mode bitfield extract
179 (define_insn "vec_extractv2sf"
180 [(set (match_operand:SF 0 "register_operand" "=f")
181 (vec_select:SF (match_operand:V2SF 1 "register_operand" "f")
183 [(match_operand 2 "const_0_or_1_operand" "")])))]
184 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
186 if (INTVAL (operands[2]) == !BYTES_BIG_ENDIAN)
187 return "cvt.s.pu\t%0,%1";
189 return "cvt.s.pl\t%0,%1";
191 [(set_attr "type" "fcvt")
192 (set_attr "mode" "SF")])
194 ;; ??? This is only generated if we disable the vec_init pattern. There is
195 ;; no other way to get a vector mode bitfield store currently.
197 (define_expand "vec_setv2sf"
198 [(match_operand:V2SF 0 "register_operand")
199 (match_operand:SF 1 "register_operand")
200 (match_operand 2 "const_0_or_1_operand")]
201 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
205 /* We don't have an insert instruction, so we duplicate the float, and
206 then use a PUL instruction. */
207 temp = gen_reg_rtx (V2SFmode);
208 emit_insn (gen_mips_cvt_ps_s (temp, operands[1], operands[1]));
209 if (INTVAL (operands[2]) == !BYTES_BIG_ENDIAN)
210 emit_insn (gen_mips_pul_ps (operands[0], temp, operands[0]));
212 emit_insn (gen_mips_pul_ps (operands[0], operands[0], temp));
216 ; cvt.ps.s - Floating Point Convert Pair to Paired Single
217 (define_expand "mips_cvt_ps_s"
218 [(match_operand:V2SF 0 "register_operand")
219 (match_operand:SF 1 "register_operand")
220 (match_operand:SF 2 "register_operand")]
221 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
223 if (BYTES_BIG_ENDIAN)
224 emit_insn (gen_vec_initv2sf_internal (operands[0], operands[1],
227 emit_insn (gen_vec_initv2sf_internal (operands[0], operands[2],
232 ; cvt.s.pl - Floating Point Convert Pair Lower to Single Floating Point
233 (define_expand "mips_cvt_s_pl"
234 [(set (match_operand:SF 0 "register_operand")
235 (vec_select:SF (match_operand:V2SF 1 "register_operand")
236 (parallel [(match_dup 2)])))]
237 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
238 { operands[2] = GEN_INT (BYTES_BIG_ENDIAN); })
240 ; cvt.s.pu - Floating Point Convert Pair Upper to Single Floating Point
241 (define_expand "mips_cvt_s_pu"
242 [(set (match_operand:SF 0 "register_operand")
243 (vec_select:SF (match_operand:V2SF 1 "register_operand")
244 (parallel [(match_dup 2)])))]
245 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
246 { operands[2] = GEN_INT (!BYTES_BIG_ENDIAN); })
248 ; alnv.ps - Floating Point Align Variable
249 (define_insn "mips_alnv_ps"
250 [(set (match_operand:V2SF 0 "register_operand" "=f")
251 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")
252 (match_operand:V2SF 2 "register_operand" "f")
253 (match_operand:SI 3 "register_operand" "d")]
255 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
256 "alnv.ps\t%0,%1,%2,%3"
257 [(set_attr "type" "fmove")
258 (set_attr "mode" "SF")])
260 ; addr.ps - Floating Point Reduction Add
261 (define_insn "mips_addr_ps"
262 [(set (match_operand:V2SF 0 "register_operand" "=f")
263 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")
264 (match_operand:V2SF 2 "register_operand" "f")]
266 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
268 [(set_attr "type" "fadd")
269 (set_attr "mode" "SF")])
271 ; cvt.pw.ps - Floating Point Convert Paired Single to Paired Word
272 (define_insn "mips_cvt_pw_ps"
273 [(set (match_operand:V2SF 0 "register_operand" "=f")
274 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")]
276 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
278 [(set_attr "type" "fcvt")
279 (set_attr "mode" "SF")])
281 ; cvt.ps.pw - Floating Point Convert Paired Word to Paired Single
282 (define_insn "mips_cvt_ps_pw"
283 [(set (match_operand:V2SF 0 "register_operand" "=f")
284 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")]
286 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
288 [(set_attr "type" "fcvt")
289 (set_attr "mode" "SF")])
291 ; mulr.ps - Floating Point Reduction Multiply
292 (define_insn "mips_mulr_ps"
293 [(set (match_operand:V2SF 0 "register_operand" "=f")
294 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")
295 (match_operand:V2SF 2 "register_operand" "f")]
297 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
299 [(set_attr "type" "fmul")
300 (set_attr "mode" "SF")])
303 (define_expand "mips_abs_ps"
304 [(set (match_operand:V2SF 0 "register_operand")
305 (unspec:V2SF [(match_operand:V2SF 1 "register_operand")]
307 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
309 /* If we can ignore NaNs, this operation is equivalent to the
311 if (!HONOR_NANS (V2SFmode))
313 emit_insn (gen_absv2sf2 (operands[0], operands[1]));
318 (define_insn "*mips_abs_ps"
319 [(set (match_operand:V2SF 0 "register_operand" "=f")
320 (unspec:V2SF [(match_operand:V2SF 1 "register_operand" "f")]
322 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
324 [(set_attr "type" "fabs")
325 (set_attr "mode" "SF")])
327 ;----------------------------------------------------------------------------
328 ; Floating Point Comparisons for Scalars
329 ;----------------------------------------------------------------------------
331 (define_insn "mips_cabs_cond_<fmt>"
332 [(set (match_operand:CC 0 "register_operand" "=z")
333 (unspec:CC [(match_operand:SCALARF 1 "register_operand" "f")
334 (match_operand:SCALARF 2 "register_operand" "f")
335 (match_operand 3 "const_int_operand" "")]
337 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
338 "cabs.%Y3.<fmt>\t%0,%1,%2"
339 [(set_attr "type" "fcmp")
340 (set_attr "mode" "FPSW")])
343 ;----------------------------------------------------------------------------
344 ; Floating Point Comparisons for Four Singles
345 ;----------------------------------------------------------------------------
347 (define_insn_and_split "mips_c_cond_4s"
348 [(set (match_operand:CCV4 0 "register_operand" "=z")
349 (unspec:CCV4 [(match_operand:V2SF 1 "register_operand" "f")
350 (match_operand:V2SF 2 "register_operand" "f")
351 (match_operand:V2SF 3 "register_operand" "f")
352 (match_operand:V2SF 4 "register_operand" "f")
353 (match_operand 5 "const_int_operand" "")]
355 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
357 "&& reload_completed"
359 (unspec:CCV2 [(match_dup 1)
364 (unspec:CCV2 [(match_dup 3)
369 operands[6] = simplify_gen_subreg (CCV2mode, operands[0], CCV4mode, 0);
370 operands[7] = simplify_gen_subreg (CCV2mode, operands[0], CCV4mode, 8);
372 [(set_attr "type" "fcmp")
373 (set_attr "length" "8")
374 (set_attr "mode" "FPSW")])
376 (define_insn_and_split "mips_cabs_cond_4s"
377 [(set (match_operand:CCV4 0 "register_operand" "=z")
378 (unspec:CCV4 [(match_operand:V2SF 1 "register_operand" "f")
379 (match_operand:V2SF 2 "register_operand" "f")
380 (match_operand:V2SF 3 "register_operand" "f")
381 (match_operand:V2SF 4 "register_operand" "f")
382 (match_operand 5 "const_int_operand" "")]
384 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
386 "&& reload_completed"
388 (unspec:CCV2 [(match_dup 1)
393 (unspec:CCV2 [(match_dup 3)
398 operands[6] = simplify_gen_subreg (CCV2mode, operands[0], CCV4mode, 0);
399 operands[7] = simplify_gen_subreg (CCV2mode, operands[0], CCV4mode, 8);
401 [(set_attr "type" "fcmp")
402 (set_attr "length" "8")
403 (set_attr "mode" "FPSW")])
406 ;----------------------------------------------------------------------------
407 ; Floating Point Comparisons for Paired Singles
408 ;----------------------------------------------------------------------------
410 (define_insn "mips_c_cond_ps"
411 [(set (match_operand:CCV2 0 "register_operand" "=z")
412 (unspec:CCV2 [(match_operand:V2SF 1 "register_operand" "f")
413 (match_operand:V2SF 2 "register_operand" "f")
414 (match_operand 3 "const_int_operand" "")]
416 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
418 [(set_attr "type" "fcmp")
419 (set_attr "mode" "FPSW")])
421 (define_insn "mips_cabs_cond_ps"
422 [(set (match_operand:CCV2 0 "register_operand" "=z")
423 (unspec:CCV2 [(match_operand:V2SF 1 "register_operand" "f")
424 (match_operand:V2SF 2 "register_operand" "f")
425 (match_operand 3 "const_int_operand" "")]
427 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
428 "cabs.%Y3.ps\t%0,%1,%2"
429 [(set_attr "type" "fcmp")
430 (set_attr "mode" "FPSW")])
432 ;; An expander for generating an scc operation.
433 (define_expand "scc_ps"
434 [(set (match_operand:CCV2 0)
435 (unspec:CCV2 [(match_operand 1)] UNSPEC_SCC))])
437 (define_insn "s<code>_ps"
438 [(set (match_operand:CCV2 0 "register_operand" "=z")
440 [(fcond (match_operand:V2SF 1 "register_operand" "f")
441 (match_operand:V2SF 2 "register_operand" "f"))]
443 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
444 "c.<fcond>.ps\t%0,%1,%2"
445 [(set_attr "type" "fcmp")
446 (set_attr "mode" "FPSW")])
448 (define_insn "s<code>_ps"
449 [(set (match_operand:CCV2 0 "register_operand" "=z")
451 [(swapped_fcond (match_operand:V2SF 1 "register_operand" "f")
452 (match_operand:V2SF 2 "register_operand" "f"))]
454 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
455 "c.<swapped_fcond>.ps\t%0,%2,%1"
456 [(set_attr "type" "fcmp")
457 (set_attr "mode" "FPSW")])
459 ;----------------------------------------------------------------------------
460 ; Floating Point Branch Instructions.
461 ;----------------------------------------------------------------------------
463 ; Branch on Any of Four Floating Point Condition Codes True
464 (define_insn "bc1any4t"
466 (if_then_else (ne (match_operand:CCV4 1 "register_operand" "z")
468 (label_ref (match_operand 0 "" ""))
470 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
471 "%*bc1any4t\t%1,%0%/"
472 [(set_attr "type" "branch")])
474 ; Branch on Any of Four Floating Point Condition Codes False
475 (define_insn "bc1any4f"
477 (if_then_else (ne (match_operand:CCV4 1 "register_operand" "z")
479 (label_ref (match_operand 0 "" ""))
481 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
482 "%*bc1any4f\t%1,%0%/"
483 [(set_attr "type" "branch")])
485 ; Branch on Any of Two Floating Point Condition Codes True
486 (define_insn "bc1any2t"
488 (if_then_else (ne (match_operand:CCV2 1 "register_operand" "z")
490 (label_ref (match_operand 0 "" ""))
492 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
493 "%*bc1any2t\t%1,%0%/"
494 [(set_attr "type" "branch")])
496 ; Branch on Any of Two Floating Point Condition Codes False
497 (define_insn "bc1any2f"
499 (if_then_else (ne (match_operand:CCV2 1 "register_operand" "z")
501 (label_ref (match_operand 0 "" ""))
503 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
504 "%*bc1any2f\t%1,%0%/"
505 [(set_attr "type" "branch")])
507 ; Used to access one register in a CCV2 pair. Operand 0 is the register
508 ; pair and operand 1 is the index of the register we want (a CONST_INT).
509 (define_expand "single_cc"
510 [(ne (unspec:CC [(match_operand 0) (match_operand 1)] UNSPEC_SINGLE_CC)
513 ; This is a normal floating-point branch pattern, but rather than check
514 ; a single CCmode register, it checks one register in a CCV2 pair.
515 ; Operand 2 is the register pair and operand 3 is the index of the
517 (define_insn "*branch_upper_lower"
520 (match_operator 1 "equality_operator"
521 [(unspec:CC [(match_operand:CCV2 2 "register_operand" "z")
522 (match_operand 3 "const_int_operand")]
525 (label_ref (match_operand 0 "" ""))
530 = gen_rtx_REG (CCmode, REGNO (operands[2]) + INTVAL (operands[3]));
531 return mips_output_conditional_branch (insn, operands,
532 MIPS_BRANCH ("b%F1", "%2,%0"),
533 MIPS_BRANCH ("b%W1", "%2,%0"));
535 [(set_attr "type" "branch")])
537 ; As above, but with the sense of the condition reversed.
538 (define_insn "*branch_upper_lower_inverted"
541 (match_operator 1 "equality_operator"
542 [(unspec:CC [(match_operand:CCV2 2 "register_operand" "z")
543 (match_operand 3 "const_int_operand")]
547 (label_ref (match_operand 0 "" ""))))]
551 = gen_rtx_REG (CCmode, REGNO (operands[2]) + INTVAL (operands[3]));
552 return mips_output_conditional_branch (insn, operands,
553 MIPS_BRANCH ("b%W1", "%2,%0"),
554 MIPS_BRANCH ("b%F1", "%2,%0"));
556 [(set_attr "type" "branch")])
558 ;----------------------------------------------------------------------------
559 ; Floating Point Reduced Precision Reciprocal Square Root Instructions.
560 ;----------------------------------------------------------------------------
562 (define_insn "mips_rsqrt1_<fmt>"
563 [(set (match_operand:ANYF 0 "register_operand" "=f")
564 (unspec:ANYF [(match_operand:ANYF 1 "register_operand" "f")]
566 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
567 "rsqrt1.<fmt>\t%0,%1"
568 [(set_attr "type" "frsqrt1")
569 (set_attr "mode" "<UNITMODE>")])
571 (define_insn "mips_rsqrt2_<fmt>"
572 [(set (match_operand:ANYF 0 "register_operand" "=f")
573 (unspec:ANYF [(match_operand:ANYF 1 "register_operand" "f")
574 (match_operand:ANYF 2 "register_operand" "f")]
576 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
577 "rsqrt2.<fmt>\t%0,%1,%2"
578 [(set_attr "type" "frsqrt2")
579 (set_attr "mode" "<UNITMODE>")])
581 (define_insn "mips_recip1_<fmt>"
582 [(set (match_operand:ANYF 0 "register_operand" "=f")
583 (unspec:ANYF [(match_operand:ANYF 1 "register_operand" "f")]
585 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
586 "recip1.<fmt>\t%0,%1"
587 [(set_attr "type" "frdiv1")
588 (set_attr "mode" "<UNITMODE>")])
590 (define_insn "mips_recip2_<fmt>"
591 [(set (match_operand:ANYF 0 "register_operand" "=f")
592 (unspec:ANYF [(match_operand:ANYF 1 "register_operand" "f")
593 (match_operand:ANYF 2 "register_operand" "f")]
595 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
596 "recip2.<fmt>\t%0,%1,%2"
597 [(set_attr "type" "frdiv2")
598 (set_attr "mode" "<UNITMODE>")])
600 (define_expand "vcondv2sf"
601 [(set (match_operand:V2SF 0 "register_operand")
604 [(match_operand:V2SF 4 "register_operand")
605 (match_operand:V2SF 5 "register_operand")])
606 (match_operand:V2SF 1 "register_operand")
607 (match_operand:V2SF 2 "register_operand")))]
608 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
610 mips_expand_vcondv2sf (operands[0], operands[1], operands[2],
611 GET_CODE (operands[3]), operands[4], operands[5]);
615 (define_expand "sminv2sf3"
616 [(set (match_operand:V2SF 0 "register_operand")
617 (smin:V2SF (match_operand:V2SF 1 "register_operand")
618 (match_operand:V2SF 2 "register_operand")))]
619 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
621 mips_expand_vcondv2sf (operands[0], operands[1], operands[2],
622 LE, operands[1], operands[2]);
626 (define_expand "smaxv2sf3"
627 [(set (match_operand:V2SF 0 "register_operand")
628 (smax:V2SF (match_operand:V2SF 1 "register_operand")
629 (match_operand:V2SF 2 "register_operand")))]
630 "TARGET_HARD_FLOAT && TARGET_PAIRED_SINGLE_FLOAT"
632 mips_expand_vcondv2sf (operands[0], operands[1], operands[2],
633 LE, operands[2], operands[1]);