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

Issue 12367002: ARM backend support for pld (preload data) instruction

Created:
7 years, 9 months ago by rkrithiv
Modified:
7 years, 8 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM backend support for pld (preload data) instruction BUG=none TEST=none

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -8 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 chunk +25 lines, -0 lines 0 comments Download
M src/arm/constants-arm.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M src/arm/disasm-arm.cc View 5 chunks +26 lines, -7 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 chunk +3 lines, -1 line 0 comments Download
M test/cctest/test-assembler-arm.cc View 1 chunk +65 lines, -0 lines 0 comments Download
M test/cctest/test-disasm-arm.cc View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rkrithiv
Hi Danno, I would appreciate it if you could review my change. Thanks!
7 years, 9 months ago (2013-02-27 22:29:36 UTC) #1
danno
Thanks for the patch. Just some nits, please address these and then I can land ...
7 years, 9 months ago (2013-02-28 07:06:32 UTC) #2
Sven Panne
https://codereview.chromium.org/12367002/diff/1/src/arm/assembler-arm.cc File src/arm/assembler-arm.cc (right): https://codereview.chromium.org/12367002/diff/1/src/arm/assembler-arm.cc#newcode1499 src/arm/assembler-arm.cc:1499: void Assembler::pld(const MemOperand& src) { This looks suspiciously like ...
7 years, 9 months ago (2013-02-28 07:36:11 UTC) #3
danno
https://codereview.chromium.org/12367002/diff/1/src/arm/simulator-arm.cc File src/arm/simulator-arm.cc (right): https://codereview.chromium.org/12367002/diff/1/src/arm/simulator-arm.cc#newcode3251 src/arm/simulator-arm.cc:3251: if (!instr->IsPld()) { I'm not sure that's the right ...
7 years, 9 months ago (2013-02-28 07:53:55 UTC) #4
danno
Are you still interested in landing this patch? If so, please take a look and ...
7 years, 8 months ago (2013-04-04 13:10:56 UTC) #5
rkrithiv
I have fixed the formatting of IsPld() in patch set #2. As for the similarities ...
7 years, 8 months ago (2013-04-05 00:16:53 UTC) #6
ulan
7 years, 8 months ago (2013-04-08 12:28:56 UTC) #7
> As for the similarities with addrmod2, there does not seem to be any
restriction
> on Rn being pc in the pld instruction (this is checked in the final ASSERT in
> addrmod2), so I decided not to use addrmod2 for pld.

The assert in addrmod2 is

ASSERT((am & (P|W)) == P || !x.rn_.is(pc));

The first part (am & (P|W)) == P holds for pld, so Rn can be pc.

I also think it is better to use addrmod2, but special check should be added to
ensure that offset_12 fits into 12 bits.

Powered by Google App Engine
This is Rietveld 408576698