Go to file
kmillikin@chromium.org 97e3aae5ef Refactoring and small optimization of the smi code for binary op stubs
on ia32.

1. Operate on the values in edx,eax when possible (all operations
except DIV and MOD).  This saves moving them on entry and when falling
out to the non-smi code.

2. Do not perform ADD and SUB before the smi check of their inputs.
This saves undoing the operation in the case that we fall through to
the non-smi case due to non-smi inputs (probably common?), and we can
avoid emitting the smi check code twice (code size reduction).

3. Don't perform OR twice (once to smi check the inputs and once to
smi check the result).

Review URL: http://codereview.chromium.org/556019

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3712 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-01-26 14:43:40 +00:00
benchmarks Remove svn:executable flag from run.html and style.css and change the mime-type of style.css to text/css. 2009-07-15 10:37:10 +00:00
include Implement issue 549 Make V8 call DebugMessageDispatchHandler with Locker locked 2010-01-18 15:48:41 +00:00
samples Don't mention obsolete Issue 548 2010-01-20 17:06:23 +00:00
src Refactoring and small optimization of the smi code for binary op stubs 2010-01-26 14:43:40 +00:00
test Implement unary addition in the full (non-optimizing) code generator. 2010-01-26 13:57:11 +00:00
tools Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
.gitignore Add '.cpplint-cache' to ignore lists for SVN and Git. This change also sets 'ignore' property on '.', although this change isn't visible in Rietveld. 2009-12-11 09:01:38 +00:00
AUTHORS Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00
ChangeLog Push to trunk. Now working on 2.0.7. 2010-01-14 15:09:43 +00:00
LICENSE Get rid of duplicate LICENSE entry for the Valgrind 2009-09-27 09:33:11 +00:00
SConstruct Land patch to add Solaris platform support. 2010-01-25 12:37:31 +00:00