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 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_ | 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_ |
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ | 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ |
7 | 7 |
8 #include "src/crankshaft/hydrogen.h" | 8 #include "src/crankshaft/hydrogen.h" |
9 #include "src/crankshaft/lithium.h" | 9 #include "src/crankshaft/lithium.h" |
10 #include "src/crankshaft/lithium-allocator.h" | 10 #include "src/crankshaft/lithium-allocator.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 V(CompareNumericAndBranch) \ | 46 V(CompareNumericAndBranch) \ |
47 V(CmpObjectEqAndBranch) \ | 47 V(CmpObjectEqAndBranch) \ |
48 V(CmpHoleAndBranch) \ | 48 V(CmpHoleAndBranch) \ |
49 V(CmpMapAndBranch) \ | 49 V(CmpMapAndBranch) \ |
50 V(CmpT) \ | 50 V(CmpT) \ |
51 V(ConstantD) \ | 51 V(ConstantD) \ |
52 V(ConstantE) \ | 52 V(ConstantE) \ |
53 V(ConstantI) \ | 53 V(ConstantI) \ |
54 V(ConstantS) \ | 54 V(ConstantS) \ |
55 V(ConstantT) \ | 55 V(ConstantT) \ |
56 V(ConstructDouble) \ | |
57 V(Context) \ | 56 V(Context) \ |
58 V(DebugBreak) \ | 57 V(DebugBreak) \ |
59 V(DeclareGlobals) \ | 58 V(DeclareGlobals) \ |
60 V(Deoptimize) \ | 59 V(Deoptimize) \ |
61 V(DivByConstI) \ | 60 V(DivByConstI) \ |
62 V(DivByPowerOf2I) \ | 61 V(DivByPowerOf2I) \ |
63 V(DivI) \ | 62 V(DivI) \ |
64 V(DoubleBits) \ | 63 V(DoubleBits) \ |
65 V(DoubleToI) \ | 64 V(DoubleToI) \ |
66 V(DoubleToSmi) \ | 65 V(DoubleToSmi) \ |
(...skipping 2054 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2121 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> { | 2120 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> { |
2122 public: | 2121 public: |
2123 explicit LDoubleBits(LOperand* value) { inputs_[0] = value; } | 2122 explicit LDoubleBits(LOperand* value) { inputs_[0] = value; } |
2124 | 2123 |
2125 LOperand* value() { return inputs_[0]; } | 2124 LOperand* value() { return inputs_[0]; } |
2126 | 2125 |
2127 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") | 2126 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") |
2128 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) | 2127 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) |
2129 }; | 2128 }; |
2130 | 2129 |
2131 class LConstructDouble final : public LTemplateInstruction<1, 2, 0> { | |
2132 public: | |
2133 LConstructDouble(LOperand* hi, LOperand* lo) { | |
2134 inputs_[0] = hi; | |
2135 inputs_[1] = lo; | |
2136 } | |
2137 | |
2138 LOperand* hi() { return inputs_[0]; } | |
2139 LOperand* lo() { return inputs_[1]; } | |
2140 | |
2141 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double") | |
2142 }; | |
2143 | |
2144 class LAllocate final : public LTemplateInstruction<1, 2, 2> { | 2130 class LAllocate final : public LTemplateInstruction<1, 2, 2> { |
2145 public: | 2131 public: |
2146 LAllocate(LOperand* context, LOperand* size, LOperand* temp1, | 2132 LAllocate(LOperand* context, LOperand* size, LOperand* temp1, |
2147 LOperand* temp2) { | 2133 LOperand* temp2) { |
2148 inputs_[0] = context; | 2134 inputs_[0] = context; |
2149 inputs_[1] = size; | 2135 inputs_[1] = size; |
2150 temps_[0] = temp1; | 2136 temps_[0] = temp1; |
2151 temps_[1] = temp2; | 2137 temps_[1] = temp2; |
2152 } | 2138 } |
2153 | 2139 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2418 | 2404 |
2419 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2405 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2420 }; | 2406 }; |
2421 | 2407 |
2422 #undef DECLARE_HYDROGEN_ACCESSOR | 2408 #undef DECLARE_HYDROGEN_ACCESSOR |
2423 #undef DECLARE_CONCRETE_INSTRUCTION | 2409 #undef DECLARE_CONCRETE_INSTRUCTION |
2424 } // namespace internal | 2410 } // namespace internal |
2425 } // namespace v8 | 2411 } // namespace v8 |
2426 | 2412 |
2427 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ | 2413 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ |
OLD | NEW |