OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |