Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread Thiemo Seufer
André Braga wrote: > On 12/21/06, Thiemo Seufer <[EMAIL PROTECTED]> 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 architecture

Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread André Braga
On 12/21/06, Thiemo Seufer <[EMAIL PROTECTED]> 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- Ex

[Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 06/12/21 13:48:28 Modified files: hw : mips_r4k.c target-mips: cpu.h helper.c op.c op_helper.c translate.c Log message: Scrap SIGN_EXTEND32. CVSWeb URLs: http://cvs.sav

Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread Thiemo Seufer
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 va

Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread Thiemo Seufer
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. Thiemo

Re: [Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-21 Thread Fabrice Bellard
You should suppress the SIGN_EXTEND32() macro and just use an 'int32_t' cast... Fabrice. Thiemo Seufer wrote: CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer06/12/21 01:19:56 Modified files: hw : mips_r4k.c target-mips: cpu.h exec.h

[Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-20 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 06/12/21 01:19:56 Modified files: hw : mips_r4k.c target-mips: cpu.h exec.h fop_template.c helper.c mips-defs.h op.c op_helper.c op_helper_mem.c

[Qemu-devel] qemu hw/mips_r4k.c target-mips/cpu.h target-mip...

2006-12-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 06/12/06 17:48:53 Modified files: hw : mips_r4k.c target-mips: cpu.h translate.c Log message: Halt/reboot support for Linux, by Daniel Jacobowitz. This is a band-aid