v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-utils-arm64.cc File Reference
#include "v8.h"
#include "macro-assembler.h"
#include "arm64/utils-arm64.h"
#include "cctest.h"
#include "test-utils-arm64.h"
Include dependency graph for test-utils-arm64.cc:

Go to the source code of this file.

Macros

#define __   masm->
 

Functions

bool Equal32 (uint32_t expected, const RegisterDump *, uint32_t result)
 
bool Equal64 (uint64_t expected, const RegisterDump *, uint64_t result)
 
bool EqualFP32 (float expected, const RegisterDump *, float result)
 
bool EqualFP64 (double expected, const RegisterDump *, double result)
 
bool Equal32 (uint32_t expected, const RegisterDump *core, const Register &reg)
 
bool Equal64 (uint64_t expected, const RegisterDump *core, const Register &reg)
 
bool EqualFP32 (float expected, const RegisterDump *core, const FPRegister &fpreg)
 
bool EqualFP64 (double expected, const RegisterDump *core, const FPRegister &fpreg)
 
bool Equal64 (const Register &reg0, const RegisterDump *core, const Register &reg1)
 
bool EqualNzcv (uint32_t expected, uint32_t result)
 
bool EqualRegisters (const RegisterDump *a, const RegisterDump *b)
 
RegList PopulateRegisterArray (Register *w, Register *x, Register *r, int reg_size, int reg_count, RegList allowed)
 
RegList PopulateFPRegisterArray (FPRegister *s, FPRegister *d, FPRegister *v, int reg_size, int reg_count, RegList allowed)
 
void Clobber (MacroAssembler *masm, RegList reg_list, uint64_t const value)
 
void ClobberFP (MacroAssembler *masm, RegList reg_list, double const value)
 
void Clobber (MacroAssembler *masm, CPURegList reg_list)
 

Macro Definition Documentation

#define __   masm->

Definition at line 38 of file test-utils-arm64.cc.

Referenced by Clobber(), ClobberFP(), and RegisterDump::Dump().

Function Documentation

void Clobber ( MacroAssembler masm,
RegList  reg_list,
uint64_t const  value 
)
void ClobberFP ( MacroAssembler masm,
RegList  reg_list,
double const  value 
)
bool Equal32 ( uint32_t  expected,
const RegisterDump ,
uint32_t  result 
)

Definition at line 41 of file test-utils-arm64.cc.

Referenced by Equal32().

bool Equal32 ( uint32_t  expected,
const RegisterDump core,
const Register reg 
)
bool Equal64 ( uint64_t  expected,
const RegisterDump ,
uint64_t  result 
)

Definition at line 51 of file test-utils-arm64.cc.

Referenced by Equal64().

bool Equal64 ( uint64_t  expected,
const RegisterDump core,
const Register reg 
)
bool Equal64 ( const Register reg0,
const RegisterDump core,
const Register reg1 
)
bool EqualFP32 ( float  expected,
const RegisterDump ,
float  result 
)

Definition at line 61 of file test-utils-arm64.cc.

References std::isnan().

Referenced by EqualFP32().

bool EqualFP32 ( float  expected,
const RegisterDump core,
const FPRegister fpreg 
)
bool EqualFP64 ( double  expected,
const RegisterDump ,
double  result 
)

Definition at line 79 of file test-utils-arm64.cc.

References std::isnan().

Referenced by EqualFP64().

bool EqualFP64 ( double  expected,
const RegisterDump core,
const FPRegister fpreg 
)
bool EqualNzcv ( uint32_t  expected,
uint32_t  result 
)

Definition at line 176 of file test-utils-arm64.cc.

References ASSERT, and v8::internal::NZCVFlag.

bool EqualRegisters ( const RegisterDump a,
const RegisterDump b 
)
RegList PopulateFPRegisterArray ( FPRegister s,
FPRegister d,
FPRegister v,
int  reg_size,
int  reg_count,
RegList  allowed 
)
RegList PopulateRegisterArray ( Register w,
Register x,
Register r,
int  reg_size,
int  reg_count,
RegList  allowed 
)