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

Side by Side Diff: src/compiler/mips/instruction-selector-mips.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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) { 369 void InstructionSelector::VisitChangeFloat32ToFloat64(Node* node) {
370 VisitRR(this, kMipsCvtDS, node); 370 VisitRR(this, kMipsCvtDS, node);
371 } 371 }
372 372
373 373
374 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) { 374 void InstructionSelector::VisitChangeInt32ToFloat64(Node* node) {
375 VisitRR(this, kMipsCvtDW, node); 375 VisitRR(this, kMipsCvtDW, node);
376 } 376 }
377 377
378 378
379 void InstructionSelector::VisitRoundInt64ToFloat64(Node* node) {
380 UNIMPLEMENTED();
381 }
382
383
379 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) { 384 void InstructionSelector::VisitChangeUint32ToFloat64(Node* node) {
380 VisitRR(this, kMipsCvtDUw, node); 385 VisitRR(this, kMipsCvtDUw, node);
381 } 386 }
382 387
383 388
384 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) { 389 void InstructionSelector::VisitChangeFloat64ToInt32(Node* node) {
385 VisitRR(this, kMipsTruncWD, node); 390 VisitRR(this, kMipsTruncWD, node);
386 } 391 }
387 392
388 393
(...skipping 644 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 IsFp64Mode()) { 1038 IsFp64Mode()) {
1034 flags |= MachineOperatorBuilder::kFloat64RoundDown | 1039 flags |= MachineOperatorBuilder::kFloat64RoundDown |
1035 MachineOperatorBuilder::kFloat64RoundTruncate; 1040 MachineOperatorBuilder::kFloat64RoundTruncate;
1036 } 1041 }
1037 return flags; 1042 return flags;
1038 } 1043 }
1039 1044
1040 } // namespace compiler 1045 } // namespace compiler
1041 } // namespace internal 1046 } // namespace internal
1042 } // namespace v8 1047 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698