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

Side by Side Diff: src/mips/lithium-mips.h

Issue 10874047: MIPS: Allow uint32 value on optimized frames if they are consumed by safe operations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased on r12414 Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 V(GlobalObject) \ 101 V(GlobalObject) \
102 V(GlobalReceiver) \ 102 V(GlobalReceiver) \
103 V(Goto) \ 103 V(Goto) \
104 V(HasCachedArrayIndexAndBranch) \ 104 V(HasCachedArrayIndexAndBranch) \
105 V(HasInstanceTypeAndBranch) \ 105 V(HasInstanceTypeAndBranch) \
106 V(In) \ 106 V(In) \
107 V(InstanceOf) \ 107 V(InstanceOf) \
108 V(InstanceOfKnownGlobal) \ 108 V(InstanceOfKnownGlobal) \
109 V(InstructionGap) \ 109 V(InstructionGap) \
110 V(Integer32ToDouble) \ 110 V(Integer32ToDouble) \
111 V(Uint32ToDouble) \
111 V(InvokeFunction) \ 112 V(InvokeFunction) \
112 V(IsConstructCallAndBranch) \ 113 V(IsConstructCallAndBranch) \
113 V(IsNilAndBranch) \ 114 V(IsNilAndBranch) \
114 V(IsObjectAndBranch) \ 115 V(IsObjectAndBranch) \
115 V(IsStringAndBranch) \ 116 V(IsStringAndBranch) \
116 V(IsSmiAndBranch) \ 117 V(IsSmiAndBranch) \
117 V(IsUndetectableAndBranch) \ 118 V(IsUndetectableAndBranch) \
118 V(JSArrayLength) \ 119 V(JSArrayLength) \
119 V(Label) \ 120 V(Label) \
120 V(LazyBailout) \ 121 V(LazyBailout) \
121 V(LoadContextSlot) \ 122 V(LoadContextSlot) \
122 V(LoadElements) \ 123 V(LoadElements) \
123 V(LoadExternalArrayPointer) \ 124 V(LoadExternalArrayPointer) \
124 V(LoadFunctionPrototype) \ 125 V(LoadFunctionPrototype) \
125 V(LoadGlobalCell) \ 126 V(LoadGlobalCell) \
126 V(LoadGlobalGeneric) \ 127 V(LoadGlobalGeneric) \
127 V(LoadKeyedFastDoubleElement) \ 128 V(LoadKeyedFastDoubleElement) \
128 V(LoadKeyedFastElement) \ 129 V(LoadKeyedFastElement) \
129 V(LoadKeyedGeneric) \ 130 V(LoadKeyedGeneric) \
130 V(LoadKeyedSpecializedArrayElement) \ 131 V(LoadKeyedSpecializedArrayElement) \
131 V(LoadNamedField) \ 132 V(LoadNamedField) \
132 V(LoadNamedFieldPolymorphic) \ 133 V(LoadNamedFieldPolymorphic) \
133 V(LoadNamedGeneric) \ 134 V(LoadNamedGeneric) \
134 V(MathMinMax) \ 135 V(MathMinMax) \
135 V(ModI) \ 136 V(ModI) \
136 V(MulI) \ 137 V(MulI) \
137 V(NumberTagD) \ 138 V(NumberTagD) \
138 V(NumberTagI) \ 139 V(NumberTagI) \
140 V(NumberTagU) \
139 V(NumberUntagD) \ 141 V(NumberUntagD) \
140 V(ObjectLiteral) \ 142 V(ObjectLiteral) \
141 V(OsrEntry) \ 143 V(OsrEntry) \
142 V(OuterContext) \ 144 V(OuterContext) \
143 V(Parameter) \ 145 V(Parameter) \
144 V(Power) \ 146 V(Power) \
145 V(PushArgument) \ 147 V(PushArgument) \
146 V(Random) \ 148 V(Random) \
147 V(RegExpLiteral) \ 149 V(RegExpLiteral) \
148 V(Return) \ 150 V(Return) \
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1569 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> { 1571 class LInteger32ToDouble: public LTemplateInstruction<1, 1, 0> {
1570 public: 1572 public:
1571 explicit LInteger32ToDouble(LOperand* value) { 1573 explicit LInteger32ToDouble(LOperand* value) {
1572 inputs_[0] = value; 1574 inputs_[0] = value;
1573 } 1575 }
1574 1576
1575 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double") 1577 DECLARE_CONCRETE_INSTRUCTION(Integer32ToDouble, "int32-to-double")
1576 }; 1578 };
1577 1579
1578 1580
1581 class LUint32ToDouble: public LTemplateInstruction<1, 1, 0> {
1582 public:
1583 explicit LUint32ToDouble(LOperand* value) {
1584 inputs_[0] = value;
1585 }
1586
1587 DECLARE_CONCRETE_INSTRUCTION(Uint32ToDouble, "uint32-to-double")
1588 };
1589
1590
1579 class LNumberTagI: public LTemplateInstruction<1, 1, 0> { 1591 class LNumberTagI: public LTemplateInstruction<1, 1, 0> {
1580 public: 1592 public:
1581 explicit LNumberTagI(LOperand* value) { 1593 explicit LNumberTagI(LOperand* value) {
1582 inputs_[0] = value; 1594 inputs_[0] = value;
1583 } 1595 }
1584 1596
1585 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") 1597 DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i")
1586 }; 1598 };
1587 1599
1588 1600
1601 class LNumberTagU: public LTemplateInstruction<1, 1, 0> {
1602 public:
1603 explicit LNumberTagU(LOperand* value) {
1604 inputs_[0] = value;
1605 }
1606
1607 DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u")
1608 };
1609
1610
1589 class LNumberTagD: public LTemplateInstruction<1, 1, 2> { 1611 class LNumberTagD: public LTemplateInstruction<1, 1, 2> {
1590 public: 1612 public:
1591 LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2) { 1613 LNumberTagD(LOperand* value, LOperand* temp1, LOperand* temp2) {
1592 inputs_[0] = value; 1614 inputs_[0] = value;
1593 temps_[0] = temp1; 1615 temps_[0] = temp1;
1594 temps_[1] = temp2; 1616 temps_[1] = temp2;
1595 } 1617 }
1596 1618
1597 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d") 1619 DECLARE_CONCRETE_INSTRUCTION(NumberTagD, "number-tag-d")
1598 }; 1620 };
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2369 2391
2370 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2392 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2371 }; 2393 };
2372 2394
2373 #undef DECLARE_HYDROGEN_ACCESSOR 2395 #undef DECLARE_HYDROGEN_ACCESSOR
2374 #undef DECLARE_CONCRETE_INSTRUCTION 2396 #undef DECLARE_CONCRETE_INSTRUCTION
2375 2397
2376 } } // namespace v8::internal 2398 } } // namespace v8::internal
2377 2399
2378 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2400 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698