Fix a really stupid bug in the [ls]d[lr] emulation, by Herve Poussineau.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2773 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
608e8ce280
commit
9aca99a06d
@ -126,10 +126,10 @@ uint32_t glue(do_swr, MEMSUFFIX) (uint32_t tmp)
|
|||||||
|
|
||||||
#ifdef TARGET_MIPS64
|
#ifdef TARGET_MIPS64
|
||||||
|
|
||||||
# ifdef TARGET_WORDS_BIGENDIAN
|
#ifdef TARGET_WORDS_BIGENDIAN
|
||||||
#define GET_LMASK64(v) ((v) & 4)
|
#define GET_LMASK64(v) ((v) & 7)
|
||||||
#else
|
#else
|
||||||
#define GET_LMASK64(v) (((v) & 4) ^ 4)
|
#define GET_LMASK64(v) (((v) & 7) ^ 7)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void glue(do_ldl, MEMSUFFIX) (uint64_t tmp)
|
void glue(do_ldl, MEMSUFFIX) (uint64_t tmp)
|
||||||
|
Loading…
Reference in New Issue
Block a user