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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.cc

Issue 92433002: Merge sin(a), cos(a) into one instruction. TODO: Implement for ARM and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS.
6 #if defined(TARGET_ARCH_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 9
10 #include "vm/ast_printer.h" 10 #include "vm/ast_printer.h"
(...skipping 24 matching lines...) Expand all
35 ASSERT(!block_info_[i]->jump_label()->IsLinked()); 35 ASSERT(!block_info_[i]->jump_label()->IsLinked());
36 } 36 }
37 } 37 }
38 38
39 39
40 bool FlowGraphCompiler::SupportsUnboxedMints() { 40 bool FlowGraphCompiler::SupportsUnboxedMints() {
41 return false; 41 return false;
42 } 42 }
43 43
44 44
45 bool FlowGraphCompiler::SupportsSinCos() {
46 return false;
47 }
48
49
45 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler, 50 RawDeoptInfo* CompilerDeoptInfo::CreateDeoptInfo(FlowGraphCompiler* compiler,
46 DeoptInfoBuilder* builder, 51 DeoptInfoBuilder* builder,
47 const Array& deopt_table) { 52 const Array& deopt_table) {
48 if (deopt_env_ == NULL) return DeoptInfo::null(); 53 if (deopt_env_ == NULL) return DeoptInfo::null();
49 54
50 intptr_t stack_height = compiler->StackSize(); 55 intptr_t stack_height = compiler->StackSize();
51 AllocateIncomingParametersRecursive(deopt_env_, &stack_height); 56 AllocateIncomingParametersRecursive(deopt_env_, &stack_height);
52 57
53 intptr_t slot_ix = 0; 58 intptr_t slot_ix = 0;
54 Environment* current = deopt_env_; 59 Environment* current = deopt_env_;
(...skipping 1877 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 __ AddImmediate(SP, kDoubleSize); 1937 __ AddImmediate(SP, kDoubleSize);
1933 } 1938 }
1934 1939
1935 1940
1936 #undef __ 1941 #undef __
1937 1942
1938 1943
1939 } // namespace dart 1944 } // namespace dart
1940 1945
1941 #endif // defined TARGET_ARCH_MIPS 1946 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | runtime/vm/flow_graph_compiler_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698