Lines Matching defs:Assembler

76   DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize));
212 // Implementation of Assembler.
218 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size)
233 void Assembler::GetCode(CodeDesc* desc) {
249 void Assembler::Align(int m) {
257 bool Assembler::IsNop(Address addr) {
266 void Assembler::Nop(int bytes) {
278 void Assembler::CodeTargetAlign() {
283 void Assembler::cpuid() {
290 void Assembler::pushad() {
296 void Assembler::popad() {
302 void Assembler::pushfd() {
308 void Assembler::popfd() {
314 void Assembler::push(const Immediate& x) {
326 void Assembler::push_imm32(int32_t imm32) {
333 void Assembler::push(Register src) {
339 void Assembler::push(const Operand& src) {
346 void Assembler::pop(Register dst) {
353 void Assembler::pop(const Operand& dst) {
360 void Assembler::enter(const Immediate& size) {
368 void Assembler::leave() {
374 void Assembler::mov_b(Register dst, const Operand& src) {
382 void Assembler::mov_b(const Operand& dst, const Immediate& src) {
390 void Assembler::mov_b(const Operand& dst, int8_t imm8) {
398 void Assembler::mov_b(const Operand& dst, Register src) {
406 void Assembler::mov_w(Register dst, const Operand& src) {
414 void Assembler::mov_w(const Operand& dst, Register src) {
422 void Assembler::mov_w(const Operand& dst, int16_t imm16) {
432 void Assembler::mov_w(const Operand& dst, const Immediate& src) {
442 void Assembler::mov(Register dst, int32_t imm32) {
449 void Assembler::mov(Register dst, const Immediate& x) {
456 void Assembler::mov(Register dst, Handle<Object> handle) {
463 void Assembler::mov(Register dst, const Operand& src) {
470 void Assembler::mov(Register dst, Register src) {
477 void Assembler::mov(const Operand& dst, const Immediate& x) {
485 void Assembler::mov(const Operand& dst, Handle<Object> handle) {
493 void Assembler::mov(const Operand& dst, Register src) {
500 void Assembler::movsx_b(Register dst, const Operand& src) {
508 void Assembler::movsx_w(Register dst, const Operand& src) {
516 void Assembler::movzx_b(Register dst, const Operand& src) {
524 void Assembler::movzx_w(Register dst, const Operand& src) {
532 void Assembler::cld() {
538 void Assembler::rep_movs() {
545 void Assembler::rep_stos() {
552 void Assembler::stos() {
558 void Assembler::xchg(Register dst, Register src) {
569 void Assembler::xchg(Register dst, const Operand& src) {
575 void Assembler::xchg_b(Register reg, const Operand& op) {
581 void Assembler::xchg_w(Register reg, const Operand& op) {
588 void Assembler::lock() {
593 void Assembler::cmpxchg(const Operand& dst, Register src) {
600 void Assembler::cmpxchg_b(const Operand& dst, Register src) {
607 void Assembler::cmpxchg_w(const Operand& dst, Register src) {
615 void Assembler::adc(Register dst, int32_t imm32) {
621 void Assembler::adc(Register dst, const Operand& src) {
628 void Assembler::add(Register dst, const Operand& src) {
635 void Assembler::add(const Operand& dst, Register src) {
642 void Assembler::add(const Operand& dst, const Immediate& x) {
649 void Assembler::and_(Register dst, int32_t imm32) {
654 void Assembler::and_(Register dst, const Immediate& x) {
660 void Assembler::and_(Register dst, const Operand& src) {
667 void Assembler::and_(const Operand& dst, const Immediate& x) {
673 void Assembler::and_(const Operand& dst, Register src) {
679 void Assembler::cmpb(const Operand& op, Immediate imm8) {
692 void Assembler::cmpb(const Operand& op, Register reg) {
700 void Assembler::cmpb(Register reg, const Operand& op) {
708 void Assembler::cmpw(const Operand& op, Immediate imm16) {
717 void Assembler::cmpw(Register reg, const Operand& op) {
724 void Assembler::cmpw(const Operand& op, Register reg) {
731 void Assembler::cmp(Register reg, int32_t imm32) {
737 void Assembler::cmp(Register reg, Handle<Object> handle) {
743 void Assembler::cmp(Register reg, const Operand& op) {
749 void Assembler::cmp(const Operand& op, Register reg) {
755 void Assembler::cmp(const Operand& op, const Immediate& imm) {
761 void Assembler::cmp(const Operand& op, Handle<Object> handle) {
767 void Assembler::cmpb_al(const Operand& op) {
774 void Assembler::cmpw_ax(const Operand& op) {
782 void Assembler::dec_b(Register dst) {
790 void Assembler::dec_b(const Operand& dst) {
797 void Assembler::dec(Register dst) {
803 void Assembler::dec(const Operand& dst) {
810 void Assembler::cdq() {
816 void Assembler::idiv(const Operand& src) {
823 void Assembler::div(const Operand& src) {
830 void Assembler::imul(Register reg) {
837 void Assembler::imul(Register dst, const Operand& src) {
845 void Assembler::imul(Register dst, Register src, int32_t imm32) {
850 void Assembler::imul(Register dst, const Operand& src, int32_t imm32) {
864 void Assembler::inc(Register dst) {
870 void Assembler::inc(const Operand& dst) {
877 void Assembler::lea(Register dst, const Operand& src) {
884 void Assembler::mul(Register src) {
891 void Assembler::neg(Register dst) {
898 void Assembler::neg(const Operand& dst) {
905 void Assembler::not_(Register dst) {
912 void Assembler::not_(const Operand& dst) {
919 void Assembler::or_(Register dst, int32_t imm32) {
925 void Assembler::or_(Register dst, const Operand& src) {
932 void Assembler::or_(const Operand& dst, const Immediate& x) {
938 void Assembler::or_(const Operand& dst, Register src) {
945 void Assembler::rcl(Register dst, uint8_t imm8) {
959 void Assembler::rcr(Register dst, uint8_t imm8) {
973 void Assembler::ror(const Operand& dst, uint8_t imm8) {
987 void Assembler::ror_cl(const Operand& dst) {
994 void Assembler::sar(const Operand& dst, uint8_t imm8) {
1008 void Assembler::sar_cl(const Operand& dst) {
1014 void Assembler::sbb(Register dst, const Operand& src) {
1020 void Assembler::shld(Register dst, Register src, uint8_t shift) {
1029 void Assembler::shld_cl(Register dst, Register src) {
1037 void Assembler::shl(const Operand& dst, uint8_t imm8) {
1051 void Assembler::shl_cl(const Operand& dst) {
1057 void Assembler::shr(const Operand& dst, uint8_t imm8) {
1071 void Assembler::shr_cl(const Operand& dst) {
1077 void Assembler::shrd(Register dst, Register src, uint8_t shift) {
1086 void Assembler::shrd_cl(const Operand& dst, Register src) {
1093 void Assembler::sub(const Operand& dst, const Immediate& x) {
1099 void Assembler::sub(Register dst, const Operand& src) {
1106 void Assembler::sub(const Operand& dst, Register src) {
1113 void Assembler::test(Register reg, const Immediate& imm) {
1132 void Assembler::test(Register reg, const Operand& op) {
1139 void Assembler::test_b(Register reg, const Operand& op) {
1147 void Assembler::test(const Operand& op, const Immediate& imm) {
1161 void Assembler::test_b(Register reg, Immediate imm8) {
1179 void Assembler::test_b(const Operand& op, Immediate imm8) {
1190 void Assembler::test_w(Register reg, Immediate imm16) {
1204 void Assembler::test_w(Register reg, const Operand& op) {
1211 void Assembler::test_w(const Operand& op, Immediate imm16) {
1224 void Assembler::xor_(Register dst, int32_t imm32) {
1230 void Assembler::xor_(Register dst, const Operand& src) {
1237 void Assembler::xor_(const Operand& dst, Register src) {
1244 void Assembler::xor_(const Operand& dst, const Immediate& x) {
1250 void Assembler::bt(const Operand& dst, Register src) {
1258 void Assembler::bts(const Operand& dst, Register src) {
1266 void Assembler::bsr(Register dst, const Operand& src) {
1274 void Assembler::bsf(Register dst, const Operand& src) {
1282 void Assembler::hlt() {
1288 void Assembler::int3() {
1294 void Assembler::nop() {
1300 void Assembler::ret(int imm16) {
1313 void Assembler::ud2() {
1331 void Assembler::print(Label* L) {
1352 void Assembler::bind_to(Label* L, int pos) {
1393 void Assembler::bind(Label* L) {
1400 void Assembler::call(Label* L) {
1417 void Assembler::call(byte* entry, RelocInfo::Mode rmode) {
1429 int Assembler::CallSize(const Operand& adr) {
1435 void Assembler::call(const Operand& adr) {
1442 int Assembler::CallSize(Handle<Code> code, RelocInfo::Mode rmode) {
1447 void Assembler::call(Handle<Code> code,
1458 void Assembler::jmp(Label* L, Label::Distance distance) {
1485 void Assembler::jmp(byte* entry, RelocInfo::Mode rmode) {
1497 void Assembler::jmp(const Operand& adr) {
1504 void Assembler::jmp(Handle<Code> code, RelocInfo::Mode rmode) {
1512 void Assembler::j(Condition cc, Label* L, Label::Distance distance) {
1544 void Assembler::j(Condition cc, byte* entry, RelocInfo::Mode rmode) {
1558 void Assembler::j(Condition cc, Handle<Code> code, RelocInfo::Mode rmode) {
1569 void Assembler::fld(int i) {
1575 void Assembler::fstp(int i) {
1581 void Assembler::fld1() {
1588 void Assembler::fldpi() {
1595 void Assembler::fldz() {
1602 void Assembler::fldln2() {
1609 void Assembler::fld_s(const Operand& adr) {
1616 void Assembler::fld_d(const Operand& adr) {
1623 void Assembler::fstp_s(const Operand& adr) {
1630 void Assembler::fst_s(const Operand& adr) {
1637 void Assembler::fldcw(const Operand& adr) {
1644 void Assembler::fnstcw(const Operand& adr) {
1651 void Assembler::fstp_d(const Operand& adr) {
1658 void Assembler::fst_d(const Operand& adr) {
1665 void Assembler::fild_s(const Operand& adr) {
1672 void Assembler::fild_d(const Operand& adr) {
1679 void Assembler::fistp_s(const Operand& adr) {
1686 void Assembler::fisttp_s(const Operand& adr) {
1694 void Assembler::fisttp_d(const Operand& adr) {
1702 void Assembler::fist_s(const Operand& adr) {
1709 void Assembler::fistp_d(const Operand& adr) {
1716 void Assembler::fabs() {
1723 void Assembler::fchs() {
1730 void Assembler::fsqrt() {
1737 void Assembler::fcos() {
1744 void Assembler::fsin() {
1751 void Assembler::fptan() {
1758 void Assembler::fyl2x() {
1765 void Assembler::f2xm1() {
1772 void Assembler::fscale() {
1779 void Assembler::fninit() {
1786 void Assembler::fadd(int i) {
1792 void Assembler::fadd_i(int i) {
1798 void Assembler::fadd_d(const Operand& adr) {
1805 void Assembler::fsub(int i) {
1811 void Assembler::fsub_i(int i) {
1817 void Assembler::fsubr_d(const Operand& adr) {
1824 void Assembler::fsub_d(const Operand& adr) {
1831 void Assembler::fisub_s(const Operand& adr) {
1838 void Assembler::fmul_i(int i) {
1844 void Assembler::fmul(int i) {
1850 void Assembler::fmul_d(const Operand& adr) {
1857 void Assembler::fdiv(int i) {
1863 void Assembler::fdiv_d(const Operand& adr) {
1870 void Assembler::fdivr_d(const Operand& adr) {
1877 void Assembler::fdiv_i(int i) {
1883 void Assembler::faddp(int i) {
1889 void Assembler::fsubp(int i) {
1895 void Assembler::fsubrp(int i) {
1901 void Assembler::fmulp(int i) {
1907 void Assembler::fdivp(int i) {
1913 void Assembler::fprem() {
1920 void Assembler::fprem1() {
1927 void Assembler::fxch(int i) {
1933 void Assembler::fincstp() {
1940 void Assembler::ffree(int i) {
1946 void Assembler::ftst() {
1953 void Assembler::fxam() {
1960 void Assembler::fucomp(int i) {
1966 void Assembler::fucompp() {
1973 void Assembler::fucomi(int i) {
1980 void Assembler::fucomip() {
1987 void Assembler::fcompp() {
1994 void Assembler::fnstsw_ax() {
2001 void Assembler::fwait() {
2007 void Assembler::frndint() {
2014 void Assembler::fnclex() {
2021 void Assembler::fnsave(const Operand& adr) {
2028 void Assembler::frstor(const Operand& adr) {
2035 void Assembler::sahf() {
2041 void Assembler::setcc(Condition cc, Register reg) {
2050 void Assembler::GrowBuffer() {
2063 V8::FatalProcessOutOfMemory("Assembler::GrowBuffer");
2102 void Assembler::emit_arith_b(int op1, int op2, Register dst, int imm8) {
2112 void Assembler::emit_arith(int sel, Operand dst, const Immediate& x) {
2130 void Assembler::emit_operand(Register reg, const Operand& adr) {
2154 void Assembler::emit_label(Label* label) {
2164 void Assembler::emit_farith(int b1, int b2, int i) {
2172 void Assembler::db(uint8_t data) {
2178 void Assembler::dd(uint32_t data) {
2184 void Assembler::dq(uint64_t data) {
2190 void Assembler::dd(Label* label) {
2197 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {