Reviewers: William Hesse,
Description:
X64: Make all arithmetic ops, and a few other, try to avoid rsp and r12 as
base
register.
Using rsp or r12 as the "base" register of the ModR/M byte forces a SIB
byte,
even with no index register. Some operations can avoid this by using
another,
equivalent, encoding that swaps the meaning of the base and register parts.
Please review this at http://codereview.chromium.org/2075010/show
Affected files:
M src/x64/assembler-x64.h
M src/x64/assembler-x64.cc
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev