[Bug tree-optimization/42195] missed xnor optimization.

pawel_sikora at zoho dot com gcc-bugzilla@gcc.gnu.org
Tue Oct 25 19:49:00 GMT 2016


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

Pawel Sikora <pawel_sikora at zoho dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |7.0

--- Comment #2 from Pawel Sikora <pawel_sikora at zoho dot com> ---
bool xnor_1(bool, bool) (bool x, bool y)
{
  bool _3;

  <bb 2>:
  _3 = x_1(D) == y_2(D);
  return _3;

}

bool xnor_2(bool, bool) (bool x, bool y)
{
  bool _1;
  bool _4;

  <bb 2>:
  _1 = ~y_2(D);
  _4 = _1 ^ x_3(D);
  return _4;

}


More information about the Gcc-bugs mailing list