This is the mail archive of the gcc@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]

Re: No ifcvt during ce1 pass (fails i386/ssefp-2.c)


On 3/15/07, Uros Bizjak <ubizjak@gmail.com> wrote:
The testcase is:

double x;
q()
{
  x=x<5?5:x;
}

compile this with -O2 -msse2 -mfpmath=sse, and this testcase should
compile to maxsd.

This happens because a "fallthrough edge" is meaningless in cfglayout mode, but ifcvt.c still gives special meaning to the fallthrough edge. This should not matter, but it does for some reason, and I'm investigating this right now. I'll try to come up with a fix asap.

Gr.
Steven


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