| 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_PPC_CONSTANTS_PPC_H_ | 5 #ifndef V8_PPC_CONSTANTS_PPC_H_ |
| 6 #define V8_PPC_CONSTANTS_PPC_H_ | 6 #define V8_PPC_CONSTANTS_PPC_H_ |
| 7 | 7 |
| 8 namespace v8 { | 8 namespace v8 { |
| 9 namespace internal { | 9 namespace internal { |
| 10 | 10 |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 // Instruction bit masks | 329 // Instruction bit masks |
| 330 kCondMask = 0x1F << 21, | 330 kCondMask = 0x1F << 21, |
| 331 kOff12Mask = (1 << 12) - 1, | 331 kOff12Mask = (1 << 12) - 1, |
| 332 kImm24Mask = (1 << 24) - 1, | 332 kImm24Mask = (1 << 24) - 1, |
| 333 kOff16Mask = (1 << 16) - 1, | 333 kOff16Mask = (1 << 16) - 1, |
| 334 kImm16Mask = (1 << 16) - 1, | 334 kImm16Mask = (1 << 16) - 1, |
| 335 kImm26Mask = (1 << 26) - 1, | 335 kImm26Mask = (1 << 26) - 1, |
| 336 kBOfieldMask = 0x1f << 21, | 336 kBOfieldMask = 0x1f << 21, |
| 337 kOpcodeMask = 0x3f << 26, | 337 kOpcodeMask = 0x3f << 26, |
| 338 kExt1OpcodeMask = 0x3ff << 1, | 338 kExt1OpcodeMask = 0x3ff << 1, |
| 339 kExt2OpcodeMask = 0x1f << 1, | 339 kExt2OpcodeMask = 0x3ff << 1, |
| 340 kExt2OpcodeVariant2Mask = 0x1ff << 2, |
| 340 kExt5OpcodeMask = 0x3 << 2, | 341 kExt5OpcodeMask = 0x3 << 2, |
| 341 kBOMask = 0x1f << 21, | 342 kBOMask = 0x1f << 21, |
| 342 kBIMask = 0x1F << 16, | 343 kBIMask = 0x1F << 16, |
| 343 kBDMask = 0x14 << 2, | 344 kBDMask = 0x14 << 2, |
| 344 kAAMask = 0x01 << 1, | 345 kAAMask = 0x01 << 1, |
| 345 kLKMask = 0x01, | 346 kLKMask = 0x01, |
| 346 kRCMask = 0x01, | 347 kRCMask = 0x01, |
| 347 kTOMask = 0x1f << 21 | 348 kTOMask = 0x1f << 21 |
| 348 }; | 349 }; |
| 349 | 350 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 582 // Lookup the register number for the name provided. | 583 // Lookup the register number for the name provided. |
| 583 static int Number(const char* name); | 584 static int Number(const char* name); |
| 584 | 585 |
| 585 private: | 586 private: |
| 586 static const char* names_[kNumFPRegisters]; | 587 static const char* names_[kNumFPRegisters]; |
| 587 }; | 588 }; |
| 588 } | 589 } |
| 589 } // namespace v8::internal | 590 } // namespace v8::internal |
| 590 | 591 |
| 591 #endif // V8_PPC_CONSTANTS_PPC_H_ | 592 #endif // V8_PPC_CONSTANTS_PPC_H_ |
| OLD | NEW |