This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/68695] [6 Regression] Performance regression related to ssa patch / ifcvt


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

--- Comment #15 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Providing that macro does fix the problem:

#define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE)               \
  if (GET_MODE_CLASS (MODE) == MODE_INT                 \
      && GET_MODE_SIZE (MODE) < (TARGET_ZARCH ? 8 : 4)) \
    (MODE) = TARGET_ZARCH ? DImode : SImode;

But is it a good idea to define it in the first place?

And is it now required to provide a sensible implementation of PROMOTE_MODE?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]