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

Side by Side Diff: src/crankshaft/x87/lithium-x87.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/x87/lithium-codegen-x87.cc ('k') | src/crankshaft/x87/lithium-x87.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_X87_LITHIUM_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_X87_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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 V(ConstantI) \ 58 V(ConstantI) \
59 V(ConstantS) \ 59 V(ConstantS) \
60 V(ConstantT) \ 60 V(ConstantT) \
61 V(Context) \ 61 V(Context) \
62 V(DebugBreak) \ 62 V(DebugBreak) \
63 V(DeclareGlobals) \ 63 V(DeclareGlobals) \
64 V(Deoptimize) \ 64 V(Deoptimize) \
65 V(DivByConstI) \ 65 V(DivByConstI) \
66 V(DivByPowerOf2I) \ 66 V(DivByPowerOf2I) \
67 V(DivI) \ 67 V(DivI) \
68 V(DoubleBits) \
69 V(DoubleToI) \ 68 V(DoubleToI) \
70 V(DoubleToSmi) \ 69 V(DoubleToSmi) \
71 V(Drop) \ 70 V(Drop) \
72 V(Dummy) \ 71 V(Dummy) \
73 V(DummyUse) \ 72 V(DummyUse) \
74 V(FastAllocate) \ 73 V(FastAllocate) \
75 V(FlooringDivByConstI) \ 74 V(FlooringDivByConstI) \
76 V(FlooringDivByPowerOf2I) \ 75 V(FlooringDivByPowerOf2I) \
77 V(FlooringDivI) \ 76 V(FlooringDivI) \
78 V(ForInCacheArray) \ 77 V(ForInCacheArray) \
(...skipping 2257 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 inputs_[0] = value; 2335 inputs_[0] = value;
2337 } 2336 }
2338 2337
2339 LOperand* value() { return inputs_[0]; } 2338 LOperand* value() { return inputs_[0]; }
2340 2339
2341 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") 2340 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi")
2342 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject) 2341 DECLARE_HYDROGEN_ACCESSOR(CheckHeapObject)
2343 }; 2342 };
2344 2343
2345 2344
2346 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2347 public:
2348 explicit LDoubleBits(LOperand* value) {
2349 inputs_[0] = value;
2350 }
2351
2352 LOperand* value() { return inputs_[0]; }
2353
2354 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2355 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2356 };
2357
2358
2359 class LAllocate final : public LTemplateInstruction<1, 2, 1> { 2345 class LAllocate final : public LTemplateInstruction<1, 2, 1> {
2360 public: 2346 public:
2361 LAllocate(LOperand* context, LOperand* size, LOperand* temp) { 2347 LAllocate(LOperand* context, LOperand* size, LOperand* temp) {
2362 inputs_[0] = context; 2348 inputs_[0] = context;
2363 inputs_[1] = size; 2349 inputs_[1] = size;
2364 temps_[0] = temp; 2350 temps_[0] = temp;
2365 } 2351 }
2366 2352
2367 LOperand* context() { return inputs_[0]; } 2353 LOperand* context() { return inputs_[0]; }
2368 LOperand* size() { return inputs_[1]; } 2354 LOperand* size() { return inputs_[1]; }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
2657 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2643 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2658 }; 2644 };
2659 2645
2660 #undef DECLARE_HYDROGEN_ACCESSOR 2646 #undef DECLARE_HYDROGEN_ACCESSOR
2661 #undef DECLARE_CONCRETE_INSTRUCTION 2647 #undef DECLARE_CONCRETE_INSTRUCTION
2662 2648
2663 } // namespace internal 2649 } // namespace internal
2664 } // namespace v8 2650 } // namespace v8
2665 2651
2666 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_ 2652 #endif // V8_CRANKSHAFT_X87_LITHIUM_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/crankshaft/x87/lithium-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698