Lines Matching refs:Assembler
10 #include "src/macro-assembler.h"
44 int code_size = Assembler::kCallSequenceLength + guard_bytes;
57 Assembler::RelocInfoNone());
61 DCHECK_EQ(Assembler::kCallSequenceLength,
225 // Implementation of Assembler.
231 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size)
253 void Assembler::GetCode(CodeDesc* desc) {
268 void Assembler::Align(int m) {
275 void Assembler::CodeTargetAlign() {
280 bool Assembler::IsNop(Address addr) {
289 void Assembler::bind_to(Label* L, int pos) {
324 void Assembler::bind(Label* L) {
329 void Assembler::GrowBuffer() {
341 V8::FatalProcessOutOfMemory("Assembler::GrowBuffer");
387 void Assembler::emit_operand(int code, const Operand& adr) {
402 // Assembler Instruction implementations.
404 void Assembler::arithmetic_op(byte opcode,
415 void Assembler::arithmetic_op(byte opcode,
434 void Assembler::arithmetic_op_16(byte opcode, Register reg, Register rm_reg) {
452 void Assembler::arithmetic_op_16(byte opcode,
463 void Assembler::arithmetic_op_8(byte opcode, Register reg, const Operand& op) {
474 void Assembler::arithmetic_op_8(byte opcode, Register reg, Register rm_reg) {
496 void Assembler::immediate_arithmetic_op(byte subcode,
516 void Assembler::immediate_arithmetic_op(byte subcode,
534 void Assembler::immediate_arithmetic_op_16(byte subcode,
555 void Assembler::immediate_arithmetic_op_16(byte subcode,
573 void Assembler::immediate_arithmetic_op_8(byte subcode,
585 void Assembler::immediate_arithmetic_op_8(byte subcode,
600 void Assembler::shift(Register dst,
620 void Assembler::shift(Register dst, int subcode, int size) {
628 void Assembler::bt(const Operand& dst, Register src) {
637 void Assembler::bts(const Operand& dst, Register src) {
646 void Assembler::bsrl(Register dst, Register src) {
655 void Assembler::call(Label* L) {
676 void Assembler::call(Address entry, RelocInfo::Mode rmode) {
686 void Assembler::call(Handle<Code> target,
697 void Assembler::call(Register adr) {
707 void Assembler::call(const Operand& op) {
721 void Assembler::call(Address target) {
733 void Assembler::clc() {
739 void Assembler::cld() {
745 void Assembler::cdq() {
751 void Assembler::cmovq(Condition cc, Register dst, Register src) {
769 void Assembler::cmovq(Condition cc, Register dst, const Operand& src) {
785 void Assembler::cmovl(Condition cc, Register dst, Register src) {
801 void Assembler::cmovl(Condition cc, Register dst, const Operand& src) {
817 void Assembler::cmpb_al(Immediate imm8) {
825 void Assembler::cpuid() {
832 void Assembler::cqo() {
839 void Assembler::emit_dec(Register dst, int size) {
847 void Assembler::emit_dec(const Operand& dst, int size) {
855 void Assembler::decb(Register dst) {
866 void Assembler::decb(const Operand& dst) {
874 void Assembler::enter(Immediate size) {
882 void Assembler::hlt() {
888 void Assembler::emit_idiv(Register src, int size) {
896 void Assembler::emit_div(Register src, int size) {
904 void Assembler::emit_imul(Register src, int size) {
912 void Assembler::emit_imul(Register dst, Register src, int size) {
921 void Assembler::emit_imul(Register dst, const Operand& src, int size) {
930 void Assembler::emit_imul(Register dst, Register src, Immediate imm, int size) {
945 void Assembler::emit_inc(Register dst, int size) {
953 void Assembler::emit_inc(const Operand& dst, int size) {
961 void Assembler::int3() {
967 void Assembler::j(Condition cc, Label* L, Label::Distance distance) {
1028 void Assembler::j(Condition cc, Address entry, RelocInfo::Mode rmode) {
1038 void Assembler::j(Condition cc,
1050 void Assembler::jmp(Label* L, Label::Distance distance) {
1092 void Assembler::jmp(Handle<Code> target, RelocInfo::Mode rmode) {
1100 void Assembler::jmp(Address entry, RelocInfo::Mode rmode) {
1109 void Assembler::jmp(Register target) {
1118 void Assembler::jmp(const Operand& src) {
1127 void Assembler::emit_lea(Register dst, const Operand& src, int size) {
1135 void Assembler::load_rax(void* value, RelocInfo::Mode mode) {
1153 void Assembler::load_rax(ExternalReference ref) {
1158 void Assembler::leave() {
1164 void Assembler::movb(Register dst, const Operand& src) {
1177 void Assembler::movb(Register dst, Immediate imm) {
1188 void Assembler::movb(const Operand& dst, Register src) {
1201 void Assembler::movb(const Operand& dst, Immediate imm) {
1210 void Assembler::movw(Register dst, const Operand& src) {
1219 void Assembler::movw(const Operand& dst, Register src) {
1228 void Assembler::movw(const Operand& dst, Immediate imm) {
1239 Assembler::emit_mov(Register dst, const Operand& src, int size) {
1247 void Assembler::emit_mov(Register dst, Register src, int size) {
1261 void Assembler::emit_mov(const Operand& dst, Register src, int size) {
1269 void Assembler::emit_mov(Register dst, Immediate value, int size) {
1283 void Assembler::emit_mov(const Operand& dst, Immediate value, int size) {
1292 void Assembler::movp(Register dst, void* value, RelocInfo::Mode rmode) {
1300 void Assembler::movq(Register dst, int64_t value) {
1308 void Assembler::movq(Register dst, uint64_t value) {
1315 void Assembler::movl(const Operand& dst, Label* src) {
1336 void Assembler::movsxbl(Register dst, const Operand& src) {
1345 void Assembler::movsxbq(Register dst, const Operand& src) {
1354 void Assembler::movsxwl(Register dst, const Operand& src) {
1363 void Assembler::movsxwq(Register dst, const Operand& src) {
1372 void Assembler::movsxlq(Register dst, Register src) {
1380 void Assembler::movsxlq(Register dst, const Operand& src) {
1388 void Assembler::emit_movzxb(Register dst, const Operand& src, int size) {
1399 void Assembler::emit_movzxb(Register dst, Register src, int size) {
1415 void Assembler::emit_movzxw(Register dst, const Operand& src, int size) {
1426 void Assembler::emit_movzxw(Register dst, Register src, int size) {
1437 void Assembler::repmovsb() {
1444 void Assembler::repmovsw() {
1452 void Assembler::emit_repmovs(int size) {
1460 void Assembler::mul(Register src) {
1468 void Assembler::emit_neg(Register dst, int size) {
1476 void Assembler::emit_neg(const Operand& dst, int size) {
1484 void Assembler::nop() {
1490 void Assembler::emit_not(Register dst, int size) {
1498 void Assembler::emit_not(const Operand& dst, int size) {
1506 void Assembler::Nop(int n) {
1583 void Assembler::popq(Register dst) {
1590 void Assembler::popq(const Operand& dst) {
1598 void Assembler::popfq() {
1604 void Assembler::pushq(Register src) {
1611 void Assembler::pushq(const Operand& src) {
1619 void Assembler::pushq(Immediate value) {
1631 void Assembler::pushq_imm32(int32_t imm32) {
1638 void Assembler::pushfq() {
1644 void Assembler::ret(int imm16) {
1657 void Assembler::setcc(Condition cc, Register reg) {
1674 void Assembler::shld(Register dst, Register src) {
1683 void Assembler::shrd(Register dst, Register src) {
1692 void Assembler::emit_xchg(Register dst, Register src, int size) {
1710 void Assembler::emit_xchg(Register dst, const Operand& src, int size) {
1718 void Assembler::store_rax(void* dst, RelocInfo::Mode mode) {
1736 void Assembler::store_rax(ExternalReference ref) {
1741 void Assembler::testb(Register dst, Register src) {
1758 void Assembler::testb(Register reg, Immediate mask) {
1776 void Assembler::testb(const Operand& op, Immediate mask) {
1786 void Assembler::testb(const Operand& op, Register reg) {
1799 void Assembler::emit_test(Register dst, Register src, int size) {
1813 void Assembler::emit_test(Register reg, Immediate mask, int size) {
1833 void Assembler::emit_test(const Operand& op, Immediate mask, int size) {
1847 void Assembler::emit_test(const Operand& op, Register reg, int size) {
1858 void Assembler::fld(int i) {
1864 void Assembler::fld1() {
1871 void Assembler::fldz() {
1878 void Assembler::fldpi() {
1885 void Assembler::fldln2() {
1892 void Assembler::fld_s(const Operand& adr) {
1900 void Assembler::fld_d(const Operand& adr) {
1908 void Assembler::fstp_s(const Operand& adr) {
1916 void Assembler::fstp_d(const Operand& adr) {
1924 void Assembler::fstp(int index) {
1931 void Assembler::fild_s(const Operand& adr) {
1939 void Assembler::fild_d(const Operand& adr) {
1947 void Assembler::fistp_s(const Operand& adr) {
1955 void Assembler::fisttp_s(const Operand& adr) {
1964 void Assembler::fisttp_d(const Operand& adr) {
1973 void Assembler::fist_s(const Operand& adr) {
1981 void Assembler::fistp_d(const Operand& adr) {
1989 void Assembler::fabs() {
1996 void Assembler::fchs() {
2003 void Assembler::fcos() {
2010 void Assembler::fsin() {
2017 void Assembler::fptan() {
2024 void Assembler::fyl2x() {
2031 void Assembler::f2xm1() {
2038 void Assembler::fscale() {
2045 void Assembler::fninit() {
2052 void Assembler::fadd(int i) {
2058 void Assembler::fsub(int i) {
2064 void Assembler::fisub_s(const Operand& adr) {
2072 void Assembler::fmul(int i) {
2078 void Assembler::fdiv(int i) {
2084 void Assembler::faddp(int i) {
2090 void Assembler::fsubp(int i) {
2096 void Assembler::fsubrp(int i) {
2102 void Assembler::fmulp(int i) {
2108 void Assembler::fdivp(int i) {
2114 void Assembler::fprem() {
2121 void Assembler::fprem1() {
2128 void Assembler::fxch(int i) {
2134 void Assembler::fincstp() {
2141 void Assembler::ffree(int i) {
2147 void Assembler::ftst() {
2154 void Assembler::fucomp(int i) {
2160 void Assembler::fucompp() {
2167 void Assembler::fucomi(int i) {
2174 void Assembler::fucomip() {
2181 void Assembler::fcompp() {
2188 void Assembler::fnstsw_ax() {
2195 void Assembler::fwait() {
2201 void Assembler::frndint() {
2208 void Assembler::fnclex() {
2215 void Assembler::sahf() {
2224 void Assembler::emit_farith(int b1, int b2, int i) {
2234 void Assembler::andps(XMMRegister dst, XMMRegister src) {
2243 void Assembler::andps(XMMRegister dst, const Operand& src) {
2252 void Assembler::orps(XMMRegister dst, XMMRegister src) {
2261 void Assembler::orps(XMMRegister dst, const Operand& src) {
2270 void Assembler::xorps(XMMRegister dst, XMMRegister src) {
2279 void Assembler::xorps(XMMRegister dst, const Operand& src) {
2288 void Assembler::addps(XMMRegister dst, XMMRegister src) {
2297 void Assembler::addps(XMMRegister dst, const Operand& src) {
2306 void Assembler::subps(XMMRegister dst, XMMRegister src) {
2315 void Assembler::subps(XMMRegister dst, const Operand& src) {
2324 void Assembler::mulps(XMMRegister dst, XMMRegister src) {
2333 void Assembler::mulps(XMMRegister dst, const Operand& src) {
2342 void Assembler::divps(XMMRegister dst, XMMRegister src) {
2351 void Assembler::divps(XMMRegister dst, const Operand& src) {
2362 void Assembler::movd(XMMRegister dst, Register src) {
2372 void Assembler::movd(Register dst, XMMRegister src) {
2382 void Assembler::movq(XMMRegister dst, Register src) {
2392 void Assembler::movq(Register dst, XMMRegister src) {
2402 void Assembler::movq(XMMRegister dst, XMMRegister src) {
2421 void Assembler::movdqa(const Operand& dst, XMMRegister src) {
2431 void Assembler::movdqa(XMMRegister dst, const Operand& src) {
2441 void Assembler::movdqu(const Operand& dst, XMMRegister src) {
2451 void Assembler::movdqu(XMMRegister dst, const Operand& src) {
2461 void Assembler::extractps(Register dst, XMMRegister src, byte imm8) {
2475 void Assembler::movsd(const Operand& dst, XMMRegister src) {
2485 void Assembler::movsd(XMMRegister dst, XMMRegister src) {
2495 void Assembler::movsd(XMMRegister dst, const Operand& src) {
2505 void Assembler::movaps(XMMRegister dst, XMMRegister src) {
2522 void Assembler::shufps(XMMRegister dst, XMMRegister src, byte imm8) {
2533 void Assembler::movapd(XMMRegister dst, XMMRegister src) {
2552 void Assembler::movss(XMMRegister dst, const Operand& src) {
2562 void Assembler::movss(const Operand& src, XMMRegister dst) {
2572 void Assembler::psllq(XMMRegister reg, byte imm8) {
2582 void Assembler::cvttss2si(Register dst, const Operand& src) {
2592 void Assembler::cvttss2si(Register dst, XMMRegister src) {
2602 void Assembler::cvttsd2si(Register dst, const Operand& src) {
2612 void Assembler::cvttsd2si(Register dst, XMMRegister src) {
2622 void Assembler::cvttsd2siq(Register dst, XMMRegister src) {
2632 void Assembler::cvttsd2siq(Register dst, const Operand& src) {
2642 void Assembler::cvtlsi2sd(XMMRegister dst, const Operand& src) {
2652 void Assembler::cvtlsi2sd(XMMRegister dst, Register src) {
2662 void Assembler::cvtlsi2ss(XMMRegister dst, Register src) {
2672 void Assembler::cvtqsi2sd(XMMRegister dst, Register src) {
2682 void Assembler::cvtss2sd(XMMRegister dst, XMMRegister src) {
2692 void Assembler::cvtss2sd(XMMRegister dst, const Operand& src) {
2702 void Assembler::cvtsd2ss(XMMRegister dst, XMMRegister src) {
2712 void Assembler::cvtsd2si(Register dst, XMMRegister src) {
2722 void Assembler::cvtsd2siq(Register dst, XMMRegister src) {
2732 void Assembler::addsd(XMMRegister dst, XMMRegister src) {
2742 void Assembler::addsd(XMMRegister dst, const Operand& src) {
2752 void Assembler::mulsd(XMMRegister dst, XMMRegister src) {
2762 void Assembler::mulsd(XMMRegister dst, const Operand& src) {
2772 void Assembler::subsd(XMMRegister dst, XMMRegister src) {
2782 void Assembler::divsd(XMMRegister dst, XMMRegister src) {
2792 void Assembler::andpd(XMMRegister dst, XMMRegister src) {
2802 void Assembler::orpd(XMMRegister dst, XMMRegister src) {
2812 void Assembler::xorpd(XMMRegister dst, XMMRegister src) {
2822 void Assembler::sqrtsd(XMMRegister dst, XMMRegister src) {
2832 void Assembler::sqrtsd(XMMRegister dst, const Operand& src) {
2842 void Assembler::ucomisd(XMMRegister dst, XMMRegister src) {
2852 void Assembler::ucomisd(XMMRegister dst, const Operand& src) {
2862 void Assembler::cmpltsd(XMMRegister dst, XMMRegister src) {
2873 void Assembler::roundsd(XMMRegister dst, XMMRegister src,
2874 Assembler::RoundingMode mode) {
2888 void Assembler::movmskpd(Register dst, XMMRegister src) {
2898 void Assembler::movmskps(Register dst, XMMRegister src) {
2907 void Assembler::emit_sse_operand(XMMRegister reg, const Operand& adr) {
2913 void Assembler::emit_sse_operand(Register reg, const Operand& adr) {
2919 void Assembler::emit_sse_operand(XMMRegister dst, XMMRegister src) {
2924 void Assembler::emit_sse_operand(XMMRegister dst, Register src) {
2929 void Assembler::emit_sse_operand(Register dst, XMMRegister src) {
2934 void Assembler::db(uint8_t data) {
2940 void Assembler::dd(uint32_t data) {
2948 void Assembler::RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data) {
2963 void Assembler::RecordJSReturn() {
2970 void Assembler::RecordDebugBreakSlot() {
2977 void Assembler::RecordComment(const char* msg, bool force) {
2985 Handle<ConstantPoolArray> Assembler::NewConstantPool(Isolate* isolate) {
2992 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) {