Re: [Qemu-devel] [PATCH 06/10] target-mips: add microMIPS ASE support

2010-06-04 Thread Nathan Froyd
On Fri, Jun 04, 2010 at 11:30:38AM -0700, Richard Henderson wrote: > On 05/24/2010 09:19 AM, Nathan Froyd wrote: > > +int (*ldfun)(target_ulong); > > + > > +switch (mem_idx) > > +{ > > +case 0: ldfun = ldl_kernel; break; > > +case 1: ldfun = ldl_super; break; > > +default: >

Re: [Qemu-devel] [PATCH 06/10] target-mips: add microMIPS ASE support

2010-06-04 Thread Richard Henderson
On 05/24/2010 09:19 AM, Nathan Froyd wrote: > +int (*ldfun)(target_ulong); > + > +switch (mem_idx) > +{ > +case 0: ldfun = ldl_kernel; break; > +case 1: ldfun = ldl_super; break; > +default: > +case 2: ldfun = ldl_user; break; > +} This *should* now be a compile err