Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-03-21 Thread Steven Bosscher
On Fri, Mar 21, 2014 at 10:13 PM, Dehao Chen wrote: > ping ^2... Assuming this concerns http://gcc.gnu.org/ml/gcc-patches/2014-01/msg01460.html and follow-ups. OK. Ciao! Steven

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-03-21 Thread Dehao Chen
ping ^2... Dehao On Mon, Feb 10, 2014 at 8:35 AM, Dehao Chen wrote: > ping... > > Dehao > > On Fri, Jan 24, 2014 at 1:54 PM, Dehao Chen wrote: >> Thanks, test updated: >> >> Index: gcc/testsuite/gcc.dg/predict-8.c >> === >> --- gcc

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-02-10 Thread Dehao Chen
ping... Dehao On Fri, Jan 24, 2014 at 1:54 PM, Dehao Chen wrote: > Thanks, test updated: > > Index: gcc/testsuite/gcc.dg/predict-8.c > === > --- gcc/testsuite/gcc.dg/predict-8.c (revision 0) > +++ gcc/testsuite/gcc.dg/predict-8.c (r

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-24 Thread Dehao Chen
Thanks, test updated: Index: gcc/testsuite/gcc.dg/predict-8.c === --- gcc/testsuite/gcc.dg/predict-8.c (revision 0) +++ gcc/testsuite/gcc.dg/predict-8.c (revision 0) @@ -0,0 +1,12 @@ +/* { dg-do compile { target { i?86-*-* x86_64-*-*

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-24 Thread H.J. Lu
On Fri, Jan 24, 2014 at 10:57 AM, Jakub Jelinek wrote: > On Fri, Jan 24, 2014 at 10:20:53AM -0800, Dehao Chen wrote: >> --- gcc/testsuite/gcc.dg/predict-8.c (revision 0) >> +++ gcc/testsuite/gcc.dg/predict-8.c (revision 0) >> @@ -0,0 +1,12 @@ >> +/* { dg-do compile { target { x86_64-*-* } } } */ >

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-24 Thread Jakub Jelinek
On Fri, Jan 24, 2014 at 10:20:53AM -0800, Dehao Chen wrote: > --- gcc/testsuite/gcc.dg/predict-8.c (revision 0) > +++ gcc/testsuite/gcc.dg/predict-8.c (revision 0) > @@ -0,0 +1,12 @@ > +/* { dg-do compile { target { x86_64-*-* } } } */ If you want it for x86_64 64-bit, then /* { dg-do compile { ta

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-24 Thread Dehao Chen
A new test is added: gcc/testsuite/ChangeLog: 2014-01-24 Dehao Chen * gcc.dg/predict-8.c: New test. Index: gcc/testsuite/gcc.dg/predict-8.c === --- gcc/testsuite/gcc.dg/predict-8.c (revision 0) +++ gcc/testsuite/gcc.dg/p

Re: [PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-23 Thread Xinliang David Li
Is it possible to add a test case? David On Wed, Jan 22, 2014 at 6:08 PM, Dehao Chen wrote: > During floating point comparison, compiler inserts conditional jumps > to check if the operand is NAN. These type of checks are normally > false. However, compiler sets the probability the same as the o

[PATCH] Set correct probability for ORDER/UNORDER jumps

2014-01-22 Thread Dehao Chen
During floating point comparison, compiler inserts conditional jumps to check if the operand is NAN. These type of checks are normally false. However, compiler sets the probability the same as the original float-compare conditional jump. This patch sets the probability of these conditional jumps as