Lines Matching refs:regmem
229 struct x86_reg regmem ) in emit_modrm() argument
237 assert(regmem.idx < 8); in emit_modrm()
239 val |= regmem.mod << 6; /* mod field */ in emit_modrm()
241 val |= regmem.idx; /* r/m field */ in emit_modrm()
247 if (regmem.file == file_REG32 && in emit_modrm()
248 regmem.idx == reg_SP && in emit_modrm()
249 regmem.mod != mod_REG) { in emit_modrm()
253 switch (regmem.mod) { in emit_modrm()
258 emit_1b(p, (char) regmem.disp); in emit_modrm()
261 emit_1i(p, regmem.disp); in emit_modrm()
273 struct x86_reg regmem ) in emit_modrm_noreg() argument
276 emit_modrm(p, dummy, regmem); in emit_modrm_noreg()