V8 Project
v8::internal::FPUControlRegister Struct Reference

#include <assembler-mips.h>

+ Collaboration diagram for v8::internal::FPUControlRegister:

Public Member Functions

bool is_valid () const
 
bool is (FPUControlRegister creg) const
 
int code () const
 
int bit () const
 
void setcode (int f)
 
bool is_valid () const
 
bool is (FPUControlRegister creg) const
 
int code () const
 
int bit () const
 
void setcode (int f)
 

Public Attributes

int code_
 

Detailed Description

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

Member Function Documentation

◆ bit() [1/2]

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

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

347  {
348  DCHECK(is_valid());
349  return 1 << code_;
350  }
#define DCHECK(condition)
Definition: logging.h:205

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ bit() [2/2]

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

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

336  {
337  DCHECK(is_valid());
338  return 1 << code_;
339  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ code() [1/2]

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

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

343  {
344  DCHECK(is_valid());
345  return code_;
346  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ code() [2/2]

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

Definition at line 332 of file assembler-mips64.h.

332  {
333  DCHECK(is_valid());
334  return code_;
335  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ is() [1/2]

bool v8::internal::FPUControlRegister::is ( FPUControlRegister  creg) const
inline

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

342 { return code_ == creg.code_; }

References code_.

◆ is() [2/2]

bool v8::internal::FPUControlRegister::is ( FPUControlRegister  creg) const
inline

Definition at line 331 of file assembler-mips64.h.

331 { return code_ == creg.code_; }

References code_.

◆ is_valid() [1/2]

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

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

341 { return code_ == kFCSRRegister; }
const int kFCSRRegister

References code_, and v8::internal::kFCSRRegister.

Referenced by bit(), code(), and setcode().

+ Here is the caller graph for this function:

◆ is_valid() [2/2]

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

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

330 { return code_ == kFCSRRegister; }

References code_, and v8::internal::kFCSRRegister.

◆ setcode() [1/2]

void v8::internal::FPUControlRegister::setcode ( int  f)
inline

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

351  {
352  code_ = f;
353  DCHECK(is_valid());
354  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

◆ setcode() [2/2]

void v8::internal::FPUControlRegister::setcode ( int  f)
inline

Definition at line 340 of file assembler-mips64.h.

340  {
341  code_ = f;
342  DCHECK(is_valid());
343  }

References code_, DCHECK, and is_valid().

+ Here is the call graph for this function:

Member Data Documentation

◆ code_

int v8::internal::FPUControlRegister::code_

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

Referenced by bit(), code(), is(), is_valid(), and setcode().


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