| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 #endif | 490 #endif |
| 491 void InsertDoubleLow(DoubleRegister dst, Register src, Register scratch); | 491 void InsertDoubleLow(DoubleRegister dst, Register src, Register scratch); |
| 492 void InsertDoubleHigh(DoubleRegister dst, Register src, Register scratch); | 492 void InsertDoubleHigh(DoubleRegister dst, Register src, Register scratch); |
| 493 void MovDoubleLowToInt(Register dst, DoubleRegister src); | 493 void MovDoubleLowToInt(Register dst, DoubleRegister src); |
| 494 void MovDoubleHighToInt(Register dst, DoubleRegister src); | 494 void MovDoubleHighToInt(Register dst, DoubleRegister src); |
| 495 void MovDoubleToInt64( | 495 void MovDoubleToInt64( |
| 496 #if !V8_TARGET_ARCH_PPC64 | 496 #if !V8_TARGET_ARCH_PPC64 |
| 497 Register dst_hi, | 497 Register dst_hi, |
| 498 #endif | 498 #endif |
| 499 Register dst, DoubleRegister src); | 499 Register dst, DoubleRegister src); |
| 500 void MovIntToFloat(DoubleRegister dst, Register src); |
| 501 void MovFloatToInt(Register dst, DoubleRegister src); |
| 500 | 502 |
| 501 void Add(Register dst, Register src, intptr_t value, Register scratch); | 503 void Add(Register dst, Register src, intptr_t value, Register scratch); |
| 502 void Cmpi(Register src1, const Operand& src2, Register scratch, | 504 void Cmpi(Register src1, const Operand& src2, Register scratch, |
| 503 CRegister cr = cr7); | 505 CRegister cr = cr7); |
| 504 void Cmpli(Register src1, const Operand& src2, Register scratch, | 506 void Cmpli(Register src1, const Operand& src2, Register scratch, |
| 505 CRegister cr = cr7); | 507 CRegister cr = cr7); |
| 506 void Cmpwi(Register src1, const Operand& src2, Register scratch, | 508 void Cmpwi(Register src1, const Operand& src2, Register scratch, |
| 507 CRegister cr = cr7); | 509 CRegister cr = cr7); |
| 508 void Cmplwi(Register src1, const Operand& src2, Register scratch, | 510 void Cmplwi(Register src1, const Operand& src2, Register scratch, |
| 509 CRegister cr = cr7); | 511 CRegister cr = cr7); |
| (...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1561 #define ACCESS_MASM(masm) \ | 1563 #define ACCESS_MASM(masm) \ |
| 1562 masm->stop(__FILE_LINE__); \ | 1564 masm->stop(__FILE_LINE__); \ |
| 1563 masm-> | 1565 masm-> |
| 1564 #else | 1566 #else |
| 1565 #define ACCESS_MASM(masm) masm-> | 1567 #define ACCESS_MASM(masm) masm-> |
| 1566 #endif | 1568 #endif |
| 1567 } | 1569 } |
| 1568 } // namespace v8::internal | 1570 } // namespace v8::internal |
| 1569 | 1571 |
| 1570 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1572 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
| OLD | NEW |