[Bug tree-optimization/107895] mt19937 bad performance on LP64

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 28 11:58:28 GMT 2022


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Target|                            |x86_64-*-*

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Sounds like an if-conversion issue, thus RTL?  Btw, we inline a wrapper
doing

  if (..->_M_p > 623)
    mersenne_twister_engine ();
  else
   {
     some inlined stuff, incrementing _M_p
   }

but the inlined stuff is already fully if-converted and thus not the
timing critical part?


More information about the Gcc-bugs mailing list