r207682 - /branches/google/gcc-4_8/gcc/dojump.c

dehao@gcc.gnu.org dehao@gcc.gnu.org
Tue Feb 11 01:38:00 GMT 2014


Author: dehao
Date: Tue Feb 11 01:38:27 2014
New Revision: 207682

URL: http://gcc.gnu.org/viewcvs?rev=207682&root=gcc&view=rev
Log:
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 1%.

2014-02-10  Dehao Chen  <dehao@google.com>

	* gcc/dojump.c (do_compare_rtx_and_jump): Adjust branch probability.

Modified:
    branches/google/gcc-4_8/gcc/dojump.c



More information about the Gcc-cvs mailing list