On Sun, Apr 19, 2020 at 09:25:28PM +0200, Luc Michel wrote: > Hi Edgar, > > On 4/17/20 9:10 PM, Edgar E. Iglesias wrote: > > From: "Edgar E. Iglesias" <edgar.igles...@xilinx.com> > > > > Add the div-zero-exception property to control if the core > > traps divizions by zero. > > > > Signed-off-by: Edgar E. Iglesias <edgar.igles...@xilinx.com> > > ---
... > > } > > > > I don't know the Microblaze but don't you need to set pvr.regs[2] in > mb_cpu_realizefn as you do in previous patches? > > Something like: > > env->pvr.regs[2] |= > ... > (cpu->cfg.div_zero_exception ? > PVR2_DIV_ZERO_EXC_MASK : 0) | > ... Yes you're right Luc. I'll post a v2 shortly. Thanks, Edgar