This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, simulator, mips] Add rdhwr instruction to mips simulator


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<RT>, r<RD>"
> +*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

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]