Re: [Qemu-devel] [PATCH v3 05/16] target-m68k: use floatx80 internally

2017-02-15 Thread Richard Henderson
On 02/07/2017 11:59 AM, Laurent Vivier wrote: +uint32_t fp0h; +uint64_t fp0l; +uint32_t fp1h; +uint64_t fp1l; I'm not especially keen on these temporaries. Wouldn't it be better to pass pointers to FPReg to the helpers, so that e.g. fadd.x fp0, fp1 puts the result in fp1 d

[Qemu-devel] [PATCH v3 05/16] target-m68k: use floatx80 internally

2017-02-06 Thread Laurent Vivier
Coldfire uses float64, but 680x0 use floatx80. This patch introduces the use of floatx80 internally and enables 680x0 80bits FPU. Signed-off-by: Laurent Vivier --- target/m68k/cpu.c| 13 +- target/m68k/cpu.h| 10 +- target/m68k/fpu_helper.c | 202 +--- target/m68k/h