On Sat, Jun 21, 2014 at 10:46 PM, Segher Boessenkool
<seg...@kernel.crashing.org> wrote:
> For this create a new mode_attr "hH".
>
> Also change "i" constraints on the shift amount to "n", which better
> describes what it really is (GCC takes the integer value of these
> operands and does arithmetic on them; symbolic constants will not work
> here).
>
> Also merge the "dot" insns with the corresponding splitters.  To do
> this, don't allow the dot insns for CBE non-microcode mode at all
> (it previously would just split it back always).
>
> Bootstrapped and tested on powerpc64-linux, {-m64,-m64/-mtune=power8,
> -m32,-m32/-mpowerpc64}, no regressions.  Okay to apply?
>
>
> Segher
>
>
> 2014-06-21  Segher Boessenkool  <seg...@kernel.crashing.org>
>
> gcc/
>         * config/rs6000/rs6000.md ("hH"): New define_mode_attr.
>         (lshrsi3, two anonymous define_insns and define_splits,
>         lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split,
>         *lshrdi3_internal3 and split): Delete, merge into...
>         (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New.
>         (*lshrsi3_64): Fix formatting.  Replace "i" by "n".

Okay.

Thanks, David

Reply via email to