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

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

Issue 2658733002: VM: Remove unused optimization of merging of sin/cos. (Closed)
Patch Set: Remove now unused representation Created 3 years, 11 months 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
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_ia32.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/intermediate_language.h" 8 #include "vm/intermediate_language.h"
9 9
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 5361 matching lines...) Expand 10 before | Expand all | Expand 10 after
5372 __ CompareRegisters(result_mod, ZR); 5372 __ CompareRegisters(result_mod, ZR);
5373 __ b(&done, GE); 5373 __ b(&done, GE);
5374 // Result is negative, adjust it. 5374 // Result is negative, adjust it.
5375 __ CompareRegisters(right, ZR); 5375 __ CompareRegisters(right, ZR);
5376 __ sub(TMP2, result_mod, Operand(right)); 5376 __ sub(TMP2, result_mod, Operand(right));
5377 __ add(TMP, result_mod, Operand(right)); 5377 __ add(TMP, result_mod, Operand(right));
5378 __ csel(result_mod, TMP, TMP2, GE); 5378 __ csel(result_mod, TMP, TMP2, GE);
5379 __ Bind(&done); 5379 __ Bind(&done);
5380 return; 5380 return;
5381 } 5381 }
5382 if (kind() == MergedMathInstr::kSinCos) {
5383 UNIMPLEMENTED();
5384 }
5385 UNIMPLEMENTED(); 5382 UNIMPLEMENTED();
5386 } 5383 }
5387 5384
5388 5385
5389 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary( 5386 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary(
5390 Zone* zone, 5387 Zone* zone,
5391 bool opt) const { 5388 bool opt) const {
5392 return MakeCallSummary(zone); 5389 return MakeCallSummary(zone);
5393 } 5390 }
5394 5391
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
6020 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(), 6017 compiler->GenerateRuntimeCall(TokenPosition::kNoSource, deopt_id(),
6021 kGrowRegExpStackRuntimeEntry, 1, locs()); 6018 kGrowRegExpStackRuntimeEntry, 1, locs());
6022 __ Drop(1); 6019 __ Drop(1);
6023 __ Pop(result); 6020 __ Pop(result);
6024 } 6021 }
6025 6022
6026 6023
6027 } // namespace dart 6024 } // namespace dart
6028 6025
6029 #endif // defined TARGET_ARCH_ARM64 6026 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_arm.cc ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698