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

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

Issue 1440293002: [turbofan] Added the optional Float64RoundTiesEven operator to turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@f64roundup
Patch Set: Disabled F64RoundTiesEven 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
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) { 594 void InstructionSelector::VisitFloat64RoundTruncate(Node* node) {
595 VisitRR(this, kMipsFloat64RoundTruncate, node); 595 VisitRR(this, kMipsFloat64RoundTruncate, node);
596 } 596 }
597 597
598 598
599 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) { 599 void InstructionSelector::VisitFloat64RoundTiesAway(Node* node) {
600 UNREACHABLE(); 600 UNREACHABLE();
601 } 601 }
602 602
603 603
604 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) {
605 UNREACHABLE();
606 }
607
608
604 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments, 609 void InstructionSelector::EmitPrepareArguments(NodeVector* arguments,
605 const CallDescriptor* descriptor, 610 const CallDescriptor* descriptor,
606 Node* node) { 611 Node* node) {
607 MipsOperandGenerator g(this); 612 MipsOperandGenerator g(this);
608 613
609 // Prepare for C function call. 614 // Prepare for C function call.
610 if (descriptor->IsCFunctionCall()) { 615 if (descriptor->IsCFunctionCall()) {
611 Emit(kArchPrepareCallCFunction | 616 Emit(kArchPrepareCallCFunction |
612 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), 617 MiscField::encode(static_cast<int>(descriptor->CParameterCount())),
613 0, nullptr, 0, nullptr); 618 0, nullptr, 0, nullptr);
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 } 1114 }
1110 return flags | MachineOperatorBuilder::kFloat64Min | 1115 return flags | MachineOperatorBuilder::kFloat64Min |
1111 MachineOperatorBuilder::kFloat64Max | 1116 MachineOperatorBuilder::kFloat64Max |
1112 MachineOperatorBuilder::kFloat32Min | 1117 MachineOperatorBuilder::kFloat32Min |
1113 MachineOperatorBuilder::kFloat32Max; 1118 MachineOperatorBuilder::kFloat32Max;
1114 } 1119 }
1115 1120
1116 } // namespace compiler 1121 } // namespace compiler
1117 } // namespace internal 1122 } // namespace internal
1118 } // namespace v8 1123 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/machine-operator.cc ('k') | src/compiler/mips64/code-generator-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698