[Patch : H8300] Fix regressions for bit related instructions
Jeff Law
law@redhat.com
Wed Mar 10 17:05:00 GMT 2010
> Please find attached the patch with the following changes,
> - single_zero_operand/single_one_operand used in predicate with
> matching constraint (Y0/Y2)
> - Check for BYTES_BIG_ENDIAN removed
> - Check for INTVAL of operands removed
>
> Please comment.
>
> Regards,
> Kaushik Phatak
> www.kpitgnutools.com
>
> Changelog:
>
> 2010-03-10 Kaushik Phatak<kaushik.phatak@kpitcummins.com>
>
> * config/h8300/h8300.c (print_operand) : Modify case 'V' and
> case 'W' print operands for HI mode.
> * config/h8300/h8300.h (OK_FOR_U): Support 'U' constraint for H8300SX.
> (Y0, Y2) : New constraints.
> * config/h8300/h8300.md (movqi_h8sx, movhi_h8sx, movsi_h8sx,
> cmphi_h8300hs_znvc, cmpsi, addhi3_h8sx) : Emit instructions in #xx:3
> and #xx:4 mode.
> (bclrqi_msx, bclrhi_msx, bsetqi_msx, bsethi_msx, bnotqi_msx,
> bnothi_msx) : New insn.
> (andqi3_2, andqi3_1, iorqi3_1, xorqi3_1) : Modify constraints to
> generate effective logical insn.
> (xorqi3) : Add support for H8300SX.
> * config/h8300/predicate.md (bit_register_indirect_operand): New Predicate.
>
This looks really good and is approved for the trunk once the trunk is
open for normal development. I'm going to attach this version to the
4.6 pending patches meta-bug.
Thanks,
Jeff
More information about the Gcc-patches
mailing list