Lines Matching refs:buf_ptr
353 sljit_u8 *buf_ptr; in emit_x86_instruction() local
472 buf_ptr = inst + size; in emit_x86_instruction()
480 *buf_ptr = 0; in emit_x86_instruction()
482 *buf_ptr = reg_lmap[a] << 3; in emit_x86_instruction()
484 *buf_ptr = a << 3; in emit_x86_instruction()
494 *buf_ptr = 0; in emit_x86_instruction()
498 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); in emit_x86_instruction()
503 *buf_ptr |= 0x40; in emit_x86_instruction()
505 *buf_ptr |= 0x80; in emit_x86_instruction()
509 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
511 *buf_ptr++ |= 0x04; in emit_x86_instruction()
512 *buf_ptr++ = reg_lmap[b & REG_MASK] | (reg_lmap[OFFS_REG(b)] << 3); in emit_x86_instruction()
517 *buf_ptr++ = immb; /* 8 bit displacement. */ in emit_x86_instruction()
519 sljit_unaligned_store_s32(buf_ptr, immb); /* 32 bit displacement. */ in emit_x86_instruction()
520 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
526 *buf_ptr |= 0x40; in emit_x86_instruction()
527 *buf_ptr++ |= 0x04; in emit_x86_instruction()
528 *buf_ptr++ = reg_lmap[b & REG_MASK] | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
530 *buf_ptr++ = 0; in emit_x86_instruction()
534 *buf_ptr++ |= 0x04; in emit_x86_instruction()
535 *buf_ptr++ = 0x25; in emit_x86_instruction()
536 sljit_unaligned_store_s32(buf_ptr, immb); /* 32 bit displacement. */ in emit_x86_instruction()
537 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
542 *buf_ptr = imma; in emit_x86_instruction()
544 sljit_unaligned_store_s16(buf_ptr, imma); in emit_x86_instruction()
546 sljit_unaligned_store_s32(buf_ptr, imma); in emit_x86_instruction()