Re: [PATCH] expand: Add dump for costing of positive divides

2024-09-03 Thread Richard Biener
> Am 04.09.2024 um 04:00 schrieb Andrew Pinski : > > While trying to understand PR 115910 I found it was useful to print out > the two costs of doing a signed and unsigned division just like was added in > r15-3272-g3c89c41991d8e8 for popcount==1. > > Bootstrapped and tested on x86_64-linux-g

[PATCH] expand: Add dump for costing of positive divides

2024-09-03 Thread Andrew Pinski
While trying to understand PR 115910 I found it was useful to print out the two costs of doing a signed and unsigned division just like was added in r15-3272-g3c89c41991d8e8 for popcount==1. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * expr.cc (expand_expr_divmod): Add d