Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: src/crankshaft/ppc/lithium-ppc.h

Issue 2080303002: PPC/s390: [builtins] Introduce proper Float64Tan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_PPC_LITHIUM_PPC_H_ 5 #ifndef V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 6 #define V8_CRANKSHAFT_PPC_LITHIUM_PPC_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
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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after
2272 public: 2271 public:
2273 explicit LDoubleBits(LOperand* value) { inputs_[0] = value; } 2272 explicit LDoubleBits(LOperand* value) { inputs_[0] = value; }
2274 2273
2275 LOperand* value() { return inputs_[0]; } 2274 LOperand* value() { return inputs_[0]; }
2276 2275
2277 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") 2276 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2278 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) 2277 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2279 }; 2278 };
2280 2279
2281 2280
2282 class LConstructDouble final : public LTemplateInstruction<1, 2, 0> {
2283 public:
2284 LConstructDouble(LOperand* hi, LOperand* lo) {
2285 inputs_[0] = hi;
2286 inputs_[1] = lo;
2287 }
2288
2289 LOperand* hi() { return inputs_[0]; }
2290 LOperand* lo() { return inputs_[1]; }
2291
2292 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double")
2293 };
2294
2295
2296 class LAllocate final : public LTemplateInstruction<1, 2, 2> { 2281 class LAllocate final : public LTemplateInstruction<1, 2, 2> {
2297 public: 2282 public:
2298 LAllocate(LOperand* context, LOperand* size, LOperand* temp1, 2283 LAllocate(LOperand* context, LOperand* size, LOperand* temp1,
2299 LOperand* temp2) { 2284 LOperand* temp2) {
2300 inputs_[0] = context; 2285 inputs_[0] = context;
2301 inputs_[1] = size; 2286 inputs_[1] = size;
2302 temps_[0] = temp1; 2287 temps_[0] = temp1;
2303 temps_[1] = temp2; 2288 temps_[1] = temp2;
2304 } 2289 }
2305 2290
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
2580 2565
2581 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2566 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2582 }; 2567 };
2583 2568
2584 #undef DECLARE_HYDROGEN_ACCESSOR 2569 #undef DECLARE_HYDROGEN_ACCESSOR
2585 #undef DECLARE_CONCRETE_INSTRUCTION 2570 #undef DECLARE_CONCRETE_INSTRUCTION
2586 } // namespace internal 2571 } // namespace internal
2587 } // namespace v8 2572 } // namespace v8
2588 2573
2589 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_ 2574 #endif // V8_CRANKSHAFT_PPC_LITHIUM_PPC_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ppc/lithium-codegen-ppc.cc ('k') | src/crankshaft/ppc/lithium-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698