| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 kLithiumScratchDouble f30 | 327 #define kLithiumScratchDouble f30 |
| 328 #define kDoubleRegZero f28 | 328 #define kDoubleRegZero f28 |
| 329 // Used on mips64r6 for compare operations. | 329 // Used on mips64r6 for compare operations. |
| 330 #define kDoubleCompareReg f31 | 330 // We use the last non-callee saved odd register for N64 ABI |
| 331 #define kDoubleCompareReg f23 |
| 331 | 332 |
| 332 // FPU (coprocessor 1) control registers. | 333 // FPU (coprocessor 1) control registers. |
| 333 // Currently only FCSR (#31) is implemented. | 334 // Currently only FCSR (#31) is implemented. |
| 334 struct FPUControlRegister { | 335 struct FPUControlRegister { |
| 335 bool is_valid() const { return code_ == kFCSRRegister; } | 336 bool is_valid() const { return code_ == kFCSRRegister; } |
| 336 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } | 337 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } |
| 337 int code() const { | 338 int code() const { |
| 338 DCHECK(is_valid()); | 339 DCHECK(is_valid()); |
| 339 return code_; | 340 return code_; |
| 340 } | 341 } |
| (...skipping 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1492 class EnsureSpace BASE_EMBEDDED { | 1493 class EnsureSpace BASE_EMBEDDED { |
| 1493 public: | 1494 public: |
| 1494 explicit EnsureSpace(Assembler* assembler) { | 1495 explicit EnsureSpace(Assembler* assembler) { |
| 1495 assembler->CheckBuffer(); | 1496 assembler->CheckBuffer(); |
| 1496 } | 1497 } |
| 1497 }; | 1498 }; |
| 1498 | 1499 |
| 1499 } } // namespace v8::internal | 1500 } } // namespace v8::internal |
| 1500 | 1501 |
| 1501 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1502 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |