[RS6000] Count rldimi constant insns
authorAlan Modra <amodra@gmail.com>
Wed, 1 Apr 2020 03:04:47 +0000 (13:34 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 24 Sep 2020 03:22:02 +0000 (12:52 +0930)
commit0075cea0fdccc2efb781f4f3c924007de37a3417
tree36b8de216b167b7d303f42b07512a5be98a1ba31
parent08cd8d5929eac84b27788d8483fd75ab7ad13129
[RS6000] Count rldimi constant insns

rldimi is generated by rs6000_emit_set_long_const when the high and
low 32 bits of a 64-bit constant are equal.

PR target/93012
* config/rs6000/rs6000.c (num_insns_constant_gpr): Count rldimi
constants correctly.
gcc/config/rs6000/rs6000.c