Home
last modified time | relevance | path

Searched refs:kImm16Mask (Results 1 – 19 of 19) sorted by relevance

/third_party/node/deps/v8/src/codegen/ppc/
Dassembler-ppc-inl.h286 uint64_t hi = (static_cast<uint32_t>((instr1 & kImm16Mask) << 16) | in target_address_at()
287 static_cast<uint32_t>(instr2 & kImm16Mask)); in target_address_at()
288 uint64_t lo = (static_cast<uint32_t>((instr4 & kImm16Mask) << 16) | in target_address_at()
289 static_cast<uint32_t>(instr5 & kImm16Mask)); in target_address_at()
293 return static_cast<Address>(((instr1 & kImm16Mask) << 16) | in target_address_at()
294 (instr2 & kImm16Mask)); in target_address_at()
366 offset = (instr_at(pc) & kImm16Mask) << 16; in GetConstantPoolOffset()
367 offset += SIGN_EXT_IMM16(instr_at(pc + kInstrSize) & kImm16Mask); in GetConstantPoolOffset()
370 offset = SIGN_EXT_IMM16((instr_at(pc) & kImm16Mask)); in GetConstantPoolOffset()
394 instr1 &= ~kImm16Mask; in PatchConstantPoolAccessInstruction()
[all …]
Dassembler-ppc.cc430 link = SIGN_EXT_IMM16((instr & kImm16Mask)); in target_at()
479 instr &= ((~kImm16Mask) | kAAMask | kLKMask); in target_at_put()
480 instr |= (imm16 & kImm16Mask); in target_at_put()
630 val, val, is_uint16(val), kImm16Mask); in d_form()
634 emit(instr | rt.code() * B21 | ra.code() * B16 | (kImm16Mask & val)); in d_form()
717 emit(BCX | bo | condition_bit * B16 | (imm16 & kImm16Mask) | lk); in bc()
908 imm16 &= kImm16Mask; in cmpi()
921 uimm16 &= kImm16Mask; in cmpli()
931 imm16 &= kImm16Mask; in cmpwi()
947 uimm16 &= kImm16Mask; in cmplwi()
[all …]
Dconstants-ppc.h2771 kImm16Mask = (1 << 16) - 1, enumerator
/third_party/node/deps/v8/src/codegen/mips/
Dassembler-mips.cc264 (kPointerSize & kImm16Mask);
268 (-kPointerSize & kImm16Mask);
270 const Instr kPushRegPattern = SW | (sp.code() << kRsShift) | (0 & kImm16Mask);
272 const Instr kPopRegPattern = LW | (sp.code() << kRsShift) | (0 & kImm16Mask);
275 LW | (fp.code() << kRsShift) | (0 & kImm16Mask);
278 SW | (fp.code() << kRsShift) | (0 & kImm16Mask);
281 LW | (fp.code() << kRsShift) | (kNegOffset & kImm16Mask);
284 SW | (fp.code() << kRsShift) | (kNegOffset & kImm16Mask);
289 const Instr kLwSwOffsetMask = kImm16Mask;
414 uint32_t Assembler::GetImmediate16(Instr instr) { return instr & kImm16Mask; } in GetImmediate16()
[all …]
Dassembler-mips-inl.h127 instr1 &= ~kImm16Mask; in set_target_internal_reference_encoded_at()
128 instr2 &= ~kImm16Mask; in set_target_internal_reference_encoded_at()
Dconstants-mips.h401 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
Dmacro-assembler-mips.cc1351 lui(rd, (j.immediate() >> kLuiShift) & kImm16Mask); in CallRecordWriteStub()
1352 if (j.immediate() & kImm16Mask) { in CallRecordWriteStub()
1353 ori(rd, rd, (j.immediate() & kImm16Mask)); in CallRecordWriteStub()
1371 lui(rd, (immediate >> kLuiShift) & kImm16Mask); in CallRecordWriteStub()
1372 ori(rd, rd, (immediate & kImm16Mask)); in CallRecordWriteStub()
/third_party/node/deps/v8/src/codegen/mips64/
Dassembler-mips64.cc238 (kPointerSize & kImm16Mask);
242 (-kPointerSize & kImm16Mask);
244 const Instr kPushRegPattern = SD | (sp.code() << kRsShift) | (0 & kImm16Mask);
246 const Instr kPopRegPattern = LD | (sp.code() << kRsShift) | (0 & kImm16Mask);
249 LW | (fp.code() << kRsShift) | (0 & kImm16Mask);
252 SW | (fp.code() << kRsShift) | (0 & kImm16Mask);
255 LW | (fp.code() << kRsShift) | (kNegOffset & kImm16Mask);
258 SW | (fp.code() << kRsShift) | (kNegOffset & kImm16Mask);
263 const Instr kLwSwOffsetMask = kImm16Mask;
392 uint32_t Assembler::GetImmediate16(Instr instr) { return instr & kImm16Mask; } in GetImmediate16()
[all …]
Dmacro-assembler-mips64.cc1553 (value & kImm16Mask)) { in CallRecordWriteStub()
1562 daddiu(rd, zero_reg, (j.immediate() & kImm16Mask)); in CallRecordWriteStub()
1564 ori(rd, zero_reg, j.immediate() & kImm16Mask); in CallRecordWriteStub()
1566 lui(rd, j.immediate() >> kLuiShift & kImm16Mask); in CallRecordWriteStub()
1567 if (j.immediate() & kImm16Mask) { in CallRecordWriteStub()
1568 ori(rd, rd, j.immediate() & kImm16Mask); in CallRecordWriteStub()
1578 return (is_uint16(x) || is_int16(x) || (x & kImm16Mask) == 0) ? 2 : 3; in CallRecordWriteStub()
1595 } else if ((value & kImm16Mask) == 0 && is_int16((value >> 32) + bit31) && in CallRecordWriteStub()
1598 } else if ((value & kImm16Mask) == 0 && in CallRecordWriteStub()
1637 if (imm & kImm16Mask) { in CallRecordWriteStub()
[all …]
Dconstants-mips64.h380 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
/third_party/node/deps/v8/src/codegen/loong64/
Dassembler-loong64.cc333 uint32_t label_constant = instr & ~kImm16Mask; in IsEmittedConstant()
452 if ((instr & ~kImm16Mask) == 0) { in target_at()
457 int32_t imm18 = ((instr & static_cast<int32_t>(kImm16Mask)) << 16) >> 14; in target_at()
501 uint32_t low16 = (imm & kImm16Mask) << 10; in SetBranchOffset()
508 uint32_t low16 = (imm & kImm16Mask) << 10; in SetBranchOffset()
521 if ((instr & ~kImm16Mask) == 0) { in target_at_put()
546 if ((instr & ~kImm16Mask) == 0) { in print()
681 Instr instr = opcode | (si21 & kImm16Mask) << kRkShift | in GenB()
691 Instr instr = opcode | (si21 & kImm16Mask) << kRkShift | (sc << kRjShift) | in GenB()
700 opcode | ((si26 & kImm16Mask) << kRkShift) | ((si26 & kImm26Mask) >> 16); in GenB()
[all …]
Dassembler-loong64-inl.h158 ((code_target_index >> 10) & kImm16Mask); in relative_code_target_object_handle_at()
Dconstants-loong64.h229 const int kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable
/third_party/node/deps/v8/src/codegen/s390/
Dassembler-s390.cc480 int16_t imm16 = SIGN_EXT_IMM16((instr & kImm16Mask)); in target_at()
495 int16_t imm16 = SIGN_EXT_IMM16((instr & kImm16Mask)); in target_at()
Dconstants-s390.h1708 kImm16Mask = (1 << 16) - 1, enumerator
/third_party/node/deps/v8/src/codegen/arm/
Dconstants-arm.h193 kImm16Mask = (1 << 16) - 1, enumerator
Dassembler-arm.cc854 uint16_t target16_0 = target24 & kImm16Mask; in target_at_put()
/third_party/node/deps/v8/src/codegen/riscv64/
Dassembler-riscv64.cc443 ((instr & static_cast<int32_t>(kImm16Mask)) << 16) >> 14; in target_at()
625 if ((instr & ~kImm16Mask) == 0) { in print()
1498 instr_at_put(at_offset, (int32_t)(imm16 & kImm16Mask)); in label_at_put()
Dconstants-riscv64.h369 const uint32_t kImm16Mask = ((1 << kImm16Bits) - 1) << kImm16Shift; variable