For mips get_mem_size call. Force the return of a 32 bit value
authorAndrew Cagney <cagney@redhat.com>
Thu, 2 Apr 1998 03:27:24 +0000 (03:27 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 2 Apr 1998 03:27:24 +0000 (03:27 +0000)
regardless of the target's word bitsize.

sim/mips/ChangeLog
sim/mips/interp.c
sim/mips/mips.igen

index ce6e9e5024acdd84f982b6550644de0a405801d0..fd917287855e38c7ca684766c14cda6833c1aceb 100644 (file)
@@ -1,9 +1,19 @@
+Thu Apr  2 10:59:39 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * interp.c (sim_monitor): get_mem_info returns a 4 byte quantity,
+       not an address sized quantity.  Return zero for cache sizes.
+
+Wed Apr  1 23:47:53 1998  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * mips.igen (r3900): r3900 does not support 64 bit integer
+       operations.
+
 start-sanitize-sky
 Wed Apr 1 08:20:31 1998  Frank Ch. Eigler  <fche@cygnus.com>
 
        * mips.igen (SQC2/LQC2): Make bodies sky-target-only also.
-end-sanitize-sky
        
+end-sanitize-sky
 start-sanitize-sky
 Mon Mar 30 18:41:43 1998  Frank Ch. Eigler  <fche@cygnus.com>
 
index 3268ab19410ce6595b93c11473d9ae6794d1aa51..7be7ac6dc3908016000437b1b6fecc2f72964d3a 100644 (file)
@@ -1123,9 +1123,12 @@ sim_monitor (SIM_DESC sd,
       /*      [A0 + 4] = instruction cache size */
       /*      [A0 + 8] = data cache size */
       {
-       address_word value = MEM_SIZE /* FIXME STATE_MEM_SIZE (sd) */;
+       unsigned_4 value = MEM_SIZE /* FIXME STATE_MEM_SIZE (sd) */;
+       unsigned_4 zero = 0;
        H2T (value);
-       sim_write (sd, A0, (char *)&value, sizeof (value));
+       sim_write (sd, A0 + 0, (char *)&value, 4);
+       sim_write (sd, A0 + 4, (char *)&zero, 4);
+       sim_write (sd, A0 + 8, (char *)&zero, 4);
        /* sim_io_eprintf (sd, "sim: get_mem_info() depreciated\n"); */
        break;
       }
index 37c4debfb7f34644a5e84dd2405dcefbe54b1dc1..60a37e6ff925909d51fe877b8ca1539a96ca4e24 100644 (file)
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 "ddivu r<RS>, r<RT>"
 *mipsIII:
 *mipsIV:
-*r3900:
 *vr5000:
 // start-sanitize-vr4320
 *vr4320:
 000000,5.RS,5.RT,0000000000011100:SPECIAL:64::DMULT
 "dmult r<RS>, r<RT>"
 *mipsIII,mipsIV:
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 000000,5.RS,5.RT,0000000000011101:SPECIAL:64::DMULTU
 "dmultu r<RS>, r<RT>"
 *mipsIII,mipsIV:
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19
 // start-sanitize-r5900
 *r5900:
 // end-sanitize-r5900
-*r3900:
 // start-sanitize-tx19
 *tx19:
 // end-sanitize-tx19