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

Side by Side Diff: src/crankshaft/mips/lithium-mips.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/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/mips/lithium-mips.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_MIPS_LITHIUM_MIPS_H_ 5 #ifndef V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
6 #define V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 6 #define V8_CRANKSHAFT_MIPS_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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(DoubleToI) \ 63 V(DoubleToI) \
64 V(DoubleBits) \
65 V(DoubleToSmi) \ 64 V(DoubleToSmi) \
66 V(Drop) \ 65 V(Drop) \
67 V(Dummy) \ 66 V(Dummy) \
68 V(DummyUse) \ 67 V(DummyUse) \
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) \
74 V(ForInPrepareMap) \ 73 V(ForInPrepareMap) \
(...skipping 2206 matching lines...) Expand 10 before | Expand all | Expand 10 after
2281 temps_[0] = temp; 2280 temps_[0] = temp;
2282 } 2281 }
2283 2282
2284 LOperand* unclamped() { return inputs_[0]; } 2283 LOperand* unclamped() { return inputs_[0]; }
2285 LOperand* temp() { return temps_[0]; } 2284 LOperand* temp() { return temps_[0]; }
2286 2285
2287 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 2286 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2288 }; 2287 };
2289 2288
2290 2289
2291 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2292 public:
2293 explicit LDoubleBits(LOperand* value) {
2294 inputs_[0] = value;
2295 }
2296
2297 LOperand* value() { return inputs_[0]; }
2298
2299 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2300 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2301 };
2302
2303
2304 class LAllocate final : public LTemplateInstruction<1, 2, 2> { 2290 class LAllocate final : public LTemplateInstruction<1, 2, 2> {
2305 public: 2291 public:
2306 LAllocate(LOperand* context, 2292 LAllocate(LOperand* context,
2307 LOperand* size, 2293 LOperand* size,
2308 LOperand* temp1, 2294 LOperand* temp1,
2309 LOperand* temp2) { 2295 LOperand* temp2) {
2310 inputs_[0] = context; 2296 inputs_[0] = context;
2311 inputs_[1] = size; 2297 inputs_[1] = size;
2312 temps_[0] = temp1; 2298 temps_[0] = temp1;
2313 temps_[1] = temp2; 2299 temps_[1] = temp2;
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2601 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2587 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2602 }; 2588 };
2603 2589
2604 #undef DECLARE_HYDROGEN_ACCESSOR 2590 #undef DECLARE_HYDROGEN_ACCESSOR
2605 #undef DECLARE_CONCRETE_INSTRUCTION 2591 #undef DECLARE_CONCRETE_INSTRUCTION
2606 2592
2607 } // namespace internal 2593 } // namespace internal
2608 } // namespace v8 2594 } // namespace v8
2609 2595
2610 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_ 2596 #endif // V8_CRANKSHAFT_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/crankshaft/mips/lithium-codegen-mips.cc ('k') | src/crankshaft/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698