Home | History | Annotate | Download | only in arm

Lines Matching refs:assembler

41 #include "arm/assembler-arm-inl.h"
42 #include "macro-assembler.h"
312 CPU::FlushICache(pc_, instruction_count * Assembler::kInstrSize);
326 // See assembler-arm-inl.h for inlined constructors
515 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size)
532 Assembler::~Assembler() {
537 void Assembler::GetCode(CodeDesc* desc) {
552 void Assembler::Align(int m) {
560 void Assembler::CodeTargetAlign() {
566 Condition Assembler::GetCondition(Instr instr) {
571 Assembler::IsBranch(Instr instr) {
576 int Assembler::GetBranchOffset(Instr instr) {
584 bool Assembler::IsLdrRegisterImmediate(Instr instr) {
589 bool Assembler::IsVldrDRegisterImmediate(Instr instr) {
594 int Assembler::GetLdrRegisterImmediateOffset(Instr instr) {
602 int Assembler::GetVldrDRegisterImmediateOffset(Instr instr) {
611 Instr Assembler::SetLdrRegisterImmediateOffset(Instr instr, int offset) {
623 Instr Assembler::SetVldrDRegisterImmediateOffset(Instr instr, int offset) {
636 bool Assembler::IsStrRegisterImmediate(Instr instr) {
641 Instr Assembler::SetStrRegisterImmediateOffset(Instr instr, int offset) {
653 bool Assembler::IsAddRegisterImmediate(Instr instr) {
658 Instr Assembler::SetAddRegisterImmediateOffset(Instr instr, int offset) {
667 Register Assembler::GetRd(Instr instr) {
674 Register Assembler::GetRn(Instr instr) {
681 Register Assembler::GetRm(Instr instr) {
688 bool Assembler::IsPush(Instr instr) {
693 bool Assembler::IsPop(Instr instr) {
698 bool Assembler::IsStrRegFpOffset(Instr instr) {
703 bool Assembler::IsLdrRegFpOffset(Instr instr) {
708 bool Assembler::IsStrRegFpNegOffset(Instr instr) {
713 bool Assembler::IsLdrRegFpNegOffset(Instr instr) {
718 bool Assembler::IsLdrPcImmediateOffset(Instr instr) {
725 bool Assembler::IsVldrDPcImmediateOffset(Instr instr) {
732 bool Assembler::IsTstImmediate(Instr instr) {
738 bool Assembler::IsCmpRegister(Instr instr) {
744 bool Assembler::IsCmpImmediate(Instr instr) {
750 Register Assembler::GetCmpImmediateRegister(Instr instr) {
756 int Assembler::GetCmpImmediateRawImmediate(Instr instr) {
780 int Assembler::target_at(int pos) {
797 void Assembler::target_at_put(int pos, int target_pos) {
883 void Assembler::print(Label* L) {
941 void Assembler::bind_to(Label* L, int pos) {
957 void Assembler::bind(Label* L) {
963 void Assembler::next(Label* L) {
1041 bool Operand::must_output_reloc_info(const Assembler* assembler) const {
1048 if (assembler != NULL && assembler->predictable_code_size()) return true;
1057 static bool use_movw_movt(const Operand& x, const Assembler* assembler) {
1058 if (Assembler::use_immediate_embedded_pointer_loads(assembler)) {
1061 if (x.must_output_reloc_info(assembler)) {
1068 bool Operand::is_single_instruction(const Assembler* assembler,
1072 if (must_output_reloc_info(assembler) ||
1078 return !use_movw_movt(*this, assembler);
1094 void Assembler::move_32_bit_immediate(Condition cond,
1117 void Assembler::addrmod1(Instr instr,
1171 void Assembler::addrmod2(Instr instr, Register rd, const MemOperand& x) {
1203 void Assembler::addrmod3(Instr instr, Register rd, const MemOperand& x) {
1242 void Assembler::addrmod4(Instr instr, Register rn, RegList rl) {
1250 void Assembler::addrmod5(Instr instr, CRegister crd, const MemOperand& x) {
1275 int Assembler::branch_offset(Label* L, bool jump_elimination_allowed) {
1298 void Assembler::b(int branch_offset, Condition cond) {
1311 void Assembler::bl(int branch_offset, Condition cond) {
1320 void Assembler::blx(int branch_offset) { // v5 and above
1330 void Assembler::blx(Register target, Condition cond) { // v5 and above
1337 void Assembler::bx(Register target, Condition cond) { // v5 and above, plus v4t
1346 void Assembler::and_(Register dst, Register src1, const Operand& src2,
1352 void Assembler::eor(Register dst, Register src1, const Operand& src2,
1358 void Assembler::sub(Register dst, Register src1, const Operand& src2,
1364 void Assembler::rsb(Register dst, Register src1, const Operand& src2,
1370 void Assembler::add(Register dst, Register src1, const Operand& src2,
1376 void Assembler::adc(Register dst, Register src1, const Operand& src2,
1382 void Assembler::sbc(Register dst, Register src1, const Operand& src2,
1388 void Assembler::rsc(Register dst, Register src1, const Operand& src2,
1394 void Assembler::tst(Register src1, const Operand& src2, Condition cond) {
1399 void Assembler::teq(Register src1, const Operand& src2, Condition cond) {
1404 void Assembler::cmp(Register src1, const Operand& src2, Condition cond) {
1409 void Assembler::cmp_raw_immediate(
1416 void Assembler::cmn(Register src1, const Operand& src2, Condition cond) {
1421 void Assembler::orr(Register dst, Register src1, const Operand& src2,
1427 void Assembler::mov(Register dst, const Operand& src, SBit s, Condition cond) {
1439 void Assembler::mov_label_offset(Register dst, Label* label) {
1478 void Assembler::movw(Register reg, uint32_t immediate, Condition cond) {
1487 void Assembler::movt(Register reg, uint32_t immediate, Condition cond) {
1492 void Assembler::bic(Register dst, Register src1, const Operand& src2,
1498 void Assembler::mvn(Register dst, const Operand& src, SBit s, Condition cond) {
1504 void Assembler::mla(Register dst, Register src1, Register src2, Register srcA,
1512 void Assembler::mls(Register dst, Register src1, Register src2, Register srcA,
1520 void Assembler::sdiv(Register dst, Register src1, Register src2,
1529 void Assembler::mul(Register dst, Register src1, Register src2,
1537 void Assembler::smlal(Register dstL,
1550 void Assembler::smull(Register dstL,
1563 void Assembler::umlal(Register dstL,
1576 void Assembler::umull(Register dstL,
1590 void Assembler
1601 void Assembler::usat(Register dst,
1628 void Assembler::ubfx(Register dst,
1648 void Assembler::sbfx(Register dst,
1667 void Assembler::bfc(Register dst, int lsb, int width, Condition cond) {
1682 void Assembler::bfi(Register dst,
1698 void Assembler::pkhbt(Register dst,
1717 void Assembler::pkhtb(Register dst,
1737 void Assembler::uxtb(Register dst,
1757 void Assembler::uxtab(Register dst,
1779 void Assembler::uxtb16(Register dst,
1800 void Assembler::mrs(Register dst, SRegister s, Condition cond) {
1806 void Assembler::msr(SRegisterFieldMask fields, const Operand& src,
1832 void Assembler::ldr(Register dst, const MemOperand& src, Condition cond) {
1840 void Assembler::str(Register src, const MemOperand& dst, Condition cond) {
1845 void Assembler::ldrb(Register dst, const MemOperand& src, Condition cond) {
1850 void Assembler::strb(Register src, const MemOperand& dst, Condition cond) {
1855 void Assembler::ldrh(Register dst, const MemOperand& src, Condition cond) {
1860 void Assembler::strh(Register src, const MemOperand& dst, Condition cond) {
1865 void Assembler::ldrsb(Register dst, const MemOperand& src, Condition cond) {
1870 void Assembler::ldrsh(Register dst, const MemOperand& src, Condition cond) {
1875 void Assembler::ldrd(Register dst1, Register dst2,
1886 void Assembler::strd(Register src1, Register src2,
1898 void Assembler::pld(const MemOperand& address) {
1917 void Assembler::ldm(BlockAddrMode am,
1938 void Assembler::stm(BlockAddrMode am,
1949 void Assembler::stop(const char* msg, Condition cond, int32_t code) {
1976 void Assembler::bkpt(uint32_t imm16) { // v5 and above
1982 void Assembler::svc(uint32_t imm24, Condition cond) {
1989 void Assembler::cdp(Coprocessor coproc,
2002 void Assembler::cdp2(Coprocessor coproc,
2012 void Assembler::mcr(Coprocessor coproc,
2025 void Assembler::mcr2(Coprocessor coproc,
2035 void Assembler::mrc(Coprocessor coproc,
2048 void Assembler::mrc2(Coprocessor coproc,
2058 void Assembler::ldc(Coprocessor coproc,
2067 void Assembler::ldc(Coprocessor coproc,
2080 void Assembler::ldc2(Coprocessor coproc,
2088 void Assembler::ldc2(Coprocessor coproc,
2099 void Assembler::vldr(const DwVfpRegister dst,
2133 void Assembler::vldr(const DwVfpRegister dst,
2142 void Assembler::vldr(const SwVfpRegister dst,
2176 void Assembler::vldr(const SwVfpRegister dst,
2185 void Assembler::vstr(const DwVfpRegister src,
2219 void Assembler::vstr(const DwVfpRegister src,
2228 void Assembler::vstr(const SwVfpRegister src,
2261 void Assembler::vstr(const SwVfpRegister src,
2270 void Assembler::vldm(BlockAddrMode am,
2291 void Assembler::vstm(BlockAddrMode am,
2311 void Assembler::vldm(BlockAddrMode am,
2331 void Assembler::vstm(BlockAddrMode am,
2411 void Assembler::vmov(const DwVfpRegister dst,
2480 void Assembler::vmov(const SwVfpRegister dst,
2492 void Assembler::vmov(const DwVfpRegister dst,
2508 void Assembler::vmov(const DwVfpRegister dst,
2524 void Assembler::vmov(const Register dst,
2540 void Assembler::vmov(const DwVfpRegister dst,
2556 void Assembler::vmov(const Register dst1,
2572 void Assembler::vmov(const SwVfpRegister dst,
2586 void Assembler::vmov(const Register dst,
2713 void Assembler::vcvt_f64_s32(const DwVfpRegister dst,
2721 void Assembler::vcvt_f32_s32(const SwVfpRegister dst,
2729 void Assembler::vcvt_f64_u32(const DwVfpRegister dst,
2737 void Assembler::vcvt_s32_f64(const SwVfpRegister dst,
2745 void Assembler::vcvt_u32_f64(const SwVfpRegister dst,
2753 void Assembler::vcvt_f64_f32(const DwVfpRegister dst,
2761 void Assembler::vcvt_f32_f64(const SwVfpRegister dst,
2769 void Assembler::vcvt_f64_s32(const DwVfpRegister dst,
2786 void Assembler::vneg(const DwVfpRegister dst,
2802 void Assembler::vabs(const DwVfpRegister dst,
2817 void Assembler::vadd(const DwVfpRegister dst,
2837 void Assembler::vsub(const DwVfpRegister dst,
2857 void Assembler::vmul(const DwVfpRegister dst,
2877 void Assembler::vmla(const DwVfpRegister dst,
2895 void Assembler::vmls(const DwVfpRegister dst,
2913 void Assembler::vdiv(const DwVfpRegister dst,
2933 void Assembler::vcmp(const DwVfpRegister src1,
2949 void Assembler::vcmp(const DwVfpRegister src1,
2963 void Assembler::vmsr(Register dst, Condition cond) {
2972 void Assembler::vmrs(Register dst, Condition cond) {
2981 void Assembler::vsqrt(const DwVfpRegister dst,
2998 void Assembler::vld1(NeonSize size,
3012 void Assembler::vst1(NeonSize size,
3026 void Assembler::vmovl(NeonDataType dt, QwNeonRegister dst, DwVfpRegister src) {
3041 void Assembler::nop(int type) {
3052 bool Assembler::IsMovT(Instr instr) {
3060 bool Assembler::IsMovW(Instr instr) {
3068 bool Assembler::IsNop(Instr instr, int type) {
3075 bool Assembler::ImmediateFitsAddrMode1Instruction(int32_t imm32) {
3083 void Assembler::RecordJSReturn() {
3090 void Assembler::RecordDebugBreakSlot() {
3097 void Assembler::RecordComment(const char* msg) {
3105 void Assembler::RecordConstPool(int size) {
3114 void Assembler::GrowBuffer() {
3170 void Assembler::db(uint8_t data) {
3182 void Assembler::dd(uint32_t data) {
3194 void Assembler::emit_code_stub_address(Code* stub) {
3202 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data,
3248 void Assembler::RecordRelocInfo(double data) {
3255 void Assembler::RecordRelocInfoConstantPoolEntryHelper(const RelocInfo& rinfo) {
3275 void Assembler::BlockConstPoolFor(int instructions) {
3296 void Assembler::CheckConstPool(bool force_emit, bool require_jump) {