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

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

Issue 620773003: Rename Int32{UMod,UDiv} to Uint32{Div,Mod} and Int64{UMod,UDiv} to Uint64{Div,Mod}. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 void InstructionSelector::VisitInt32Div(Node* node) { 578 void InstructionSelector::VisitInt32Div(Node* node) {
579 VisitRRR(this, kArm64Idiv32, node); 579 VisitRRR(this, kArm64Idiv32, node);
580 } 580 }
581 581
582 582
583 void InstructionSelector::VisitInt64Div(Node* node) { 583 void InstructionSelector::VisitInt64Div(Node* node) {
584 VisitRRR(this, kArm64Idiv, node); 584 VisitRRR(this, kArm64Idiv, node);
585 } 585 }
586 586
587 587
588 void InstructionSelector::VisitInt32UDiv(Node* node) { 588 void InstructionSelector::VisitUint32Div(Node* node) {
589 VisitRRR(this, kArm64Udiv32, node); 589 VisitRRR(this, kArm64Udiv32, node);
590 } 590 }
591 591
592 592
593 void InstructionSelector::VisitInt64UDiv(Node* node) { 593 void InstructionSelector::VisitUint64Div(Node* node) {
594 VisitRRR(this, kArm64Udiv, node); 594 VisitRRR(this, kArm64Udiv, node);
595 } 595 }
596 596
597 597
598 void InstructionSelector::VisitInt32Mod(Node* node) { 598 void InstructionSelector::VisitInt32Mod(Node* node) {
599 VisitRRR(this, kArm64Imod32, node); 599 VisitRRR(this, kArm64Imod32, node);
600 } 600 }
601 601
602 602
603 void InstructionSelector::VisitInt64Mod(Node* node) { 603 void InstructionSelector::VisitInt64Mod(Node* node) {
604 VisitRRR(this, kArm64Imod, node); 604 VisitRRR(this, kArm64Imod, node);
605 } 605 }
606 606
607 607
608 void InstructionSelector::VisitInt32UMod(Node* node) { 608 void InstructionSelector::VisitUint32Mod(Node* node) {
609 VisitRRR(this, kArm64Umod32, node); 609 VisitRRR(this, kArm64Umod32, node);
610 } 610 }
611 611
612 612
613 void InstructionSelector::VisitInt64UMod(Node* node) { 613 void InstructionSelector::VisitUint64Mod(Node* node) {
614 VisitRRR(this, kArm64Umod, node); 614 VisitRRR(this, kArm64Umod, node);
615 } 615 }
616 616
617 617
618 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 618 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
619 Arm64OperandGenerator g(this); 619 Arm64OperandGenerator g(this);
620 Emit(kArm64Float32ToFloat64, g.DefineAsRegister(node), 620 Emit(kArm64Float32ToFloat64, g.DefineAsRegister(node),
621 g.UseRegister(node->InputAt(0))); 621 g.UseRegister(node->InputAt(0)));
622 } 622 }
623 623
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 call_instr->MarkAsCall(); 885 call_instr->MarkAsCall();
886 if (deoptimization != NULL) { 886 if (deoptimization != NULL) {
887 DCHECK(continuation != NULL); 887 DCHECK(continuation != NULL);
888 call_instr->MarkAsControl(); 888 call_instr->MarkAsControl();
889 } 889 }
890 } 890 }
891 891
892 } // namespace compiler 892 } // namespace compiler
893 } // namespace internal 893 } // namespace internal
894 } // namespace v8 894 } // 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