v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FPURegister Struct Reference

#include <assembler-mips.h>

Public Member Functions

bool is_valid () const
 
bool is (FPURegister creg) const
 
FPURegister low () const
 
FPURegister high () const
 
int code () const
 
int bit () const
 
void setcode (int f)
 

Static Public Member Functions

static int ToAllocationIndex (FPURegister reg)
 
static FPURegister FromAllocationIndex (int index)
 
static const char * AllocationIndexToString (int index)
 
static FPURegister from_code (int code)
 

Data Fields

int code_
 

Static Public Attributes

static const int kNumRegisters = v8::internal::kNumFPURegisters
 
static const int kNumReservedRegisters = 2
 
static const int kNumAllocatableRegisters
 

Detailed Description

Definition at line 188 of file assembler-mips.h.

Member Function Documentation

static const char* AllocationIndexToString ( int  index)
inlinestatic

Definition at line 211 of file assembler-mips.h.

References ASSERT, and FPURegister::kNumAllocatableRegisters.

int bit ( ) const
inline

Definition at line 260 of file assembler-mips.h.

References ASSERT, FPURegister::code_, and FPURegister::is_valid().

int code ( ) const
inline
static FPURegister from_code ( int  code)
inlinestatic

Definition at line 232 of file assembler-mips.h.

Referenced by FPURegister::FromAllocationIndex(), and MacroAssembler::Move().

static FPURegister FromAllocationIndex ( int  index)
inlinestatic
FPURegister high ( ) const
inline

Definition at line 247 of file assembler-mips.h.

References ASSERT, FPURegister::code_, and FPURegister::is_valid().

bool is ( FPURegister  creg) const
inline

Definition at line 238 of file assembler-mips.h.

References FPURegister::code_.

Referenced by MacroAssembler::Move(), and FPURegister::ToAllocationIndex().

FPURegister low ( ) const
inline

Definition at line 239 of file assembler-mips.h.

References ASSERT, FPURegister::code_, and FPURegister::is_valid().

void setcode ( int  f)
inline

Definition at line 264 of file assembler-mips.h.

References ASSERT, FPURegister::code_, and FPURegister::is_valid().

int ToAllocationIndex ( FPURegister  reg)
inlinestatic

Field Documentation

const int kNumAllocatableRegisters
static
const int kNumRegisters = v8::internal::kNumFPURegisters
static

Definition at line 189 of file assembler-mips.h.

const int kNumReservedRegisters = 2
static

Definition at line 199 of file assembler-mips.h.


The documentation for this struct was generated from the following files: