gallium: fix broken x86_call()
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 11 Apr 2008 19:20:52 +0000 (13:20 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 11 Apr 2008 20:19:31 +0000 (14:19 -0600)
src/gallium/auxiliary/rtasm/rtasm_x86sse.c

index 4d33950..aea8b28 100644 (file)
@@ -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