Lines Matching refs:regmem
230 struct x86_reg regmem ) in emit_modrm() argument
238 assert(regmem.idx < 8); in emit_modrm()
240 val |= regmem.mod << 6; /* mod field */ in emit_modrm()
242 val |= regmem.idx; /* r/m field */ in emit_modrm()
248 if (regmem.file == file_REG32 && in emit_modrm()
249 regmem.idx == reg_SP && in emit_modrm()
250 regmem.mod != mod_REG) { in emit_modrm()
254 switch (regmem.mod) { in emit_modrm()
259 emit_1b(p, (char) regmem.disp); in emit_modrm()
262 emit_1i(p, regmem.disp); in emit_modrm()
274 struct x86_reg regmem ) in emit_modrm_noreg() argument
277 emit_modrm(p, dummy, regmem); in emit_modrm_noreg()