It is very important to make sure that Set() is not used in any place where we
want to preserve the flags - make sure that no new uses of Set() can occur
between the test and the branch in generated code.

I don't see the need for introducing a new Set(Register, int32_t).
The one place where it is used, you can simply wrap the int32 in an Immediate().


On 2010/12/21 01:56:39, Martin Maly wrote:
Emit literal zero as xor is used in few places but while browsing through the
code I found that it is not so everywhere.

I ran the benchmarks (crypto, deltablue and friends) with and without my
change
and detected no performance regression.

Thank you!
Martin



http://codereview.chromium.org/6016007/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to