V8 Project
v8::internal::SwVfpRegister Struct Reference

#include <assembler-arm.h>

+ Collaboration diagram for v8::internal::SwVfpRegister:

Public Member Functions

bool is_valid () const
 
bool is (SwVfpRegister reg) const
 
int code () const
 
int bit () const
 
void split_code (int *vm, int *m) const
 

Public Attributes

int code_
 

Static Public Attributes

static const int kSizeInBytes = 4
 

Detailed Description

Definition at line 180 of file assembler-arm.h.

Member Function Documentation

◆ bit()

int v8::internal::SwVfpRegister::bit ( ) const
inline

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

188  {
189  DCHECK(is_valid());
190  return 1 << code_;
191  }
#define DCHECK(condition)
Definition: logging.h:205

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ code()

int v8::internal::SwVfpRegister::code ( ) const
inline

Definition at line 184 of file assembler-arm.h.

184  {
185  DCHECK(is_valid());
186  return code_;
187  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ is()

bool v8::internal::SwVfpRegister::is ( SwVfpRegister  reg) const
inline

Definition at line 183 of file assembler-arm.h.

183 { return code_ == reg.code_; }

References code_.

◆ is_valid()

bool v8::internal::SwVfpRegister::is_valid ( ) const
inline

Definition at line 182 of file assembler-arm.h.

182 { return 0 <= code_ && code_ < 32; }

References code_.

Referenced by bit(), code(), v8::internal::LowDwVfpRegister::high(), v8::internal::LowDwVfpRegister::low(), and split_code().

+ Here is the caller graph for this function:

◆ split_code()

void v8::internal::SwVfpRegister::split_code ( int vm,
int m 
) const
inline

Definition at line 192 of file assembler-arm.h.

192  {
193  DCHECK(is_valid());
194  *m = code_ & 0x1;
195  *vm = code_ >> 1;
196  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

Member Data Documentation

◆ code_

int v8::internal::SwVfpRegister::code_

◆ kSizeInBytes

const int v8::internal::SwVfpRegister::kSizeInBytes = 4
static

Definition at line 181 of file assembler-arm.h.


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