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

Side by Side Diff: src/compiler/arm/instruction-selector-arm.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/base/bits.h" 6 #include "src/base/bits.h"
7 #include "src/compiler/instruction-selector-impl.h" 7 #include "src/compiler/instruction-selector-impl.h"
8 #include "src/compiler/node-matchers.h" 8 #include "src/compiler/node-matchers.h"
9 #include "src/compiler/node-properties.h" 9 #include "src/compiler/node-properties.h"
10 10
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 893 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
894 VisitRR(this, kArmVcvtF64F32, node); 894 VisitRR(this, kArmVcvtF64F32, node);
895 } 895 }
896 896
897 897
898 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 898 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
899 VisitRR(this, kArmVcvtF64S32, node); 899 VisitRR(this, kArmVcvtF64S32, node);
900 } 900 }
901 901
902 902
903 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
904 UNIMPLEMENTED();
905 }
906
907
903 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 908 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
904 VisitRR(this, kArmVcvtF64U32, node); 909 VisitRR(this, kArmVcvtF64U32, node);
905 } 910 }
906 911
907 912
908 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 913 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
909 VisitRR(this, kArmVcvtS32F64, node); 914 VisitRR(this, kArmVcvtS32F64, node);
910 } 915 }
911 916
912 917
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 flags |= MachineOperatorBuilder::kFloat64RoundDown | 1543 flags |= MachineOperatorBuilder::kFloat64RoundDown |
1539 MachineOperatorBuilder::kFloat64RoundTruncate | 1544 MachineOperatorBuilder::kFloat64RoundTruncate |
1540 MachineOperatorBuilder::kFloat64RoundTiesAway; 1545 MachineOperatorBuilder::kFloat64RoundTiesAway;
1541 } 1546 }
1542 return flags; 1547 return flags;
1543 } 1548 }
1544 1549
1545 } // namespace compiler 1550 } // namespace compiler
1546 } // namespace internal 1551 } // namespace internal
1547 } // namespace v8 1552 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/arm64/code-generator-arm64.cc » ('j') | src/compiler/raw-machine-assembler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698