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 rtl-optimization/34529] [4.1/4.2/4.3 Regression] Wrong code with altivec stores and offsets



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-12-20 02:08 -------
This was introduced by the change to rs6000_legitimate_offset_address_p which
was done by:
        PR target/18506
        * config/rs6000/altivec.md (vec_init<mode>): New.
        (vec_set<mode>): New.
        (vec_extract<mode>): New.
        * config/rs6000/rs6000.c (rs6000_expand_vector_init): New.
        (rs6000_expand_vector_set): New.
        (rs6000_expand_vector_extract): New.
        (rs6000_legitimate_offset_address_p): Offset addresses are valid
        for Altivec modes before reload.
        (altivec_expand_vec_init_builtin): New.
        (get_element_number): New.
        (altivec_expand_vec_set_builtin): New.
        (altivec_expand_vec_ext_builtin): New.
        (altivec_expand_builtin): Expand vec_init, vec_set, and vec_ext
        builtins.
        (altivec_init_builtins): Init vec_init, vec_set, and vec_ext
        builtins.
        * config/rs6000/rs6000.h (rs6000_builtins): Add
        ALTIVEC_BUILTIN_VEC_INIT_<mode>, ALTIVEC_BUILTIN_VEC_SET_<mode>,
        ALTIVEC_BUILTIN_VEC_EXT_<mode>.
        * config/rs6000/rs6000-protos.h: Declare new functions.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu dot org


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


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