|
From: Nicholas N. <nj...@cs...> - 2005-02-01 23:45:55
|
On Tue, 1 Feb 2005, Jeremy Fitzhardinge wrote: > I also checked in some improvements to the handling of dispatch_ctr. It > is per-thread rather than global, and so is easily accessible as an > offset from %ebp. This reduces the per-basic block preamble from 15 > bytes to 7 (16->8 if you use --branchpred=yes). It also makes the > meaning of dispatch_ctr a bit more precise. It used to mean "switch > contexts after 50k BBs were run, regardless of which thread", now it > means "switch after this thread runs 50k BBs" - the difference probably > isn't significant at the moment. Hmm, nice :) N |