Search
lxdream.org :: lxdream/src/sh4/x86op.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/x86op.h
changeset 375:4627600f7f8e
prev374:8f80a795513e
next377:fa18743f6905
author nkeynes
date Tue Sep 11 21:23:48 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Start in on the FP instructions (simplest possible impl)
file annotate diff log raw
1.1 --- a/src/sh4/x86op.h Tue Sep 11 02:14:46 2007 +0000
1.2 +++ b/src/sh4/x86op.h Tue Sep 11 21:23:48 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: x86op.h,v 1.4 2007-09-11 02:14:46 nkeynes Exp $
1.6 + * $Id: x86op.h,v 1.5 2007-09-11 21:23:48 nkeynes Exp $
1.7 *
1.8 * Definitions of x86 opcodes for use by the translator.
1.9 *
1.10 @@ -152,6 +152,8 @@
1.11 #define FADDP_st(st) OP(0xDE); OP(0xC0+st)
1.12 #define FCHS_st0() OP(0xD9); OP(0xE0)
1.13 #define FDIVP_st(st) OP(0xDE); OP(0xF8+st)
1.14 +#define FILD_sh4r(disp) OP(0xDB); MODRM_sh4r_r32(disp, 0)
1.15 +#define FISTTP_shr4(disp) OP(0xDB); MODRM_sh4r_r32(disp, 1)
1.16 #define FMULP_st(st) OP(0xDE); OP(0xC8+st)
1.17 #define FSUB_st(st) OP(0xDE); OP(0xE8+st)
1.18 #define FSQRT_st0() OP(0xD9); OP(0xFA)
.