On Wednesday 03 October 2012 15:34:18 Steve Ellcey wrote: > This patch (created by Chao-ying and tested by me) adds the rdhwr > instruction to the mips simulator and fixes the gcc.dg/builtins-64.c > failure. > > OK to checkin? we don't have a mips/sim maintainer atm, so OK > --- a/sim/mips/mips3264r2.igen > +++ b/sim/mips/mips3264r2.igen > > +011111,00000,5.RT,5.RD,00000,111011::32::RDHWR > +"rdhwr r, r" > +*mips32r2: > +*mips64r2: > +{ > + // Return 0 for all hardware registers currently we don't use // comments, but it looks like all of the mips igen files suffer from this, so that would be something to fix independently. -mike