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

Issue 1319203005: Subzero. Changes the Register Allocator so that it is aware of register (Closed)

Created:
5 years, 3 months ago by John
Modified:
5 years, 3 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 : Moves the X86 register set initialization logic to the traitses... gollum! #

Patch Set 2 : Adds a method to Ice::TargetLowering for returning the aliases for a register. #

Patch Set 3 : Initial draft. #

Patch Set 4 : Adds getAliasesForRegister on ARM32. #

Patch Set 5 : Makes Ice::TargetLowering::getAliasesForRegister(SizeT) const abstract. #

Patch Set 6 : make format #

Total comments: 12

Patch Set 7 : Addresses comments. #

Total comments: 14

Patch Set 8 : Addresses comments. #

Total comments: 2

Patch Set 9 : Addresses comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -91 lines) Patch
M src/IceRegAlloc.h View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 2 3 4 5 6 7 19 chunks +100 lines, -46 lines 0 comments Download
M src/IceTargetLowering.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceTargetLoweringARM32.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M src/IceTargetLoweringARM32.cpp View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceTargetLoweringMIPS32.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M src/IceTargetLoweringMIPS32.cpp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M src/IceTargetLoweringX8632Traits.h View 1 2 3 4 5 6 2 chunks +34 lines, -9 lines 0 comments Download
M src/IceTargetLoweringX8664Traits.h View 1 2 3 4 5 2 chunks +35 lines, -9 lines 0 comments Download
M src/IceTargetLoweringX86Base.h View 1 2 3 4 5 3 chunks +11 lines, -2 lines 0 comments Download
M src/IceTargetLoweringX86BaseImpl.h View 1 2 3 4 5 1 chunk +1 line, -25 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
John
5 years, 3 months ago (2015-09-02 22:36:12 UTC) #2
Jim Stichnoth
Probably add Jan as a reviewer. Update the Subject and Description so the commit message ...
5 years, 3 months ago (2015-09-03 17:48:49 UTC) #3
John
https://codereview.chromium.org/1319203005/diff/100001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/100001/src/IceRegAlloc.cpp#newcode228 src/IceRegAlloc.cpp:228: TargetLowering *Target = Func->getTarget(); On 2015/09/03 17:48:49, stichnot wrote: ...
5 years, 3 months ago (2015-09-03 22:38:25 UTC) #5
Jim Stichnoth
lgtm https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode351 src/IceRegAlloc.cpp:351: for (int32_t RegAlias = Aliases.find_first(); RegAlias >= 0; ...
5 years, 3 months ago (2015-09-04 00:10:20 UTC) #6
jvoung (off chromium)
Otherwise LGTM too https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode306 src/IceRegAlloc.cpp:306: Iter.RegMask[Var->getRegNumTmp()] = false; Do you need ...
5 years, 3 months ago (2015-09-04 16:14:46 UTC) #7
Jim Stichnoth
https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode306 src/IceRegAlloc.cpp:306: Iter.RegMask[Var->getRegNumTmp()] = false; On 2015/09/04 16:14:46, jvoung wrote: > ...
5 years, 3 months ago (2015-09-04 16:38:51 UTC) #8
Jim Stichnoth
https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode646 src/IceRegAlloc.cpp:646: Func->getTarget()->makeRandomRegisterPermutation( Can you change this and basically all Func->getTarget() ...
5 years, 3 months ago (2015-09-04 16:50:17 UTC) #9
Jim Stichnoth
https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode228 src/IceRegAlloc.cpp:228: Target = Func->getTarget(); Actually, Target is probably better initialized ...
5 years, 3 months ago (2015-09-04 16:53:10 UTC) #10
John
please take another look. https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp File src/IceRegAlloc.cpp (right): https://codereview.chromium.org/1319203005/diff/120001/src/IceRegAlloc.cpp#newcode228 src/IceRegAlloc.cpp:228: Target = Func->getTarget(); On 2015/09/04 ...
5 years, 3 months ago (2015-09-04 17:32:25 UTC) #11
Jim Stichnoth
Still LGTM. IIRC, when we discussed this yesterday, I thought there were one or two ...
5 years, 3 months ago (2015-09-04 18:19:24 UTC) #12
John
I thought we agreed we always needed to iterate over the registers?... well, I can ...
5 years, 3 months ago (2015-09-04 18:23:21 UTC) #13
John
5 years, 3 months ago (2015-09-04 18:23:45 UTC) #14
Message was sent while issue was closed.
Committed patchset #9 (id:160001) manually as
bb0a5fe31a71fdc5b3292d62169f428d531437a4 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698