| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 | 317 |
| 318 // Register aliases. | 318 // Register aliases. |
| 319 // cp is assumed to be a callee saved register. | 319 // cp is assumed to be a callee saved register. |
| 320 // Defined using #define instead of "static const Register&" because Clang | 320 // Defined using #define instead of "static const Register&" because Clang |
| 321 // complains otherwise when a compilation unit that includes this header | 321 // complains otherwise when a compilation unit that includes this header |
| 322 // doesn't use the variables. | 322 // doesn't use the variables. |
| 323 #define kRootRegister s6 | 323 #define kRootRegister s6 |
| 324 #define cp s7 | 324 #define cp s7 |
| 325 #define kLithiumScratchReg s3 | 325 #define kLithiumScratchReg s3 |
| 326 #define kLithiumScratchReg2 s4 | 326 #define kLithiumScratchReg2 s4 |
| 327 #define kInterpreterBytecodeOffsetRegister t0 | |
| 328 #define kInterpreterBytecodeArrayRegister t1 | |
| 329 #define kInterpreterDispatchTableRegister t2 | |
| 330 #define kLithiumScratchDouble f30 | 327 #define kLithiumScratchDouble f30 |
| 331 #define kDoubleRegZero f28 | 328 #define kDoubleRegZero f28 |
| 332 // Used on mips64r6 for compare operations. | 329 // Used on mips64r6 for compare operations. |
| 333 #define kDoubleCompareReg f31 | 330 #define kDoubleCompareReg f31 |
| 334 | 331 |
| 335 // FPU (coprocessor 1) control registers. | 332 // FPU (coprocessor 1) control registers. |
| 336 // Currently only FCSR (#31) is implemented. | 333 // Currently only FCSR (#31) is implemented. |
| 337 struct FPUControlRegister { | 334 struct FPUControlRegister { |
| 338 bool is_valid() const { return code_ == kFCSRRegister; } | 335 bool is_valid() const { return code_ == kFCSRRegister; } |
| 339 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } | 336 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } |
| (...skipping 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 class EnsureSpace BASE_EMBEDDED { | 1492 class EnsureSpace BASE_EMBEDDED { |
| 1496 public: | 1493 public: |
| 1497 explicit EnsureSpace(Assembler* assembler) { | 1494 explicit EnsureSpace(Assembler* assembler) { |
| 1498 assembler->CheckBuffer(); | 1495 assembler->CheckBuffer(); |
| 1499 } | 1496 } |
| 1500 }; | 1497 }; |
| 1501 | 1498 |
| 1502 } } // namespace v8::internal | 1499 } } // namespace v8::internal |
| 1503 | 1500 |
| 1504 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1501 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |