|
From: Julian S. <js...@ac...> - 2011-11-24 11:37:21
|
> 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. But I don't understand this well enough to comment, so ignore me .. 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. J |