OLD | NEW |
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_INSTRUCTION_CODES_H_ | 5 #ifndef V8_COMPILER_INSTRUCTION_CODES_H_ |
6 #define V8_COMPILER_INSTRUCTION_CODES_H_ | 6 #define V8_COMPILER_INSTRUCTION_CODES_H_ |
7 | 7 |
8 #include <iosfwd> | 8 #include <iosfwd> |
9 | 9 |
10 #if V8_TARGET_ARCH_ARM | 10 #if V8_TARGET_ARCH_ARM |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 kFloatGreaterThanOrEqual, | 164 kFloatGreaterThanOrEqual, |
165 kFloatLessThanOrEqual, | 165 kFloatLessThanOrEqual, |
166 kFloatGreaterThanOrUnordered, | 166 kFloatGreaterThanOrUnordered, |
167 kFloatLessThan, | 167 kFloatLessThan, |
168 kFloatGreaterThanOrEqualOrUnordered, | 168 kFloatGreaterThanOrEqualOrUnordered, |
169 kFloatLessThanOrEqualOrUnordered, | 169 kFloatLessThanOrEqualOrUnordered, |
170 kFloatGreaterThan, | 170 kFloatGreaterThan, |
171 kUnorderedEqual, | 171 kUnorderedEqual, |
172 kUnorderedNotEqual, | 172 kUnorderedNotEqual, |
173 kOverflow, | 173 kOverflow, |
174 kNotOverflow | 174 kNotOverflow, |
| 175 kPositiveOrZero, |
| 176 kNegative |
175 }; | 177 }; |
176 | 178 |
177 inline FlagsCondition NegateFlagsCondition(FlagsCondition condition) { | 179 inline FlagsCondition NegateFlagsCondition(FlagsCondition condition) { |
178 return static_cast<FlagsCondition>(condition ^ 1); | 180 return static_cast<FlagsCondition>(condition ^ 1); |
179 } | 181 } |
180 | 182 |
181 FlagsCondition CommuteFlagsCondition(FlagsCondition condition); | 183 FlagsCondition CommuteFlagsCondition(FlagsCondition condition); |
182 | 184 |
183 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc); | 185 std::ostream& operator<<(std::ostream& os, const FlagsCondition& fc); |
184 | 186 |
(...skipping 11 matching lines...) Expand all Loading... |
196 typedef BitField<AddressingMode, 8, 5> AddressingModeField; | 198 typedef BitField<AddressingMode, 8, 5> AddressingModeField; |
197 typedef BitField<FlagsMode, 13, 2> FlagsModeField; | 199 typedef BitField<FlagsMode, 13, 2> FlagsModeField; |
198 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; | 200 typedef BitField<FlagsCondition, 15, 5> FlagsConditionField; |
199 typedef BitField<int, 20, 12> MiscField; | 201 typedef BitField<int, 20, 12> MiscField; |
200 | 202 |
201 } // namespace compiler | 203 } // namespace compiler |
202 } // namespace internal | 204 } // namespace internal |
203 } // namespace v8 | 205 } // namespace v8 |
204 | 206 |
205 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ | 207 #endif // V8_COMPILER_INSTRUCTION_CODES_H_ |
OLD | NEW |