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

Issue 92433002: Merge sin(a), cos(a) into one instruction. TODO: Implement for ARM and MIPS. (Closed)

Created:
7 years ago by srdjan
Modified:
7 years ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Merge sin(a), cos(a) into one instruction. On IA32 use x87 fsincos operation, on x64 call runtime routine whihc merges sin/cos intos sincos. TODO: Implement for ARM and MIPS. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=30827

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 10

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -35 lines) Patch
M runtime/vm/assembler_ia32.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/assembler_ia32_test.cc View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
M runtime/vm/code_generator.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/code_generator.cc View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M runtime/vm/compiler.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.h View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 3 4 5 6 7 8 6 chunks +84 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_type_propagator.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 8 6 chunks +14 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_arm.cc View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 2 3 4 5 6 7 8 3 chunks +55 lines, -8 lines 0 comments Download
M runtime/vm/intermediate_language_x64.cc View 1 2 3 4 5 6 7 8 3 chunks +67 lines, -8 lines 0 comments Download
M tests/language/arithmetic_test.dart View 1 2 3 4 5 6 7 8 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
srdjan
7 years ago (2013-12-02 23:22:46 UTC) #1
Florian Schneider
LGTM. https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc#newcode361 runtime/vm/compiler.cc:361: optimizer.TryOptimizePatterns(); Is it necessary to run this twice, ...
7 years ago (2013-12-03 14:12:04 UTC) #2
srdjan
https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc#newcode361 runtime/vm/compiler.cc:361: optimizer.TryOptimizePatterns(); On 2013/12/03 14:12:04, Florian Schneider wrote: > Is ...
7 years ago (2013-12-03 18:10:01 UTC) #3
srdjan
https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://codereview.chromium.org/92433002/diff/90001/runtime/vm/compiler.cc#newcode361 runtime/vm/compiler.cc:361: optimizer.TryOptimizePatterns(); Correction: the early one is needed to mark ...
7 years ago (2013-12-03 21:01:38 UTC) #4
srdjan
7 years ago (2013-12-03 22:00:45 UTC) #5
Message was sent while issue was closed.
Committed patchset #9 manually as r30827 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698