diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-16 19:28:58 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-01-16 19:28:58 +0000 |
commit | dabd98ddf501ab9e28905f64a28282be96840a2d (patch) | |
tree | 7de0d018b25dc2d3911cdeaaab9338c7207ed2cf /target-i386/ops_sse.h | |
parent | daf90626beeb5f20504c593f01604a554f7ef232 (diff) |
fixed movd mmx/sse insn
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2321 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386/ops_sse.h')
-rw-r--r-- | target-i386/ops_sse.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target-i386/ops_sse.h b/target-i386/ops_sse.h index cdc3801200..df1527c554 100644 --- a/target-i386/ops_sse.h +++ b/target-i386/ops_sse.h @@ -558,6 +558,25 @@ void OPPROTO glue(op_movl_T0_mm, SUFFIX) (void) T0 = s->L(0); } +#ifdef TARGET_X86_64 +void OPPROTO glue(op_movq_mm_T0, SUFFIX) (void) +{ + Reg *d; + d = (Reg *)((char *)env + PARAM1); + d->Q(0) = T0; +#if SHIFT == 1 + d->Q(1) = 0; +#endif +} + +void OPPROTO glue(op_movq_T0_mm, SUFFIX) (void) +{ + Reg *s; + s = (Reg *)((char *)env + PARAM1); + T0 = s->Q(0); +} +#endif + #if SHIFT == 0 void OPPROTO glue(op_pshufw, SUFFIX) (void) { |