OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 B27 = 1 << 27, | 213 B27 = 1 << 27, |
214 B28 = 1 << 28, | 214 B28 = 1 << 28, |
215 | 215 |
216 // Instruction bit masks. | 216 // Instruction bit masks. |
217 kCondMask = 15 << 28, | 217 kCondMask = 15 << 28, |
218 kALUMask = 0x6f << 21, | 218 kALUMask = 0x6f << 21, |
219 kRdMask = 15 << 12, // In str instruction. | 219 kRdMask = 15 << 12, // In str instruction. |
220 kCoprocessorMask = 15 << 8, | 220 kCoprocessorMask = 15 << 8, |
221 kOpCodeMask = 15 << 21, // In data-processing instructions. | 221 kOpCodeMask = 15 << 21, // In data-processing instructions. |
222 kImm24Mask = (1 << 24) - 1, | 222 kImm24Mask = (1 << 24) - 1, |
| 223 kImm16Mask = (1 << 16) - 1, |
| 224 kImm8Mask = (1 << 8) - 1, |
223 kOff12Mask = (1 << 12) - 1, | 225 kOff12Mask = (1 << 12) - 1, |
224 kOff8Mask = (1 << 8) - 1 | 226 kOff8Mask = (1 << 8) - 1 |
225 }; | 227 }; |
226 | 228 |
227 | 229 |
228 // ----------------------------------------------------------------------------- | 230 // ----------------------------------------------------------------------------- |
229 // Addressing modes and instruction variants. | 231 // Addressing modes and instruction variants. |
230 | 232 |
231 // Condition code updating mode. | 233 // Condition code updating mode. |
232 enum SBit { | 234 enum SBit { |
(...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 static int Number(const char* name, bool* is_double); | 761 static int Number(const char* name, bool* is_double); |
760 | 762 |
761 private: | 763 private: |
762 static const char* names_[kNumVFPRegisters]; | 764 static const char* names_[kNumVFPRegisters]; |
763 }; | 765 }; |
764 | 766 |
765 | 767 |
766 } } // namespace v8::internal | 768 } } // namespace v8::internal |
767 | 769 |
768 #endif // V8_ARM_CONSTANTS_ARM_H_ | 770 #endif // V8_ARM_CONSTANTS_ARM_H_ |
OLD | NEW |