This is a revised version of the patch series posted at https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553919.html
Patch 8/8 in particular changes rather a lot more than the original !speed changes. Bootstrapped and regression tested powerpc64le-linux and powerpc64-linux biarch. Alan Modra (8): [RS6000] rs6000_rtx_costs comment [RS6000] rs6000_rtx_costs for AND [RS6000] rs6000_rtx_costs tidy AND [RS6000] rs6000_rtx_costs tidy break/return [RS6000] rs6000_rtx_costs cost IOR [RS6000] rs6000_rtx_costs multi-insn constants [RS6000] rs6000_rtx_costs reduce cost for SETs [RS6000] rs6000_rtx_costs for !speed gcc/config/rs6000/rs6000.c | 516 +++++++++++++++++++++++++------------ gcc/config/rs6000/rs6000.h | 23 -- 2 files changed, 350 insertions(+), 189 deletions(-)