Searched refs:regmem (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/x86/rtasm/ |
D | x86sse.c | 91 struct x86_reg regmem ) in emit_modrm() argument 97 val |= regmem.mod << 6; /* mod field */ in emit_modrm() 99 val |= regmem.idx; /* r/m field */ in emit_modrm() 105 if (regmem.file == file_REG32 && in emit_modrm() 106 regmem.idx == reg_SP) { in emit_modrm() 110 switch (regmem.mod) { in emit_modrm() 115 emit_1b(p, regmem.disp); in emit_modrm() 118 emit_1i(p, regmem.disp); in emit_modrm() 129 struct x86_reg regmem ) in emit_modrm_noreg() argument 132 emit_modrm(p, dummy, regmem); in emit_modrm_noreg()
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_x86sse.c | 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() [all …]
|
/external/valgrind/VEX/priv/ |
D | host_x86_defs.c | 1864 inline static UChar mkModRegRM ( UInt mod, UInt reg, UInt regmem ) in mkModRegRM() argument 1867 vassert((reg|regmem) < 8); in mkModRegRM() 1868 return (UChar)( ((mod & 3) << 6) | ((reg & 7) << 3) | (regmem & 7) ); in mkModRegRM()
|
D | host_amd64_defs.c | 1989 inline static UChar mkModRegRM ( UInt mod, UInt reg, UInt regmem ) in mkModRegRM() argument 1992 vassert((reg|regmem) < 8); in mkModRegRM() 1993 return (UChar)( ((mod & 3) << 6) | ((reg & 7) << 3) | (regmem & 7) ); in mkModRegRM()
|