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 "arm/simulator-arm.h"
#include "arm/assembler-arm-inl.h"
#include "cctest.h"
Go to the source code of this file.
Macros | |
#define | __ assm. |
#define | TEST_SDIV(expected_, dividend_, divisor_) |
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 *p0, int p1, int p2, int p3, int p4) |
typedef Object *(* | F4 )(void *p0, void *p1, int p2, int p3, int p4) |
Enumerations | |
enum | VCVTTypes { s32_f64, u32_f64 } |
Functions | |
TEST (0) | |
TEST (1) | |
TEST (2) | |
TEST (3) | |
TEST (4) | |
TEST (5) | |
TEST (6) | |
TEST (7) | |
TEST (8) | |
TEST (9) | |
TEST (10) | |
TEST (11) | |
TEST (12) | |
TEST (13) | |
TEST (14) | |
TEST (15) | |
TEST (16) | |
TEST (17) | |
TEST (18) | |
TEST (code_relative_offset) | |
#define __ assm. |
Definition at line 46 of file test-assembler-arm.cc.
Referenced by TEST().
#define TEST_SDIV | ( | expected_, | |
dividend_, | |||
divisor_ | |||
) |
Definition at line 1461 of file test-assembler-arm.cc.
Referenced by TEST().
typedef Object*(* F1)(int x, int p1, int p2, int p3, int p4) |
Definition at line 40 of file test-assembler-arm.cc.
typedef Object*(* F2)(int x, int y, int p2, int p3, int p4) |
Definition at line 41 of file test-assembler-arm.cc.
typedef Object*(* F3)(void *p0, int p1, int p2, int p3, int p4) |
Definition at line 42 of file test-assembler-arm.cc.
typedef Object*(* F4)(void *p0, void *p1, int p2, int p3, int p4) |
Definition at line 43 of file test-assembler-arm.cc.
enum VCVTTypes |
Enumerator | |
---|---|
s32_f64 | |
u32_f64 |
Definition at line 436 of file test-assembler-arm.cc.
TEST | ( | 0 | ) |
Definition at line 48 of file test-assembler-arm.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::lr, v8::internal::NULL, v8::internal::pc, v8::internal::r0, v8::internal::r1, and v8::internal::STUB.
TEST | ( | 1 | ) |
Definition at line 75 of file test-assembler-arm.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::lr, v8::internal::ne, v8::internal::NULL, v8::internal::pc, v8::internal::r0, v8::internal::r1, and v8::internal::STUB.
TEST | ( | 2 | ) |
Definition at line 113 of file test-assembler-arm.cc.
References __, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Isolate::factory(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::L, v8::internal::lr, v8::internal::ne, v8::internal::NULL, v8::internal::pc, v8::internal::r0, v8::internal::r1, and v8::internal::STUB.
TEST | ( | 3 | ) |
Definition at line 160 of file test-assembler-arm.cc.
References __, v8::internal::ASR, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::db_w, Code::entry(), v8::internal::fp, Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::ip, v8::internal::L, v8::internal::lr, v8::internal::LSL, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r2, v8::internal::r4, v8::internal::sp, v8::internal::STUB, and T.
TEST | ( | 4 | ) |
Definition at line 215 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::d0, v8::internal::d1, v8::internal::d2, v8::internal::d4, v8::internal::d5, v8::internal::d6, v8::internal::d7, v8::internal::db_w, Code::entry(), v8::internal::fp, Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::ip, CpuFeatures::IsSupported(), v8::internal::L, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::s0, v8::internal::s16, v8::internal::s31, v8::internal::s8, v8::internal::sp, v8::internal::STUB, T, v8::internal::USE(), and v8::internal::VFP3.
TEST | ( | 5 | ) |
Definition at line 363 of file test-assembler-arm.cc.
References __, v8::internal::ARMv7, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CpuFeatures::IsSupported(), v8::internal::lr, v8::internal::NULL, v8::internal::pc, v8::internal::r0, v8::internal::r1, and v8::internal::STUB.
TEST | ( | 6 | ) |
Definition at line 400 of file test-assembler-arm.cc.
References __, v8::internal::ARMv7, v8::internal::ASR, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CpuFeatures::IsSupported(), v8::internal::lr, v8::internal::LSL, v8::internal::NULL, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, and v8::internal::STUB.
TEST | ( | 7 | ) |
Definition at line 512 of file test-assembler-arm.cc.
References CcTest::InitializeVM(), v8::internal::kMaxInt, v8::internal::kMinInt, v8::internal::RM, v8::internal::RN, v8::internal::RZ, s32_f64, and u32_f64.
TEST | ( | 8 | ) |
Definition at line 623 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::D, v8::internal::d0, v8::internal::d3, v8::internal::d4, v8::internal::d5, v8::internal::d6, v8::internal::d7, v8::internal::db_w, Code::entry(), v8::internal::F, v8::internal::fp, Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::ip, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r4, v8::internal::s0, v8::internal::s3, v8::internal::s4, v8::internal::s5, v8::internal::s6, v8::internal::s7, v8::internal::sp, v8::internal::STUB, and v8::internal::USE().
TEST | ( | 9 | ) |
Definition at line 731 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::D, v8::internal::d0, v8::internal::d3, v8::internal::d4, v8::internal::d5, v8::internal::d6, v8::internal::d7, v8::internal::db_w, Code::entry(), v8::internal::F, v8::internal::fp, Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia, v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::ip, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r4, v8::internal::s0, v8::internal::s3, v8::internal::s4, v8::internal::s5, v8::internal::s6, v8::internal::s7, v8::internal::sp, v8::internal::STUB, and v8::internal::USE().
TEST | ( | 10 | ) |
Definition at line 843 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::D, v8::internal::d0, v8::internal::d3, v8::internal::d4, v8::internal::d5, v8::internal::d6, v8::internal::d7, v8::internal::db_w, Code::entry(), v8::internal::F, v8::internal::fp, Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::ip, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r4, v8::internal::s0, v8::internal::s3, v8::internal::s4, v8::internal::s5, v8::internal::s6, v8::internal::s7, v8::internal::sp, v8::internal::STUB, and v8::internal::USE().
TEST | ( | 11 | ) |
Definition at line 951 of file test-assembler-arm.cc.
References __, v8::internal::ASR, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::cs, Code::entry(), Assembler::GetCode(), Isolate::heap(), v8::internal::I, CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::LeaveCC, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::SetCC, v8::internal::STUB, and v8::internal::USE().
TEST | ( | 12 | ) |
Definition at line 1017 of file test-assembler-arm.cc.
References __, v8::internal::eq, CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::ne, and v8::internal::NULL.
TEST | ( | 13 | ) |
Definition at line 1032 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::d16, v8::internal::d17, v8::internal::d18, v8::internal::d20, v8::internal::d21, v8::internal::d22, v8::internal::d25, v8::internal::d29, v8::internal::d30, v8::internal::d31, v8::internal::db_w, Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), CpuFeatures::IsSupported(), v8::internal::L, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r4, v8::internal::s1, v8::internal::sp, v8::internal::STUB, T, v8::internal::USE(), v8::internal::VFP3, v8::internal::VFP32DREGS, v8::internal::VmovIndexHi, and v8::internal::VmovIndexLo.
TEST | ( | 14 | ) |
Definition at line 1160 of file test-assembler-arm.cc.
References __, ASSERT, CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::d0, v8::internal::d1, v8::internal::d2, Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), v8::internal::kHoleNanInt64, v8::internal::kVFPDefaultNaNModeControlBit, v8::internal::lr, v8::internal::ne, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | 15 | ) |
Definition at line 1240 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::d0, v8::internal::d1, v8::internal::d2, v8::internal::db_w, Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), CpuFeatures::IsSupported(), v8::internal::lr, v8::internal::NEON, v8::internal::Neon8, v8::internal::NeonU8, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::q0, v8::internal::q1, v8::internal::r0, v8::internal::r4, v8::internal::sp, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | 16 | ) |
Definition at line 1366 of file test-assembler-arm.cc.
References __, v8::internal::ASR, Register::bit(), CALL_GENERATED_CODE, Code::cast(), CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), v8::internal::db_w, Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::lr, v8::internal::LSL, v8::internal::NULL, OFFSET_OF, v8::internal::pc, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r4, v8::internal::ROR, v8::internal::sp, v8::internal::STUB, T, and v8::internal::USE().
TEST | ( | 17 | ) |
Definition at line 1441 of file test-assembler-arm.cc.
References __, v8::internal::eq, CcTest::i_isolate(), CcTest::InitializeVM(), and v8::internal::NULL.
TEST | ( | 18 | ) |
Definition at line 1469 of file test-assembler-arm.cc.
References __, Code::cast(), CHECK, v8::internal::code(), Code::ComputeFlags(), Heap::CreateCode(), Code::entry(), Assembler::GetCode(), Isolate::heap(), CcTest::i_isolate(), CcTest::InitializeVM(), CpuFeatures::IsSupported(), v8::internal::kMinInt, v8::internal::lr, v8::internal::NULL, OFFSET_OF, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::STUB, v8::internal::SUDIV, T, TEST_SDIV, and v8::internal::USE().
TEST | ( | code_relative_offset | ) |
Definition at line 1527 of file test-assembler-arm.cc.
References __, Register::bit(), CALL_GENERATED_CODE, CHECK, CHECK_EQ, v8::internal::code(), Code::ComputeFlags(), v8::internal::db_w, v8::internal::eq, Isolate::factory(), Isolate::heap(), CcTest::i_isolate(), v8::internal::ia_w, CcTest::InitializeVM(), v8::internal::kPointerSize, v8::internal::LeaveCC, v8::internal::lr, v8::internal::ne, v8::internal::NegPreIndex, Factory::NewCode(), v8::internal::NULL, v8::internal::pc, v8::internal::PostIndex, v8::internal::r0, v8::internal::r1, v8::internal::r2, v8::internal::r3, v8::internal::r4, v8::internal::r5, v8::internal::sp, and v8::internal::STUB.