Lines Matching refs:buf_ptr

53 	sljit_u8 *buf_ptr;  in emit_x86_instruction()  local
144 buf_ptr = inst + size; in emit_x86_instruction()
152 *buf_ptr = 0; in emit_x86_instruction()
154 *buf_ptr = U8(reg_map[a] << 3); in emit_x86_instruction()
156 *buf_ptr = U8(a << 3); in emit_x86_instruction()
166 *buf_ptr = 0; in emit_x86_instruction()
170 *buf_ptr = U8(*buf_ptr | MOD_REG | (!(flags & EX86_SSE2_OP2) ? reg_map[b] : b)); in emit_x86_instruction()
171 buf_ptr++; in emit_x86_instruction()
178 *buf_ptr |= 0x40; in emit_x86_instruction()
180 *buf_ptr |= 0x80; in emit_x86_instruction()
184 *buf_ptr++ |= reg_map_b; in emit_x86_instruction()
186 *buf_ptr++ |= 0x04; in emit_x86_instruction()
187 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3)); in emit_x86_instruction()
192 *buf_ptr++ = U8(immb); /* 8 bit displacement. */ in emit_x86_instruction()
194 sljit_unaligned_store_sw(buf_ptr, immb); /* 32 bit displacement. */ in emit_x86_instruction()
195 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
201 *buf_ptr |= 0x40; in emit_x86_instruction()
203 *buf_ptr++ |= 0x04; in emit_x86_instruction()
204 *buf_ptr++ = U8(reg_map_b | (reg_map[OFFS_REG(b)] << 3) | (immb << 6)); in emit_x86_instruction()
207 *buf_ptr++ = 0; in emit_x86_instruction()
211 *buf_ptr++ |= 0x05; in emit_x86_instruction()
212 sljit_unaligned_store_sw(buf_ptr, immb); /* 32 bit displacement. */ in emit_x86_instruction()
213 buf_ptr += sizeof(sljit_sw); in emit_x86_instruction()
218 *buf_ptr = U8(imma); in emit_x86_instruction()
220 sljit_unaligned_store_s16(buf_ptr, (sljit_s16)imma); in emit_x86_instruction()
222 sljit_unaligned_store_sw(buf_ptr, imma); in emit_x86_instruction()