re PR target/48454 (gfortran.dg/char_result_13.f90 fails with -O3 -funroll-loops...
authorRamana Radhakrishnan <ramana.radhakrishnan@linaro.org>
Mon, 13 Jun 2011 09:09:14 +0000 (09:09 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Mon, 13 Jun 2011 09:09:14 +0000 (09:09 +0000)
PR target/48454

Fix vmovn lengths.

2011-06-13  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>

PR target/48454
* config/arm/neon.md (vec_pack_trunc<mode>): Set the lengths
correctly for the case with Quad vectors.

From-SVN: r174984

gcc/ChangeLog
gcc/config/arm/neon.md

index f93f02037eb5cd5c1555e2630ec5a729080107b4..87bb65fc55ae048bd738ee45f6947991f63aa764 100644 (file)
@@ -1,3 +1,9 @@
+2011-06-13  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+       PR target/48454
+       * config/arm/neon.md (vec_pack_trunc): Set the lengths
+       correctly for the case with Quad vectors.
+
 2011-06-13 Jakub Jelinek  <jakub@redhat.com>
           Ira Rosen  <ira.rosen@linaro.org>
 
index 8c31c48b49552547bf2d5cfc4d354a0c988bf8b4..a8c1b878670c36507bba32e407288cbbf6b046e1 100644 (file)
                (truncate:<V_narrow>
                        (match_operand:VN 2 "register_operand" "w"))))]
  "TARGET_NEON"
- "vmovn.i<V_sz_elem>\t%e0, %q1\n\tvmovn.i<V_sz_elem>\t%f0, %q2"
- [(set_attr "neon_type" "neon_shift_1")]
+ "vmovn.i<V_sz_elem>\t%e0, %q1\;vmovn.i<V_sz_elem>\t%f0, %q2"
+ [(set_attr "neon_type" "neon_shift_1")
+  (set_attr "length" "8")]
 )
 
 ;; For the non-quad case.