Lines Matching refs:Assembler
42 #include "src/mips/assembler-mips-inl.h"
225 CpuFeatures::FlushICache(pc_, instruction_count * Assembler::kInstrSize);
239 // See assembler-mips-inl.h for inlined constructors.
307 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size)
331 void Assembler::GetCode(CodeDesc* desc) {
342 void Assembler::Align(int m) {
350 void Assembler::CodeTargetAlign() {
357 Register Assembler::GetRtReg(Instr instr) {
364 Register Assembler::GetRsReg(Instr instr) {
371 Register Assembler::GetRdReg(Instr instr) {
378 uint32_t Assembler::GetRt(Instr instr) {
383 uint32_t Assembler::GetRtField(Instr instr) {
388 uint32_t Assembler::GetRs(Instr instr) {
393 uint32_t Assembler::GetRsField(Instr instr) {
398 uint32_t Assembler::GetRd(Instr instr) {
403 uint32_t Assembler::GetRdField(Instr instr) {
408 uint32_t Assembler::GetSa(Instr instr) {
413 uint32_t Assembler::GetSaField(Instr instr) {
418 uint32_t Assembler::GetOpcodeField(Instr instr) {
423 uint32_t Assembler::GetFunction(Instr instr) {
428 uint32_t Assembler::GetFunctionField(Instr instr) {
433 uint32_t Assembler::GetImmediate16(Instr instr) {
438 uint32_t Assembler::GetLabelConst(Instr instr) {
443 bool Assembler::IsPop(Instr instr) {
448 bool Assembler::IsPush(Instr instr) {
453 bool Assembler::IsSwRegFpOffset(Instr instr) {
458 bool Assembler::IsLwRegFpOffset(Instr instr) {
463 bool Assembler::IsSwRegFpNegOffset(Instr instr) {
469 bool Assembler::IsLwRegFpNegOffset(Instr instr) {
495 bool Assembler::IsBranch(Instr instr) {
516 bool Assembler::IsEmittedConstant(Instr instr) {
522 bool Assembler::IsBeq(Instr instr) {
527 bool Assembler::IsBne(Instr instr) {
532 bool Assembler::IsJump(Instr instr) {
544 bool Assembler::IsJ(Instr instr) {
551 bool Assembler::IsJal(Instr instr) {
556 bool Assembler::IsJr(Instr instr) {
566 bool Assembler::IsJalr(Instr instr) {
572 bool Assembler::IsLui(Instr instr) {
579 bool Assembler::IsOri(Instr instr) {
586 bool Assembler::IsNop(Instr instr, unsigned int type) {
587 // See Assembler::nop(type).
610 int32_t Assembler::GetBranchOffset(Instr instr) {
616 bool Assembler::IsLw(Instr instr) {
621 int16_t Assembler::GetLwOffset(Instr instr) {
627 Instr Assembler::SetLwOffset(Instr instr, int16_t offset) {
638 bool Assembler::IsSw(Instr instr) {
643 Instr Assembler::SetSwOffset(Instr instr, int16_t offset) {
649 bool Assembler::IsAddImmediate(Instr instr) {
654 Instr Assembler::SetAddImmediateOffset(Instr instr, int16_t offset) {
660 bool Assembler::IsAndImmediate(Instr instr) {
665 int Assembler::target_at(int32_t pos) {
690 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize);
691 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize);
721 void Assembler::target_at_put(int32_t pos, int32_t target_pos) {
742 Instr instr_lui = instr_at(pos + 0 * Assembler::kInstrSize);
743 Instr instr_ori = instr_at(pos + 1 * Assembler::kInstrSize);
751 instr_at_put(pos + 0 * Assembler::kInstrSize,
753 instr_at_put(pos + 1 * Assembler::kInstrSize,
769 void Assembler::print(Label* L) {
793 void Assembler::bind_to(Label* L, int pos) {
832 void Assembler::bind(Label* L) {
838 void Assembler::next(Label* L) {
850 bool Assembler::is_near(Label* L) {
862 bool Assembler::MustUseReg(RelocInfo::Mode rmode) {
866 void Assembler::GenInstrRegister(Opcode opcode,
879 void Assembler::GenInstrRegister(Opcode opcode,
892 void Assembler::GenInstrRegister(Opcode opcode,
905 void Assembler::GenInstrRegister(Opcode opcode,
918 void Assembler::GenInstrRegister(Opcode opcode,
931 void Assembler::GenInstrRegister(Opcode opcode,
945 void Assembler::GenInstrImmediate(Opcode opcode,
956 void Assembler::GenInstrImmediate(Opcode opcode,
966 void Assembler::GenInstrImmediate(Opcode opcode,
977 void Assembler::GenInstrJump(Opcode opcode,
988 int32_t Assembler::get_trampoline_entry(int32_t pos) {
1004 uint32_t Assembler::jump_address(Label* L) {
1026 int32_t Assembler::branch_offset(Label* L, bool jump_elimination_allowed) {
1053 int32_t Assembler::branch_offset_compact(Label* L,
1080 int32_t Assembler::branch_offset21(Label* L, bool jump_elimination_allowed) {
1107 int32_t Assembler::branch_offset21_compact(Label* L,
1135 void Assembler::label_at_put(Label* L, int at_offset) {
1163 void Assembler::b(int16_t offset) {
1168 void Assembler::bal(int16_t offset) {
1174 void Assembler::beq(Register rs, Register rt, int16_t offset) {
1181 void Assembler::bgez(Register rs, int16_t offset) {
1188 void Assembler::bgezc(Register rt, int16_t offset) {
1195 void Assembler::bgeuc(Register rs, Register rt, int16_t offset) {
1204 void Assembler::bgec(Register rs, Register rt, int16_t offset) {
1213 void Assembler::bgezal(Register rs, int16_t offset) {
1222 void Assembler::bgtz(Register rs, int16_t offset) {
1229 void Assembler::bgtzc(Register rt, int16_t offset) {
1236 void Assembler::blez(Register rs, int16_t offset) {
1243 void Assembler::blezc(Register rt, int16_t offset) {
1250 void Assembler::bltzc(Register rt, int16_t offset) {
1257 void Assembler::bltuc(Register rs, Register rt, int16_t offset) {
1266 void Assembler::bltc(Register rs, Register rt, int16_t offset) {
1275 void Assembler::bltz(Register rs, int16_t offset) {
1282 void Assembler::bltzal(Register rs, int16_t offset) {
1291 void Assembler::bne(Register rs, Register rt, int16_t offset) {
1298 void Assembler::bovc(Register rs, Register rt, int16_t offset) {
1306 void Assembler::bnvc(Register rs, Register rt, int16_t offset) {
1314 void Assembler::blezalc(Register rt, int16_t offset) {
1321 void Assembler::bgezalc(Register rt, int16_t offset) {
1328 void Assembler::bgezall(Register rs, int16_t offset) {
1335 void Assembler::bltzalc(Register rt, int16_t offset) {
1342 void Assembler::bgtzalc(Register rt, int16_t offset) {
1349 void Assembler::beqzalc(Register rt, int16_t offset) {
1356 void Assembler::bnezalc(Register rt, int16_t offset) {
1363 void Assembler::beqc(Register rs, Register rt, int16_t offset) {
1370 void Assembler::beqzc(Register rs, int32_t offset) {
1378 void Assembler::bnec(Register rs, Register rt, int16_t offset) {
1385 void Assembler::bnezc(Register rs, int32_t offset) {
1393 void Assembler::j(int32_t target) {
1405 void Assembler::jr(Register rs) {
1419 void Assembler::jal(int32_t target) {
1432 void Assembler::jalr(Register rs, Register rd) {
1440 void Assembler::j_or_jr(int32_t target, Register rs) {
1453 void Assembler::jal_or_jalr(int32_t target, Register rs) {
1470 void Assembler::addu(Register rd, Register rs, Register rt) {
1475 void Assembler::addiu(Register rd, Register rs, int32_t j) {
1480 void Assembler::subu(Register rd, Register rs, Register rt) {
1485 void Assembler::mul(Register rd, Register rs, Register rt) {
1494 void Assembler::mulu(Register rd, Register rs, Register rt) {
1500 void Assembler::muh(Register rd, Register rs, Register rt) {
1506 void Assembler::muhu(Register rd, Register rs, Register rt) {
1512 void Assembler::mod(Register rd, Register rs, Register rt) {
1518 void Assembler::modu(Register rd, Register rs, Register rt) {
1524 void Assembler::mult(Register rs, Register rt) {
1529 void Assembler::multu(Register rs, Register rt) {
1534 void Assembler::div(Register rs, Register rt) {
1539 void Assembler::div(Register rd, Register rs, Register rt) {
1545 void Assembler::divu(Register rs, Register rt) {
1550 void Assembler::divu(Register rd, Register rs, Register rt) {
1558 void Assembler::and_(Register rd, Register rs, Register rt) {
1563 void Assembler::andi(Register rt, Register rs, int32_t j) {
1569 void Assembler::or_(Register rd, Register rs, Register rt) {
1574 void Assembler::ori(Register rt, Register rs, int32_t j) {
1580 void Assembler::xor_(Register rd, Register rs, Register rt) {
1585 void Assembler::xori(Register rt, Register rs, int32_t j) {
1591 void Assembler::nor(Register rd, Register rs, Register rt) {
1597 void Assembler::sll(Register rd,
1610 void Assembler::sllv(Register rd, Register rt, Register rs) {
1615 void Assembler::srl(Register rd, Register rt, uint16_t sa) {
1620 void Assembler::srlv(Register rd, Register rt, Register rs) {
1625 void Assembler::sra(Register rd, Register rt, uint16_t sa) {
1630 void Assembler::srav(Register rd, Register rt, Register rs) {
1635 void Assembler::rotr(Register rd, Register rt, uint16_t sa) {
1645 void Assembler::rotrv(Register rd, Register rt, Register rs) {
1658 void Assembler::LoadRegPlusOffsetToAt(const MemOperand& src) {
1666 void Assembler::lb(Register rd, const MemOperand& rs) {
1676 void Assembler::lbu(Register rd, const MemOperand& rs) {
1686 void Assembler::lh(Register rd, const MemOperand& rs) {
1696 void Assembler::lhu(Register rd, const MemOperand& rs) {
1706 void Assembler::lw(Register rd, const MemOperand& rs) {
1716 void Assembler::lwl(Register rd, const MemOperand& rs) {
1721 void Assembler::lwr(Register rd, const MemOperand& rs) {
1726 void Assembler::sb(Register rd, const MemOperand& rs) {
1736 void Assembler::sh(Register rd, const MemOperand& rs) {
1746 void Assembler::sw(Register rd, const MemOperand& rs) {
1756 void Assembler::swl(Register rd, const MemOperand& rs) {
1761 void Assembler::swr(Register rd, const MemOperand& rs) {
1766 void Assembler::lui(Register rd, int32_t j) {
1772 void Assembler::aui(Register rs, Register rt, int32_t j) {
1783 void Assembler::break_(uint32_t code, bool break_as_stop) {
1799 void Assembler::stop(const char* msg, uint32_t code) {
1814 void Assembler::tge(Register rs, Register rt, uint16_t code) {
1822 void Assembler::tgeu(Register rs, Register rt, uint16_t code) {
1830 void Assembler::tlt(Register rs, Register rt, uint16_t code) {
1838 void Assembler::tltu(Register rs, Register rt, uint16_t code) {
1847 void Assembler::teq(Register rs, Register rt, uint16_t code) {
1855 void Assembler::tne(Register rs, Register rt, uint16_t code) {
1865 void Assembler::mfhi(Register rd) {
1870 void Assembler::mflo(Register rd) {
1876 void Assembler::slt(Register rd, Register rs, Register rt) {
1881 void Assembler::sltu(Register rd, Register rs, Register rt) {
1886 void Assembler::slti(Register rt, Register rs, int32_t j) {
1891 void Assembler::sltiu(Register rt, Register rs, int32_t j) {
1897 void Assembler::movz(Register rd, Register rs, Register rt) {
1902 void Assembler::movn(Register rd, Register rs, Register rt) {
1907 void Assembler::movt(Register rd, Register rs, uint16_t cc) {
1914 void Assembler::movf(Register rd, Register rs, uint16_t cc) {
1922 void Assembler::clz(Register rd, Register rs) {
1932 void Assembler::ins_(Register rt, Register rs, uint16_t pos, uint16_t size) {
1940 void Assembler::ext_(Register rt, Register rs, uint16_t pos, uint16_t size) {
1948 void Assembler::pref(int32_t hint, const MemOperand& rs) {
1960 void Assembler::lwc1(FPURegister fd, const MemOperand& src) {
1965 void Assembler::ldc1(FPURegister fd, const MemOperand& src) {
1985 void Assembler::swc1(FPURegister fd, const MemOperand& src) {
1990 void Assembler::sdc1(FPURegister fd, const MemOperand& src) {
2010 void Assembler::mtc1(Register rt, FPURegister fs) {
2015 void Assembler::mthc1(Register rt, FPURegister fs) {
2020 void Assembler::mfc1(Register rt, FPURegister fs) {
2025 void Assembler::mfhc1(Register rt, FPURegister fs) {
2030 void Assembler::ctc1(Register rt, FPUControlRegister fs) {
2035 void Assembler::cfc1(Register rt, FPUControlRegister fs) {
2040 void Assembler::DoubleAsTwoUInt32(double d, uint32_t* lo, uint32_t* hi) {
2051 void Assembler::add_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2056 void Assembler::sub_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2061 void Assembler::mul_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2066 void Assembler::madd_d(FPURegister fd, FPURegister fr, FPURegister fs,
2072 void Assembler::div_d(FPURegister fd, FPURegister fs, FPURegister ft) {
2077 void Assembler::abs_d(FPURegister fd, FPURegister fs) {
2082 void Assembler::mov_d(FPURegister fd, FPURegister fs) {
2087 void Assembler::neg_d(FPURegister fd, FPURegister fs) {
2092 void Assembler::sqrt_d(FPURegister fd, FPURegister fs) {
2099 void Assembler::cvt_w_s(FPURegister fd, FPURegister fs) {
2104 void Assembler::cvt_w_d(FPURegister fd, FPURegister fs) {
2109 void Assembler::trunc_w_s(FPURegister fd, FPURegister fs) {
2114 void Assembler::trunc_w_d(FPURegister fd, FPURegister fs) {
2119 void Assembler::round_w_s(FPURegister fd, FPURegister fs) {
2124 void Assembler::round_w_d(FPURegister fd, FPURegister fs) {
2129 void Assembler::floor_w_s(FPURegister fd, FPURegister fs) {
2134 void Assembler::floor_w_d(FPURegister fd, FPURegister fs) {
2139 void Assembler::ceil_w_s(FPURegister fd, FPURegister fs) {
2144 void Assembler::ceil_w_d(FPURegister fd, FPURegister fs) {
2149 void Assembler::cvt_l_s(FPURegister fd, FPURegister fs) {
2155 void Assembler::cvt_l_d(FPURegister fd, FPURegister fs) {
2161 void Assembler::trunc_l_s(FPURegister fd, FPURegister fs) {
2167 void Assembler::trunc_l_d(FPURegister fd, FPURegister fs) {
2173 void Assembler::round_l_s(FPURegister fd, FPURegister fs) {
2178 void Assembler::round_l_d(FPURegister fd, FPURegister fs) {
2183 void Assembler::floor_l_s(FPURegister fd, FPURegister fs) {
2188 void Assembler::floor_l_d(FPURegister fd, FPURegister fs) {
2193 void Assembler::ceil_l_s(FPURegister fd, FPURegister fs) {
2198 void Assembler::ceil_l_d(FPURegister fd, FPURegister fs) {
2203 void Assembler::min(SecondaryField fmt, FPURegister fd, FPURegister ft,
2211 void Assembler::mina(SecondaryField fmt, FPURegister fd, FPURegister ft,
2219 void Assembler::max(SecondaryField fmt, FPURegister fd, FPURegister ft,
2227 void Assembler::maxa(SecondaryField fmt, FPURegister fd, FPURegister ft,
2235 void Assembler::cvt_s_w(FPURegister fd, FPURegister fs) {
2240 void Assembler::cvt_s_l(FPURegister fd, FPURegister fs) {
2246 void Assembler::cvt_s_d(FPURegister fd, FPURegister fs) {
2251 void Assembler::cvt_d_w(FPURegister fd, FPURegister fs) {
2256 void Assembler::cvt_d_l(FPURegister fd, FPURegister fs) {
2262 void Assembler::cvt_d_s(FPURegister fd, FPURegister fs) {
2268 void Assembler::cmp(FPUCondition cond, SecondaryField fmt,
2278 void Assembler::bc1eqz(int16_t offset, FPURegister ft) {
2285 void Assembler::bc1nez(int16_t offset, FPURegister ft) {
2293 void Assembler::c(FPUCondition cond, SecondaryField fmt,
2303 void Assembler::fcmp(FPURegister src1, const double src2,
2312 void Assembler::bc1f(int16_t offset, uint16_t cc) {
2319 void Assembler::bc1t(int16_t offset, uint16_t cc) {
2327 void Assembler::RecordJSReturn() {
2334 void Assembler::RecordDebugBreakSlot() {
2341 void Assembler::RecordComment(const char* msg) {
2349 int Assembler::RelocateInternalReference(byte* pc, intptr_t pc_delta) {
2353 Instr instr_lui = instr_at(pc + 0 * Assembler::kInstrSize);
2354 Instr instr_ori = instr_at(pc + 1 * Assembler::kInstrSize);
2367 instr_at_put(pc + 0 * Assembler::kInstrSize,
2369 instr_at_put(pc + 1 * Assembler::kInstrSize,
2391 void Assembler::GrowBuffer() {
2437 void Assembler::db(uint8_t data) {
2444 void Assembler::dd(uint32_t data) {
2451 void Assembler::emit_code_stub_address(Code* stub) {
2459 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
2491 void Assembler::BlockTrampolinePoolFor(int instructions) {
2496 void Assembler::CheckTrampolinePool() {
2556 Address Assembler::target_address_at(Address pc) {
2576 void Assembler::QuietNaN(HeapObject* object) {
2588 void Assembler::set_target_address_at(Address pc,
2694 void Assembler::JumpLabelToJumpRegister(Address pc) {
2732 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2739 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {