[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...
From: |
Thiemo Seufer |
Subject: |
Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip... |
Date: |
Thu, 21 Dec 2006 12:45:56 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Thiemo Seufer wrote:
> Fabrice Bellard wrote:
> > You should suppress the SIGN_EXTEND32() macro and just use an 'int32_t'
> > cast...
>
> Then it may not work. A MIPS64 CPU requires properly sign-extended
> 32bit values. Host architectures can define either sign- or zero-
> Extension for 32bit values in 64bit Registers.
Which makes no sense on a seond thought, as we support only 2-complement
machines anyway. I'll try to get rid of the SIGN_EXTEND32.
Thiemo
[Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip..., Thiemo Seufer, 2006/12/21