v8/test/unittests/interpreter
Ross McIlroy d3e9aade0f [Interpreter] Move BinaryOp Smi transformation into BytecodeGenerator.
Perform the transformation to <BinaryOp>Smi for Binary ops which take Smi
literals in the BytecodeGenerator. This enables us to perform the
transformation for literals on either side for commutative operations, and
Avoids having to do the check on every bytecode in the peephole optimizer.

In the process, adds Smi bytecode variants for all binary operations, adding
 - MulSmi
 - DivSmi
 - ModSmi
 - BitwiseXorSmi
 - ShiftRightLogical

BUG=v8:6194

Change-Id: If1484252f5385c16957004b9cac8bfbb1f209219
Reviewed-on: https://chromium-review.googlesource.com/466246
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Cr-Commit-Position: refs/heads/master@{#44477}
2017-04-07 09:44:57 +00:00
..
bytecode-array-builder-unittest.cc [Interpreter] Move BinaryOp Smi transformation into BytecodeGenerator. 2017-04-07 09:44:57 +00:00
bytecode-array-iterator-unittest.cc [ignition] Remove handles from bytecode generation 2017-02-10 17:52:39 +00:00
bytecode-array-random-iterator-unittest.cc [ignition] Remove handles from bytecode generation 2017-02-10 17:52:39 +00:00
bytecode-array-writer-unittest.cc [ignition] Remove handles from bytecode generation 2017-02-10 17:52:39 +00:00
bytecode-dead-code-optimizer-unittest.cc [Interpreter] Optimize the Register Optimizer. 2016-10-24 20:47:53 +00:00
bytecode-decoder-unittest.cc [interpreter] Teach --print-bytecode the names of runtime functions and intrinsics. 2017-02-23 14:25:45 +00:00
bytecode-operands-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-peephole-optimizer-unittest.cc [Interpreter] Move BinaryOp Smi transformation into BytecodeGenerator. 2017-04-07 09:44:57 +00:00
bytecode-pipeline-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-register-allocator-unittest.cc include fixing: api.h shouldn't include objects-inl.h 2017-01-09 13:43:28 +00:00
bytecode-register-optimizer-unittest.cc [Interpreter] Templatize AccumulatorUsage and OperandType for bytecode creation. 2016-12-15 07:56:21 +00:00
bytecode-utils.h [interpreter] Introduce bytecode generation pipeline. 2016-05-12 19:20:04 +00:00
bytecodes-unittest.cc [ignition] Optimize jump checks to range checks 2016-12-05 18:26:26 +00:00
constant-array-builder-unittest.cc [ignition] Remove handles from bytecode generation 2017-02-10 17:52:39 +00:00
interpreter-assembler-unittest.cc [iwyu] Pre-work for removing unallowed include macro-assembler.h -> assembler-inl.h 2017-02-23 12:10:21 +00:00
interpreter-assembler-unittest.h [turbofan] Remove virtual methods from CodeAssembler. 2016-12-28 15:47:34 +00:00