Re: [Qemu-devel] [PATCH_v3] add target-openrisc floating point exception

2012-12-10 Thread Wei-Ren Chen
Hi Feng, One question, > @@ -25,5 +25,5 @@ void HELPER(exception)(CPUOpenRISCState *env, > uint32_t excp) > { > OpenRISCCPU *cpu = OPENRISC_CPU(ENV_GET_CPU(env)); > > -raise_exception(cpu, excp); > +do_raise_exception(cpu, excp, 0); > } Shouldn't above helper function be ca

[Qemu-devel] [PATCH_v3] add target-openrisc floating point exception

2012-12-07 Thread Feng
From: Feng Gao This patch complete target-openrisc floating point exception. When float exception, the right PC can be saved, so exception handler could do proper processing, and back to the right address letting the program continue. The patch I have tested it ok. --- target-openrisc/exception