[Bug target/31334] Bad codegen for vector initializer with constants prop'd into a vector initializer

dorit at il dot ibm dot com gcc-bugzilla@gcc.gnu.org
Tue Apr 3 19:46:00 GMT 2007



------- Comment #8 from dorit at il dot ibm dot com  2007-04-03 20:46 -------
(In reply to comment #7)
> Something like:
> (define_insn_and_split "altivec_dup<mode>"
>   [(set (match_operand:V 0 "register_operand" "v")
>         (vec_duplicate: (match_operand: 0 "r")))
>    (clobber (match_operand:V 3 "memory_operand" "=Z"))]
>   "TARGET_ALTIVEC"
>   "#"
>   "&& reload_completed"
>   ....
> Which then will be generated from rs6000_expand_vector_init.  I can write this
> if you want, it is just I cannot test this until Monday.

yes, please... I'll be very happy to see this fixed. (thanks!!)


-- 


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



More information about the Gcc-bugs mailing list