| OLD | NEW |
| 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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/intermediate_language.h" | 8 #include "vm/intermediate_language.h" |
| 9 | 9 |
| 10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
| (...skipping 3800 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3811 } | 3811 } |
| 3812 case Token::kBIT_OR: { | 3812 case Token::kBIT_OR: { |
| 3813 __ vorrq(result, left, right); | 3813 __ vorrq(result, left, right); |
| 3814 break; | 3814 break; |
| 3815 } | 3815 } |
| 3816 case Token::kBIT_XOR: { | 3816 case Token::kBIT_XOR: { |
| 3817 __ veorq(result, left, right); | 3817 __ veorq(result, left, right); |
| 3818 break; | 3818 break; |
| 3819 } | 3819 } |
| 3820 case Token::kADD: | 3820 case Token::kADD: |
| 3821 UNIMPLEMENTED(); | 3821 __ vaddqi(kWord, result, left, right); |
| 3822 break; | 3822 break; |
| 3823 case Token::kSUB: | 3823 case Token::kSUB: |
| 3824 UNIMPLEMENTED(); | 3824 __ vsubqi(kWord, result, left, right); |
| 3825 break; | 3825 break; |
| 3826 default: UNREACHABLE(); | 3826 default: UNREACHABLE(); |
| 3827 } | 3827 } |
| 3828 } | 3828 } |
| 3829 | 3829 |
| 3830 | 3830 |
| 3831 LocationSummary* MathUnaryInstr::MakeLocationSummary() const { | 3831 LocationSummary* MathUnaryInstr::MakeLocationSummary() const { |
| 3832 const intptr_t kNumInputs = 1; | 3832 const intptr_t kNumInputs = 1; |
| 3833 const intptr_t kNumTemps = 0; | 3833 const intptr_t kNumTemps = 0; |
| 3834 LocationSummary* summary = | 3834 LocationSummary* summary = |
| (...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4643 compiler->GenerateCall(token_pos(), | 4643 compiler->GenerateCall(token_pos(), |
| 4644 &label, | 4644 &label, |
| 4645 PcDescriptors::kOther, | 4645 PcDescriptors::kOther, |
| 4646 locs()); | 4646 locs()); |
| 4647 __ Drop(2); // Discard type arguments and receiver. | 4647 __ Drop(2); // Discard type arguments and receiver. |
| 4648 } | 4648 } |
| 4649 | 4649 |
| 4650 } // namespace dart | 4650 } // namespace dart |
| 4651 | 4651 |
| 4652 #endif // defined TARGET_ARCH_ARM | 4652 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |