https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- The following patterns could be improved/removed while doing this: ``` /* (A - B) == 0 ? (A - B) : (B - A) same as (B - A) */ /* (A - B) != 0 ? (A - B) : (B - A) same as (A - B) */ /* (A - B) >=/> 0 ? (A - B) : (B - A) same as abs (A - B) */ /* (A - B) <=/< 0 ? (A - B) : (B - A) same as -abs (A - B) */ ``` Need to look if we need to improve ctz_table_index match.