v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "macro-assembler.h"
#include "factory.h"
#include "platform.h"
#include "serialize.h"
#include "cctest.h"
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) | |
#define __ assm. |
Definition at line 88 of file test-assembler-x64.cc.
Referenced by TEST().
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.
TEST | ( | AssemblerX64ReturnOperation | ) |
Definition at line 101 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), and v8::internal::rax.
TEST | ( | AssemblerX64StackOperations | ) |
Definition at line 123 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), v8::internal::rax, v8::internal::rbp, and v8::internal::rsp.
TEST | ( | AssemblerX64ArithmeticOperations | ) |
Definition at line 155 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), and v8::internal::rax.
TEST | ( | AssemblerX64ImulOperation | ) |
Definition at line 177 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), v8::internal::rax, and v8::internal::rdx.
TEST | ( | AssemblerX64MemoryOperands | ) |
Definition at line 205 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), v8::internal::rax, v8::internal::rbp, and v8::internal::rsp.
TEST | ( | AssemblerX64ControlFlow | ) |
Definition at line 239 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Assembler::GetCode(), v8::internal::rax, v8::internal::rbp, and v8::internal::rsp.
TEST | ( | AssemblerX64LoopImmediates | ) |
Definition at line 268 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, Fail(), Assembler::GetCode(), v8::internal::greater, v8::internal::less_equal, v8::internal::not_equal, and v8::internal::rax.
TEST | ( | OperandRegisterDependency | ) |
Definition at line 319 of file test-assembler-x64.cc.
References CHECK, v8::internal::r13, v8::internal::r15, v8::internal::r8, v8::internal::r9, v8::internal::rax, v8::internal::rbp, v8::internal::rcx, v8::internal::rdx, v8::internal::rsp, and v8::internal::times_1.
TEST | ( | AssemblerX64LabelChaining | ) |
Definition at line 362 of file test-assembler-x64.cc.
References __, v8::internal::equal, v8::internal::not_equal, and NULL.
TEST | ( | AssemblerMultiByteNop | ) |
Definition at line 375 of file test-assembler-x64.cc.
References __, CHECK, CHECK_EQ, code(), Code::entry(), Assembler::GetCode(), HEAP, v8::internal::not_equal, Assembler::pc_offset(), v8::internal::rax, v8::internal::rbx, v8::internal::rcx, v8::internal::rdi, v8::internal::rdx, and v8::internal::rsi.