v8/test/unittests
pierre.langlois 11b661f414 [turbofan] ARM: Support shifted indexes in loads and stores
This patch is a follow up to https://codereview.chromium.org/1972103002/
adding support for the `Operand_R_LSL_I` addressing mode to loads and
stores for ARM.

Just as the ARM64 implementation, the shift + load/store pattern is only
really relevant to the interpreter. For this reason, this patch does not
add support for the other addressing modes (`R_LSR_I`, `R_ASR_I` and
`R_ROR_I`) as I haven't seen those pattern being generated. Additionally,
the optimization is restricted 32 bit loads and stores.

kind = BYTECODE_HANDLER
name = Star
compiler = turbofan
Instructions (size = 40)
0x22a5f860     0  e2851001       add r1, r5, #1
0x22a5f864     4  e19610d1       ldrsb r1, [r6, +r1]
0x22a5f868     8  e1a0200b       mov r2, fp
0x22a5f86c    12  e7820101       str r0, [r2, +r1, lsl #2]
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
0x22a5f870    16  e2855002       add r5, r5, #2
0x22a5f874    20  e7d61005       ldrb r1, [r6, +r5]
0x22a5f878    24  e7981101       ldr r1, [r8, +r1, lsl #2]
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
0x22a5f87c    28  e12fff11       bx r1

BUG=

Review-Url: https://codereview.chromium.org/1974263002
Cr-Commit-Position: refs/heads/master@{#36381}
2016-05-19 19:18:25 +00:00
..
base Reland of [Reland] Implement CPU time for OS X and POSIX. (patchset #1 id:1 of https://codereview.chromium.org/1977753002/ ) 2016-05-13 11:05:57 +00:00
compiler [turbofan] ARM: Support shifted indexes in loads and stores 2016-05-19 19:18:25 +00:00
heap Represent speed in GCTracer functions as double instead of int. 2016-03-29 17:34:41 +00:00
interpreter [turbofan] Add FixedArray peephole optimizations to CodeStubAssembler 2016-05-19 15:50:31 +00:00
libplatform [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
wasm [wasm] Remove renumbering of local variables from asm->wasm. 2016-05-17 17:57:34 +00:00
cancelable-tasks-unittest.cc Fix gcc 4.9.2 signed-compare error. 2015-11-15 12:48:19 +00:00
char-predicates-unittest.cc Conform to the unittest naming convention. 2014-10-10 08:06:21 +00:00
counters-unittest.cc Fix more -Werror=sign-compare bugs with GCC 4.9.2 2015-05-11 11:07:15 +00:00
DEPS Move unit tests to test/unittests. 2014-10-01 08:34:25 +00:00
locked-queue-unittest.cc Add lock-based unbounded queue 2015-11-18 10:54:13 +00:00
run-all-unittests.cc [presubmit] Enabling readability/inheritance linter checking. 2015-11-04 13:08:42 +00:00
test-utils.cc Debugger: move implementation to a separate folder. 2015-07-31 11:08:15 +00:00
test-utils.h Expose a lower bound of malloc'd memory via heap statistics 2016-04-01 10:01:56 +00:00
unittests.gyp [interpreter] Introduce bytecode generation pipeline. 2016-05-12 19:20:04 +00:00
unittests.isolate Reland [swarming] Isolate v8 testing. 2015-10-05 09:48:42 +00:00
unittests.status Revert of [test] Skip failing test after clang roll. (patchset #1 id:1 of https://codereview.chromium.org/1955013002/ ) 2016-05-09 20:12:34 +00:00