Re: [PATCH 3/5] xtensa: Fix instruction counting regarding block move expansion

2022-05-26 Thread Max Filippov via Gcc-patches
On Fri, May 13, 2022 at 6:35 AM Takayuki 'January June' Suwa wrote: > > This patch makes counting the number of instructions of the remainder > (modulo 4) part more accurate. > > gcc/ChangeLog: > > * gcc/config/xtensa/xtensa.cc (xtensa_expand_block_move): > Make instruction countin

[PATCH 3/5] xtensa: Fix instruction counting regarding block move expansion

2022-05-13 Thread Takayuki 'January June' Suwa via Gcc-patches
This patch makes counting the number of instructions of the remainder (modulo 4) part more accurate. gcc/ChangeLog: * gcc/config/xtensa/xtensa.cc (xtensa_expand_block_move): Make instruction counting more accurate, and simplify emitting insns. --- gcc/config/xtensa/xtensa.cc | 8