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

predict.def tweek


Hi,
experimental results shows call and error return heuristics to perform
noticeably worse than opcode, so I am installing following patch as
obvious. It lowers their priority.

Sun Jun 10 10:56:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
	* predict.def (PRED_OPCODE): Place before call and error_return.

Index: predict.def
===================================================================
RCS file: /cvs/gcc/egcs/gcc/predict.def,v
retrieving revision 1.2
diff -c -3 -p -r1.2 predict.def
*** predict.def	2001/06/10 08:01:57	1.2
--- predict.def	2001/06/10 08:55:49
*************** DEF_PREDICTOR (PRED_LOOP_BRANCH, "loop b
*** 44,49 ****
  DEF_PREDICTOR (PRED_LOOP_EXIT, "loop exit", PROB_LIKELY)
  DEF_PREDICTOR (PRED_LOOP_HEADER, "loop header", PROB_LIKELY)
  DEF_PREDICTOR (PRED_POINTER, "pointer", PROB_LIKELY)
  DEF_PREDICTOR (PRED_CALL, "call", PROB_LIKELY)
  DEF_PREDICTOR (PRED_ERROR_RETURN, "error return", PROB_LIKELY)
- DEF_PREDICTOR (PRED_OPCODE, "opcode", PROB_LIKELY)
--- 44,49 ----
  DEF_PREDICTOR (PRED_LOOP_EXIT, "loop exit", PROB_LIKELY)
  DEF_PREDICTOR (PRED_LOOP_HEADER, "loop header", PROB_LIKELY)
  DEF_PREDICTOR (PRED_POINTER, "pointer", PROB_LIKELY)
+ DEF_PREDICTOR (PRED_OPCODE, "opcode", PROB_LIKELY)
  DEF_PREDICTOR (PRED_CALL, "call", PROB_LIKELY)
  DEF_PREDICTOR (PRED_ERROR_RETURN, "error return", PROB_LIKELY)


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