Re: [Qemu-devel] [PATCH 1/7] target-tricore: Add FPU infrastructure

2016-03-01 Thread Richard Henderson
On 03/01/2016 08:24 AM, Bastian Koppelmann wrote: > +static inline void f_update_psw_flags(CPUTriCoreState *env, bool calc_z) You probably need it for compiling this intermediate patch, but probably drop inline and let the compiler choose. This is quite a bit of code after all... > +{ > +int

[Qemu-devel] [PATCH 1/7] target-tricore: Add FPU infrastructure

2016-03-01 Thread Bastian Koppelmann
This patch adds a file for all the FPU related helpers with all the includes, useful defines, and a function to update the status bits. Additionally it adds a mask for the rounding mode bits of PSW as well as all the opcodes for the FPU instructions. Signed-off-by: Bastian Koppelmann --- target-