diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-25 07:19:05 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-25 07:19:05 +0000 |
commit | af51b8d56d8b45413757c72e2b26372fa4c96c65 (patch) | |
tree | 9d65fe3e4d7edc3c21f9eea996a4c1add8c4cd82 /sim/mips | |
parent | 7a3fb4e6ea07d9040490f74889599442ba520f62 (diff) | |
download | gdb-af51b8d56d8b45413757c72e2b26372fa4c96c65.zip gdb-af51b8d56d8b45413757c72e2b26372fa4c96c65.tar.gz gdb-af51b8d56d8b45413757c72e2b26372fa4c96c65.tar.bz2 |
Add/use SIM_AC_OPTION_BITSIZE.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/gencode.c | 44 |
1 files changed, 34 insertions, 10 deletions
diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index c6fe914..6c4e4ef 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -1095,6 +1095,9 @@ print_igen_insn_format (bitmap, mark, data_size, options, name) printf ("128"); break; /* end-sanitize-r5900 */ + case -1: + printf ("16"); + break; default: printf ("32"); } @@ -1116,16 +1119,37 @@ print_igen_insn_models (isa) printf ("*mipsII:\n"); case 3: printf ("*mipsIII:\n"); + /* start-sanitize-cygnus-never */ + printf ("// %s-%s-%s\n", "start", "sanitize", "r5900"); + /* end-sanitize-cygnus-never */ + /* start-sanitize-r5900 */ + printf ("*r5900:\n"); + /* end-sanitize-r5900 */ + /* start-sanitize-cygnus-never */ + printf ("// %s-%s-%s\n", "end", "sanitize", "r5900"); + /* end-sanitize-cygnus-never */ + printf ("*r3900:\n"); + /* start-sanitize-cygnus-never */ + printf ("// %s-%s-%s\n", "start", "sanitize", "tx19"); + /* end-sanitize-cygnus-never */ + /* start-sanitize-tx19 */ + printf ("*tx19:\n"); + /* end-sanitize-tx19 */ + /* start-sanitize-cygnus-never */ + printf ("// %s-%s-%s\n", "end", "sanitize", "tx19"); + /* end-sanitize-cygnus-never */ + break; + default: + /* processor specific ISAs */ + if ((isa & ARCH_VR4100)) + printf ("*vr4100:\n"); + /* start-sanitize-r5900 */ + if ((isa & ARCH_R5900)) + printf ("*r5900:\n"); + /* end-sanitize-r5900 */ + if ((isa & ARCH_R3900)) + printf ("*r3900:\n"); } - /* processor specific ISAs */ - if ((isa & ARCH_VR4100)) - printf ("*vr4100:\n"); - /* start-sanitize-r5900 */ - if ((isa & ARCH_R5900)) - printf ("*r5900:\n"); - /* end-sanitize-r5900 */ - if ((isa & ARCH_R3900)) - printf ("*r3900:\n"); } /*---------------------------------------------------------------------------*/ @@ -2345,7 +2369,7 @@ process_instructions(doarch,features) printf ("\n"); print_igen_insn_format (bitmap, MIPS16_DECODE[loop].mark, /* format-name */ - GETDATASIZEINSN (&MIPS16_DECODE[loop]), /* filter-flags */ + -1, /* filter-flags -- -1 => MIPS16 */ "", /* options */ MIPS16_DECODE[loop].name); printf ("*mips16:\n"); |