| 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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 | 924 |
| 925 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { | 925 void InstructionSelector::VisitFloat32RoundTiesEven(Node* node) { |
| 926 VisitRR(this, kMipsFloat32RoundTiesEven, node); | 926 VisitRR(this, kMipsFloat32RoundTiesEven, node); |
| 927 } | 927 } |
| 928 | 928 |
| 929 | 929 |
| 930 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { | 930 void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
| 931 VisitRR(this, kMipsFloat64RoundTiesEven, node); | 931 VisitRR(this, kMipsFloat64RoundTiesEven, node); |
| 932 } | 932 } |
| 933 | 933 |
| 934 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
| 935 |
| 936 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
| 934 | 937 |
| 935 void InstructionSelector::EmitPrepareArguments( | 938 void InstructionSelector::EmitPrepareArguments( |
| 936 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, | 939 ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
| 937 Node* node) { | 940 Node* node) { |
| 938 MipsOperandGenerator g(this); | 941 MipsOperandGenerator g(this); |
| 939 | 942 |
| 940 // Prepare for C function call. | 943 // Prepare for C function call. |
| 941 if (descriptor->IsCFunctionCall()) { | 944 if (descriptor->IsCFunctionCall()) { |
| 942 Emit(kArchPrepareCallCFunction | | 945 Emit(kArchPrepareCallCFunction | |
| 943 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), | 946 MiscField::encode(static_cast<int>(descriptor->CParameterCount())), |
| (...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1558 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || | 1561 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
| 1559 IsMipsArchVariant(kMips32r2)); | 1562 IsMipsArchVariant(kMips32r2)); |
| 1560 return MachineOperatorBuilder::AlignmentRequirements:: | 1563 return MachineOperatorBuilder::AlignmentRequirements:: |
| 1561 NoUnalignedAccessSupport(); | 1564 NoUnalignedAccessSupport(); |
| 1562 } | 1565 } |
| 1563 } | 1566 } |
| 1564 | 1567 |
| 1565 } // namespace compiler | 1568 } // namespace compiler |
| 1566 } // namespace internal | 1569 } // namespace internal |
| 1567 } // namespace v8 | 1570 } // namespace v8 |
| OLD | NEW |