Home | History | Annotate | Download | only in x64

Lines Matching refs:buf_

219   byte modrm = operand.buf_[0];
224 int base_reg = (has_sib ? operand.buf_[1] : modrm) & 0x07;
231 disp_value = *bit_cast<const int32_t*>(&operand.buf_[disp_offset]);
234 disp_value = static_cast<signed char>(operand.buf_[disp_offset]);
244 buf_[0] = (modrm & 0x3f) | (is_baseless ? 0x00 : 0x80);
246 Memory::int32_at(&buf_[disp_offset]) = disp_value;
249 buf_[0] = (modrm & 0x3f) | 0x40; // Mode 1.
251 buf_[disp_offset] = static_cast<byte>(disp_value);
254 buf_[0] = (modrm & 0x3f); // Mode 0.
258 buf_[1] = operand.buf_[1];
265 DCHECK((buf_[0] & 0xC0) != 0xC0); // Always a memory operand.
268 int base_code = buf_[0] & 0x07;
270 // SIB byte present in buf_[1].
272 int index_code = ((buf_[1] >> 3) & 0x07) | ((rex_ & 0x02) << 2);
276 base_code = (buf_[1] & 0x07) | ((rex_ & 0x01) << 3);
278 if (base_code == rbp.code() && ((buf_[0] & 0xC0) == 0)) return false;
283 if (base_code == rbp.code() && ((buf_[0] & 0xC0) == 0)) return false;
463 DCHECK((adr.buf_[0] & 0x38) == 0);
464 *pc_++ = adr.buf_[0] | code << 3;
467 if (adr.buf_[0] == 5) {
469 Label* label = *bit_cast<Label* const*>(&adr.buf_[1]);
485 for (unsigned i = 1; i < length; i++) *pc_++ = adr.buf_[i];