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

Issue 10875030: Add support for XMM registers in SSA code generation pipeline. (Closed)

Created:
8 years, 4 months ago by Vyacheslav Egorov (Google)
Modified:
8 years, 4 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add support for XMM registers in SSA code generation pipeline. Split BinaryDoubleOp into several instructions that manipulate unboxed doubles. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=11313

Patch Set 1 #

Total comments: 26

Patch Set 2 : Rebased, addressed Florian's comments #

Total comments: 1

Patch Set 3 : remove * 2 for double spill slots #

Patch Set 4 : fix a bug pointed out by Florian #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1255 lines, -207 lines) Patch
M runtime/platform/globals.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.h View 2 chunks +3 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 2 chunks +19 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32_test.cc View 1 chunk +12 lines, -0 lines 0 comments Download
M runtime/vm/assembler_macros_ia32.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/assembler_macros_ia32.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/assembler_macros_x64.h View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/assembler_macros_x64.cc View 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/assembler_x64.h View 2 chunks +4 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64.cc View 2 chunks +22 lines, -0 lines 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 chunk +8 lines, -1 line 0 comments Download
M runtime/vm/compiler.cc View 1 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/flow_graph.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_allocator.h View 7 chunks +48 lines, -11 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 1 2 40 chunks +241 lines, -124 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 chunks +3 lines, -21 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 4 chunks +77 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 4 chunks +81 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 chunks +17 lines, -2 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 6 chunks +88 lines, -27 lines 0 comments Download
M runtime/vm/il_printer.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 6 chunks +144 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 5 chunks +45 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 1 chunk +152 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 1 chunk +152 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 1 6 chunks +6 lines, -0 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 1 5 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/locations.h View 1 8 chunks +100 lines, -12 lines 0 comments Download
M runtime/vm/locations.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Google)
8 years, 4 months ago (2012-08-23 13:05:25 UTC) #1
Florian Schneider
Could you upload a rebased version so that I can look at flow_graph_optimizer again with ...
8 years, 4 months ago (2012-08-24 11:09:27 UTC) #2
Vyacheslav Egorov (Google)
Addressed comments. Rebased. Please take another look. https://chromiumcodereview.appspot.com/10875030/diff/1/runtime/vm/flow_graph_allocator.cc File runtime/vm/flow_graph_allocator.cc (right): https://chromiumcodereview.appspot.com/10875030/diff/1/runtime/vm/flow_graph_allocator.cc#newcode444 runtime/vm/flow_graph_allocator.cc:444: } else ...
8 years, 4 months ago (2012-08-24 13:23:01 UTC) #3
Florian Schneider
8 years, 4 months ago (2012-08-24 13:40:55 UTC) #4
lgtm

https://chromiumcodereview.appspot.com/10875030/diff/5002/runtime/vm/intermed...
File runtime/vm/intermediate_language.h (right):

https://chromiumcodereview.appspot.com/10875030/diff/5002/runtime/vm/intermed...
runtime/vm/intermediate_language.h:1699: Value* right() const { return
inputs_[0]; }
right should be inputs_[1]. If the left/right-accessors are never used, consider
deleting them.

Powered by Google App Engine
This is Rietveld 408576698