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

Side by Side Diff: src/crankshaft/x64/lithium-x64.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/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.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_X64_LITHIUM_X64_H_ 5 #ifndef V8_CRANKSHAFT_X64_LITHIUM_X64_H_
6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 6 #define V8_CRANKSHAFT_X64_LITHIUM_X64_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 V(ConstantI) \ 53 V(ConstantI) \
54 V(ConstantS) \ 54 V(ConstantS) \
55 V(ConstantT) \ 55 V(ConstantT) \
56 V(Context) \ 56 V(Context) \
57 V(DebugBreak) \ 57 V(DebugBreak) \
58 V(DeclareGlobals) \ 58 V(DeclareGlobals) \
59 V(Deoptimize) \ 59 V(Deoptimize) \
60 V(DivByConstI) \ 60 V(DivByConstI) \
61 V(DivByPowerOf2I) \ 61 V(DivByPowerOf2I) \
62 V(DivI) \ 62 V(DivI) \
63 V(DoubleBits) \
64 V(DoubleToI) \ 63 V(DoubleToI) \
65 V(DoubleToSmi) \ 64 V(DoubleToSmi) \
66 V(Drop) \ 65 V(Drop) \
67 V(DummyUse) \ 66 V(DummyUse) \
68 V(Dummy) \ 67 V(Dummy) \
69 V(FastAllocate) \ 68 V(FastAllocate) \
70 V(FlooringDivByConstI) \ 69 V(FlooringDivByConstI) \
71 V(FlooringDivByPowerOf2I) \ 70 V(FlooringDivByPowerOf2I) \
72 V(FlooringDivI) \ 71 V(FlooringDivI) \
73 V(ForInCacheArray) \ 72 V(ForInCacheArray) \
(...skipping 2251 matching lines...) Expand 10 before | Expand all | Expand 10 after
2325 inputs_[0] = value; 2324 inputs_[0] = value;
2326 } 2325 }
2327 2326
2328 LOperand* value() { return inputs_[0]; } 2327 LOperand* value() { return inputs_[0]; }
2329 2328
2330 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2329 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
2331 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) 2330 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject)
2332 }; 2331 };
2333 2332
2334 2333
2335 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2336 public:
2337 explicit LDoubleBits(LOperand* value) {
2338 inputs_[0] = value;
2339 }
2340
2341 LOperand* value() { return inputs_[0]; }
2342
2343 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2344 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2345 };
2346
2347
2348 class LAllocate final : public LTemplateInstruction<1, 2, 1> { 2334 class LAllocate final : public LTemplateInstruction<1, 2, 1> {
2349 public: 2335 public:
2350 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { 2336 LAllocate(LOperand* context, LOperand* size, LOperand* temp) {
2351 inputs_[0] = context; 2337 inputs_[0] = context;
2352 inputs_[1] = size; 2338 inputs_[1] = size;
2353 temps_[0] = temp; 2339 temps_[0] = temp;
2354 } 2340 }
2355 2341
2356 LOperand* context() { return inputs_[0]; } 2342 LOperand* context() { return inputs_[0]; }
2357 LOperand* size() { return inputs_[1]; } 2343 LOperand* size() { return inputs_[1]; }
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
2648 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2634 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2649 }; 2635 };
2650 2636
2651 #undef DECLARE_HYDROGEN_ACCESSOR 2637 #undef DECLARE_HYDROGEN_ACCESSOR
2652 #undef DECLARE_CONCRETE_INSTRUCTION 2638 #undef DECLARE_CONCRETE_INSTRUCTION
2653 2639
2654 } // namespace internal 2640 } // namespace internal
2655 } // namespace v8 2641 } // namespace v8
2656 2642
2657 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_ 2643 #endif // V8_CRANKSHAFT_X64_LITHIUM_X64_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x64/lithium-codegen-x64.cc ('k') | src/crankshaft/x64/lithium-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698