| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |