Lines Matching refs:buf_ptr
366 sljit_ub *buf_ptr; in emit_x86_instruction() local
485 buf_ptr = inst + size; in emit_x86_instruction()
493 *buf_ptr = 0; in emit_x86_instruction()
495 *buf_ptr = reg_lmap[a] << 3; in emit_x86_instruction()
497 *buf_ptr = a << 3; in emit_x86_instruction()
507 *buf_ptr = 0; in emit_x86_instruction()
511 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_lmap[b] : b); in emit_x86_instruction()
516 *buf_ptr |= 0x40; in emit_x86_instruction()
518 *buf_ptr |= 0x80; in emit_x86_instruction()
522 *buf_ptr++ |= reg_lmap[b & REG_MASK]; in emit_x86_instruction()
524 *buf_ptr++ |= 0x04; in emit_x86_instruction()
525 *buf_ptr++ = reg_lmap[b & REG_MASK] | (reg_lmap[OFFS_REG(b)] << 3); in emit_x86_instruction()
530 *buf_ptr++ = immb; /* 8 bit displacement. */ in emit_x86_instruction()
532 *(sljit_si*)buf_ptr = immb; /* 32 bit displacement. */ in emit_x86_instruction()
533 buf_ptr += sizeof(sljit_si); in emit_x86_instruction()
539 *buf_ptr |= 0x40; in emit_x86_instruction()
540 *buf_ptr++ |= 0x04; in emit_x86_instruction()
541 *buf_ptr++ = reg_lmap[b & REG_MASK] | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
543 *buf_ptr++ = 0; in emit_x86_instruction()
547 *buf_ptr++ |= 0x04; in emit_x86_instruction()
548 *buf_ptr++ = 0x25; in emit_x86_instruction()
549 *(sljit_si*)buf_ptr = immb; /* 32 bit displacement. */ in emit_x86_instruction()
550 buf_ptr += sizeof(sljit_si); in emit_x86_instruction()
555 *buf_ptr = imma; in emit_x86_instruction()
557 *(short*)buf_ptr = imma; in emit_x86_instruction()
559 *(sljit_si*)buf_ptr = imma; in emit_x86_instruction()