Reviewers: Michael Starzinger,
Description:
Added %_Likely/%_Unlikely intrinsics (special cases of GCC's
__builin_expect).
Currently this only sets branch hints, so we get unlikely code "out of
the way", but in the long run the register allocator needs some love
to treat the unlikely code as, well, unlikely. :-)
Please review this at https://codereview.chromium.org/1048063002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+107, -0 lines):
M src/compiler/js-intrinsic-lowering.h
M src/compiler/js-intrinsic-lowering.cc
M src/hydrogen.h
M src/hydrogen.cc
M src/runtime/runtime.h
M src/runtime/runtime-internal.cc
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.