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

Issue 21063002: Out-of-line constant pool on Arm: Stage 1 - Free up r7 for use as constant pool pointer register (Closed)

Created:
7 years, 4 months ago by rmcilroy
Modified:
7 years, 3 months ago
CC:
v8-dev
Visibility:
Public.

Description

Out-of-line constant pool on Arm: Stage 1 - Free up r7 for use as constant pool pointer register First stage of implementing an out-of-line constant pool on Arm. This CL frees up register r7 for use as a constant pool pointer in later stages. BUG= R=ulan@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16898

Patch Set 1 #

Patch Set 2 : Fix typo #

Total comments: 25

Patch Set 3 : Address comments. #

Total comments: 12

Patch Set 4 : Address Failed to process /usr/local/google/code/v8_bleeding_edge/src/ia32/lithium-codegen-ia32.cc #

Patch Set 5 : Address Rodolph's comments. #

Total comments: 6

Patch Set 6 : Synced and rebased #

Patch Set 7 : Address Ulan's comments #

Patch Set 8 : Sync and rebase. #

Patch Set 9 : Fix typo. #

Total comments: 4

Patch Set 10 : Fix typo in comment. #

Total comments: 6

Patch Set 11 : Fix bug in codegen-arm.cc #

Patch Set 12 : Rebase #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -234 lines) Patch
M src/arm/assembler-arm.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -1 line 0 comments Download
M src/arm/builtins-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +13 lines, -16 lines 0 comments Download
M src/arm/code-stubs-arm.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 46 chunks +128 lines, -120 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +21 lines, -21 lines 0 comments Download
M src/arm/deoptimizer-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -4 lines 0 comments Download
M src/arm/frames-arm.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 10 chunks +27 lines, -29 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -10 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -2 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +15 lines, -14 lines 0 comments Download
M src/arm/stub-cache-arm.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +14 lines, -14 lines 1 comment Download
M src/flag-definitions.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
rmcilroy
This is the first stage of the constant pool work we talked about in the ...
7 years, 4 months ago (2013-07-29 11:59:19 UTC) #1
rmcilroy
I also meant to say, I've created a flag for the out-of-line constant pool, but ...
7 years, 4 months ago (2013-07-29 12:06:53 UTC) #2
JF
I can't say I've done a very good review since I don't know the codebase ...
7 years, 4 months ago (2013-07-29 17:20:09 UTC) #3
ulan
On high level, this looks like a step in right direction. I have some concerns ...
7 years, 4 months ago (2013-07-30 09:45:19 UTC) #4
danno
https://codereview.chromium.org/21063002/diff/3001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/21063002/diff/3001/src/arm/code-stubs-arm.cc#newcode853 src/arm/code-stubs-arm.cc:853: __ vldr(d6, ip, HeapNumber::kValueOffset); On 2013/07/30 09:45:19, ulan wrote: ...
7 years, 4 months ago (2013-07-30 10:34:29 UTC) #5
ulan
> Actually, you can't IIRC, the offset to vldr has to be a multiple of ...
7 years, 4 months ago (2013-07-30 10:47:46 UTC) #6
rmcilroy
On 2013/07/30 10:47:46, ulan wrote: > > Actually, you can't IIRC, the offset to vldr ...
7 years, 4 months ago (2013-07-30 10:59:03 UTC) #7
rmcilroy
Thanks for the reviews. I'll give Golam a go and report back on the performance ...
7 years, 4 months ago (2013-07-30 11:39:44 UTC) #8
Rodolph Perfetta
https://codereview.chromium.org/21063002/diff/16001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/21063002/diff/16001/src/arm/code-stubs-arm.cc#newcode1381 src/arm/code-stubs-arm.cc:1381: assert that left, right, ip, scratch1 and scratch2 are ...
7 years, 4 months ago (2013-07-30 15:19:08 UTC) #9
rmcilroy
Thanks for the review Rodolph. In relation to your question about whether this is purely ...
7 years, 4 months ago (2013-07-30 17:12:37 UTC) #10
ulan
LGTM https://codereview.chromium.org/21063002/diff/26001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/21063002/diff/26001/src/arm/code-stubs-arm.cc#newcode2389 src/arm/code-stubs-arm.cc:2389: counters->transcendental_cache_hit(), 1, scratch0, scratch1); We're using scratch1 and ...
7 years, 4 months ago (2013-08-06 12:29:09 UTC) #11
rmcilroy
Rebased and addressed Ulan's comments. https://codereview.chromium.org/21063002/diff/26001/src/arm/code-stubs-arm.cc File src/arm/code-stubs-arm.cc (right): https://codereview.chromium.org/21063002/diff/26001/src/arm/code-stubs-arm.cc#newcode2389 src/arm/code-stubs-arm.cc:2389: counters->transcendental_cache_hit(), 1, scratch0, scratch1); ...
7 years, 4 months ago (2013-08-06 13:23:25 UTC) #12
ulan
Ross, could you rebase it again? I will land it for you.
7 years, 3 months ago (2013-09-10 11:45:31 UTC) #13
rmcilroy
Rebased and up to date. Please land if you are happy with this Ulan. Also, ...
7 years, 3 months ago (2013-09-12 14:15:10 UTC) #14
rmcilroy
On 2013/09/12 14:15:10, rmcilroy wrote: > Rebased and up to date. Please land if you ...
7 years, 3 months ago (2013-09-12 15:36:12 UTC) #15
ulan
On 2013/09/12 15:36:12, rmcilroy wrote: > On 2013/09/12 14:15:10, rmcilroy wrote: > > Rebased and ...
7 years, 3 months ago (2013-09-13 08:52:18 UTC) #16
rmcilroy_google
On 2013/09/13 08:52:18, ulan wrote: > On 2013/09/12 15:36:12, rmcilroy wrote: > > On 2013/09/12 ...
7 years, 3 months ago (2013-09-13 09:47:03 UTC) #17
ulan
On 2013/09/13 09:47:03, rmcilroy_google wrote: > On 2013/09/13 08:52:18, ulan wrote: > > On 2013/09/12 ...
7 years, 3 months ago (2013-09-13 09:49:42 UTC) #18
ulan
https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc File src/arm/codegen-arm.cc (right): https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc#newcode503 src/arm/codegen-arm.cc:503: r9, This can clobber r9, so the use below ...
7 years, 3 months ago (2013-09-13 12:06:26 UTC) #19
rmcilroy_google
https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc File src/arm/codegen-arm.cc (right): https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc#newcode503 src/arm/codegen-arm.cc:503: r9, On 2013/09/13 12:06:27, ulan wrote: > This can ...
7 years, 3 months ago (2013-09-13 12:16:43 UTC) #20
ulan
On 2013/09/13 12:16:43, rmcilroy_google wrote: > https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc > File src/arm/codegen-arm.cc (right): > > https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc#newcode503 > ...
7 years, 3 months ago (2013-09-13 12:55:48 UTC) #21
rmcilroy
On 2013/09/13 12:55:48, ulan wrote: > On 2013/09/13 12:16:43, rmcilroy_google wrote: > > https://codereview.chromium.org/21063002/diff/68001/src/arm/codegen-arm.cc > ...
7 years, 3 months ago (2013-09-13 13:45:37 UTC) #22
ulan
> Can you send me the command lines you are using to run Yep, sent ...
7 years, 3 months ago (2013-09-13 13:58:22 UTC) #23
Rodolph Perfetta
DBC https://codereview.chromium.org/21063002/diff/82001/src/arm/macro-assembler-arm.cc File src/arm/macro-assembler-arm.cc (right): https://codereview.chromium.org/21063002/diff/82001/src/arm/macro-assembler-arm.cc#newcode1344 src/arm/macro-assembler-arm.cc:1344: mov(cp, Operand(Smi::FromInt(0))); // Indicates no context. I don't ...
7 years, 3 months ago (2013-09-13 14:14:40 UTC) #24
ulan
https://codereview.chromium.org/21063002/diff/82001/src/arm/codegen-arm.cc File src/arm/codegen-arm.cc (right): https://codereview.chromium.org/21063002/diff/82001/src/arm/codegen-arm.cc#newcode484 src/arm/codegen-arm.cc:484: __ ldr(r4, FieldMemOperand(r2, JSObject::kElementsOffset)); Moving this up to line ...
7 years, 3 months ago (2013-09-13 14:20:47 UTC) #25
rmcilroy_google
Thanks for finding that issue Ulan! It does seem to have fixed it (I've been ...
7 years, 3 months ago (2013-09-13 14:52:57 UTC) #26
rmcilroy_google
Thanks for finding that issue Ulan! It does seem to have fixed it (I've been ...
7 years, 3 months ago (2013-09-13 14:52:58 UTC) #27
ulan
I am going to land this. Got conflict during rebase and changed register: https://chromiumcodereview.appspot.com/21063002/diff/94001/src/arm/stub-cache-arm.cc File ...
7 years, 3 months ago (2013-09-23 12:57:13 UTC) #28
ulan
7 years, 3 months ago (2013-09-23 15:01:50 UTC) #29
Message was sent while issue was closed.
Committed patchset #12 manually as r16898 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698