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

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

Issue 20467004: Inline two argument shuffle operations on IA32 and X64. (Closed) Base URL: https://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 | « runtime/vm/intermediate_language.h ('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) 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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 3323 matching lines...) Expand 10 before | Expand all | Expand 10 after
3334 void Float32x4ToUint32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) { 3334 void Float32x4ToUint32x4Instr::EmitNativeCode(FlowGraphCompiler* compiler) {
3335 QRegister value = locs()->in(0).fpu_reg(); 3335 QRegister value = locs()->in(0).fpu_reg();
3336 QRegister result = locs()->out().fpu_reg(); 3336 QRegister result = locs()->out().fpu_reg();
3337 3337
3338 if (value != result) { 3338 if (value != result) {
3339 __ vmovq(result, value); 3339 __ vmovq(result, value);
3340 } 3340 }
3341 } 3341 }
3342 3342
3343 3343
3344 LocationSummary* Float32x4TwoArgShuffleInstr::MakeLocationSummary() const {
3345 UNIMPLEMENTED();
3346 return NULL;
3347 }
3348
3349
3350 void Float32x4TwoArgShuffleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
3351 UNIMPLEMENTED();
3352 }
3353
3354
3344 LocationSummary* Uint32x4BoolConstructorInstr::MakeLocationSummary() const { 3355 LocationSummary* Uint32x4BoolConstructorInstr::MakeLocationSummary() const {
3345 const intptr_t kNumInputs = 4; 3356 const intptr_t kNumInputs = 4;
3346 const intptr_t kNumTemps = 1; 3357 const intptr_t kNumTemps = 1;
3347 LocationSummary* summary = 3358 LocationSummary* summary =
3348 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall); 3359 new LocationSummary(kNumInputs, kNumTemps, LocationSummary::kNoCall);
3349 summary->set_in(0, Location::RequiresRegister()); 3360 summary->set_in(0, Location::RequiresRegister());
3350 summary->set_in(1, Location::RequiresRegister()); 3361 summary->set_in(1, Location::RequiresRegister());
3351 summary->set_in(2, Location::RequiresRegister()); 3362 summary->set_in(2, Location::RequiresRegister());
3352 summary->set_in(3, Location::RequiresRegister()); 3363 summary->set_in(3, Location::RequiresRegister());
3353 summary->set_temp(0, Location::RequiresRegister()); 3364 summary->set_temp(0, Location::RequiresRegister());
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after
4367 compiler->GenerateCall(token_pos(), 4378 compiler->GenerateCall(token_pos(),
4368 &label, 4379 &label,
4369 PcDescriptors::kOther, 4380 PcDescriptors::kOther,
4370 locs()); 4381 locs());
4371 __ Drop(2); // Discard type arguments and receiver. 4382 __ Drop(2); // Discard type arguments and receiver.
4372 } 4383 }
4373 4384
4374 } // namespace dart 4385 } // namespace dart
4375 4386
4376 #endif // defined TARGET_ARCH_ARM 4387 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698