diff options
-rw-r--r-- | target/i386/ops_sse.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/i386/ops_sse.h b/target/i386/ops_sse.h index 9f1b35194c..ed05989768 100644 --- a/target/i386/ops_sse.h +++ b/target/i386/ops_sse.h @@ -1710,10 +1710,10 @@ void glue(helper_phminposuw, SUFFIX)(CPUX86State *env, Reg *d, Reg *s) idx = 7; } - d->Q(1) = 0; - d->L(1) = 0; - d->W(1) = idx; d->W(0) = s->W(idx); + d->W(1) = idx; + d->L(1) = 0; + d->Q(1) = 0; } void glue(helper_roundps, SUFFIX)(CPUX86State *env, Reg *d, Reg *s, |