v8
3.14.5(node0.10.28)
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 60 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 63 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, and v8::internal::NULL.
TEST | ( | MIPS1 | ) |
Definition at line 88 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, v8::internal::L, v8::internal::ne, and v8::internal::NULL.
TEST | ( | MIPS2 | ) |
Definition at line 126 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, v8::internal::ne, and v8::internal::NULL.
TEST | ( | MIPS3 | ) |
Definition at line 266 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::f10, v8::internal::f12, v8::internal::f14, v8::internal::f4, v8::internal::f6, v8::internal::f8, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), v8::internal::L, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS4 | ) |
Definition at line 345 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::f4, v8::internal::f5, v8::internal::f6, v8::internal::f7, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), v8::internal::L, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS5 | ) |
Definition at line 405 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), 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, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), v8::internal::L, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS6 | ) |
Definition at line 476 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, 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, T, and v8::internal::USE().
TEST | ( | MIPS7 | ) |
Definition at line 548 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), v8::internal::D, Code::entry(), v8::internal::f4, v8::internal::f6, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), kLoongson, v8::internal::NULL, OFFSET_OF, v8::internal::OLT, T, v8::internal::UN, and v8::internal::USE().
TEST | ( | MIPS8 | ) |
Definition at line 629 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS9 | ) |
Definition at line 733 of file test-assembler-mips.cc.
References __, CHECK, v8::internal::code(), Code::ComputeFlags(), v8::internal::ge, Assembler::GetCode(), HEAP, and v8::internal::NULL.
TEST | ( | MIPS10 | ) |
Definition at line 761 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::f0, v8::internal::f1, v8::internal::f10, v8::internal::f8, v8::internal::f9, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), kMips32r2, v8::internal::L, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS11 | ) |
Definition at line 836 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), Assembler::GetCode(), HEAP, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS12 | ) |
Definition at line 980 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::fp, Assembler::GetCode(), HEAP, v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS13 | ) |
Definition at line 1070 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::f10, v8::internal::f22, v8::internal::f8, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), v8::internal::NULL, OFFSET_OF, T, and v8::internal::USE().
TEST | ( | MIPS14 | ) |
Definition at line 1132 of file test-assembler-mips.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_ROUND_RESULT, v8::internal::code(), Code::ComputeFlags(), Code::entry(), v8::internal::FCSR, v8::internal::FPU, Assembler::GetCode(), HEAP, CpuFeatures::IsSupported(), v8::internal::NULL, ROUND_STRUCT_ELEMENT, RUN_ROUND_TEST, T, and v8::internal::USE().
TEST | ( | MIPS15 | ) |
Definition at line 1268 of file test-assembler-mips.cc.
References __, and v8::internal::NULL.