Search
lxdream.org :: lxdream/src/sh4/x86op.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/x86op.h
changeset 394:7eb172bfeefe
prev388:13bae2fb0373
next527:14c9489f647e
author nkeynes
date Wed Sep 19 09:15:18 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Fix SUBC (not updating T), FTRC (not truncating), and XTRCT (just b0rked)
file annotate diff log raw
1.1 --- a/src/sh4/x86op.h Tue Sep 18 08:59:00 2007 +0000
1.2 +++ b/src/sh4/x86op.h Wed Sep 19 09:15:18 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: x86op.h,v 1.9 2007-09-18 08:59:00 nkeynes Exp $
1.6 + * $Id: x86op.h,v 1.10 2007-09-19 09:15:18 nkeynes Exp $
1.7 *
1.8 * Definitions of x86 opcodes for use by the translator.
1.9 *
1.10 @@ -176,7 +176,9 @@
1.11 #define FISTP_sh4r(disp) OP(0xDB); MODRM_r32_sh4r(3, disp)
1.12 #define FLD0_st0() OP(0xD9); OP(0xEE);
1.13 #define FLD1_st0() OP(0xD9); OP(0xE8);
1.14 +#define FLDCW_r32ind(r32) OP(0xD9); OP(0x28+r32)
1.15 #define FMULP_st(st) OP(0xDE); OP(0xC8+st)
1.16 +#define FNSTCW_r32ind(r32) OP(0xD9); OP(0x38+r32)
1.17 #define FPOP_st() OP(0xDD); OP(0xC0); OP(0xD9); OP(0xF7)
1.18 #define FSUBP_st(st) OP(0xDE); OP(0xE8+st)
1.19 #define FSQRT_st0() OP(0xD9); OP(0xFA)
.