summaryrefslogtreecommitdiff
path: root/src/mesa/x86/rtasm/x86sse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/x86/rtasm/x86sse.c')
-rw-r--r--src/mesa/x86/rtasm/x86sse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index 2ce1e64815..9f34004ba0 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -629,6 +629,12 @@ void x87_fistp( struct x86_function *p, struct x86_reg dst )
emit_modrm_noreg(p, 3, dst);
}
+void x87_fild( struct x86_function *p, struct x86_reg arg )
+{
+ emit_1ub(p, 0xdf);
+ emit_modrm_noreg(p, 0, arg);
+}
+
void x87_fldz( struct x86_function *p )
{
emit_2ub(p, 0xd9, 0xee);