v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
assembler-ppc.h File Reference
Include dependency graph for assembler-ppc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  v8::internal::Operand
 
union  v8::internal::Operand::Value
 
class  v8::internal::MemOperand
 
class  v8::internal::DeferredRelocInfo
 
class  v8::internal::Assembler
 
class  v8::internal::Assembler::BlockTrampolinePoolScope
 
class  v8::internal::Assembler::BlockConstantPoolEntrySharingScope
 
class  v8::internal::Assembler::Trampoline
 
class  v8::internal::EnsureSpace
 
class  v8::internal::PatchingAssembler
 
class  v8::internal::UseScratchRegisterScope
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define DECLARE_PPC_X_INSTRUCTIONS_A_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_B_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_C_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_D_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_E_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_F_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_G_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_EH_S_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_X_INSTRUCTIONS_EH_L_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_XX2_VECTOR_INSTRUCTIONS(name, instr_name, instr_value)
 
#define DECLARE_PPC_XX2_SCALAR_INSTRUCTIONS(name, instr_name, instr_value)
 
#define DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_A_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_B_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_XX3_SCALAR_INSTRUCTIONS(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_A_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_B_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_C_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_E_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_F_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VX_INSTRUCTIONS_G_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VA_INSTRUCTIONS_A_FORM(name, instr_name, instr_value)
 
#define DECLARE_PPC_VC_INSTRUCTIONS(name, instr_name, instr_value)
 
#define DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_00(name, instr_name, instr_value)
 
#define DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_10(name, instr_name, instr_value)
 

Macro Definition Documentation

◆ DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_00

#define DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_00 ( name,
instr_name,
instr_value )
Value:
inline void name(const Operand& imm, const PRBit pr = LeavePR) { \
prefix_form(instr_name, imm, pr); \
}
const char * name
Definition builtins.cc:39

Definition at line 614 of file assembler-ppc.h.

◆ DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_10

#define DECLARE_PPC_PREFIX_INSTRUCTIONS_TYPE_10 ( name,
instr_name,
instr_value )
Value:
inline void name(const Operand& imm, const PRBit pr = LeavePR) { \
prefix_form(instr_name, imm, pr); \
}

Definition at line 618 of file assembler-ppc.h.

◆ DECLARE_PPC_VA_INSTRUCTIONS_A_FORM

#define DECLARE_PPC_VA_INSTRUCTIONS_A_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register ra, \
const Simd128Register rb, const Simd128Register rc) { \
va_form(instr_name, rt, ra, rb, rc); \
}

◆ DECLARE_PPC_VC_INSTRUCTIONS

#define DECLARE_PPC_VC_INSTRUCTIONS ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register ra, \
const Simd128Register rb, const RCBit rc = LeaveRC) { \
vc_form(instr_name, rt, ra, rb, rc); \
}

Definition at line 599 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_A_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_A_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register rb, \
const Operand& imm) { \
vx_form(instr_name, rt, rb, imm); \
}

Definition at line 515 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_B_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_B_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register ra, \
const Simd128Register rb) { \
vx_form(instr_name, rt, ra, rb); \
}

Definition at line 520 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_C_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_C_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register rb) { \
vx_form(instr_name, rt, rb); \
}

Definition at line 525 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_E_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_E_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Operand& imm) { \
vx_form(instr_name, rt, imm); \
}

Definition at line 529 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_F_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_F_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register rt, const Simd128Register rb) { \
vx_form(instr_name, rt, rb); \
}

Definition at line 533 of file assembler-ppc.h.

◆ DECLARE_PPC_VX_INSTRUCTIONS_G_FORM

#define DECLARE_PPC_VX_INSTRUCTIONS_G_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Register rb, \
const Operand& imm) { \
vx_form(instr_name, rt, rb, imm); \
}

Definition at line 537 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_A_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_A_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register rt, const Register ra, const Register rb, \
const RCBit rc = LeaveRC) { \
x_form(instr_name, rt, ra, rb, rc); \
}

Definition at line 324 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_B_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_B_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register ra, const Register rs, const Register rb, \
const RCBit rc = LeaveRC) { \
x_form(instr_name, rs, ra, rb, rc); \
}

Definition at line 330 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_C_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_C_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register dst, const Register src, \
const RCBit rc = LeaveRC) { \
x_form(instr_name, src, dst, r0, rc); \
}

Definition at line 336 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_D_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_D_FORM ( name,
instr_name,
instr_value )
Value:
template <class R> \
inline void name(const R rt, const Register ra, const Register rb, \
const RCBit rc = LeaveRC) { \
x_form(instr_name, rt.code(), ra.code(), rb.code(), rc); \
} \
template <class R> \
inline void name(const R dst, const MemOperand& src) { \
name(dst, src.ra(), src.rb()); \
}

Definition at line 342 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_E_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_E_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register dst, const Register src, const int sh, \
const RCBit rc = LeaveRC) { \
x_form(instr_name, src.code(), dst.code(), sh, rc); \
}

Definition at line 353 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_EH_L_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_EH_L_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register dst, const MemOperand& src) { \
x_form(instr_name, src.ra(), dst, src.rb(), SetEH); \
}

Definition at line 378 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_EH_S_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_EH_S_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register dst, const MemOperand& src) { \
x_form(instr_name, src.ra(), dst, src.rb(), SetEH); \
}

Definition at line 374 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_F_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_F_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register src1, const Register src2, \
const CRegister cr = cr0, const RCBit rc = LeaveRC) { \
x_form(instr_name, cr, src1, src2, rc); \
} \
inline void name##w(const Register src1, const Register src2, \
const CRegister cr = cr0, const RCBit rc = LeaveRC) { \
x_form(instr_name, cr.code() * B2, src1.code(), src2.code(), LeaveRC); \
}

Definition at line 359 of file assembler-ppc.h.

◆ DECLARE_PPC_X_INSTRUCTIONS_G_FORM

#define DECLARE_PPC_X_INSTRUCTIONS_G_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Register dst, const Register src) { \
x_form(instr_name, src, dst, r0, LeaveRC); \
}

Definition at line 369 of file assembler-ppc.h.

◆ DECLARE_PPC_XX2_SCALAR_INSTRUCTIONS

#define DECLARE_PPC_XX2_SCALAR_INSTRUCTIONS ( name,
instr_name,
instr_value )
Value:
inline void name(const DoubleRegister rt, const DoubleRegister rb) { \
xx2_form(instr_name, rt, rb); \
}

Definition at line 438 of file assembler-ppc.h.

◆ DECLARE_PPC_XX2_VECTOR_INSTRUCTIONS

#define DECLARE_PPC_XX2_VECTOR_INSTRUCTIONS ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register rb) { \
xx2_form(instr_name, rt, rb); \
}

Definition at line 434 of file assembler-ppc.h.

◆ DECLARE_PPC_XX3_SCALAR_INSTRUCTIONS

#define DECLARE_PPC_XX3_SCALAR_INSTRUCTIONS ( name,
instr_name,
instr_value )
Value:
inline void name(const DoubleRegister rt, const DoubleRegister ra, \
const DoubleRegister rb) { \
xx3_form(instr_name, rt, ra, rb); \
}

Definition at line 477 of file assembler-ppc.h.

◆ DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_A_FORM

#define DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_A_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register ra, \
const Simd128Register rb, const RCBit rc = LeaveRC) { \
xx3_form(instr_name, rt, ra, rb, rc); \
}

Definition at line 465 of file assembler-ppc.h.

◆ DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_B_FORM

#define DECLARE_PPC_XX3_VECTOR_INSTRUCTIONS_B_FORM ( name,
instr_name,
instr_value )
Value:
inline void name(const Simd128Register rt, const Simd128Register ra, \
const Simd128Register rb) { \
xx3_form(instr_name, rt, ra, rb); \
}

Definition at line 471 of file assembler-ppc.h.