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

Issue 1419223003: Re-assign registers on ARM so PP and CODE_REG are below R7 (FP on iOS). (Closed)

Created:
5 years, 2 months ago by rmacnak
Modified:
5 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Re-assign registers on ARM so PP and CODE_REG are below R7 (FP on iOS). Also update descriptions of register availability in instrinsics. 1) Mechanical replacement in *arm.* files except the simulator and constants_arm.h (with sed). R5 -> R9 R6 -> R8 R8 -> R10 R9 -> R5 R10 -> R6 2) Change register aliases. CTX = R10 -> CTX = R6 PP = R9 -> PP = R5 ICREG = R5 -> ICREG = R9 CODE_REG = R10 -> CODE_REG = R6 THR = R8 -> THR = R10 3) Fixup users of ldrd/strd to have valid register pairs. bigint_lsh bigint_absadd bigint_abssub bigint_sqradd TYPED_ARRAY_ALLOCATION InlineArrayAllocation AllocateArrayStub AllocateContextStub 4) Fix PushList in MegamorphicMissStub to keep runtime call arguments in the right order. BUG=http://dartbug.com/24683 R=fschneider@google.com Committed: https://github.com/dart-lang/sdk/commit/dd7250323d671248fa03c79bf0718fa100fd6e79

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+507 lines, -505 lines) Patch
M runtime/vm/assembler_arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_arm_test.cc View 1 chunk +18 lines, -18 lines 0 comments Download
M runtime/vm/code_patcher_arm_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/constants_arm.h View 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 12 chunks +55 lines, -55 lines 0 comments Download
M runtime/vm/instructions_arm.cc View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 4 chunks +14 lines, -14 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 2 24 chunks +189 lines, -190 lines 0 comments Download
M runtime/vm/intrinsifier_arm64.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/intrinsifier_mips.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/runtime_entry_arm.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/stub_code_arm.cc View 64 chunks +204 lines, -205 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
rmacnak
Depends on https://codereview.chromium.org/1418813005/
5 years, 2 months ago (2015-10-23 19:59:35 UTC) #2
Florian Schneider
lgtm https://codereview.chromium.org/1419223003/diff/20001/runtime/vm/instructions_arm.cc File runtime/vm/instructions_arm.cc (right): https://codereview.chromium.org/1419223003/diff/20001/runtime/vm/instructions_arm.cc#newcode183 runtime/vm/instructions_arm.cc:183: if ((instr & 0xffff0000) == 0xe5950000) { // ...
5 years, 1 month ago (2015-10-26 17:12:31 UTC) #3
rmacnak
https://codereview.chromium.org/1419223003/diff/20001/runtime/vm/instructions_arm.cc File runtime/vm/instructions_arm.cc (right): https://codereview.chromium.org/1419223003/diff/20001/runtime/vm/instructions_arm.cc#newcode183 runtime/vm/instructions_arm.cc:183: if ((instr & 0xffff0000) == 0xe5950000) { // ldr ...
5 years, 1 month ago (2015-10-26 18:01:50 UTC) #4
rmacnak
5 years, 1 month ago (2015-10-26 18:05:36 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
dd7250323d671248fa03c79bf0718fa100fd6e79.

Powered by Google App Engine
This is Rietveld 408576698