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

Issue 568029: Add support for ldrd/strd from Kun Zhang (zhangk@codeaurora.org), Code Aurora (Closed)

Created:
10 years, 10 months ago by zhangk
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

We add the support for ldrd and strd to reduce the ldr/str overheads and to reduce the code size. The changes include new code encoding, code generation, disassembler, and simulator. Thanks.

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -9 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/assembler-arm.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +10 lines, -0 lines 4 comments Download
M src/arm/codegen-arm.cc View 4 chunks +5 lines, -8 lines 2 comments Download
M src/arm/disasm-arm.cc View 2 chunks +47 lines, -0 lines 0 comments Download
M src/arm/simulator-arm.h View 2 chunks +4 lines, -0 lines 0 comments Download
M src/arm/simulator-arm.cc View 3 chunks +33 lines, -1 line 8 comments Download

Messages

Total messages: 2 (0 generated)
Erik Corry
LGTM with comments addressed and updated to be relative to bleeding edge. http://codereview.chromium.org/568029/diff/8001/9005 File src/arm/assembler-arm.cc ...
10 years, 7 months ago (2010-05-04 07:06:13 UTC) #1
zhangk
10 years, 7 months ago (2010-05-07 05:32:14 UTC) #2
Hi Erik,

I merged the patch with the latest BL, opened a new issue 2019003, and uploaded
the change there.

-Kun

http://codereview.chromium.org/568029/diff/8001/9005
File src/arm/assembler-arm.cc (right):

http://codereview.chromium.org/568029/diff/8001/9005#newcode1151
src/arm/assembler-arm.cc:1151: addrmod3(cond | B7 | B6 | B4, dst, src);
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9005#newcode1156
src/arm/assembler-arm.cc:1156: addrmod3(cond | B7 | B6 | B5 | B4, src, dst);
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9004
File src/arm/codegen-arm.cc (right):

http://codereview.chromium.org/568029/diff/8001/9004#newcode1893
src/arm/codegen-arm.cc:1893: // load the current count to r0, load the length to
r1
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9006
File src/arm/simulator-arm.cc (right):

http://codereview.chromium.org/568029/diff/8001/9006#newcode806
src/arm/simulator-arm.cc:806: int* Simulator::ReadDW(int32_t addr) {
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9006#newcode807
src/arm/simulator-arm.cc:807: int *ptr = reinterpret_cast<int *>(addr);
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9006#newcode813
src/arm/simulator-arm.cc:813: int32_t *ptr = reinterpret_cast<int32_t*>(addr);
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

http://codereview.chromium.org/568029/diff/8001/9006#newcode1434
src/arm/simulator-arm.cc:1434: // strd
On 2010/05/04 07:06:13, Erik Corry wrote:

Done.

Powered by Google App Engine
This is Rietveld 408576698