Re: [Qemu-devel] signed division overflow workaround

2011-08-12 Thread Max Filippov
>> Hello. >> >>> +            case 13: /*QUOSi*/ >>> +                tcg_gen_div_i32(cpu_R[RRR_R], cpu_R[RRR_S], cpu_R[RRR_T]); >>> +                break; >> >> I'm currently developing test suite for xtensa port and found that >> with this implementation of QUOS (signed 32-bit division) guest th

Re: [Qemu-devel] signed division overflow workaround

2011-08-12 Thread Peter Maydell
On 12 August 2011 10:44, Max Filippov wrote: > Hello. > >> +            case 13: /*QUOSi*/ >> +                tcg_gen_div_i32(cpu_R[RRR_R], cpu_R[RRR_S], cpu_R[RRR_T]); >> +                break; > > I'm currently developing test suite for xtensa port and found that > with this implementation of