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

Side by Side Diff: src/compiler/arm64/instruction-selector-arm64.cc

Issue 435923002: TF: Rename ConvertXToY machine operators to ChangeXToY. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/instruction-selector-impl.h" 5 #include "src/compiler/instruction-selector-impl.h"
6 #include "src/compiler/node-matchers.h" 6 #include "src/compiler/node-matchers.h"
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 namespace compiler { 10 namespace compiler {
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 void InstructionSelector::VisitConvertInt32ToInt64(Node* node) { 419 void InstructionSelector::VisitConvertInt32ToInt64(Node* node) {
420 VisitRR(this, kArm64Int32ToInt64, node); 420 VisitRR(this, kArm64Int32ToInt64, node);
421 } 421 }
422 422
423 423
424 void InstructionSelector::VisitConvertInt64ToInt32(Node* node) { 424 void InstructionSelector::VisitConvertInt64ToInt32(Node* node) {
425 VisitRR(this, kArm64Int64ToInt32, node); 425 VisitRR(this, kArm64Int64ToInt32, node);
426 } 426 }
427 427
428 428
429 void InstructionSelector::VisitConvertInt32ToFloat64(Node* node) { 429 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
430 Arm64OperandGenerator g(this); 430 Arm64OperandGenerator g(this);
431 Emit(kArm64Int32ToFloat64, g.DefineAsDoubleRegister(node), 431 Emit(kArm64Int32ToFloat64, g.DefineAsDoubleRegister(node),
432 g.UseRegister(node->InputAt(0))); 432 g.UseRegister(node->InputAt(0)));
433 } 433 }
434 434
435 435
436 void InstructionSelector::VisitConvertUint32ToFloat64(Node* node) { 436 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
437 Arm64OperandGenerator g(this); 437 Arm64OperandGenerator g(this);
438 Emit(kArm64Uint32ToFloat64, g.DefineAsDoubleRegister(node), 438 Emit(kArm64Uint32ToFloat64, g.DefineAsDoubleRegister(node),
439 g.UseRegister(node->InputAt(0))); 439 g.UseRegister(node->InputAt(0)));
440 } 440 }
441 441
442 442
443 void InstructionSelector::VisitConvertFloat64ToInt32(Node* node) { 443 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
444 Arm64OperandGenerator g(this); 444 Arm64OperandGenerator g(this);
445 Emit(kArm64Float64ToInt32, g.DefineAsRegister(node), 445 Emit(kArm64Float64ToInt32, g.DefineAsRegister(node),
446 g.UseDoubleRegister(node->InputAt(0))); 446 g.UseDoubleRegister(node->InputAt(0)));
447 } 447 }
448 448
449 449
450 void InstructionSelector::VisitConvertFloat64ToUint32(Node* node) { 450 void InstructionSelector::VisitChangeFloat64ToUint32(Node* node) {
451 Arm64OperandGenerator g(this); 451 Arm64OperandGenerator g(this);
452 Emit(kArm64Float64ToUint32, g.DefineAsRegister(node), 452 Emit(kArm64Float64ToUint32, g.DefineAsRegister(node),
453 g.UseDoubleRegister(node->InputAt(0))); 453 g.UseDoubleRegister(node->InputAt(0)));
454 } 454 }
455 455
456 456
457 void InstructionSelector::VisitFloat64Add(Node* node) { 457 void InstructionSelector::VisitFloat64Add(Node* node) {
458 VisitRRRFloat64(this, kArm64Float64Add, node); 458 VisitRRRFloat64(this, kArm64Float64Add, node);
459 } 459 }
460 460
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
649 // Caller clean up of stack for C-style calls. 649 // Caller clean up of stack for C-style calls.
650 if (is_c_frame && aligned_push_count > 0) { 650 if (is_c_frame && aligned_push_count > 0) {
651 ASSERT(deoptimization == NULL && continuation == NULL); 651 ASSERT(deoptimization == NULL && continuation == NULL);
652 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL); 652 Emit(kArm64Drop | MiscField::encode(aligned_push_count), NULL);
653 } 653 }
654 } 654 }
655 655
656 } // namespace compiler 656 } // namespace compiler
657 } // namespace internal 657 } // namespace internal
658 } // namespace v8 658 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm/instruction-selector-arm.cc ('k') | src/compiler/ia32/instruction-selector-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698