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

Side by Side Diff: src/crankshaft/ia32/lithium-ia32.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
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/ia32/lithium-ia32.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 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_IA32_LITHIUM_IA32_H_ 5 #ifndef V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ 6 #define V8_CRANKSHAFT_IA32_LITHIUM_IA32_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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 V(ConstantI) \ 57 V(ConstantI) \
58 V(ConstantS) \ 58 V(ConstantS) \
59 V(ConstantT) \ 59 V(ConstantT) \
60 V(Context) \ 60 V(Context) \
61 V(DebugBreak) \ 61 V(DebugBreak) \
62 V(DeclareGlobals) \ 62 V(DeclareGlobals) \
63 V(Deoptimize) \ 63 V(Deoptimize) \
64 V(DivByConstI) \ 64 V(DivByConstI) \
65 V(DivByPowerOf2I) \ 65 V(DivByPowerOf2I) \
66 V(DivI) \ 66 V(DivI) \
67 V(DoubleBits) \
68 V(DoubleToI) \ 67 V(DoubleToI) \
69 V(DoubleToSmi) \ 68 V(DoubleToSmi) \
70 V(Drop) \ 69 V(Drop) \
71 V(Dummy) \ 70 V(Dummy) \
72 V(DummyUse) \ 71 V(DummyUse) \
73 V(FastAllocate) \ 72 V(FastAllocate) \
74 V(FlooringDivByConstI) \ 73 V(FlooringDivByConstI) \
75 V(FlooringDivByPowerOf2I) \ 74 V(FlooringDivByPowerOf2I) \
76 V(FlooringDivI) \ 75 V(FlooringDivI) \
77 V(ForInCacheArray) \ 76 V(ForInCacheArray) \
(...skipping 2262 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 inputs_[0] = value; 2339 inputs_[0] = value;
2341 } 2340 }
2342 2341
2343 LOperand* value() { return inputs_[0]; } 2342 LOperand* value() { return inputs_[0]; }
2344 2343
2345 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2344 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
2346 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) 2345 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject)
2347 }; 2346 };
2348 2347
2349 2348
2350 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2351 public:
2352 explicit LDoubleBits(LOperand* value) {
2353 inputs_[0] = value;
2354 }
2355
2356 LOperand* value() { return inputs_[0]; }
2357
2358 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2359 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2360 };
2361
2362
2363 class LAllocate final : public LTemplateInstruction<1, 2, 1> { 2349 class LAllocate final : public LTemplateInstruction<1, 2, 1> {
2364 public: 2350 public:
2365 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { 2351 LAllocate(LOperand* context, LOperand* size, LOperand* temp) {
2366 inputs_[0] = context; 2352 inputs_[0] = context;
2367 inputs_[1] = size; 2353 inputs_[1] = size;
2368 temps_[0] = temp; 2354 temps_[0] = temp;
2369 } 2355 }
2370 2356
2371 LOperand* context() { return inputs_[0]; } 2357 LOperand* context() { return inputs_[0]; }
2372 LOperand* size() { return inputs_[1]; } 2358 LOperand* size() { return inputs_[1]; }
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2663 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2649 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2664 }; 2650 };
2665 2651
2666 #undef DECLARE_HYDROGEN_ACCESSOR 2652 #undef DECLARE_HYDROGEN_ACCESSOR
2667 #undef DECLARE_CONCRETE_INSTRUCTION 2653 #undef DECLARE_CONCRETE_INSTRUCTION
2668 2654
2669 } // namespace internal 2655 } // namespace internal
2670 } // namespace v8 2656 } // namespace v8
2671 2657
2672 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_ 2658 #endif // V8_CRANKSHAFT_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/crankshaft/ia32/lithium-codegen-ia32.cc ('k') | src/crankshaft/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698