Home
last modified time | relevance | path

Searched refs:regmem (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.c95 struct x86_reg regmem ) in emit_modrm() argument
101 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() argument
136 emit_modrm(p, dummy, regmem); in emit_modrm_noreg()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.c230 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()
[all …]