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 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
930 VisitRR(this, kMipsFloat64RoundTiesEven, node); | 930 VisitRR(this, kMipsFloat64RoundTiesEven, node); |
931 } | 931 } |
932 | 932 |
933 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } | 933 void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
934 | 934 |
935 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } | 935 void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
936 | 936 |
937 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, | 937 void InstructionSelector::VisitFloat64Ieee754Binop(Node* node, |
938 InstructionCode opcode) { | 938 InstructionCode opcode) { |
939 MipsOperandGenerator g(this); | 939 MipsOperandGenerator g(this); |
940 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12), | 940 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f2), |
941 g.UseFixed(node->InputAt(1), f14)) | 941 g.UseFixed(node->InputAt(1), f4)) |
942 ->MarkAsCall(); | 942 ->MarkAsCall(); |
943 } | 943 } |
944 | 944 |
945 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, | 945 void InstructionSelector::VisitFloat64Ieee754Unop(Node* node, |
946 InstructionCode opcode) { | 946 InstructionCode opcode) { |
947 MipsOperandGenerator g(this); | 947 MipsOperandGenerator g(this); |
948 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) | 948 Emit(opcode, g.DefineAsFixed(node, f0), g.UseFixed(node->InputAt(0), f12)) |
949 ->MarkAsCall(); | 949 ->MarkAsCall(); |
950 } | 950 } |
951 | 951 |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1583 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || | 1583 DCHECK(IsMipsArchVariant(kLoongson) || IsMipsArchVariant(kMips32r1) || |
1584 IsMipsArchVariant(kMips32r2)); | 1584 IsMipsArchVariant(kMips32r2)); |
1585 return MachineOperatorBuilder::AlignmentRequirements:: | 1585 return MachineOperatorBuilder::AlignmentRequirements:: |
1586 NoUnalignedAccessSupport(); | 1586 NoUnalignedAccessSupport(); |
1587 } | 1587 } |
1588 } | 1588 } |
1589 | 1589 |
1590 } // namespace compiler | 1590 } // namespace compiler |
1591 } // namespace internal | 1591 } // namespace internal |
1592 } // namespace v8 | 1592 } // namespace v8 |
OLD | NEW |