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 target/66217] PowerPC rotate/shift/mask instructions not optimal


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66217

--- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Author: segher
Date: Thu Jul 23 14:37:57 2015
New Revision: 226112

URL: https://gcc.gnu.org/viewcvs?rev=226112&root=gcc&view=rev
Log:
        PR target/66217
        * config/rs6000/rs6000-protos.h (rs6000_emit_2insn_and): Change
        prototype.
        * config/rs6000/rs6000.c (rs6000_emit_dot_insn): New function.
        (rs6000_emit_2insn_and): Handle dot forms.
        * config/rs6000/rs6000.md (and<mode>3): Adjust.
        (*and<mode>3_2insn): Remove TODO.  Adjust.  Add "type" attr.
        (*and<mode>3_2insn_dot, *and<mode>3_2insn_dot2): New.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000-protos.h
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/config/rs6000/rs6000.md


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