From: Keith Whitwell Date: Fri, 11 Apr 2008 19:20:52 +0000 (-0600) Subject: gallium: fix broken x86_call() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4d184cc33131b440f9aafbcdd2d657050411db49;p=mesa.git gallium: fix broken x86_call() --- diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c index 4d33950e99a..aea8b28e584 100644 --- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c +++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c @@ -317,7 +317,7 @@ void x86_call( struct x86_function *p, void (*label)()) void x86_call( struct x86_function *p, struct x86_reg reg) { emit_1ub(p, 0xff); - emit_modrm(p, reg, reg); + emit_modrm_noreg(p, 2, reg); } #endif