Re: [Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-24 Thread Yongbok Kim
> Or probably even better: > > ctx.ps = ((env->active_fpu.fcr0 >> FCR0_PS) & 1) || > (ctx->insn_flags & (INSN_LOONGSON2E | INSN_LOONGSON2F)) > Yes that is good. I will send updated version soon. Regards, Yongbok

Re: [Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-24 Thread Aurelien Jarno
On 2015-06-24 16:59, Aurelien Jarno wrote: > On 2015-06-24 15:24, Yongbok Kim wrote: > > On 24/06/2015 13:28, Aurelien Jarno wrote: > > > On 2015-06-23 16:38, Yongbok Kim wrote: > > >> 64-bit paired-single (PS) floating point data type is optional in the > > >> pre-Release 6. > > >> It has to raise

Re: [Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-24 Thread Aurelien Jarno
On 2015-06-24 15:24, Yongbok Kim wrote: > On 24/06/2015 13:28, Aurelien Jarno wrote: > > On 2015-06-23 16:38, Yongbok Kim wrote: > >> 64-bit paired-single (PS) floating point data type is optional in the > >> pre-Release 6. > >> It has to raise RI exception when PS type is not implemented. (FIR.PS

Re: [Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-24 Thread Yongbok Kim
On 24/06/2015 13:28, Aurelien Jarno wrote: > On 2015-06-23 16:38, Yongbok Kim wrote: >> 64-bit paired-single (PS) floating point data type is optional in the >> pre-Release 6. >> It has to raise RI exception when PS type is not implemented. (FIR.PS = 0) >> (The PS data type is removed in the Releas

Re: [Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-24 Thread Aurelien Jarno
On 2015-06-23 16:38, Yongbok Kim wrote: > 64-bit paired-single (PS) floating point data type is optional in the > pre-Release 6. > It has to raise RI exception when PS type is not implemented. (FIR.PS = 0) > (The PS data type is removed in the Release 6.) > > Signed-off-by: Yongbok Kim > Reviewed

[Qemu-devel] [PATCH v3 06/15] target-mips: raise RI exceptions when FIR.PS = 0

2015-06-23 Thread Yongbok Kim
64-bit paired-single (PS) floating point data type is optional in the pre-Release 6. It has to raise RI exception when PS type is not implemented. (FIR.PS = 0) (The PS data type is removed in the Release 6.) Signed-off-by: Yongbok Kim Reviewed-by: Leon Alrae --- target-mips/translate.c | 77 +