Searched refs:regmem (Results 1 – 2 of 2) sorted by relevance
95 struct x86_reg regmem ) in emit_modrm() argument101 val |= regmem.mod << 6; /* mod field */ in emit_modrm()103 val |= regmem.idx; /* r/m field */ in emit_modrm()109 if (regmem.file == file_REG32 && in emit_modrm()110 regmem.idx == reg_SP) { in emit_modrm()114 switch (regmem.mod) { in emit_modrm()119 emit_1b(p, regmem.disp); in emit_modrm()122 emit_1i(p, regmem.disp); in emit_modrm()133 struct x86_reg regmem ) in emit_modrm_noreg() argument136 emit_modrm(p, dummy, regmem); in emit_modrm_noreg()
230 struct x86_reg regmem ) in emit_modrm() argument238 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()[all …]