Jit compilation e differenze tra CPU
David Notario illustra in un
recente post alcune strategie seguite per adattare il codice
generato dal Jitter (e tramite ngen) a diverse CPU target.
Interessante, tra le altre, questa affermazione:
We
don’t take advantage of other things, such as knowing code cache sizes, etc…
One of the reasons for this is that we don’t want different code on every
single machine out there. As usual, there is a trade off if we did this, we
may get some extra speed in some situations, but on the other hand, in a realistic world, it’s more likely
for us to produce bugs that only repro in machines that meet n conditions, so
introducing more processor specific optimizations has to be done
carefully
Link: http://blogs.msdn.com/davidnotario/archive/2005/08/15/451845.aspx