OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 | 325 |
326 // Register aliases. | 326 // Register aliases. |
327 // cp is assumed to be a callee saved register. | 327 // cp is assumed to be a callee saved register. |
328 // Defined using #define instead of "static const Register&" because Clang | 328 // Defined using #define instead of "static const Register&" because Clang |
329 // complains otherwise when a compilation unit that includes this header | 329 // complains otherwise when a compilation unit that includes this header |
330 // doesn't use the variables. | 330 // doesn't use the variables. |
331 #define kRootRegister s6 | 331 #define kRootRegister s6 |
332 #define cp s7 | 332 #define cp s7 |
333 #define kLithiumScratchReg s3 | 333 #define kLithiumScratchReg s3 |
334 #define kLithiumScratchReg2 s4 | 334 #define kLithiumScratchReg2 s4 |
| 335 #define kInterpreterBytecodeOffsetRegister t4 |
| 336 #define kInterpreterBytecodeArrayRegister t5 |
| 337 #define kInterpreterDispatchTableRegister t6 |
335 #define kLithiumScratchDouble f30 | 338 #define kLithiumScratchDouble f30 |
336 #define kDoubleRegZero f28 | 339 #define kDoubleRegZero f28 |
337 // Used on mips32r6 for compare operations. | 340 // Used on mips32r6 for compare operations. |
338 #define kDoubleCompareReg f31 | 341 #define kDoubleCompareReg f31 |
339 | 342 |
340 // FPU (coprocessor 1) control registers. | 343 // FPU (coprocessor 1) control registers. |
341 // Currently only FCSR (#31) is implemented. | 344 // Currently only FCSR (#31) is implemented. |
342 struct FPUControlRegister { | 345 struct FPUControlRegister { |
343 bool is_valid() const { return code_ == kFCSRRegister; } | 346 bool is_valid() const { return code_ == kFCSRRegister; } |
344 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } | 347 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } |
(...skipping 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 class EnsureSpace BASE_EMBEDDED { | 1448 class EnsureSpace BASE_EMBEDDED { |
1446 public: | 1449 public: |
1447 explicit EnsureSpace(Assembler* assembler) { | 1450 explicit EnsureSpace(Assembler* assembler) { |
1448 assembler->CheckBuffer(); | 1451 assembler->CheckBuffer(); |
1449 } | 1452 } |
1450 }; | 1453 }; |
1451 | 1454 |
1452 } } // namespace v8::internal | 1455 } } // namespace v8::internal |
1453 | 1456 |
1454 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1457 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
OLD | NEW |