This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/68695] [6 Regression] Performance regression related to ssa patch / ifcvt
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 08 Dec 2015 06:48:31 +0000
- Subject: [Bug tree-optimization/68695] [6 Regression] Performance regression related to ssa patch / ifcvt
- Auto-submitted: auto-generated
- References: <bug-68695-4 at http dot gcc dot gnu dot org/bugzilla/>
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?