v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include "v8.h"
#include "disassembler.h"
#include "factory.h"
#include "macro-assembler.h"
#include "mips/macro-assembler-mips.h"
#include "mips/simulator-mips.h"
#include "cctest.h"
Go to the source code of this file.
Macros | |
#define | __ assm. |
#define | ROUND_STRUCT_ELEMENT(x) |
#define | RUN_ROUND_TEST(x) |
#define | GET_FPU_ERR(x) (static_cast<int>(x & kFCSRFlagMask)) |
#define | CHECK_ROUND_RESULT(type) |
Typedefs | |
typedef Object *(* | F1 )(int x, int p1, int p2, int p3, int p4) |
typedef Object *(* | F2 )(int x, int y, int p2, int p3, int p4) |
typedef Object *(* | F3 )(void *p, int p1, int p2, int p3, int p4) |
Functions | |
TEST (MIPS0) | |
TEST (MIPS1) | |
TEST (MIPS2) | |
TEST (MIPS3) | |
TEST (MIPS4) | |
TEST (MIPS5) | |
TEST (MIPS6) | |
TEST (MIPS7) | |
TEST (MIPS8) | |
TEST (MIPS9) | |
TEST (MIPS10) | |
TEST (MIPS11) | |
TEST (MIPS12) | |
TEST (MIPS13) | |
TEST (MIPS14) | |
TEST (MIPS15) | |
#define __ assm. |
Definition at line 47 of file test-assembler-mips.cc.
Referenced by TEST().
#define CHECK_ROUND_RESULT | ( | type | ) |
Referenced by TEST().
#define GET_FPU_ERR | ( | x | ) | (static_cast<int>(x & kFCSRFlagMask)) |
#define ROUND_STRUCT_ELEMENT | ( | x | ) |
#define RUN_ROUND_TEST | ( | x | ) |
Referenced by TEST().
typedef Object*(* F1)(int x, int p1, int p2, int p3, int p4) |
Definition at line 42 of file test-assembler-mips.cc.
typedef Object*(* F2)(int x, int y, int p2, int p3, int p4) |
Definition at line 43 of file test-assembler-mips.cc.
typedef Object*(* F3)(void *p, int p1, int p2, int p3, int p4) |
Definition at line 44 of file test-assembler-mips.cc.
TEST | ( | MIPS0 | ) |
Definition at line 50 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, and v8::internal::STUB.
TEST | ( | MIPS1 | ) |
Definition at line 76 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::ne, v8::internal::NULL, and v8::internal::STUB.
TEST | ( | MIPS2 | ) |
Definition at line 115 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::ne, v8::internal::NULL, and v8::internal::STUB.
TEST | ( | MIPS3 | ) |
Definition at line 256 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::f10, v8::internal::f12, v8::internal::f14, v8::internal::f4, v8::internal::f6, v8::internal::f8, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), kMips32r2, v8::internal::L, v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS4 | ) |
Definition at line 346 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::f4, v8::internal::f5, v8::internal::f6, v8::internal::f7, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS5 | ) |
Definition at line 403 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::f0, v8::internal::f10, v8::internal::f12, v8::internal::f14, v8::internal::f2, v8::internal::f4, v8::internal::f6, v8::internal::f8, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS6 | ) |
Definition at line 471 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::NULL, OFFSET_OF, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::r6, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS7 | ) |
Definition at line 544 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::D, Code::entry(), v8::internal::f4, v8::internal::f6, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), kLoongson, v8::internal::NULL, OFFSET_OF, v8::internal::OLT, v8::internal::STUB, T, v8::internal::UN, and v8::internal::USE().
TEST | ( | MIPS8 | ) |
Definition at line 622 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS9 | ) |
Definition at line 727 of file test-assembler-mips.cc.
References __, CHECK, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::ge, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, and v8::internal::STUB.
TEST | ( | MIPS10 | ) |
Definition at line 756 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::f0, v8::internal::f1, v8::internal::f10, v8::internal::f8, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), kMips32r2, v8::internal::L, v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS11 | ) |
Definition at line 822 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS12 | ) |
Definition at line 967 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::fp, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS13 | ) |
Definition at line 1058 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::f10, v8::internal::f22, v8::internal::f8, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, OFFSET_OF, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS14 | ) |
Definition at line 1117 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_ROUND_RESULT, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), v8::internal::FCSR, Assembler::GetCode(), CcTest::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::NULL, ROUND_STRUCT_ELEMENT, RUN_ROUND_TEST, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | MIPS15 | ) |
Definition at line 1250 of file test-assembler-mips.cc.
References __, CcTest::i_isolate(), CcTest::InitializeVM(), and v8::internal::NULL.