Re: [Qemu-devel] [PATCH 7/7] target-tricore: Add ftoi and itof instructions

2016-03-01 Thread Richard Henderson
On 03/01/2016 08:24 AM, Bastian Koppelmann wrote: > +env->FPU_FS = 0; > +if (get_float_exception_flags(&env->fp_status) & float_flag_invalid) { > +env->FPU_FI = (1 << 31); > +env->FPU_FS = 1; > +} > + > +if (get_float_exception_flags(&env->fp_status) & float_flag_ine

[Qemu-devel] [PATCH 7/7] target-tricore: Add ftoi and itof instructions

2016-03-01 Thread Bastian Koppelmann
Signed-off-by: Bastian Koppelmann --- target-tricore/fpu_helper.c | 46 + target-tricore/helper.h | 2 ++ target-tricore/translate.c | 6 ++ 3 files changed, 54 insertions(+) diff --git a/target-tricore/fpu_helper.c b/target-tricore/fpu_help