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

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

Issue 1444583002: [turbofan] Added the optional Float64RoundUp operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Removed the implementation of VisitFloat32RoundUp on mips32 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/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 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 8
9 namespace v8 { 9 namespace v8 {
10 namespace internal { 10 namespace internal {
(...skipping 1445 matching lines...) Expand 10 before | Expand all | Expand 10 after
1456 void InstructionSelector::VisitFloat64Sqrt(Node* node) { 1456 void InstructionSelector::VisitFloat64Sqrt(Node* node) {
1457 VisitRR(this, kArm64Float64Sqrt, node); 1457 VisitRR(this, kArm64Float64Sqrt, node);
1458 } 1458 }
1459 1459
1460 1460
1461 void InstructionSelector::VisitFloat64RoundDown(Node* node) { 1461 void InstructionSelector::VisitFloat64RoundDown(Node* node) {
1462 VisitRR(this, kArm64Float64RoundDown, node); 1462 VisitRR(this, kArm64Float64RoundDown, node);
1463 } 1463 }
1464 1464
1465 1465
1466 void InstructionSelector::VisitFloat64RoundUp(Node* node) {
1467 VisitRR(this, kArm64Float64RoundUp, node);
1468 }
1469
1470
1466 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 1471 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
1467 VisitRR(this, kArm64Float64RoundTruncate, node); 1472 VisitRR(this, kArm64Float64RoundTruncate, node);
1468 } 1473 }
1469 1474
1470 1475
1471 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 1476 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
1472 VisitRR(this, kArm64Float64RoundTiesAway, node); 1477 VisitRR(this, kArm64Float64RoundTiesAway, node);
1473 } 1478 }
1474 1479
1475 1480
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
2034 2039
2035 2040
2036 // static 2041 // static
2037 MachineOperatorBuilder::Flags 2042 MachineOperatorBuilder::Flags
2038 InstructionSelector::SupportedMachineOperatorFlags() { 2043 InstructionSelector::SupportedMachineOperatorFlags() {
2039 return MachineOperatorBuilder::kFloat32Max | 2044 return MachineOperatorBuilder::kFloat32Max |
2040 MachineOperatorBuilder::kFloat32Min | 2045 MachineOperatorBuilder::kFloat32Min |
2041 MachineOperatorBuilder::kFloat64Max | 2046 MachineOperatorBuilder::kFloat64Max |
2042 MachineOperatorBuilder::kFloat64Min | 2047 MachineOperatorBuilder::kFloat64Min |
2043 MachineOperatorBuilder::kFloat64RoundDown | 2048 MachineOperatorBuilder::kFloat64RoundDown |
2049 MachineOperatorBuilder::kFloat64RoundUp |
2044 MachineOperatorBuilder::kFloat64RoundTruncate | 2050 MachineOperatorBuilder::kFloat64RoundTruncate |
2045 MachineOperatorBuilder::kFloat64RoundTiesAway | 2051 MachineOperatorBuilder::kFloat64RoundTiesAway |
2046 MachineOperatorBuilder::kWord32ShiftIsSafe | 2052 MachineOperatorBuilder::kWord32ShiftIsSafe |
2047 MachineOperatorBuilder::kInt32DivIsSafe | 2053 MachineOperatorBuilder::kInt32DivIsSafe |
2048 MachineOperatorBuilder::kUint32DivIsSafe; 2054 MachineOperatorBuilder::kUint32DivIsSafe;
2049 } 2055 }
2050 2056
2051 } // namespace compiler 2057 } // namespace compiler
2052 } // namespace internal 2058 } // namespace internal
2053 } // namespace v8 2059 } // 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