Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Issue 1974263002: [turbofan] ARM: Support shifted indexes in loads and stores (Closed)

Created:
4 years, 7 months ago by Pierre Langlois
Modified:
4 years, 7 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[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= Committed: https://crrev.com/11b661f4143a851c90a8a678876acb530193da51 Cr-Commit-Position: refs/heads/master@{#36381}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -38 lines) Patch
M src/compiler/arm/code-generator-arm.cc View 2 chunks +14 lines, -26 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 6 chunks +63 lines, -10 lines 0 comments Download
M test/unittests/compiler/arm/instruction-selector-arm-unittest.cc View 2 chunks +35 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Pierre Langlois
4 years, 7 months ago (2016-05-13 10:08:04 UTC) #2
Pierre Langlois
ping?
4 years, 7 months ago (2016-05-19 16:50:28 UTC) #5
Benedikt Meurer
lgtm
4 years, 7 months ago (2016-05-19 18:16:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1974263002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1974263002/1
4 years, 7 months ago (2016-05-19 18:53:43 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-19 19:16:56 UTC) #10
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 19:18:38 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/11b661f4143a851c90a8a678876acb530193da51
Cr-Commit-Position: refs/heads/master@{#36381}

Powered by Google App Engine
This is Rietveld 408576698