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.

--
Ehsan
<http://ehsanakhgari.org/>


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?
>
> -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
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to