On Tue, 2018-02-13 at 17:04 +0000, Nick Clifton wrote: > > > gcc/ChangeLog: > > > > PR target/83831 > > * config/rx/rx-protos.h (rx_reg_dead_or_unused_after_insn, > > rx_copy_reg_dead_or_unused_notes, rx_fuse_in_memory_bitop): New > > declarations. > > (set_of_reg): New struct. > > (rx_find_set_of_reg, rx_find_use_of_reg): New functions. > > * config/rx/rx.c (rx_reg_dead_or_unused_after_insn, > > rx_copy_reg_dead_or_unused_notes, rx_fuse_in_memory_bitop): New > > functions. > > * config/rx/rx.md (andsi3, iorsi3, xorsi3): Convert to insn_and_split. > > Split into bitclr, bitset, bitinvert patterns if appropriate. > > (*bitset, *bitinvert, *bitclr): Convert to named insn_and_split and > > use rx_fuse_in_memory_bitop. > > (*bitset_in_memory, *bitinvert_in_memory, *bitclr_in_memory): Convert > > to named insn, correct maximum insn length. > > > > gcc/testsuite/ChangeLog: > > > > PR target/83831 > > * gcc.target/rx/pr83831.c: New tests.
> Approved - please apply - and thanks very much for doing this! Thanks! Committed as r257655. Cheers, Oleg