This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
predict.def tweek
- To: rth at cygnus dot com, gcc-patches at gcc dot gnu dot org, patches at x86-64 dot org
- Subject: predict.def tweek
- From: Jan Hubicka <jh at suse dot cz>
- Date: Sun, 10 Jun 2001 10:58:16 +0200
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)