|
From: Anne R. <am...@cs...> - 2007-07-05 22:04:06
|
Thank you very much. I now see how to fix my problem. -anne ps. I understood that the antecedent of "it" was the predictor not the branch event finder. On Jul 5, 2007, at 4:53 PM, Nicholas Nethercote wrote: > On Thu, 5 Jul 2007, Julian Seward wrote: > >> As far as the immediate problem goes: a couple months ago I extended >> cachegrind to do branch prediction simulation, and so had to solve >> this >> exact problem. It's not in the 3.2.X series but it is in the current >> trunk. svn co svn://svn.valgrind.org/valgrind/trunk and look at >> cg_main.c >> around line 1020, specifically the 'case Ist_Exit:' ... stuff. >> >> The branch events are fed through to the simulator in >> cg_branchpred.c. >> It probably has a fairly high level of bogosity. > > I think "It" in that last sentence refers to the branch simulation, > rather > than the rest of the tool -- ie. it identifies the branches ok. > However, > Daniel Jimenez did say it was a reasonable basic simulator, > although some of > the parameters could be tweaked. > > Nick > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |