From: Pan Li <pan2...@intel.com>

Inspired by the avg_ceil patches, notice there were even more
lines too long from autovec.md.  So fix that format issues.

gcc/ChangeLog:

        * config/riscv/autovec.md: Fix line too long for sorts
        of pattern.

Signed-off-by: Pan Li <pan2...@intel.com>
---
 gcc/config/riscv/autovec.md | 54 ++++++++++++++++++++++++-------------
 1 file changed, 36 insertions(+), 18 deletions(-)

diff --git a/gcc/config/riscv/autovec.md b/gcc/config/riscv/autovec.md
index 60c881b1d74..c678eefc700 100644
--- a/gcc/config/riscv/autovec.md
+++ b/gcc/config/riscv/autovec.md
@@ -2493,7 +2493,8 @@ (define_expand "avg<v_double_trunc>3_floor"
   "TARGET_VECTOR"
   {
     insn_code icode = code_for_pred (UNSPEC_VAADD, <V_DOUBLE_TRUNC>mode);
-    riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RDN, 
operands);
+    riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RDN,
+                                  operands);
     DONE;
   }
 )
@@ -2527,7 +2528,8 @@ (define_expand "uavg<mode>3_floor"
   "TARGET_VECTOR"
 {
   insn_code icode = code_for_pred (UNSPEC_VAADDU, <MODE>mode);
-  riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RDN, 
operands);
+  riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RDN,
+                                operands);
   DONE;
 })
 
@@ -2540,7 +2542,8 @@ (define_expand "uavg<mode>3_ceil"
   "TARGET_VECTOR"
 {
   insn_code icode = code_for_pred (UNSPEC_VAADDU, <MODE>mode);
-  riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RNU, 
operands);
+  riscv_vector::emit_vlmax_insn (icode, riscv_vector::BINARY_OP_VXRM_RNU,
+                                operands);
   DONE;
 })
 
@@ -2565,7 +2568,8 @@ (define_expand "ceil<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_ceil (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_ceil (operands[0], operands[1], <MODE>mode,
+                                  <VCONVERT>mode);
     DONE;
   }
 )
@@ -2575,7 +2579,8 @@ (define_expand "floor<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_floor (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_floor (operands[0], operands[1], <MODE>mode,
+                                   <VCONVERT>mode);
     DONE;
   }
 )
@@ -2585,7 +2590,8 @@ (define_expand "nearbyint<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_nearbyint (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_nearbyint (operands[0], operands[1], <MODE>mode,
+                                       <VCONVERT>mode);
     DONE;
   }
 )
@@ -2595,7 +2601,8 @@ (define_expand "rint<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_rint (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_rint (operands[0], operands[1], <MODE>mode,
+                                  <VCONVERT>mode);
     DONE;
   }
 )
@@ -2605,7 +2612,8 @@ (define_expand "round<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_round (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_round (operands[0], operands[1], <MODE>mode,
+                                   <VCONVERT>mode);
     DONE;
   }
 )
@@ -2615,7 +2623,8 @@ (define_expand "btrunc<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_trunc (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_trunc (operands[0], operands[1], <MODE>mode,
+                                   <VCONVERT>mode);
     DONE;
   }
 )
@@ -2625,7 +2634,8 @@ (define_expand "roundeven<mode>2"
    (match_operand:V_VLSF 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_roundeven (operands[0], operands[1], <MODE>mode, 
<VCONVERT>mode);
+    riscv_vector::expand_vec_roundeven (operands[0], operands[1], <MODE>mode,
+                                       <VCONVERT>mode);
     DONE;
   }
 )
@@ -2682,7 +2692,8 @@ (define_expand "lceil<mode><v_f2si_convert>2"
    (match_operand:V_VLS_F_CONVERT_SI 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_lceil (operands[0], operands[1], <MODE>mode, 
<V_F2SI_CONVERT>mode);
+    riscv_vector::expand_vec_lceil (operands[0], operands[1], <MODE>mode,
+                                   <V_F2SI_CONVERT>mode);
     DONE;
   }
 )
@@ -2692,7 +2703,8 @@ (define_expand "lceil<mode><v_f2di_convert>2"
    (match_operand:V_VLS_F_CONVERT_DI 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_lceil (operands[0], operands[1], <MODE>mode, 
<V_F2DI_CONVERT>mode);
+    riscv_vector::expand_vec_lceil (operands[0], operands[1], <MODE>mode,
+                                   <V_F2DI_CONVERT>mode);
     DONE;
   }
 )
@@ -2702,7 +2714,8 @@ (define_expand "lfloor<mode><v_f2si_convert>2"
    (match_operand:V_VLS_F_CONVERT_SI 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_lfloor (operands[0], operands[1], <MODE>mode, 
<V_F2SI_CONVERT>mode);
+    riscv_vector::expand_vec_lfloor (operands[0], operands[1], <MODE>mode,
+                                    <V_F2SI_CONVERT>mode);
     DONE;
   }
 )
@@ -2712,7 +2725,8 @@ (define_expand "lfloor<mode><v_f2di_convert>2"
    (match_operand:V_VLS_F_CONVERT_DI 1 "register_operand")]
   "TARGET_VECTOR && !flag_trapping_math && !flag_rounding_math"
   {
-    riscv_vector::expand_vec_lfloor (operands[0], operands[1], <MODE>mode, 
<V_F2DI_CONVERT>mode);
+    riscv_vector::expand_vec_lfloor (operands[0], operands[1], <MODE>mode,
+                                    <V_F2DI_CONVERT>mode);
     DONE;
   }
 )
@@ -2744,7 +2758,8 @@ (define_expand "usadd<mode>3"
    (match_operand:V_VLSI 2 "register_operand")]
   "TARGET_VECTOR"
   {
-    riscv_vector::expand_vec_usadd (operands[0], operands[1], operands[2], 
<MODE>mode);
+    riscv_vector::expand_vec_usadd (operands[0], operands[1], operands[2],
+                                   <MODE>mode);
     DONE;
   }
 )
@@ -2755,7 +2770,8 @@ (define_expand "ssadd<mode>3"
    (match_operand:V_VLSI 2 "register_operand")]
   "TARGET_VECTOR"
   {
-    riscv_vector::expand_vec_ssadd (operands[0], operands[1], operands[2], 
<MODE>mode);
+    riscv_vector::expand_vec_ssadd (operands[0], operands[1], operands[2],
+                                   <MODE>mode);
     DONE;
   }
 )
@@ -2766,7 +2782,8 @@ (define_expand "ussub<mode>3"
    (match_operand:V_VLSI 2 "register_operand")]
   "TARGET_VECTOR"
   {
-    riscv_vector::expand_vec_ussub (operands[0], operands[1], operands[2], 
<MODE>mode);
+    riscv_vector::expand_vec_ussub (operands[0], operands[1], operands[2],
+                                   <MODE>mode);
     DONE;
   }
 )
@@ -2777,7 +2794,8 @@ (define_expand "sssub<mode>3"
    (match_operand:V_VLSI 2 "register_operand")]
   "TARGET_VECTOR"
   {
-    riscv_vector::expand_vec_sssub (operands[0], operands[1], operands[2], 
<MODE>mode);
+    riscv_vector::expand_vec_sssub (operands[0], operands[1], operands[2],
+                                   <MODE>mode);
     DONE;
   }
 )
-- 
2.43.0

Reply via email to