> On Thu, Jan 31, 2013 at 1:31 PM, L. David Baron <dba...@dbaron.org> wrote: > > Is it possible we might be able to make MOZ_LIKELY and MOZ_UNLIKELY > > meaningful on Windows (they currently only do anything on gcc or > > clang builds)? If we did, might that get back some of the gain from > > turning off PGO?
On Thursday 2013-01-31 13:59 -0500, Ehsan Akhgari wrote: > MSVC supports __assume, which is similar but not quite the same. I'm very > skeptical that by simply using __assume we'll regain the benchmark hit > resulting from turning PGO off. I certainly wouldn't expect to regain anything close to the whole benchmark hit, but I could imagine regaining 10% or 20% of it with something similar (which Mike's post notes __assume isn't). -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla http://www.mozilla.org/ 𝄂 _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform