Re: [RS6000] Count rldimi constant insns

2020-09-15 Thread Segher Boessenkool
On Tue, Sep 15, 2020 at 10:49:39AM +0930, Alan Modra wrote: > rldimi is generated by rs6000_emit_set_long_const when the high and > low 32 bits of a 64-bit constant are equal. > > * config/rs6000/rs6000.c (num_insns_constant_gpr): Count rldimi > constants correctly. Wow, did I miss th

[RS6000] Count rldimi constant insns

2020-09-14 Thread Alan Modra via Gcc-patches
rldimi is generated by rs6000_emit_set_long_const when the high and low 32 bits of a 64-bit constant are equal. * config/rs6000/rs6000.c (num_insns_constant_gpr): Count rldimi constants correctly. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 20a4ba382