Lines Matching refs:buf_ptr
260 sljit_ub *buf_ptr; in emit_x86_instruction() local
341 buf_ptr = inst + size; in emit_x86_instruction()
349 *buf_ptr = 0; in emit_x86_instruction()
351 *buf_ptr = reg_map[a] << 3; in emit_x86_instruction()
353 *buf_ptr = a << 3; in emit_x86_instruction()
363 *buf_ptr = 0; in emit_x86_instruction()
367 *buf_ptr++ |= MOD_REG + ((!(flags & EX86_SSE2_OP2)) ? reg_map[b] : b); in emit_x86_instruction()
372 *buf_ptr |= 0x40; in emit_x86_instruction()
374 *buf_ptr |= 0x80; in emit_x86_instruction()
378 *buf_ptr++ |= reg_map[b & REG_MASK]; in emit_x86_instruction()
380 *buf_ptr++ |= 0x04; in emit_x86_instruction()
381 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3); in emit_x86_instruction()
386 *buf_ptr++ = immb; /* 8 bit displacement. */ in emit_x86_instruction()
388 *(sljit_sw*)buf_ptr = immb; /* 32 bit displacement. */ in emit_x86_instruction()
389 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
394 *buf_ptr++ |= 0x04; in emit_x86_instruction()
395 *buf_ptr++ = reg_map[b & REG_MASK] | (reg_map[OFFS_REG(b)] << 3) | (immb << 6); in emit_x86_instruction()
399 *buf_ptr++ |= 0x05; in emit_x86_instruction()
400 *(sljit_sw*)buf_ptr = immb; /* 32 bit displacement. */ in emit_x86_instruction()
401 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
406 *buf_ptr = imma; in emit_x86_instruction()
408 *(short*)buf_ptr = imma; in emit_x86_instruction()
410 *(sljit_sw*)buf_ptr = imma; in emit_x86_instruction()