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

Side by Side Diff: src/compiler/types.h

Issue 2695653005: Revert of Remove SIMD.js from V8. (Closed)
Patch Set: Created 3 years, 10 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/compiler/js-typed-lowering.cc ('k') | src/compiler/types.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_COMPILER_TYPES_H_ 5 #ifndef V8_COMPILER_TYPES_H_
6 #define V8_COMPILER_TYPES_H_ 6 #define V8_COMPILER_TYPES_H_
7 7
8 #include "src/base/compiler-specific.h" 8 #include "src/base/compiler-specific.h"
9 #include "src/conversions.h" 9 #include "src/conversions.h"
10 #include "src/globals.h" 10 #include "src/globals.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 V(Negative31, 1u << 5) \ 109 V(Negative31, 1u << 5) \
110 V(Null, 1u << 6) \ 110 V(Null, 1u << 6) \
111 V(Undefined, 1u << 7) \ 111 V(Undefined, 1u << 7) \
112 V(Boolean, 1u << 8) \ 112 V(Boolean, 1u << 8) \
113 V(Unsigned30, 1u << 9) \ 113 V(Unsigned30, 1u << 9) \
114 V(MinusZero, 1u << 10) \ 114 V(MinusZero, 1u << 10) \
115 V(NaN, 1u << 11) \ 115 V(NaN, 1u << 11) \
116 V(Symbol, 1u << 12) \ 116 V(Symbol, 1u << 12) \
117 V(InternalizedString, 1u << 13) \ 117 V(InternalizedString, 1u << 13) \
118 V(OtherString, 1u << 14) \ 118 V(OtherString, 1u << 14) \
119 V(OtherCallable, 1u << 15) \ 119 V(Simd, 1u << 15) \
120 V(OtherObject, 1u << 16) \ 120 V(OtherCallable, 1u << 16) \
121 V(OtherUndetectable, 1u << 17) \ 121 V(OtherObject, 1u << 17) \
122 V(CallableProxy, 1u << 18) \ 122 V(OtherUndetectable, 1u << 18) \
123 V(OtherProxy, 1u << 19) \ 123 V(CallableProxy, 1u << 19) \
124 V(Function, 1u << 20) \ 124 V(OtherProxy, 1u << 20) \
125 V(BoundFunction, 1u << 21) \ 125 V(Function, 1u << 21) \
126 V(Hole, 1u << 22) \ 126 V(BoundFunction, 1u << 22) \
127 V(OtherInternal, 1u << 23) \ 127 V(Hole, 1u << 23) \
128 V(ExternalPointer, 1u << 24) \ 128 V(OtherInternal, 1u << 24) \
129 V(ExternalPointer, 1u << 25) \
129 \ 130 \
130 V(Signed31, kUnsigned30 | kNegative31) \ 131 V(Signed31, kUnsigned30 | kNegative31) \
131 V(Signed32, kSigned31 | kOtherUnsigned31 | \ 132 V(Signed32, kSigned31 | kOtherUnsigned31 | \
132 kOtherSigned32) \ 133 kOtherSigned32) \
133 V(Signed32OrMinusZero, kSigned32 | kMinusZero) \ 134 V(Signed32OrMinusZero, kSigned32 | kMinusZero) \
134 V(Signed32OrMinusZeroOrNaN, kSigned32 | kMinusZero | kNaN) \ 135 V(Signed32OrMinusZeroOrNaN, kSigned32 | kMinusZero | kNaN) \
135 V(Negative32, kNegative31 | kOtherSigned32) \ 136 V(Negative32, kNegative31 | kOtherSigned32) \
136 V(Unsigned31, kUnsigned30 | kOtherUnsigned31) \ 137 V(Unsigned31, kUnsigned30 | kOtherUnsigned31) \
137 V(Unsigned32, kUnsigned30 | kOtherUnsigned31 | \ 138 V(Unsigned32, kUnsigned30 | kOtherUnsigned31 | \
138 kOtherUnsigned32) \ 139 kOtherUnsigned32) \
(...skipping 11 matching lines...) Expand all
150 V(InternalizedStringOrNull, kInternalizedString | kNull) \ 151 V(InternalizedStringOrNull, kInternalizedString | kNull) \
151 V(BooleanOrNumber, kBoolean | kNumber) \ 152 V(BooleanOrNumber, kBoolean | kNumber) \
152 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \ 153 V(BooleanOrNullOrNumber, kBooleanOrNumber | kNull) \
153 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \ 154 V(BooleanOrNullOrUndefined, kBoolean | kNull | kUndefined) \
154 V(Oddball, kBooleanOrNullOrUndefined | kHole) \ 155 V(Oddball, kBooleanOrNullOrUndefined | kHole) \
155 V(NullOrNumber, kNull | kNumber) \ 156 V(NullOrNumber, kNull | kNumber) \
156 V(NullOrUndefined, kNull | kUndefined) \ 157 V(NullOrUndefined, kNull | kUndefined) \
157 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \ 158 V(Undetectable, kNullOrUndefined | kOtherUndetectable) \
158 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \ 159 V(NumberOrOddball, kNumber | kNullOrUndefined | kBoolean | \
159 kHole) \ 160 kHole) \
161 V(NumberOrSimdOrString, kNumber | kSimd | kString) \
160 V(NumberOrString, kNumber | kString) \ 162 V(NumberOrString, kNumber | kString) \
161 V(NumberOrUndefined, kNumber | kUndefined) \ 163 V(NumberOrUndefined, kNumber | kUndefined) \
162 V(PlainPrimitive, kNumberOrString | kBoolean | \ 164 V(PlainPrimitive, kNumberOrString | kBoolean | \
163 kNullOrUndefined) \ 165 kNullOrUndefined) \
164 V(Primitive, kSymbol | kPlainPrimitive) \ 166 V(Primitive, kSymbol | kSimd | kPlainPrimitive) \
165 V(OtherUndetectableOrUndefined, kOtherUndetectable | kUndefined) \ 167 V(OtherUndetectableOrUndefined, kOtherUndetectable | kUndefined) \
166 V(Proxy, kCallableProxy | kOtherProxy) \ 168 V(Proxy, kCallableProxy | kOtherProxy) \
167 V(Callable, kFunction | kBoundFunction | \ 169 V(Callable, kFunction | kBoundFunction | \
168 kOtherCallable | kCallableProxy | \ 170 kOtherCallable | kCallableProxy | \
169 kOtherUndetectable) \ 171 kOtherUndetectable) \
170 V(NonCallable, kOtherObject | kOtherProxy) \ 172 V(NonCallable, kOtherObject | kOtherProxy) \
171 V(NonCallableOrNull, kNonCallable | kNull) \ 173 V(NonCallableOrNull, kNonCallable | kNull) \
172 V(DetectableObject, kFunction | kBoundFunction | \ 174 V(DetectableObject, kFunction | kBoundFunction | \
173 kOtherCallable | kOtherObject) \ 175 kOtherCallable | kOtherObject) \
174 V(DetectableReceiver, kDetectableObject | kProxy) \ 176 V(DetectableReceiver, kDetectableObject | kProxy) \
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 RangeType::Limits* limits, Zone* zone); 664 RangeType::Limits* limits, Zone* zone);
663 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone); 665 static Type* NormalizeUnion(Type* unioned, int size, Zone* zone);
664 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone); 666 static Type* NormalizeRangeAndBitset(Type* range, bitset* bits, Zone* zone);
665 }; 667 };
666 668
667 } // namespace compiler 669 } // namespace compiler
668 } // namespace internal 670 } // namespace internal
669 } // namespace v8 671 } // namespace v8
670 672
671 #endif // V8_COMPILER_TYPES_H_ 673 #endif // V8_COMPILER_TYPES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698