Lines Matching refs:buf_ptr

68 	sljit_u8 *buf_ptr;  in emit_x86_instruction()  local
199 buf_ptr = inst + size; in emit_x86_instruction()
207 *buf_ptr = 0; in emit_x86_instruction()
209 *buf_ptr = U8(reg_lmap[a] << 3); in emit_x86_instruction()
211 *buf_ptr = U8(freg_lmap[a] << 3); in emit_x86_instruction()
221 *buf_ptr = 0; in emit_x86_instruction()
225 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_lmap[b] : freg_lmap[b])); in emit_x86_instruction()
226 buf_ptr++; in emit_x86_instruction()
233 *buf_ptr |= 0x40; in emit_x86_instruction()
235 *buf_ptr |= 0x80; in emit_x86_instruction()
239 *buf_ptr++ |= reg_lmap_b; in emit_x86_instruction()
241 *buf_ptr++ |= 0x04; in emit_x86_instruction()
242 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3)); in emit_x86_instruction()
247 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction()
249 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
250 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
256 *buf_ptr |= 0x40; in emit_x86_instruction()
258 *buf_ptr++ |= 0x04; in emit_x86_instruction()
259 *buf_ptr++ = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction()
262 *buf_ptr++ = 0; in emit_x86_instruction()
266 *buf_ptr++ |= 0x04; in emit_x86_instruction()
267 *buf_ptr++ = 0x25; in emit_x86_instruction()
268 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
269 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
274 *buf_ptr = U8(imma); in emit_x86_instruction()
276 sljit_unaligned_store_s16(buf_ptr, (sljit_s16)imma); in emit_x86_instruction()
278 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)imma); in emit_x86_instruction()