![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include "src/codegen/assembler-inl.h"
#include "src/codegen/callable.h"
#include "src/codegen/interface-descriptors-inl.h"
#include "src/codegen/macro-assembler.h"
#include "src/codegen/optimized-compilation-info.h"
#include "src/compiler/backend/code-generator-impl.h"
#include "src/compiler/backend/code-generator.h"
#include "src/compiler/backend/gap-resolver.h"
#include "src/compiler/node-matchers.h"
#include "src/compiler/osr.h"
#include "src/heap/mutable-page-metadata.h"
Go to the source code of this file.
Classes | |
class | v8::internal::compiler::S390OperandConverter |
Namespaces | |
namespace | v8 |
namespace | v8::internal |
namespace | v8::internal::compiler |
Macros | |
#define | __ masm()-> |
#define | kScratchReg ip |
#define | GET_MEMOPERAND32(ret, fi) |
#define | GET_MEMOPERAND(ret, fi) |
#define | RRInstr(instr) |
#define | RIInstr(instr) |
#define | RMInstr(instr, GETMEM) |
#define | RM32Instr(instr) |
#define | RM64Instr(instr) |
#define | RRRInstr(instr) |
#define | RRIInstr(instr) |
#define | RRMInstr(instr, GETMEM) |
#define | RRM32Instr(instr) |
#define | RRM64Instr(instr) |
#define | DDInstr(instr) |
#define | DMInstr(instr) |
#define | DMTInstr(instr) |
#define | R_MInstr(instr) |
#define | R_DInstr(instr) |
#define | D_DInstr(instr) |
#define | D_MInstr(instr) |
#define | D_MTInstr(instr) |
#define | ASSEMBLE_BIN_OP(_rr, _rm, _ri) |
#define | ASSEMBLE_UNARY_OP(_r, _m, _i) |
#define | CHECK_AND_ZERO_EXT_OUTPUT(num) |
#define | ASSEMBLE_BIN32_OP(_rr, _rm, _ri) |
#define | ASSEMBLE_FLOAT_UNOP(asm_instr) |
#define | ASSEMBLE_FLOAT_BINOP(asm_instr) |
#define | ASSEMBLE_COMPARE(cmp_instr, cmpl_instr) |
#define | ASSEMBLE_COMPARE32(cmp_instr, cmpl_instr) |
#define | ASSEMBLE_FLOAT_COMPARE(cmp_rr_instr, cmp_rm_instr, load_instr) |
#define | ASSEMBLE_MODULO(div_instr, shift_instr) |
#define | ASSEMBLE_FLOAT_MODULO() |
#define | ASSEMBLE_IEEE754_UNOP(name) |
#define | ASSEMBLE_IEEE754_BINOP(name) |
#define | ASSEMBLE_LOAD_FLOAT(asm_instr) |
#define | ASSEMBLE_LOAD_INTEGER(asm_instr) |
#define | ASSEMBLE_LOADANDTEST64(asm_instr_rr, asm_instr_rm) |
#define | ASSEMBLE_LOADANDTEST32(asm_instr_rr, asm_instr_rm) |
#define | ASSEMBLE_STORE_FLOAT32() |
#define | ASSEMBLE_STORE_DOUBLE() |
#define | ASSEMBLE_STORE_INTEGER(asm_instr) |
#define | ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_BYTE(load_and_ext) |
#define | ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_HALFWORD(load_and_ext) |
#define | ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_WORD() |
#define | ASSEMBLE_ATOMIC_BINOP_WORD(load_and_op, op) |
#define | ASSEMBLE_ATOMIC_BINOP_WORD64(load_and_op, op) |
#define | ATOMIC_BIN_OP(bin_inst, offset, shift_amount, start, end, maybe_reverse_bytes) |
#define | ATOMIC_BIN_OP_HALFWORD(bin_inst, index, extract_result) |
#define | ATOMIC_BIN_OP_BYTE(bin_inst, index, extract_result) |
#define | ASSEMBLE_ATOMIC_BINOP_HALFWORD(bin_inst, extract_result) |
#define | ASSEMBLE_ATOMIC_BINOP_BYTE(bin_inst, extract_result) |
#define | ASSEMBLE_ATOMIC64_COMP_EXCHANGE_WORD64() |
#define | ATOMIC_BINOP_CASE(op, inst) |
#define | SIMD_SHIFT_LIST(V) |
#define | EMIT_SIMD_SHIFT(name) |
#define | SIMD_BINOP_LIST(V) |
#define | EMIT_SIMD_BINOP(name) |
#define | SIMD_UNOP_LIST(V) |
#define | EMIT_SIMD_UNOP(name, dtype, stype) |
#define | SIMD_EXTRACT_LANE_LIST(V) |
#define | EMIT_SIMD_EXTRACT_LANE(name, dtype) |
#define | SIMD_REPLACE_LANE_LIST(V) |
#define | EMIT_SIMD_REPLACE_LANE(name, stype) |
#define | SIMD_EXT_MUL_LIST(V) |
#define | EMIT_SIMD_EXT_MUL(name) |
#define | SIMD_ALL_TRUE_LIST(V) |
#define | EMIT_SIMD_ALL_TRUE(name) |
#define | SIMD_QFM_LIST(V) |
#define | EMIT_SIMD_QFM(name) |
#define | SIMD_ADD_SUB_SAT_LIST(V) |
#define | EMIT_SIMD_ADD_SUB_SAT(name) |
#define | SIMD_EXT_ADD_PAIRWISE_LIST(V) |
#define | EMIT_SIMD_EXT_ADD_PAIRWISE(name) |
#define | LOAD_SPLAT(type) |
#define | LOAD_EXTEND(type) |
#define | LOAD_AND_ZERO(type) |
#define | LOAD_LANE(type, lane) |
#define | STORE_LANE(type, lane) |
Functions | |
static bool | v8::internal::compiler::HasRegisterOutput (Instruction *instr, int index=0) |
static bool | v8::internal::compiler::HasFPRegisterInput (Instruction *instr, int index) |
static bool | v8::internal::compiler::HasRegisterInput (Instruction *instr, int index) |
static bool | v8::internal::compiler::HasImmediateInput (Instruction *instr, size_t index) |
static bool | v8::internal::compiler::HasFPStackSlotInput (Instruction *instr, size_t index) |
static bool | v8::internal::compiler::HasStackSlotInput (Instruction *instr, size_t index) |
static bool | v8::internal::compiler::is_wasm_on_be (OptimizedCompilationInfo *info) |
#define __ masm()-> |
Definition at line 26 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC64_COMP_EXCHANGE_WORD64 | ( | ) |
Definition at line 966 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_BINOP_BYTE | ( | bin_inst, | |
extract_result ) |
Definition at line 933 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_BINOP_HALFWORD | ( | bin_inst, | |
extract_result ) |
Definition at line 910 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_BINOP_WORD | ( | load_and_op, | |
op ) |
Definition at line 784 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_BINOP_WORD64 | ( | load_and_op, | |
op ) |
Definition at line 808 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_BYTE | ( | load_and_ext | ) |
Definition at line 715 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_HALFWORD | ( | load_and_ext | ) |
Definition at line 731 of file code-generator-s390.cc.
#define ASSEMBLE_ATOMIC_COMPARE_EXCHANGE_WORD | ( | ) |
Definition at line 764 of file code-generator-s390.cc.
#define ASSEMBLE_BIN32_OP | ( | _rr, | |
_rm, | |||
_ri ) |
Definition at line 473 of file code-generator-s390.cc.
#define ASSEMBLE_BIN_OP | ( | _rr, | |
_rm, | |||
_ri ) |
Definition at line 463 of file code-generator-s390.cc.
#define ASSEMBLE_COMPARE | ( | cmp_instr, | |
cmpl_instr ) |
Definition at line 489 of file code-generator-s390.cc.
#define ASSEMBLE_COMPARE32 | ( | cmp_instr, | |
cmpl_instr ) |
Definition at line 522 of file code-generator-s390.cc.
#define ASSEMBLE_FLOAT_BINOP | ( | asm_instr | ) |
#define ASSEMBLE_FLOAT_COMPARE | ( | cmp_rr_instr, | |
cmp_rm_instr, | |||
load_instr ) |
Definition at line 555 of file code-generator-s390.cc.
#define ASSEMBLE_FLOAT_MODULO | ( | ) |
Definition at line 589 of file code-generator-s390.cc.
#define ASSEMBLE_FLOAT_UNOP | ( | asm_instr | ) |
Definition at line 478 of file code-generator-s390.cc.
#define ASSEMBLE_IEEE754_BINOP | ( | name | ) |
Definition at line 615 of file code-generator-s390.cc.
#define ASSEMBLE_IEEE754_UNOP | ( | name | ) |
Definition at line 601 of file code-generator-s390.cc.
#define ASSEMBLE_LOAD_FLOAT | ( | asm_instr | ) |
#define ASSEMBLE_LOAD_INTEGER | ( | asm_instr | ) |
#define ASSEMBLE_LOADANDTEST32 | ( | asm_instr_rr, | |
asm_instr_rm ) |
Definition at line 664 of file code-generator-s390.cc.
#define ASSEMBLE_LOADANDTEST64 | ( | asm_instr_rr, | |
asm_instr_rm ) |
Definition at line 648 of file code-generator-s390.cc.
#define ASSEMBLE_MODULO | ( | div_instr, | |
shift_instr ) |
#define ASSEMBLE_STORE_DOUBLE | ( | ) |
Definition at line 689 of file code-generator-s390.cc.
#define ASSEMBLE_STORE_FLOAT32 | ( | ) |
Definition at line 680 of file code-generator-s390.cc.
#define ASSEMBLE_STORE_INTEGER | ( | asm_instr | ) |
Definition at line 698 of file code-generator-s390.cc.
#define ASSEMBLE_UNARY_OP | ( | _r, | |
_m, | |||
_i ) |
Definition at line 464 of file code-generator-s390.cc.
Definition at line 831 of file code-generator-s390.cc.
#define ATOMIC_BIN_OP_BYTE | ( | bin_inst, | |
index, | |||
extract_result ) |
Definition at line 899 of file code-generator-s390.cc.
#define ATOMIC_BIN_OP_HALFWORD | ( | bin_inst, | |
index, | |||
extract_result ) |
Definition at line 890 of file code-generator-s390.cc.
#define ATOMIC_BINOP_CASE | ( | op, | |
inst ) |
#define CHECK_AND_ZERO_EXT_OUTPUT | ( | num | ) |
#define D_DInstr | ( | instr | ) |
#define D_MInstr | ( | instr | ) |
Definition at line 422 of file code-generator-s390.cc.
#define D_MTInstr | ( | instr | ) |
Definition at line 429 of file code-generator-s390.cc.
#define DDInstr | ( | instr | ) |
#define DMInstr | ( | instr | ) |
Definition at line 386 of file code-generator-s390.cc.
#define DMTInstr | ( | instr | ) |
Definition at line 394 of file code-generator-s390.cc.
#define EMIT_SIMD_ADD_SUB_SAT | ( | name | ) |
#define EMIT_SIMD_ALL_TRUE | ( | name | ) |
#define EMIT_SIMD_BINOP | ( | name | ) |
#define EMIT_SIMD_EXT_ADD_PAIRWISE | ( | name | ) |
#define EMIT_SIMD_EXT_MUL | ( | name | ) |
#define EMIT_SIMD_EXTRACT_LANE | ( | name, | |
dtype ) |
#define EMIT_SIMD_QFM | ( | name | ) |
#define EMIT_SIMD_REPLACE_LANE | ( | name, | |
stype ) |
#define EMIT_SIMD_SHIFT | ( | name | ) |
#define EMIT_SIMD_UNOP | ( | name, | |
dtype, | |||
stype ) |
#define GET_MEMOPERAND | ( | ret, | |
fi ) |
Definition at line 324 of file code-generator-s390.cc.
#define GET_MEMOPERAND32 | ( | ret, | |
fi ) |
Definition at line 310 of file code-generator-s390.cc.
#define kScratchReg ip |
Definition at line 28 of file code-generator-s390.cc.
#define LOAD_AND_ZERO | ( | type | ) |
#define LOAD_EXTEND | ( | type | ) |
#define LOAD_LANE | ( | type, | |
lane ) |
#define LOAD_SPLAT | ( | type | ) |
#define R_DInstr | ( | instr | ) |
#define R_MInstr | ( | instr | ) |
Definition at line 403 of file code-generator-s390.cc.
#define RIInstr | ( | instr | ) |
#define RM32Instr | ( | instr | ) |
Definition at line 357 of file code-generator-s390.cc.
#define RM64Instr | ( | instr | ) |
Definition at line 358 of file code-generator-s390.cc.
#define RMInstr | ( | instr, | |
GETMEM ) |
#define RRIInstr | ( | instr | ) |
#define RRInstr | ( | instr | ) |
#define RRM32Instr | ( | instr | ) |
Definition at line 376 of file code-generator-s390.cc.
#define RRM64Instr | ( | instr | ) |
Definition at line 377 of file code-generator-s390.cc.
#define RRMInstr | ( | instr, | |
GETMEM ) |
#define RRRInstr | ( | instr | ) |
#define SIMD_ADD_SUB_SAT_LIST | ( | V | ) |
#define SIMD_ALL_TRUE_LIST | ( | V | ) |
#define SIMD_BINOP_LIST | ( | V | ) |
#define SIMD_EXT_ADD_PAIRWISE_LIST | ( | V | ) |
#define SIMD_EXT_MUL_LIST | ( | V | ) |
#define SIMD_EXTRACT_LANE_LIST | ( | V | ) |
#define SIMD_REPLACE_LANE_LIST | ( | V | ) |
#define SIMD_SHIFT_LIST | ( | V | ) |
#define SIMD_UNOP_LIST | ( | V | ) |
#define STORE_LANE | ( | type, | |
lane ) |
|
private |
Definition at line 230 of file code-generator-s390.cc.
|
private |
Definition at line 234 of file code-generator-s390.cc.
|
private |
Definition at line 225 of file code-generator-s390.cc.
|
private |
Definition at line 226 of file code-generator-s390.cc.
|
private |
Definition at line 228 of file code-generator-s390.cc.
|
private |
Definition at line 229 of file code-generator-s390.cc.
|
private |
Definition at line 235 of file code-generator-s390.cc.
|
private |
Definition at line 227 of file code-generator-s390.cc.
|
private |
Definition at line 236 of file code-generator-s390.cc.