| 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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 kLithiumScratchDouble f30 | 335 #define kLithiumScratchDouble f30 |
| 336 #define kDoubleRegZero f28 | 336 #define kDoubleRegZero f28 |
| 337 // Used on mips32r6 for compare operations. | 337 // Used on mips32r6 for compare operations. |
| 338 #define kDoubleCompareReg f31 | 338 // We use the last non-callee saved odd register for O32 ABI |
| 339 #define kDoubleCompareReg f19 |
| 339 | 340 |
| 340 // FPU (coprocessor 1) control registers. | 341 // FPU (coprocessor 1) control registers. |
| 341 // Currently only FCSR (#31) is implemented. | 342 // Currently only FCSR (#31) is implemented. |
| 342 struct FPUControlRegister { | 343 struct FPUControlRegister { |
| 343 bool is_valid() const { return code_ == kFCSRRegister; } | 344 bool is_valid() const { return code_ == kFCSRRegister; } |
| 344 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } | 345 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } |
| 345 int code() const { | 346 int code() const { |
| 346 DCHECK(is_valid()); | 347 DCHECK(is_valid()); |
| 347 return code_; | 348 return code_; |
| 348 } | 349 } |
| (...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 class EnsureSpace BASE_EMBEDDED { | 1446 class EnsureSpace BASE_EMBEDDED { |
| 1446 public: | 1447 public: |
| 1447 explicit EnsureSpace(Assembler* assembler) { | 1448 explicit EnsureSpace(Assembler* assembler) { |
| 1448 assembler->CheckBuffer(); | 1449 assembler->CheckBuffer(); |
| 1449 } | 1450 } |
| 1450 }; | 1451 }; |
| 1451 | 1452 |
| 1452 } } // namespace v8::internal | 1453 } } // namespace v8::internal |
| 1453 | 1454 |
| 1454 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 1455 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |