[Webkit-unassigned] [Bug 20422] Patch to allow custom memory allocation control

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 23 16:40:24 PST 2009


------- Comment #47 from darin at apple.com  2009-02-23 16:40 PDT -------
(In reply to comment #45)
> Some processors (e.g. PowerPC) 
> have instruction variants which tell the processor to reverse this 
> expectation, but you need to use things like GCC's __builtin_expect 
> or assembly language to access them.

That's not quite right. The compiler doesn't put the code in the same order you
typed it, so the issue here is not about instruction variants for the
processor. The compiler can order the code however it wants.

We do indeed use __builtin_expect in various places with the UNLIKELY and
LIKELY macros.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list