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

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

Issue 2083453002: [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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_MIPS64_LITHIUM_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 V(CompareNumericAndBranch) \ 48 V(CompareNumericAndBranch) \
49 V(CmpObjectEqAndBranch) \ 49 V(CmpObjectEqAndBranch) \
50 V(CmpHoleAndBranch) \ 50 V(CmpHoleAndBranch) \
51 V(CmpMapAndBranch) \ 51 V(CmpMapAndBranch) \
52 V(CmpT) \ 52 V(CmpT) \
53 V(ConstantD) \ 53 V(ConstantD) \
54 V(ConstantE) \ 54 V(ConstantE) \
55 V(ConstantI) \ 55 V(ConstantI) \
56 V(ConstantS) \ 56 V(ConstantS) \
57 V(ConstantT) \ 57 V(ConstantT) \
58 V(ConstructDouble) \
59 V(Context) \ 58 V(Context) \
60 V(DebugBreak) \ 59 V(DebugBreak) \
61 V(DeclareGlobals) \ 60 V(DeclareGlobals) \
62 V(Deoptimize) \ 61 V(Deoptimize) \
63 V(DivByConstI) \ 62 V(DivByConstI) \
64 V(DivByPowerOf2I) \ 63 V(DivByPowerOf2I) \
65 V(DivI) \ 64 V(DivI) \
66 V(DoubleToI) \ 65 V(DoubleToI) \
67 V(DoubleBits) \ 66 V(DoubleBits) \
68 V(DoubleToSmi) \ 67 V(DoubleToSmi) \
(...skipping 2276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2345 inputs_[0] = value; 2344 inputs_[0] = value;
2346 } 2345 }
2347 2346
2348 LOperand* value() { return inputs_[0]; } 2347 LOperand* value() { return inputs_[0]; }
2349 2348
2350 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits") 2349 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2351 DECLARE_HYDROGEN_ACCESSOR(DoubleBits) 2350 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2352 }; 2351 };
2353 2352
2354 2353
2355 class LConstructDouble final : public LTemplateInstruction<1, 2, 0> {
2356 public:
2357 LConstructDouble(LOperand* hi, LOperand* lo) {
2358 inputs_[0] = hi;
2359 inputs_[1] = lo;
2360 }
2361
2362 LOperand* hi() { return inputs_[0]; }
2363 LOperand* lo() { return inputs_[1]; }
2364
2365 DECLARE_CONCRETE_INSTRUCTION(ConstructDouble, "construct-double")
2366 };
2367
2368
2369 class LAllocate final : public LTemplateInstruction<1, 2, 2> { 2354 class LAllocate final : public LTemplateInstruction<1, 2, 2> {
2370 public: 2355 public:
2371 LAllocate(LOperand* context, 2356 LAllocate(LOperand* context,
2372 LOperand* size, 2357 LOperand* size,
2373 LOperand* temp1, 2358 LOperand* temp1,
2374 LOperand* temp2) { 2359 LOperand* temp2) {
2375 inputs_[0] = context; 2360 inputs_[0] = context;
2376 inputs_[1] = size; 2361 inputs_[1] = size;
2377 temps_[0] = temp1; 2362 temps_[0] = temp1;
2378 temps_[1] = temp2; 2363 temps_[1] = temp2;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2651 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2667 }; 2652 };
2668 2653
2669 #undef DECLARE_HYDROGEN_ACCESSOR 2654 #undef DECLARE_HYDROGEN_ACCESSOR
2670 #undef DECLARE_CONCRETE_INSTRUCTION 2655 #undef DECLARE_CONCRETE_INSTRUCTION
2671 2656
2672 } // namespace internal 2657 } // namespace internal
2673 } // namespace v8 2658 } // namespace v8
2674 2659
2675 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ 2660 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-codegen-mips64.cc ('k') | src/crankshaft/mips64/lithium-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698