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 1325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1336 VisitRR(this, kMips64Float64RoundTiesEven, node); | 1336 VisitRR(this, kMips64Float64RoundTiesEven, node); |
1337 } | 1337 } |
1338 | 1338 |
1339 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } | 1339 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
1340 | 1340 |
1341 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } | 1341 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
1342 | 1342 |
1343 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, | 1343 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, |
1344 InstructionCode opcode) { | 1344 InstructionCode opcode) { |
1345 Mips64OperandGenerator g(this); | 1345 Mips64OperandGenerator g(this); |
1346 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12), | 1346 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f2), |
1347 g.UseFixed(node->InputAt(1), f14)) | 1347 g.UseFixed(node->InputAt(1), f4)) |
1348 ->MarkAsCall(); | 1348 ->MarkAsCall(); |
1349 } | 1349 } |
1350 | 1350 |
1351 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, | 1351 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, |
1352 InstructionCode opcode) { | 1352 InstructionCode opcode) { |
1353 Mips64OperandGenerator g(this); | 1353 Mips64OperandGenerator g(this); |
1354 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) | 1354 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) |
1355 ->MarkAsCall(); | 1355 ->MarkAsCall(); |
1356 } | 1356 } |
1357 | 1357 |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2086 } else { | 2086 } else { |
2087 DCHECK(kArchVariant == kMips64r2); | 2087 DCHECK(kArchVariant == kMips64r2); |
2088 return MachineOperatorBuilder::AlignmentRequirements:: | 2088 return MachineOperatorBuilder::AlignmentRequirements:: |
2089 NoUnalignedAccessSupport(); | 2089 NoUnalignedAccessSupport(); |
2090 } | 2090 } |
2091 } | 2091 } |
2092 | 2092 |
2093 } // namespace compiler | 2093 } // namespace compiler |
2094 } // namespace internal | 2094 } // namespace internal |
2095 } // namespace v8 | 2095 } // namespace v8 |
OLD | NEW |