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

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

Issue 23366003: Adds Uint32x4 add/sub for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tests/lib/lib.status » ('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_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
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
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
OLDNEW
« no previous file with comments | « no previous file | tests/lib/lib.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698