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

Issue 341863002: ARM64: Give LR to the allocator. (Closed)

Created:
6 years, 6 months ago by jbramley
Modified:
5 years, 9 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM64: Give LR to the allocator. By avoiding the 'Call' mechanism for entering the deopt handler, we can give LR to the register allocator, to treat like any other caller-saved register. This makes the entry mechanism a little more complicated since the caller address needs to be constructed manually using adr, but only in the slow (deopt) path. BUG=

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -25 lines) Patch
M src/arm64/assembler-arm64.h View 7 chunks +32 lines, -10 lines 0 comments Download
M src/arm64/deoptimizer-arm64.cc View 6 chunks +15 lines, -10 lines 2 comments Download
M src/arm64/lithium-codegen-arm64.cc View 5 chunks +38 lines, -5 lines 2 comments Download
M src/arm64/macro-assembler-arm64.h View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jbramley
6 years, 6 months ago (2014-06-18 15:20:28 UTC) #1
ulan
Do you have performance numbers for this?
6 years, 6 months ago (2014-06-20 10:56:39 UTC) #2
jbramley
On 2014/06/20 10:56:39, ulan wrote: > Do you have performance numbers for this? It doesn't ...
6 years, 6 months ago (2014-06-23 08:34:00 UTC) #3
ulan
Probably ARM would benefit more from extra register. If you plan to implement the same ...
6 years, 6 months ago (2014-06-23 11:17:11 UTC) #4
jbramley
> Probably ARM would benefit more from extra register. If you plan to implement > ...
6 years, 6 months ago (2014-06-23 17:22:05 UTC) #5
ulan
lgtm > Would you like me to prepare the ARM patch before finishing this one? ...
6 years, 5 months ago (2014-06-27 13:17:48 UTC) #6
jbramley
5 years, 9 months ago (2015-03-13 14:56:10 UTC) #7
On 2014/06/27 13:17:48, ulan wrote:
> lgtm
> 
> > Would you like me to prepare the ARM patch before finishing this one?
> Feel free to land this before starting the ARM patch.

By the way, whilst working on the ARM patch I found some problems common to
ARM64, we just don't see them with ARM64 because there isn't enough register
pressure for LR to be allocated in the troublesome cases.

I'll discard this review, and possibly resurrect it later if I find a sensible
way to free up LR. You're right, though, ARM32 is the priority because it would
benefit more from the extra register.

Powered by Google App Engine
This is Rietveld 408576698