This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug regression/48262] Subversion id 171341 breaks various vectorization files on powerpc


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48262

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-23 23:43:15 UTC ---
Here is a patch for the movmisalign issue:
Index: vector.md
===================================================================
--- vector.md    (revision 171367)
+++ vector.md    (working copy)
@@ -871,8 +871,8 @@ (define_expand "vec_realign_load_<mode>"
 ;; Under VSX, vectors of 4/8 byte alignments do not need to be aligned
 ;; since the load already handles it.
 (define_expand "movmisalign<mode>"
- [(set (match_operand:VEC_N 0 "vfloat_operand" "")
-       (match_operand:VEC_N 1 "vfloat_operand" ""))]
+ [(set (match_operand:VEC_N 0 "nonimmediate_operand" "")
+       (match_operand:VEC_N 1 "any_operand" ""))]
  "VECTOR_MEM_VSX_P (<MODE>mode) && TARGET_ALLOW_MOVMISALIGN"
  "")

--- CUT ---
Still looking into the other issue.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]