|
From: Josef W. <Jos...@gm...> - 2011-11-28 23:38:11
|
On 24.11.2011 12:29, Julian Seward wrote: >> Hmm.. as I don't want a switch statement for these special cases in >> every simulator call, but already want this worked out at instrumentation >> time, this results in a lot of different dirty helpers. I need to play >> with that. > Well, I was not thinking of having switches once per sim call, rather > jitting calls to specialised versions. Ok. Still, lots of helpers. > If you're worried about getting too many mispredicts, you might like > to use cachegrind (or callgrind) to profile callgrind; could be useful. ;-) >> Anyway, it should be easy to just make a special case for my Core i5 >> laptop, and see if there is any benefit at all. > +1 for that plan. Unfortunately, special casing the simulator for specific cache parameters was not really giving me a visible speedup. So I did not investigate further. See another mail on experiments with direct instrumentation. Josef |