[PATCH] Set correct probability for ORDER/UNORDER jumps

Jakub Jelinek jakub@redhat.com
Fri Jan 24 18:57:00 GMT 2014


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 { target { { i?86-*-* x86_64-*-* } && lp64 } } } */

(or just limit the scan-rtl-dump-times regexp to the above mentioned
target).

> +/* { dg-options "-O2 -fdump-rtl-expand -c" } */

No -c in dg-options please.

	Jakub



More information about the Gcc-patches mailing list