From: Ramana Radhakrishnan Date: Mon, 13 Jun 2011 09:09:14 +0000 (+0000) Subject: re PR target/48454 (gfortran.dg/char_result_13.f90 fails with -O3 -funroll-loops... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30cecf17a92a1e52374fa04e25c8b921372f676c;p=gcc.git re PR target/48454 (gfortran.dg/char_result_13.f90 fails with -O3 -funroll-loops -mvectorize-with-neon-quad) PR target/48454 Fix vmovn lengths. 2011-06-13 Ramana Radhakrishnan PR target/48454 * config/arm/neon.md (vec_pack_trunc): Set the lengths correctly for the case with Quad vectors. From-SVN: r174984 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f93f02037eb..87bb65fc55a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-06-13 Ramana Radhakrishnan + + 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 Ira Rosen diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md index 8c31c48b495..a8c1b878670 100644 --- a/gcc/config/arm/neon.md +++ b/gcc/config/arm/neon.md @@ -5580,8 +5580,9 @@ (truncate: (match_operand:VN 2 "register_operand" "w"))))] "TARGET_NEON" - "vmovn.i\t%e0, %q1\n\tvmovn.i\t%f0, %q2" - [(set_attr "neon_type" "neon_shift_1")] + "vmovn.i\t%e0, %q1\;vmovn.i\t%f0, %q2" + [(set_attr "neon_type" "neon_shift_1") + (set_attr "length" "8")] ) ;; For the non-quad case.