diff options
author | Chris Demetriou <cgd@google.com> | 2002-02-11 23:35:07 +0000 |
---|---|---|
committer | Chris Demetriou <cgd@google.com> | 2002-02-11 23:35:07 +0000 |
commit | 074e9cb8653eb4a111b71ec2bb4a096294724d7a (patch) | |
tree | 7574609106383d41ed472f90a2161cfa22a6e3d3 /sim | |
parent | 5111c622d6665c48b498c185b3e8493baaa1f88a (diff) | |
download | fsf-binutils-gdb-074e9cb8653eb4a111b71ec2bb4a096294724d7a.zip fsf-binutils-gdb-074e9cb8653eb4a111b71ec2bb4a096294724d7a.tar.gz fsf-binutils-gdb-074e9cb8653eb4a111b71ec2bb4a096294724d7a.tar.bz2 |
2002-02-11 Chris Demetriou <cgd@broadcom.com>
* mips.igen: Add some additional comments about supported
models, and about which instructions go where.
(BC1b, MFC0, MTC0, RFE): Sort supported models in the same
order as is used in the rest of the file.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/mips/ChangeLog | 7 | ||||
-rw-r--r-- | sim/mips/mips.igen | 34 |
2 files changed, 32 insertions, 9 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index e7d21dc..97fa2ec 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,5 +1,12 @@ 2002-02-11 Chris Demetriou <cgd@broadcom.com> + * mips.igen: Add some additional comments about supported + models, and about which instructions go where. + (BC1b, MFC0, MTC0, RFE): Sort supported models in the same + order as is used in the rest of the file. + +2002-02-11 Chris Demetriou <cgd@broadcom.com> + * mips.igen (ADD, ADDI, DADDI, DSUB, SUB): Add comment indicating that ALU32_END or ALU64_END are there to check for overflow. diff --git a/sim/mips/mips.igen b/sim/mips/mips.igen index 6576b77..80090a2 100644 --- a/sim/mips/mips.igen +++ b/sim/mips/mips.igen @@ -34,16 +34,32 @@ // :option:::multi-sim:true -// Models known by this simulator +// Models known by this simulator are defined below. + +// MIPS ISAs: +// +// Instructions and related functions for these models are included in +// this file. :model:::mipsI:mips3000: :model:::mipsII:mips6000: :model:::mipsIII:mips4000: :model:::mipsIV:mips8000: -:model:::mips16:mips16: -:model:::r3900:mips3900: -:model:::vr4100:mips4100: + +// Vendor ISAs: +// +// Standard MIPS ISA instructions used for these models are listed here, +// as are functions needed by those standard instructions. Instructions +// which are model-dependent and which are not in the standard MIPS ISAs +// (or which pre-date or use different encodings than the standard +// instructions) are (for the most part) in separate .igen files. +:model:::vr4100:mips4100: // vr.igen :model:::vr5000:mips5000: +:model:::r3900:mips3900: // tx.igen +// MIPS Application Specific Extensions (ASEs) +// +// Instructions for the ASEs are in separate .igen files. +:model:::mips16:mips16: // m16.igen (and m16.dc) // Pseudo instructions known by IGEN @@ -219,7 +235,7 @@ // -// Mips Architecture: +// MIPS Architecture: // // CPU Instruction Set (mipsI - mipsIV) // @@ -2708,8 +2724,8 @@ "bc1%s<TF>%s<ND> <OFFSET>":CC == 0 "bc1%s<TF>%s<ND> <CC>, <OFFSET>" *mipsIV: -*vr5000: #*vr4100: +*vr5000: *r3900: { check_branch_bug (); @@ -3863,9 +3879,9 @@ 010000,00000,5.RT,5.RD,00000,6.REGX:COP0:32::MFC0 "mfc0 r<RT>, r<RD> # <REGX>" *mipsI,mipsII,mipsIII,mipsIV: -*r3900: *vr4100: *vr5000: +*r3900: { TRACE_ALU_INPUT0 (); DecodeCoproc (instruction_0); @@ -3875,9 +3891,9 @@ 010000,00100,5.RT,5.RD,00000,6.REGX:COP0:32::MTC0 "mtc0 r<RT>, r<RD> # <REGX>" *mipsI,mipsII,mipsIII,mipsIV: -*r3900: *vr4100: *vr5000: +*r3900: { DecodeCoproc (instruction_0); } @@ -3886,9 +3902,9 @@ 010000,1,0000000000000000000,010000:COP0:32::RFE "rfe" *mipsI,mipsII,mipsIII,mipsIV: -*r3900: *vr4100: *vr5000: +*r3900: { DecodeCoproc (instruction_0); } |