OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 | 376 |
377 // Crankshaft double scratch register. | 377 // Crankshaft double scratch register. |
378 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); | 378 ALIAS_REGISTER(FPRegister, crankshaft_fp_scratch, d29); |
379 // Keeps the 0 double value. | 379 // Keeps the 0 double value. |
380 ALIAS_REGISTER(FPRegister, fp_zero, d30); | 380 ALIAS_REGISTER(FPRegister, fp_zero, d30); |
381 // MacroAssembler double scratch register. | 381 // MacroAssembler double scratch register. |
382 ALIAS_REGISTER(FPRegister, fp_scratch, d31); | 382 ALIAS_REGISTER(FPRegister, fp_scratch, d31); |
383 | 383 |
384 #undef ALIAS_REGISTER | 384 #undef ALIAS_REGISTER |
385 | 385 |
| 386 |
| 387 Register GetAllocatableRegisterThatIsNotOneOf(Register reg1, |
| 388 Register reg2 = NoReg, |
| 389 Register reg3 = NoReg, |
| 390 Register reg4 = NoReg); |
| 391 |
| 392 |
386 // AreAliased returns true if any of the named registers overlap. Arguments set | 393 // AreAliased returns true if any of the named registers overlap. Arguments set |
387 // to NoReg are ignored. The system stack pointer may be specified. | 394 // to NoReg are ignored. The system stack pointer may be specified. |
388 bool AreAliased(const CPURegister& reg1, | 395 bool AreAliased(const CPURegister& reg1, |
389 const CPURegister& reg2, | 396 const CPURegister& reg2, |
390 const CPURegister& reg3 = NoReg, | 397 const CPURegister& reg3 = NoReg, |
391 const CPURegister& reg4 = NoReg, | 398 const CPURegister& reg4 = NoReg, |
392 const CPURegister& reg5 = NoReg, | 399 const CPURegister& reg5 = NoReg, |
393 const CPURegister& reg6 = NoReg, | 400 const CPURegister& reg6 = NoReg, |
394 const CPURegister& reg7 = NoReg, | 401 const CPURegister& reg7 = NoReg, |
395 const CPURegister& reg8 = NoReg); | 402 const CPURegister& reg8 = NoReg); |
(...skipping 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2036 class EnsureSpace BASE_EMBEDDED { | 2043 class EnsureSpace BASE_EMBEDDED { |
2037 public: | 2044 public: |
2038 explicit EnsureSpace(Assembler* assembler) { | 2045 explicit EnsureSpace(Assembler* assembler) { |
2039 assembler->CheckBuffer(); | 2046 assembler->CheckBuffer(); |
2040 } | 2047 } |
2041 }; | 2048 }; |
2042 | 2049 |
2043 } } // namespace v8::internal | 2050 } } // namespace v8::internal |
2044 | 2051 |
2045 #endif // V8_A64_ASSEMBLER_A64_H_ | 2052 #endif // V8_A64_ASSEMBLER_A64_H_ |
OLD | NEW |