https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125484

--- Comment #1 from Drea Pinski <pinskia at gcc dot gnu.org> ---
Note I was looking at -O3 (rather than -Ofast).

For -Ofast we get:
  r_26 = (double) red_25(D);
  g_28 = (double) green_27(D);
  b_30 = (double) blue_29(D);
  _41 = MAX_EXPR <g_28, b_30>;
  _13 = MAX_EXPR <r_26, _41>;


  _42 = MIN_EXPR <g_28, b_30>;
  _14 = MIN_EXPR <r_26, _42>;
  delta_33 = _13 - _14;


But those all can be done in integer rather than fp.

Reply via email to