2011/10/28 Georg-Johann Lay <a...@gjlay.de>:
> This is minor tweak to support 8-bit parity.
>
> Otherwise, the input operand of 8-bit values will be extended before parity
> computation.
>
> The final representation as libgcc call is not generated in split1 and no more
> in expand. Notice that
>
> - combine is not allowed to propagate hard regs into zero-extends.
> - combine does not try parity:QI
>
> Ok for trunk?
>
> Johann
>
>        * config/avr/avr.md (parityhi2): Expand allowing pseudos.
>        (*parityhi2): New pre-reload insn-and-split to map 16-bit parity
>        to the libgcc insn.
>        (*parityqihi2): Same for 8-bit parity.
>

Approved.

Denis.

Reply via email to