diff options
author | Michal Krol <[email protected]> | 2006-05-16 10:11:29 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-05-16 10:11:29 +0000 |
commit | 0b9d7e477a5cdf1d7164bc4db56cbebbcff38fdc (patch) | |
tree | b32567ac035ea612232aff638be6731a15318f82 /src/mesa/x86 | |
parent | 969c43108e0a5a9f4669d59b784dd8a065b52914 (diff) |
Add functions.
Diffstat (limited to 'src/mesa/x86')
-rw-r--r-- | src/mesa/x86/rtasm/x86sse.c | 6 | ||||
-rw-r--r-- | src/mesa/x86/rtasm/x86sse.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c index 2ce1e648158..9f34004ba0c 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); diff --git a/src/mesa/x86/rtasm/x86sse.h b/src/mesa/x86/rtasm/x86sse.h index 94b320eadfc..430cf2f939d 100644 --- a/src/mesa/x86/rtasm/x86sse.h +++ b/src/mesa/x86/rtasm/x86sse.h @@ -197,6 +197,7 @@ void x87_fdiv( struct x86_function *p, struct x86_reg dst, struct x86_reg arg ); void x87_fdivp( struct x86_function *p, struct x86_reg dst ); void x87_fdivr( struct x86_function *p, struct x86_reg dst, struct x86_reg arg ); void x87_fdivrp( struct x86_function *p, struct x86_reg dst ); +void x87_fild( struct x86_function *p, struct x86_reg arg ); void x87_fist( struct x86_function *p, struct x86_reg dst ); void x87_fistp( struct x86_function *p, struct x86_reg dst ); void x87_fld( struct x86_function *p, struct x86_reg arg ); |