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

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

Issue 2114613002: [intrinsics] Drop the now obsolete %_DoubleHi and %_DoubleLo intrinsics. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 V(ConstantS) \ 56 V(ConstantS) \
57 V(ConstantT) \ 57 V(ConstantT) \
58 V(Context) \ 58 V(Context) \
59 V(DebugBreak) \ 59 V(DebugBreak) \
60 V(DeclareGlobals) \ 60 V(DeclareGlobals) \
61 V(Deoptimize) \ 61 V(Deoptimize) \
62 V(DivByConstI) \ 62 V(DivByConstI) \
63 V(DivByPowerOf2I) \ 63 V(DivByPowerOf2I) \
64 V(DivI) \ 64 V(DivI) \
65 V(DoubleToI) \ 65 V(DoubleToI) \
66 V(DoubleBits) \
67 V(DoubleToSmi) \ 66 V(DoubleToSmi) \
68 V(Drop) \ 67 V(Drop) \
69 V(Dummy) \ 68 V(Dummy) \
70 V(DummyUse) \ 69 V(DummyUse) \
71 V(FastAllocate) \ 70 V(FastAllocate) \
72 V(FlooringDivByConstI) \ 71 V(FlooringDivByConstI) \
73 V(FlooringDivByPowerOf2I) \ 72 V(FlooringDivByPowerOf2I) \
74 V(FlooringDivI) \ 73 V(FlooringDivI) \
75 V(ForInCacheArray) \ 74 V(ForInCacheArray) \
76 V(ForInPrepareMap) \ 75 V(ForInPrepareMap) \
(...skipping 2250 matching lines...) Expand 10 before | Expand all | Expand 10 after
2327 temps_[0] = temp; 2326 temps_[0] = temp;
2328 } 2327 }
2329 2328
2330 LOperand* unclamped() { return inputs_[0]; } 2329 LOperand* unclamped() { return inputs_[0]; }
2331 LOperand* temp() { return temps_[0]; } 2330 LOperand* temp() { return temps_[0]; }
2332 2331
2333 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 2332 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2334 }; 2333 };
2335 2334
2336 2335
2337 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2338 public:
2339 explicit LDoubleBits(LOperand* value) {
2340 inputs_[0] = value;
2341 }
2342
2343 LOperand* value() { return inputs_[0]; }
2344
2345 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2346 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2347 };
2348
2349
2350 class LAllocate final : public LTemplateInstruction<1, 2, 2> { 2336 class LAllocate final : public LTemplateInstruction<1, 2, 2> {
2351 public: 2337 public:
2352 LAllocate(LOperand* context, 2338 LAllocate(LOperand* context,
2353 LOperand* size, 2339 LOperand* size,
2354 LOperand* temp1, 2340 LOperand* temp1,
2355 LOperand* temp2) { 2341 LOperand* temp2) {
2356 inputs_[0] = context; 2342 inputs_[0] = context;
2357 inputs_[1] = size; 2343 inputs_[1] = size;
2358 temps_[0] = temp1; 2344 temps_[0] = temp1;
2359 temps_[1] = temp2; 2345 temps_[1] = temp2;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2647 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2633 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2648 }; 2634 };
2649 2635
2650 #undef DECLARE_HYDROGEN_ACCESSOR 2636 #undef DECLARE_HYDROGEN_ACCESSOR
2651 #undef DECLARE_CONCRETE_INSTRUCTION 2637 #undef DECLARE_CONCRETE_INSTRUCTION
2652 2638
2653 } // namespace internal 2639 } // namespace internal
2654 } // namespace v8 2640 } // namespace v8
2655 2641
2656 #endif // V8_CRANKSHAFT_MIPS64_LITHIUM_MIPS_H_ 2642 #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