OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
504 void StoreHalfWord(Register src, const MemOperand& mem, Register scratch); | 504 void StoreHalfWord(Register src, const MemOperand& mem, Register scratch); |
505 | 505 |
506 void LoadByte(Register dst, const MemOperand& mem, Register scratch); | 506 void LoadByte(Register dst, const MemOperand& mem, Register scratch); |
507 void StoreByte(Register src, const MemOperand& mem, Register scratch); | 507 void StoreByte(Register src, const MemOperand& mem, Register scratch); |
508 | 508 |
509 void LoadRepresentation(Register dst, const MemOperand& mem, Representation r, | 509 void LoadRepresentation(Register dst, const MemOperand& mem, Representation r, |
510 Register scratch = no_reg); | 510 Register scratch = no_reg); |
511 void StoreRepresentation(Register src, const MemOperand& mem, | 511 void StoreRepresentation(Register src, const MemOperand& mem, |
512 Representation r, Register scratch = no_reg); | 512 Representation r, Register scratch = no_reg); |
513 | 513 |
514 void LoadDouble(DoubleRegister dst, const MemOperand& mem, Register scratch); | 514 void LoadDouble(DoubleRegister dst, const MemOperand& mem, |
515 void StoreDouble(DoubleRegister src, const MemOperand& mem, Register scratch); | 515 Register scratch = no_reg); |
| 516 void LoadDoubleU(DoubleRegister dst, const MemOperand& mem, |
| 517 Register scratch = no_reg); |
| 518 |
| 519 void LoadSingle(DoubleRegister dst, const MemOperand& mem, |
| 520 Register scratch = no_reg); |
| 521 void LoadSingleU(DoubleRegister dst, const MemOperand& mem, |
| 522 Register scratch = no_reg); |
| 523 |
| 524 void StoreDouble(DoubleRegister src, const MemOperand& mem, |
| 525 Register scratch = no_reg); |
| 526 void StoreDoubleU(DoubleRegister src, const MemOperand& mem, |
| 527 Register scratch = no_reg); |
| 528 |
| 529 void StoreSingle(DoubleRegister src, const MemOperand& mem, |
| 530 Register scratch = no_reg); |
| 531 void StoreSingleU(DoubleRegister src, const MemOperand& mem, |
| 532 Register scratch = no_reg); |
516 | 533 |
517 // Move values between integer and floating point registers. | 534 // Move values between integer and floating point registers. |
518 void MovIntToDouble(DoubleRegister dst, Register src, Register scratch); | 535 void MovIntToDouble(DoubleRegister dst, Register src, Register scratch); |
519 void MovUnsignedIntToDouble(DoubleRegister dst, Register src, | 536 void MovUnsignedIntToDouble(DoubleRegister dst, Register src, |
520 Register scratch); | 537 Register scratch); |
521 void MovInt64ToDouble(DoubleRegister dst, | 538 void MovInt64ToDouble(DoubleRegister dst, |
522 #if !V8_TARGET_ARCH_PPC64 | 539 #if !V8_TARGET_ARCH_PPC64 |
523 Register src_hi, | 540 Register src_hi, |
524 #endif | 541 #endif |
525 Register src); | 542 Register src); |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 #define ACCESS_MASM(masm) \ | 1658 #define ACCESS_MASM(masm) \ |
1642 masm->stop(__FILE_LINE__); \ | 1659 masm->stop(__FILE_LINE__); \ |
1643 masm-> | 1660 masm-> |
1644 #else | 1661 #else |
1645 #define ACCESS_MASM(masm) masm-> | 1662 #define ACCESS_MASM(masm) masm-> |
1646 #endif | 1663 #endif |
1647 } // namespace internal | 1664 } // namespace internal |
1648 } // namespace v8 | 1665 } // namespace v8 |
1649 | 1666 |
1650 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1667 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
OLD | NEW |