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
assembler-mips.h File Reference
#include <stdio.h>
#include "assembler.h"
#include "constants-mips.h"
#include "serialize.h"
Include dependency graph for assembler-mips.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Register
 
struct  FPURegister
 
struct  FPUControlRegister
 
class  BASE_EMBEDDED< Visitor >
 
class  MemOperand
 
class  CpuFeatures
 
class  Assembler
 
class  Assembler::BlockTrampolinePoolScope
 
class  Assembler::BlockGrowBufferScope
 
class  BASE_EMBEDDED< Visitor >
 

Namespaces

 v8
 
 v8::internal
 

Macros

#define REGISTER(N, C)
 
#define kRootRegister   s6
 
#define cp   s7
 
#define kLithiumScratchReg   s3
 
#define kLithiumScratchReg2   s4
 
#define kLithiumScratchDouble   f30
 
#define kDoubleRegZero   f28
 

Typedefs

typedef FPURegister FloatRegister
 

Functions

 REGISTER (no_reg,-1)
 
 REGISTER (zero_reg, 0)
 
 REGISTER (at, 1)
 
 REGISTER (v0, 2)
 
 REGISTER (v1, 3)
 
 REGISTER (a0, 4)
 
 REGISTER (a1, 5)
 
 REGISTER (a2, 6)
 
 REGISTER (a3, 7)
 
 REGISTER (t0, 8)
 
 REGISTER (t1, 9)
 
 REGISTER (t2, 10)
 
 REGISTER (t3, 11)
 
 REGISTER (t4, 12)
 
 REGISTER (t5, 13)
 
 REGISTER (t6, 14)
 
 REGISTER (t7, 15)
 
 REGISTER (s0, 16)
 
 REGISTER (s1, 17)
 
 REGISTER (s2, 18)
 
 REGISTER (s3, 19)
 
 REGISTER (s4, 20)
 
 REGISTER (s5, 21)
 
 REGISTER (s6, 22)
 
 REGISTER (s7, 23)
 
 REGISTER (t8, 24)
 
 REGISTER (t9, 25)
 
 REGISTER (k0, 26)
 
 REGISTER (k1, 27)
 
 REGISTER (gp, 28)
 
 REGISTER (sp, 29)
 
 REGISTER (fp, 30)
 
 REGISTER (ra, 31)
 
int ToNumber (Register reg)
 
Register ToRegister (int num)
 

Variables

const FPURegister no_freg = { -1 }
 
const FPURegister f0 = { 0 }
 
const FPURegister f1 = { 1 }
 
const FPURegister f2 = { 2 }
 
const FPURegister f3 = { 3 }
 
const FPURegister f4 = { 4 }
 
const FPURegister f5 = { 5 }
 
const FPURegister f6 = { 6 }
 
const FPURegister f7 = { 7 }
 
const FPURegister f8 = { 8 }
 
const FPURegister f9 = { 9 }
 
const FPURegister f10 = { 10 }
 
const FPURegister f11 = { 11 }
 
const FPURegister f12 = { 12 }
 
const FPURegister f13 = { 13 }
 
const FPURegister f14 = { 14 }
 
const FPURegister f15 = { 15 }
 
const FPURegister f16 = { 16 }
 
const FPURegister f17 = { 17 }
 
const FPURegister f18 = { 18 }
 
const FPURegister f19 = { 19 }
 
const FPURegister f20 = { 20 }
 
const FPURegister f21 = { 21 }
 
const FPURegister f22 = { 22 }
 
const FPURegister f23 = { 23 }
 
const FPURegister f24 = { 24 }
 
const FPURegister f25 = { 25 }
 
const FPURegister f26 = { 26 }
 
const FPURegister f27 = { 27 }
 
const FPURegister f28 = { 28 }
 
const FPURegister f29 = { 29 }
 
const FPURegister f30 = { 30 }
 
const FPURegister f31 = { 31 }
 
const FPUControlRegister no_fpucreg = { kInvalidFPUControlRegister }
 
const FPUControlRegister FCSR = { kFCSRRegister }
 

Macro Definition Documentation

#define cp   s7

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

#define kDoubleRegZero   f28

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

#define kLithiumScratchDouble   f30

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

Referenced by FPURegister::ToAllocationIndex().

#define kLithiumScratchReg   s3

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

#define kLithiumScratchReg2   s4

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

#define kRootRegister   s6

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

#define REGISTER (   N,
 
)
Value:
const int kRegister_ ## N ## _Code = C; \
const Register N = { C }

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