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

Issue 6274009: ARM: Merging constants in simulator and assembler header files and other clea... (Closed)

Created:
9 years, 11 months ago by m.m.capewell
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

ARM: Merging constants in simulator and assembler header files and other cleanup. First stab at a general ARM cleanup patch. It merges ARM constants so that they can be used across simulator, assembler and disassembler, and tidies up some syntax and ambiguities. BUG=none TEST=none Committed: http://code.google.com/p/v8/source/detail?r=6483

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Total comments: 40

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1147 lines, -1058 lines) Patch
M src/arm/assembler-arm.h View 1 2 3 6 chunks +3 lines, -165 lines 0 comments Download
M src/arm/assembler-arm.cc View 1 2 3 45 chunks +97 lines, -150 lines 1 comment Download
M src/arm/builtins-arm.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/arm/code-stubs-arm.cc View 1 2 3 16 chunks +26 lines, -25 lines 0 comments Download
M src/arm/codegen-arm.cc View 1 2 3 8 chunks +10 lines, -10 lines 0 comments Download
M src/arm/codegen-arm-inl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/arm/constants-arm.h View 1 2 3 9 chunks +452 lines, -136 lines 0 comments Download
M src/arm/constants-arm.cc View 1 2 3 2 chunks +4 lines, -6 lines 0 comments Download
M src/arm/cpu-arm.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/arm/disasm-arm.cc View 1 2 3 52 chunks +230 lines, -229 lines 0 comments Download
M src/arm/full-codegen-arm.cc View 1 2 3 3 chunks +13 lines, -13 lines 0 comments Download
M src/arm/ic-arm.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M src/arm/jump-target-arm.cc View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 8 chunks +8 lines, -8 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 5 chunks +9 lines, -9 lines 0 comments Download
M src/arm/simulator-arm.h View 1 2 3 7 chunks +40 lines, -44 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 83 chunks +235 lines, -243 lines 0 comments Download
M src/top.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/top.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/v8.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
m.m.capewell
9 years, 11 months ago (2011-01-20 11:35:58 UTC) #1
Mads Ager (chromium)
First overall comment: no using directives. :) I'll have a look at the actual contents ...
9 years, 11 months ago (2011-01-20 12:40:00 UTC) #2
Mads Ager (chromium)
I think we should take this opportunity to get rid of all the assembler:: namespaces ...
9 years, 11 months ago (2011-01-20 14:02:14 UTC) #3
m.m.capewell
9 years, 11 months ago (2011-01-21 16:15:45 UTC) #4
Alexandre
Thanks for the review! Alexandre http://codereview.chromium.org/6274009/diff/1/src/arm/assembler-arm.h File src/arm/assembler-arm.h (right): http://codereview.chromium.org/6274009/diff/1/src/arm/assembler-arm.h#newcode43 src/arm/assembler-arm.h:43: #include "constants-arm.h" On 2011/01/20 ...
9 years, 11 months ago (2011-01-21 16:22:14 UTC) #5
Mads Ager (chromium)
This looks great! A couple of indentation changes and suggestions below. Once they are addressed ...
9 years, 11 months ago (2011-01-24 11:45:03 UTC) #6
m.m.capewell
9 years, 11 months ago (2011-01-25 17:15:42 UTC) #7
Alexandre
Just saw a last comment on a few words' case. I will fix it. http://codereview.chromium.org/6274009/diff/21001/src/arm/assembler-arm.cc ...
9 years, 11 months ago (2011-01-25 17:19:55 UTC) #8
Alexandre
http://codereview.chromium.org/6274009/diff/21001/src/arm/constants-arm.h File src/arm/constants-arm.h (right): http://codereview.chromium.org/6274009/diff/21001/src/arm/constants-arm.h#newcode364 src/arm/constants-arm.h:364: call_rt_redirected = 0x10, Fixed. I missed this one as ...
9 years, 11 months ago (2011-01-25 17:30:25 UTC) #9
m.m.capewell
9 years, 11 months ago (2011-01-25 17:59:29 UTC) #10
Mads Ager (chromium)
9 years, 11 months ago (2011-01-26 08:23:48 UTC) #11
LGTM. I'll take care of the last identation nit when landing. Thanks!

http://codereview.chromium.org/6274009/diff/40002/src/arm/assembler-arm.cc
File src/arm/assembler-arm.cc (right):

http://codereview.chromium.org/6274009/diff/40002/src/arm/assembler-arm.cc#ne...
src/arm/assembler-arm.cc:1470: Instruction::RdValue(ldr_instr)) ||
Indentation is off here.

Powered by Google App Engine
This is Rietveld 408576698