re PR target/66217 (PowerPC rotate/shift/mask instructions not optimal)
authorSegher Boessenkool <segher@kernel.crashing.org>
Thu, 23 Jul 2015 14:37:57 +0000 (16:37 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Thu, 23 Jul 2015 14:37:57 +0000 (16:37 +0200)
commita34f4f64689e3a109f3091f74af4750c1010e961
treea103141f48cbcaad89dd2e61e71a83d28bd869c8
parentd057c8669b2ca758096697826647bdc06f77c336
re PR target/66217 (PowerPC rotate/shift/mask instructions not optimal)

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.

From-SVN: r226112
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.md