mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
rename WORDS_BIGENDIAN to HOST_WORDS_BIGENDIAN
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
f0667e6607
commit
e2542fe2bc
36 changed files with 82 additions and 82 deletions
|
@ -150,7 +150,7 @@ unsigned int DoubleCPDO(const unsigned int opcode)
|
|||
case MNF_CODE:
|
||||
{
|
||||
unsigned int *p = (unsigned int*)&rFm;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#ifdef HOST_WORDS_BIGENDIAN
|
||||
p[0] ^= 0x80000000;
|
||||
#else
|
||||
p[1] ^= 0x80000000;
|
||||
|
@ -162,7 +162,7 @@ unsigned int DoubleCPDO(const unsigned int opcode)
|
|||
case ABS_CODE:
|
||||
{
|
||||
unsigned int *p = (unsigned int*)&rFm;
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
#ifdef HOST_WORDS_BIGENDIAN
|
||||
p[0] &= 0x7fffffff;
|
||||
#else
|
||||
p[1] &= 0x7fffffff;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue