v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-assembler-x64.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "macro-assembler.h"
#include "factory.h"
#include "platform.h"
#include "serialize.h"
#include "cctest.h"
Include dependency graph for test-assembler-x64.cc:

Go to the source code of this file.

Macros

#define __   assm.
 

Typedefs

typedef int(* F0 )()
 
typedef int(* F1 )(int64_t x)
 
typedef int(* F2 )(int64_t x, int64_t y)
 

Functions

 TEST (AssemblerX64ReturnOperation)
 
 TEST (AssemblerX64StackOperations)
 
 TEST (AssemblerX64ArithmeticOperations)
 
 TEST (AssemblerX64ImulOperation)
 
 TEST (AssemblerX64MemoryOperands)
 
 TEST (AssemblerX64ControlFlow)
 
 TEST (AssemblerX64LoopImmediates)
 
 TEST (OperandRegisterDependency)
 
 TEST (AssemblerX64LabelChaining)
 
 TEST (AssemblerMultiByteNop)
 

Macro Definition Documentation

#define __   assm.

Definition at line 88 of file test-assembler-x64.cc.

Referenced by TEST().

Typedef Documentation

typedef int(* F0)()

Definition at line 76 of file test-assembler-x64.cc.

typedef int(* F1)(int64_t x)

Definition at line 77 of file test-assembler-x64.cc.

typedef int(* F2)(int64_t x, int64_t y)

Definition at line 78 of file test-assembler-x64.cc.

Function Documentation

TEST ( AssemblerX64ReturnOperation  )

Definition at line 101 of file test-assembler-x64.cc.

References __, CHECK, CHECK_EQ, Assembler::GetCode(), and v8::internal::rax.

TEST ( AssemblerX64StackOperations  )
TEST ( AssemblerX64ArithmeticOperations  )

Definition at line 155 of file test-assembler-x64.cc.

References __, CHECK, CHECK_EQ, Assembler::GetCode(), and v8::internal::rax.

TEST ( AssemblerX64ImulOperation  )
TEST ( AssemblerX64MemoryOperands  )
TEST ( AssemblerX64ControlFlow  )
TEST ( AssemblerX64LoopImmediates  )
TEST ( AssemblerX64LabelChaining  )

Definition at line 362 of file test-assembler-x64.cc.

References __, v8::internal::equal, v8::internal::not_equal, and NULL.