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

Side by Side Diff: src/crankshaft/s390/lithium-s390.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/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_S390_LITHIUM_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_S390_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(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) \
(...skipping 2033 matching lines...) Expand 10 before | Expand all | Expand 10 after
2107 inputs_[0] = unclamped; 2106 inputs_[0] = unclamped;
2108 temps_[0] = temp; 2107 temps_[0] = temp;
2109 } 2108 }
2110 2109
2111 LOperand* unclamped() { return inputs_[0]; } 2110 LOperand* unclamped() { return inputs_[0]; }
2112 LOperand* temp() { return temps_[0]; } 2111 LOperand* temp() { return temps_[0]; }
2113 2112
2114 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8") 2113 DECLARE_CONCRETE_INSTRUCTION(ClampTToUint8, "clamp-t-to-uint8")
2115 }; 2114 };
2116 2115
2117 class LDoubleBits final : public LTemplateInstruction<1, 1, 0> {
2118 public:
2119 explicit LDoubleBits(LOperand* value) { inputs_[0] = value; }
2120
2121 LOperand* value() { return inputs_[0]; }
2122
2123 DECLARE_CONCRETE_INSTRUCTION(DoubleBits, "double-bits")
2124 DECLARE_HYDROGEN_ACCESSOR(DoubleBits)
2125 };
2126
2127 class LAllocate final : public LTemplateInstruction<1, 2, 2> { 2116 class LAllocate final : public LTemplateInstruction<1, 2, 2> {
2128 public: 2117 public:
2129 LAllocate(LOperand* context, LOperand* size, LOperand* temp1, 2118 LAllocate(LOperand* context, LOperand* size, LOperand* temp1,
2130 LOperand* temp2) { 2119 LOperand* temp2) {
2131 inputs_[0] = context; 2120 inputs_[0] = context;
2132 inputs_[1] = size; 2121 inputs_[1] = size;
2133 temps_[0] = temp1; 2122 temps_[0] = temp1;
2134 temps_[1] = temp2; 2123 temps_[1] = temp2;
2135 } 2124 }
2136 2125
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
2401 2390
2402 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2391 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2403 }; 2392 };
2404 2393
2405 #undef DECLARE_HYDROGEN_ACCESSOR 2394 #undef DECLARE_HYDROGEN_ACCESSOR
2406 #undef DECLARE_CONCRETE_INSTRUCTION 2395 #undef DECLARE_CONCRETE_INSTRUCTION
2407 } // namespace internal 2396 } // namespace internal
2408 } // namespace v8 2397 } // namespace v8
2409 2398
2410 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_ 2399 #endif // V8_CRANKSHAFT_S390_LITHIUM_S390_H_
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-codegen-s390.cc ('k') | src/crankshaft/s390/lithium-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698