| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 // cp is assumed to be a callee saved register. | 354 // cp is assumed to be a callee saved register. |
| 355 constexpr Register kRootRegister = s6; | 355 constexpr Register kRootRegister = s6; |
| 356 constexpr Register cp = s7; | 356 constexpr Register cp = s7; |
| 357 constexpr Register kLithiumScratchReg = s3; | 357 constexpr Register kLithiumScratchReg = s3; |
| 358 constexpr Register kLithiumScratchReg2 = s4; | 358 constexpr Register kLithiumScratchReg2 = s4; |
| 359 constexpr DoubleRegister kLithiumScratchDouble = f30; | 359 constexpr DoubleRegister kLithiumScratchDouble = f30; |
| 360 constexpr DoubleRegister kDoubleRegZero = f28; | 360 constexpr DoubleRegister kDoubleRegZero = f28; |
| 361 // Used on mips64r6 for compare operations. | 361 // Used on mips64r6 for compare operations. |
| 362 // We use the last non-callee saved odd register for N64 ABI | 362 // We use the last non-callee saved odd register for N64 ABI |
| 363 constexpr DoubleRegister kDoubleCompareReg = f23; | 363 constexpr DoubleRegister kDoubleCompareReg = f23; |
| 364 // MSA zero and scratch regs must have the same numbers as FPU zero and scratch |
| 365 constexpr Simd128Register kSimd128RegZero = w28; |
| 366 constexpr Simd128Register kSimd128ScratchReg = w30; |
| 364 | 367 |
| 365 // FPU (coprocessor 1) control registers. | 368 // FPU (coprocessor 1) control registers. |
| 366 // Currently only FCSR (#31) is implemented. | 369 // Currently only FCSR (#31) is implemented. |
| 367 struct FPUControlRegister { | 370 struct FPUControlRegister { |
| 368 bool is_valid() const { return reg_code == kFCSRRegister; } | 371 bool is_valid() const { return reg_code == kFCSRRegister; } |
| 369 bool is(FPUControlRegister creg) const { return reg_code == creg.reg_code; } | 372 bool is(FPUControlRegister creg) const { return reg_code == creg.reg_code; } |
| 370 int code() const { | 373 int code() const { |
| 371 DCHECK(is_valid()); | 374 DCHECK(is_valid()); |
| 372 return reg_code; | 375 return reg_code; |
| 373 } | 376 } |
| (...skipping 1884 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2258 public: | 2261 public: |
| 2259 explicit EnsureSpace(Assembler* assembler) { | 2262 explicit EnsureSpace(Assembler* assembler) { |
| 2260 assembler->CheckBuffer(); | 2263 assembler->CheckBuffer(); |
| 2261 } | 2264 } |
| 2262 }; | 2265 }; |
| 2263 | 2266 |
| 2264 } // namespace internal | 2267 } // namespace internal |
| 2265 } // namespace v8 | 2268 } // namespace v8 |
| 2266 | 2269 |
| 2267 #endif // V8_ARM_ASSEMBLER_MIPS_H_ | 2270 #endif // V8_ARM_ASSEMBLER_MIPS_H_ |
| OLD | NEW |