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

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

Issue 1477753002: [turbofan] Implemented the optional Float32RoundTiesEven operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f32trunc
Patch Set: Merging with the changed codebase Created 5 years 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 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 1501 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
1502 VisitRR(this, kArm64Float64RoundTruncate, node); 1502 VisitRR(this, kArm64Float64RoundTruncate, node);
1503 } 1503 }
1504 1504
1505 1505
1506 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 1506 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
1507 VisitRR(this, kArm64Float64RoundTiesAway, node); 1507 VisitRR(this, kArm64Float64RoundTiesAway, node);
1508 } 1508 }
1509 1509
1510 1510
1511 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) {
1512 VisitRR(this, kArm64Float32RoundTiesEven, node);
1513 }
1514
1515
1511 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { 1516 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
1512 VisitRR(this, kArm64Float64RoundTiesEven, node); 1517 VisitRR(this, kArm64Float64RoundTiesEven, node);
1513 } 1518 }
1514 1519
1515 1520
1516 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, 1521 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
1517 const CallDescriptor* descriptor, 1522 const CallDescriptor* descriptor,
1518 Node* node) { 1523 Node* node) {
1519 Arm64OperandGenerator g(this); 1524 Arm64OperandGenerator g(this);
1520 1525
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
2081 MachineOperatorBuilder::kFloat32Min | 2086 MachineOperatorBuilder::kFloat32Min |
2082 MachineOperatorBuilder::kFloat32RoundDown | 2087 MachineOperatorBuilder::kFloat32RoundDown |
2083 MachineOperatorBuilder::kFloat64Max | 2088 MachineOperatorBuilder::kFloat64Max |
2084 MachineOperatorBuilder::kFloat64Min | 2089 MachineOperatorBuilder::kFloat64Min |
2085 MachineOperatorBuilder::kFloat64RoundDown | 2090 MachineOperatorBuilder::kFloat64RoundDown |
2086 MachineOperatorBuilder::kFloat32RoundUp | 2091 MachineOperatorBuilder::kFloat32RoundUp |
2087 MachineOperatorBuilder::kFloat64RoundUp | 2092 MachineOperatorBuilder::kFloat64RoundUp |
2088 MachineOperatorBuilder::kFloat32RoundTruncate | 2093 MachineOperatorBuilder::kFloat32RoundTruncate |
2089 MachineOperatorBuilder::kFloat64RoundTruncate | 2094 MachineOperatorBuilder::kFloat64RoundTruncate |
2090 MachineOperatorBuilder::kFloat64RoundTiesAway | 2095 MachineOperatorBuilder::kFloat64RoundTiesAway |
2096 MachineOperatorBuilder::kFloat32RoundTiesEven |
2091 MachineOperatorBuilder::kFloat64RoundTiesEven | 2097 MachineOperatorBuilder::kFloat64RoundTiesEven |
2092 MachineOperatorBuilder::kWord32ShiftIsSafe | 2098 MachineOperatorBuilder::kWord32ShiftIsSafe |
2093 MachineOperatorBuilder::kInt32DivIsSafe | 2099 MachineOperatorBuilder::kInt32DivIsSafe |
2094 MachineOperatorBuilder::kUint32DivIsSafe; 2100 MachineOperatorBuilder::kUint32DivIsSafe;
2095 } 2101 }
2096 2102
2097 } // namespace compiler 2103 } // namespace compiler
2098 } // namespace internal 2104 } // namespace internal
2099 } // namespace v8 2105 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/arm64/instruction-codes-arm64.h ('k') | src/compiler/ia32/instruction-selector-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698