OSDN Git Service

2010-07-02 Sandra Loosemore <sandra@codesourcery.com>
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 14:43:26 +0000 (14:43 +0000)
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 Jul 2010 14:43:26 +0000 (14:43 +0000)
gcc/
* config/arm/neon.md (vec_extractv2di): Correct error in register
numbering to reconcile with neon_vget_lanev2di.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161719 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 63e9f3f..4041862 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-02  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/arm/neon.md (vec_extractv2di): Correct error in register
+       numbering to reconcile with neon_vget_lanev2di.
+
 2010-07-02  Richard Guenther  <rguenther@suse.de>
 
        * tree-ssa-structalias.c (pt_solution_set_var): New function.
index 43b3805..3c4a079 100644 (file)
           (parallel [(match_operand:SI 2 "immediate_operand" "i")])))]
   "TARGET_NEON"
 {
-  int regno = REGNO (operands[1]) + INTVAL (operands[2]);
+  int regno = REGNO (operands[1]) + 2 * INTVAL (operands[2]);
 
   operands[1] = gen_rtx_REG (DImode, regno);
 
-  return "vmov%?.64\t%Q0, %R0, %P1";
+  return "vmov%?\t%Q0, %R0, %P1  @ v2di";
 }
   [(set_attr "predicable" "yes")
    (set_attr "neon_type" "neon_int_1")]