Lines Matching refs:buf_ptr

68 	sljit_u8 *buf_ptr;  in emit_x86_instruction()  local
201 buf_ptr = inst + size; in emit_x86_instruction()
209 *buf_ptr = 0; in emit_x86_instruction()
211 *buf_ptr = U8(reg_lmap[a] << 3); in emit_x86_instruction()
213 *buf_ptr = U8(freg_lmap[a] << 3); in emit_x86_instruction()
222 *buf_ptr = 0; in emit_x86_instruction()
226 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_lmap[b] : freg_lmap[b])); in emit_x86_instruction()
227 buf_ptr++; in emit_x86_instruction()
234 *buf_ptr |= 0x40; in emit_x86_instruction()
236 *buf_ptr |= 0x80; in emit_x86_instruction()
240 *buf_ptr++ |= reg_lmap_b; in emit_x86_instruction()
242 buf_ptr[0] |= 0x04; in emit_x86_instruction()
243 buf_ptr[1] = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3)); in emit_x86_instruction()
244 buf_ptr += 2; in emit_x86_instruction()
249 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction()
251 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
252 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
257 *buf_ptr |= 0x40; in emit_x86_instruction()
259 buf_ptr[0] |= 0x04; in emit_x86_instruction()
260 buf_ptr[1] = U8(reg_lmap_b | (reg_lmap[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction()
261 buf_ptr += 2; in emit_x86_instruction()
264 *buf_ptr++ = 0; in emit_x86_instruction()
267 buf_ptr[0] |= 0x04; in emit_x86_instruction()
268 buf_ptr[1] = 0x25; in emit_x86_instruction()
269 buf_ptr += 2; in emit_x86_instruction()
270 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)immb); /* 32 bit displacement. */ in emit_x86_instruction()
271 buf_ptr += sizeof(sljit_s32); in emit_x86_instruction()
276 *buf_ptr = U8(imma); in emit_x86_instruction()
278 sljit_unaligned_store_s16(buf_ptr, (sljit_s16)imma); in emit_x86_instruction()
280 sljit_unaligned_store_s32(buf_ptr, (sljit_s32)imma); in emit_x86_instruction()