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

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

Issue 1424333002: [turbofan] Added the RoundInt64ToFloat64 instruction to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@BufferedRawMachineAssemblerTester
Patch Set: Renamed ChangeInt64ToFloat64 to RoundInt64ToFloat64, and removed the Signed64 type again. Created 5 years, 1 month 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
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/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/instruction-selector-impl.h" 6 #include "src/compiler/instruction-selector-impl.h"
7 #include "src/compiler/node-matchers.h" 7 #include "src/compiler/node-matchers.h"
8 #include "src/compiler/node-properties.h" 8 #include "src/compiler/node-properties.h"
9 #include "src/ppc/frames-ppc.h" 9 #include "src/ppc/frames-ppc.h"
10 10
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 860 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
861 VisitRR(this, kPPC_Float32ToDouble, node); 861 VisitRR(this, kPPC_Float32ToDouble, node);
862 } 862 }
863 863
864 864
865 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 865 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
866 VisitRR(this, kPPC_Int32ToDouble, node); 866 VisitRR(this, kPPC_Int32ToDouble, node);
867 } 867 }
868 868
869 869
870 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
871 UNIMPLEMENTED();
872 }
873
874
870 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 875 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
871 VisitRR(this, kPPC_Uint32ToDouble, node); 876 VisitRR(this, kPPC_Uint32ToDouble, node);
872 } 877 }
873 878
874 879
875 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 880 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
876 VisitRR(this, kPPC_DoubleToInt32, node); 881 VisitRR(this, kPPC_DoubleToInt32, node);
877 } 882 }
878 883
879 884
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 return MachineOperatorBuilder::kFloat64RoundDown | 1581 return MachineOperatorBuilder::kFloat64RoundDown |
1577 MachineOperatorBuilder::kFloat64RoundTruncate | 1582 MachineOperatorBuilder::kFloat64RoundTruncate |
1578 MachineOperatorBuilder::kFloat64RoundTiesAway | 1583 MachineOperatorBuilder::kFloat64RoundTiesAway |
1579 MachineOperatorBuilder::kWord32Popcnt; 1584 MachineOperatorBuilder::kWord32Popcnt;
1580 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f. 1585 // We omit kWord32ShiftIsSafe as s[rl]w use 0x3f as a mask rather than 0x1f.
1581 } 1586 }
1582 1587
1583 } // namespace compiler 1588 } // namespace compiler
1584 } // namespace internal 1589 } // namespace internal
1585 } // namespace v8 1590 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698