| 1 | 2017-09-06 John Baldwin <jhb@FreeBSD.org> |
| 2 | |
| 3 | * configure: Regenerate. |
| 4 | |
| 5 | 2017-02-13 Mike Frysinger <vapier@gentoo.org> |
| 6 | |
| 7 | * decode.c (m32rbf_init_idesc_table): Use ARRAY_SIZE. |
| 8 | * decode2.c (m32r2f_init_idesc_table): Likewise. |
| 9 | * decodex.c (m32rxf_init_idesc_table): Likewise. |
| 10 | |
| 11 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 12 | |
| 13 | * config.in, configure: Regenerate. |
| 14 | |
| 15 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 16 | |
| 17 | * configure: Regenerate. |
| 18 | |
| 19 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 20 | |
| 21 | * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call. |
| 22 | * configure: Regenerate. |
| 23 | |
| 24 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 25 | |
| 26 | * configure: Regenerate. |
| 27 | |
| 28 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 29 | |
| 30 | * configure: Regenerate. |
| 31 | |
| 32 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 33 | |
| 34 | * configure.ac (SIM_AC_OPTION_INLINE): Delete call. |
| 35 | * configure: Regenerate. |
| 36 | |
| 37 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 38 | |
| 39 | * configure: Regenerate. |
| 40 | |
| 41 | 2016-01-10 Mike Frysinger <vapier@gentoo.org> |
| 42 | |
| 43 | * configure: Regenerate. |
| 44 | |
| 45 | 2016-01-09 Mike Frysinger <vapier@gentoo.org> |
| 46 | |
| 47 | * config.in, configure: Regenerate. |
| 48 | |
| 49 | 2016-01-06 Mike Frysinger <vapier@gentoo.org> |
| 50 | |
| 51 | * sim-if.c (sim_open): Mark argv const. |
| 52 | (sim_create_inferior): Mark argv and env const. |
| 53 | |
| 54 | 2016-01-04 Mike Frysinger <vapier@gentoo.org> |
| 55 | |
| 56 | * configure: Regenerate. |
| 57 | |
| 58 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
| 59 | |
| 60 | * sim-if.c (sim_open): Update sim_parse_args comment. |
| 61 | |
| 62 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
| 63 | |
| 64 | * TODO: Delete file. |
| 65 | |
| 66 | 2016-01-03 Mike Frysinger <vapier@gentoo.org> |
| 67 | |
| 68 | * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. |
| 69 | * configure: Regenerate. |
| 70 | * traps-linux.c (conv_endian): Change CURRENT_HOST_BYTE_ORDER |
| 71 | to HOST_BYTE_ORDER. |
| 72 | (conv_endian16): Likewise. |
| 73 | |
| 74 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
| 75 | |
| 76 | * arch.h (TARGET_BIG_ENDIAN): Delete. |
| 77 | * configure.ac (SIM_AC_OPTION_ENDIAN): Change BIG_ENDIAN to BIG. |
| 78 | * configure: Regenerate. |
| 79 | * traps-linux.c (conv_endian): Change LITTLE_ENDIAN to |
| 80 | BFD_ENDIAN_LITTLE. |
| 81 | (conv_endian16): Likewise. |
| 82 | |
| 83 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
| 84 | |
| 85 | * sim-if.c (sim_open): Delete #if 0 sim_add_option_table call. |
| 86 | |
| 87 | 2016-01-02 Mike Frysinger <vapier@gentoo.org> |
| 88 | |
| 89 | * sim-if.c (current_state): Delete. |
| 90 | (sim_open): Delete current_state assignment. |
| 91 | |
| 92 | 2015-12-27 Mike Frysinger <vapier@gentoo.org> |
| 93 | |
| 94 | * Makefile.in (SIM_OBJS): Delete sim-hload.o. |
| 95 | |
| 96 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
| 97 | |
| 98 | * config.in, configure: Regenerate. |
| 99 | |
| 100 | 2015-12-26 Mike Frysinger <vapier@gentoo.org> |
| 101 | |
| 102 | * sim-if.c (sim_create_inferior): Replace old #if 0 code with dupargv. |
| 103 | |
| 104 | 2015-12-25 Mike Frysinger <vapier@gentoo.org> |
| 105 | |
| 106 | * configure.ac (SIM_AC_OPTION_HARDWARE): Add m32r_cache & m32r_uart. |
| 107 | * configure: Regenerate. |
| 108 | * devices.c: Delete file. |
| 109 | * dv-m32r_cache.c, dv-m32r_cache.h: New cache model with logic from |
| 110 | devices.c. |
| 111 | * dv-m32r_uart.c, dv-m32r_uart.h: New uart model with logic from |
| 112 | devices.c. |
| 113 | * m32r-sim.h: Move cache defines to dv-m32r_cache.h and uart defines |
| 114 | to dv-m32r_uart.h. |
| 115 | * Makefile.in (SIM_OBJS): Delete devices.o. |
| 116 | * sim-if.c: Include dv-m32r_uart.h. |
| 117 | (sim_open): Replace sim_core_attach call with sim_hw_parse calls. |
| 118 | * tconfig.h: Delete file. |
| 119 | |
| 120 | 2015-12-25 Mike Frysinger <vapier@gentoo.org> |
| 121 | |
| 122 | * Makefile.in (SIM_OBJS): Delete sim-model.o. |
| 123 | |
| 124 | 2015-12-25 Mike Frysinger <vapier@gentoo.org> |
| 125 | |
| 126 | * arch.c: Rename MACH to SIM_MACH. |
| 127 | * cpuall.h: Likewise. |
| 128 | * model.c: Rename MACH to SIM_MACH, MACH_IMP_PROPERTIES to |
| 129 | SIM_MACH_IMP_PROPERTIES, and MODEL to SIM_MODEL. |
| 130 | * model2.c, modelx.c: Likewise. |
| 131 | |
| 132 | 2015-12-25 Mike Frysinger <vapier@gentoo.org> |
| 133 | |
| 134 | * sim-main.h (WITH_SCACHE_PBB): Move from ... |
| 135 | * tconfig.h (WITH_SCACHE_PBB): ... here. |
| 136 | |
| 137 | 2015-12-25 Mike Frysinger <vapier@gentoo.org> |
| 138 | |
| 139 | * devices.c (device_error): Delete. |
| 140 | |
| 141 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
| 142 | |
| 143 | * tconfig.h (SIM_HANDLES_LMA): Delete. |
| 144 | |
| 145 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
| 146 | |
| 147 | * tconfig.h (SIM_HAVE_BREAKPOINTS, SIM_BREAKPOINT, |
| 148 | SIM_BREAKPOINT_SIZE): Delete. |
| 149 | * traps-linux.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Delete sim |
| 150 | breakpoint code. |
| 151 | * traps.c [SIM_HAVE_BREAKPOINTS] (m32r_trap): Likewise. |
| 152 | |
| 153 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
| 154 | |
| 155 | * tconfig.h (WITH_WATCHPOINTS): Delete. |
| 156 | |
| 157 | 2015-12-24 Mike Frysinger <vapier@gentoo.org> |
| 158 | |
| 159 | * tconfig.h (SIM_HAVE_MEM_SIZE): Delete. |
| 160 | |
| 161 | 2015-11-15 Mike Frysinger <vapier@gentoo.org> |
| 162 | |
| 163 | * Makefile.in (SIM_OBJS): Delete sim-reason.o, sim-reg.o, and |
| 164 | sim-stop.o. |
| 165 | |
| 166 | 2015-11-14 Mike Frysinger <vapier@gentoo.org> |
| 167 | |
| 168 | * sim-if.c (sim_close): Delete. |
| 169 | |
| 170 | 2015-06-23 Mike Frysinger <vapier@gentoo.org> |
| 171 | |
| 172 | * configure: Regenerate. |
| 173 | |
| 174 | 2015-06-17 Mike Frysinger <vapier@gentoo.org> |
| 175 | |
| 176 | * traps.c (m32r_trap): Replace call to cb_syscall with |
| 177 | sim_syscall_multi. |
| 178 | * traps-linux.c (m32r_trap): Likewise. |
| 179 | |
| 180 | 2015-06-17 Mike Frysinger <vapier@gentoo.org> |
| 181 | |
| 182 | * traps-linux.c: Include sim-syscall.h. |
| 183 | (syscall_read_mem, syscall_write_mem): Delete. |
| 184 | (m32r_trap): Change syscall_read_mem/syscall_write_mem |
| 185 | to sim_syscall_read_mem/sim_syscall_write_mem. |
| 186 | * traps.c: Include sim-syscall.h. |
| 187 | (syscall_read_mem, syscall_write_mem): Delete. |
| 188 | (m32r_trap): Change syscall_read_mem/syscall_write_mem |
| 189 | to sim_syscall_read_mem/sim_syscall_write_mem. |
| 190 | |
| 191 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
| 192 | |
| 193 | * configure: Regenerate. |
| 194 | |
| 195 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
| 196 | |
| 197 | * configure: Regenerate. |
| 198 | |
| 199 | 2015-06-12 Mike Frysinger <vapier@gentoo.org> |
| 200 | |
| 201 | * decode.c (m32rbf_decode): Change TRACE_EXTRACT to CGEN_TRACE_EXTRACT. |
| 202 | * decode2.c (m32r2f_decode): Likewise. |
| 203 | * decodex.c (m32rxf_decode): Likewise. |
| 204 | * mloop.in (execute): Change TRACE_INSN_INIT to CGEN_TRACE_INSN_INIT, |
| 205 | TRACE_INSN to CGEN_TRACE_INSN, and TRACE_INSN_FINI to CGEN_TRACE_INSN_FINI. |
| 206 | * sem.c: Rename TRACE_RESULT to CGEN_TRACE_RESULT. |
| 207 | * sem-switch.c: Likewise. |
| 208 | * sem-switch2.c: Likewise. |
| 209 | * sem-switchx.c: Likewise. |
| 210 | |
| 211 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
| 212 | |
| 213 | * sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete. |
| 214 | |
| 215 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
| 216 | |
| 217 | * sim-main.h (USING_SIM_BASE_H): Delete. |
| 218 | |
| 219 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
| 220 | |
| 221 | * sim-main.h (_sim_cpu, SIM_CPU): Delete. |
| 222 | |
| 223 | 2015-04-18 Mike Frysinger <vapier@gentoo.org> |
| 224 | |
| 225 | * sim-main.h (sim_cia): Delete. |
| 226 | |
| 227 | 2015-04-17 Mike Frysinger <vapier@gentoo.org> |
| 228 | |
| 229 | * sim-main.h (CIA_GET, CIA_SET): Delete. |
| 230 | |
| 231 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
| 232 | |
| 233 | * Makefile.in (SIM_OBJS): Delete sim-cpu.o. |
| 234 | * sim-main.h (STATE_CPU): Delete. |
| 235 | |
| 236 | 2015-04-15 Mike Frysinger <vapier@gentoo.org> |
| 237 | |
| 238 | * sim-main.h (struct sim_state): Change cpu to an array of pointers. |
| 239 | (STATE_CPU): Handle WITH_SMP. |
| 240 | |
| 241 | 2015-04-13 Mike Frysinger <vapier@gentoo.org> |
| 242 | |
| 243 | * configure: Regenerate. |
| 244 | |
| 245 | 2015-04-06 Mike Frysinger <vapier@gentoo.org> |
| 246 | |
| 247 | * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. |
| 248 | |
| 249 | 2015-03-31 Mike Frysinger <vapier@gentoo.org> |
| 250 | |
| 251 | * config.in, configure: Regenerate. |
| 252 | |
| 253 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
| 254 | |
| 255 | * sim-if.c (sim_open): Delete dv_sockser_install call. |
| 256 | |
| 257 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
| 258 | |
| 259 | * configure: Regenerate. |
| 260 | |
| 261 | 2015-03-24 Mike Frysinger <vapier@gentoo.org> |
| 262 | |
| 263 | * configure: Regenerate. |
| 264 | |
| 265 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
| 266 | |
| 267 | * configure: Regenerate. |
| 268 | |
| 269 | 2015-03-23 Mike Frysinger <vapier@gentoo.org> |
| 270 | |
| 271 | * configure: Regenerate. |
| 272 | |
| 273 | 2015-03-16 Mike Frysinger <vapier@gentoo.org> |
| 274 | |
| 275 | * aclocal.m4, config.in, configure: Regenerate. |
| 276 | * tconfig.in: Rename file ... |
| 277 | * tconfig.h: ... here. |
| 278 | |
| 279 | 2015-03-15 Mike Frysinger <vapier@gentoo.org> |
| 280 | |
| 281 | * tconfig.in [HAVE_DV_SOCKSER]: Delete. |
| 282 | |
| 283 | 2015-03-14 Mike Frysinger <vapier@gentoo.org> |
| 284 | |
| 285 | * Makefile.in (SIM_RUN_OBJS): Delete. |
| 286 | |
| 287 | 2014-08-23 Hans-Peter Nilsson <hp@axis.com> |
| 288 | |
| 289 | * configure.ac: Default simulator hardware to off again. Remove |
| 290 | dead m32r_extra_objs substitution. |
| 291 | * configure: Regenerate. |
| 292 | * Makefile.in: Remove unused m32r_extra_objs. |
| 293 | |
| 294 | 2014-08-19 Alan Modra <amodra@gmail.com> |
| 295 | |
| 296 | * configure: Regenerate. |
| 297 | |
| 298 | 2014-08-15 Roland McGrath <mcgrathr@google.com> |
| 299 | |
| 300 | * configure: Regenerate. |
| 301 | * config.in: Regenerate. |
| 302 | |
| 303 | 2013-09-23 Alan Modra <amodra@gmail.com> |
| 304 | |
| 305 | * configure: Regenerate. |
| 306 | |
| 307 | 2013-06-03 Mike Frysinger <vapier@gentoo.org> |
| 308 | |
| 309 | * aclocal.m4, configure: Regenerate. |
| 310 | |
| 311 | 2013-03-30 Joel Sherrill <joel.sherrill@oarcorp.com> |
| 312 | Mike Frysinger <vapier@gentoo.org> |
| 313 | |
| 314 | * configure.ac: Add m32r_extra_objs. Change simulator hardware |
| 315 | from always on to defaulting to yes it is enabled. |
| 316 | * Makefile.in: Conditionalize reference to dv-sockser.o. |
| 317 | * tconfig.in: Delete HAVE_DV_SOCKSER logic that was under "#if 0". |
| 318 | * configure: Regenerated. |
| 319 | |
| 320 | 2013-03-26 Mike Frysinger <vapier@gentoo.org> |
| 321 | |
| 322 | * configure: Regenerate. |
| 323 | |
| 324 | 2013-03-23 Joel Sherrill <joel.sherrill@oarcorp.com> |
| 325 | |
| 326 | * configure.ac: Fail if dv-sockser.o not available. |
| 327 | Error when --disable-sim-hardware is specified. |
| 328 | * configure: Regenerated. |
| 329 | |
| 330 | 2012-06-15 Joel Brobecker <brobecker@adacore.com> |
| 331 | |
| 332 | * config.in, configure: Regenerate. |
| 333 | |
| 334 | 2012-03-25 Mike Frysinger <vapier@gentoo.org> |
| 335 | |
| 336 | * traps-linux.c (sim_core_trans_addr): Delete prototype. |
| 337 | |
| 338 | 2012-03-24 Mike Frysinger <vapier@gentoo.org> |
| 339 | |
| 340 | * aclocal.m4, config.in, configure: Regenerate. |
| 341 | |
| 342 | 2011-12-03 Mike Frysinger <vapier@gentoo.org> |
| 343 | |
| 344 | * aclocal.m4: New file. |
| 345 | * configure: Regenerate. |
| 346 | |
| 347 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
| 348 | |
| 349 | * configure.ac: Change include to common/acinclude.m4. |
| 350 | |
| 351 | 2011-10-17 Mike Frysinger <vapier@gentoo.org> |
| 352 | |
| 353 | * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER |
| 354 | call. Replace common.m4 include with SIM_AC_COMMON. |
| 355 | * configure: Regenerate. |
| 356 | |
| 357 | 2011-07-05 Mike Frysinger <vapier@gentoo.org> |
| 358 | |
| 359 | * sim-if.c (sim_do_command): Delete. |
| 360 | |
| 361 | 2010-03-30 Mike Frysinger <vapier@gentoo.org> |
| 362 | |
| 363 | * devices.c (device_error): Add const to message. |
| 364 | |
| 365 | 2010-02-11 Doug Evans <dje@sebabeach.org> |
| 366 | |
| 367 | * cpu.h, * cpu2.h, * cpux.h, * decode.c, * decode2.c, * decodex.c, |
| 368 | * model.c, * model2.c, * modelx.c, |
| 369 | * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate. |
| 370 | |
| 371 | 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 372 | |
| 373 | * configure: Regenerate. |
| 374 | |
| 375 | 2010-01-02 Doug Evans <dje@sebabeach.org> |
| 376 | |
| 377 | * arch.c, * arch.h, * cpu.c, * cpu.h, * cpu2.c, * cpu2.h, * cpuall.h, |
| 378 | * cpux.c, * cpux.h, * decode.c, * decode.h, * decode2.c, * decode2.h, |
| 379 | * decodex.c, * decodex.h, * model.c, * model2.c, * modelx.c, |
| 380 | * sem-switch.c, * sem.c, * sem2-switch.c, * semx-switch.c: Regenerate, |
| 381 | update copyright year. |
| 382 | |
| 383 | 2009-11-22 Doug Evans <dje@sebabeach.org> |
| 384 | |
| 385 | * cpu.h: Regenerate. |
| 386 | * cpu2.h: Regenerate. |
| 387 | * cpux.h: Regenerate. |
| 388 | * cpuall.h: Regenerate. |
| 389 | * decode.c: Regenerate. |
| 390 | * decode.h: Regenerate. |
| 391 | * decode2.c: Regenerate. |
| 392 | * decode2.h: Regenerate. |
| 393 | * decodex.c: Regenerate. |
| 394 | * decodex.h: Regenerate. |
| 395 | |
| 396 | 2009-11-03 Doug Evans <dje@sebabeach.org> |
| 397 | |
| 398 | * arch.c: Regenerate. |
| 399 | * arch.h: Regenerate. |
| 400 | * cpu.c: Regenerate. |
| 401 | * cpu.h: Regenerate. |
| 402 | * cpu2.c: Regenerate. |
| 403 | * cpu2.h: Regenerate. |
| 404 | * cpuall.h: Regenerate. |
| 405 | * cpux.c: Regenerate. |
| 406 | * cpux.h: Regenerate. |
| 407 | * decode.c: Regenerate. |
| 408 | * decode.h: Regenerate. |
| 409 | * decode2.c: Regenerate. |
| 410 | * decode2.h: Regenerate. |
| 411 | * decodex.c: Regenerate. |
| 412 | * decodex.h: Regenerate. |
| 413 | * model.c: Regenerate. |
| 414 | * model2.c: Regenerate. |
| 415 | * modelx.c: Regenerate. |
| 416 | * sem-switch.c: Regenerate. |
| 417 | * sem.c: Regenerate. |
| 418 | * sem2-switch.c: Regenerate. |
| 419 | * semx-switch.c: Regenerate. |
| 420 | |
| 421 | * Makefile.in (mloop.c): Add @true to rule. |
| 422 | (mloopx.c, mloop2.c): Ditto. |
| 423 | (stamp-*): Add Makefile dependency. |
| 424 | (arch.c, arch.h, cpuall.h): Specify full path. |
| 425 | (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto. |
| 426 | (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto. |
| 427 | (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto. |
| 428 | |
| 429 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
| 430 | |
| 431 | * config.in: Regenerate. |
| 432 | * configure: Likewise. |
| 433 | |
| 434 | * configure: Regenerate. |
| 435 | |
| 436 | 2009-07-12 Doug Evans <dje@sebabeach.org> |
| 437 | |
| 438 | * Makefile.in (stamp-arch): Use $(CPU_DIR) instead of $(CGEN_CPU_DIR). |
| 439 | (stamp-cpu, stamp-xcpu, stamp-2cpu): Ditto. |
| 440 | |
| 441 | 2009-06-20 Doug Evans <dje@sebabeach.org> |
| 442 | |
| 443 | * mloop.in: Add missing # comment marker. |
| 444 | * mloop2.in: Ditto. |
| 445 | * mloopx.in: Ditto. |
| 446 | |
| 447 | 2008-07-11 Hans-Peter Nilsson <hp@axis.com> |
| 448 | |
| 449 | * configure: Regenerate to track ../common/common.m4 changes. |
| 450 | * config.in: Ditto. |
| 451 | |
| 452 | 2008-06-06 Vladimir Prus <vladimir@codesourcery.com> |
| 453 | Daniel Jacobowitz <dan@codesourcery.com> |
| 454 | Joseph Myers <joseph@codesourcery.com> |
| 455 | |
| 456 | * configure: Regenerate. |
| 457 | |
| 458 | 2006-12-21 Hans-Peter Nilsson <hp@axis.com> |
| 459 | |
| 460 | * acconfig.h: Remove. |
| 461 | * config.in: Regenerate. |
| 462 | |
| 463 | 2006-06-13 Richard Earnshaw <rearnsha@arm.com> |
| 464 | |
| 465 | * configure: Regenerated. |
| 466 | |
| 467 | 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
| 468 | |
| 469 | * configure: Regenerated. |
| 470 | |
| 471 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
| 472 | |
| 473 | * configure: Regenerated. |
| 474 | |
| 475 | 2005-03-23 Mark Kettenis <kettenis@gnu.org> |
| 476 | |
| 477 | * configure: Regenerate. |
| 478 | |
| 479 | 2005-01-14 Andrew Cagney <cagney@gnu.org> |
| 480 | |
| 481 | * configure.ac: Sinclude aclocal.m4 before common.m4. Add |
| 482 | explicit call to AC_CONFIG_HEADER. |
| 483 | * configure: Regenerate. |
| 484 | |
| 485 | 2005-01-12 Andrew Cagney <cagney@gnu.org> |
| 486 | |
| 487 | * configure.ac: Update to use ../common/common.m4. |
| 488 | * configure: Re-generate. |
| 489 | |
| 490 | 2005-01-11 Andrew Cagney <cagney@localhost.localdomain> |
| 491 | |
| 492 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 493 | |
| 494 | 2005-01-07 Andrew Cagney <cagney@gnu.org> |
| 495 | |
| 496 | * configure.ac: Rename configure.in, require autoconf 2.59. |
| 497 | * configure: Re-generate. |
| 498 | |
| 499 | 2004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 500 | |
| 501 | Committed by Kei Sakamoto. |
| 502 | * traps-linux.c (m32r_trap): Add entries of the following dummy system |
| 503 | calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32, |
| 504 | __NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32, |
| 505 | __NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32, |
| 506 | __NR_getresgid32 and __NR_chown32. |
| 507 | * syscall.h: Add new definitions of system call number. |
| 508 | |
| 509 | 2004-12-08 Hans-Peter Nilsson <hp@axis.com> |
| 510 | |
| 511 | * configure: Regenerate for ../common/aclocal.m4 update. |
| 512 | |
| 513 | 2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 514 | |
| 515 | Committed by Andrew Cagney. |
| 516 | * traps-linux.c: Don't include linux/module.h. |
| 517 | (m32r_trap): Remove dummy systemcall's entry of __NR_ustat and |
| 518 | __NR_get_kernel_syms. |
| 519 | |
| 520 | 2004-05-18 Daniel Jacobowitz <dan@debian.org> |
| 521 | |
| 522 | * Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix. |
| 523 | |
| 524 | 2004-02-04 Andrew Cagney <cagney@redhat.com> |
| 525 | |
| 526 | Committed by Andrew Cagney. |
| 527 | * mloopx.in: Update copyright. |
| 528 | (xextract-pbb): Fixed trap for system calls operation in parallel. |
| 529 | * mloop2.in (xextract-pbb): Ditto. |
| 530 | |
| 531 | 2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 532 | |
| 533 | * configure.in: Changed for dummy simulator of m32r-linux. |
| 534 | * configure: Regenerate. |
| 535 | * Makefile.in: Added traps-linux.o for dummy simulator of m32r-linux. |
| 536 | * traps-linux.c: Added for dummy simulator of m32r-linux. |
| 537 | * syscall.h: Ditto. |
| 538 | * sim-if.c (sim_create_inferior): Changed to setup SP for dummy |
| 539 | simulator for m32r-linux. |
| 540 | * sim-main.h (M32R_DEFAULT_MEM_SIZE): Changed for dummy simulator of |
| 541 | m32r-linux. |
| 542 | |
| 543 | 2003-12-11 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
| 544 | |
| 545 | * Makefile.in: Add support for new machine m32r2. |
| 546 | * cpu2.c: New file for m32r2 support. |
| 547 | * cpu2.h: Likewise. |
| 548 | * decode2.c: Likewise. |
| 549 | * decode2.h: Likewise. |
| 550 | * m32r2.c: Likewise. |
| 551 | * mloop2.in: Likewise. |
| 552 | * model2.c: Likewise. |
| 553 | * sem2-switch.c: Likewise. |
| 554 | * arch.c: Regenerate. |
| 555 | * arch.h: Regenerate. |
| 556 | * cpu.c: Regenerate. |
| 557 | * arch.c: Regenerate. |
| 558 | * cpuall.c: Regenerate. |
| 559 | * cpux.c: Regenerate. |
| 560 | * cpux.h: Regenerate. |
| 561 | * decode.c: Regenerate. |
| 562 | * decode.h: Regenerate. |
| 563 | * decodex.c: Regenerate. |
| 564 | * decodex.h: Regenerate. |
| 565 | * model.c: Regenerate. |
| 566 | * modelx.c: Regenerate. |
| 567 | * sem-switch.c: Regenerate. |
| 568 | * sem.c: Regenerate. |
| 569 | * semx-switch.c: Regenerate. |
| 570 | * m32r-sim.h: Add EVB register support. |
| 571 | * sim-if.c: Likewise. |
| 572 | * sim-main.h: Likewise. |
| 573 | * traps.c: Likewise. |
| 574 | |
| 575 | 2003-09-08 Dave Brolley <brolley@redhat.com> |
| 576 | |
| 577 | On behalf of Doug Evans <dje@sebabeach.org> |
| 578 | * Makefile.in (stamp-arch,stamp-cpu,stamp-xcpu): Pass archfile to cgen. |
| 579 | |
| 580 | 2003-02-27 Andrew Cagney <cagney@redhat.com> |
| 581 | |
| 582 | * sim-if.c (sim_open, sim_create_inferior): Rename _bfd to bfd. |
| 583 | |
| 584 | 2002-12-19 Doug Evans <dje@sebabeach.org> |
| 585 | |
| 586 | * arch.c,arch.h,cpuall.h: Regenerate. |
| 587 | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. |
| 588 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate. |
| 589 | |
| 590 | 2002-06-16 Andrew Cagney <ac131313@redhat.com> |
| 591 | |
| 592 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 593 | |
| 594 | 2001-11-14 Dave Brolley <brolley@redhat.com> |
| 595 | |
| 596 | * arch.c: Regenerate. |
| 597 | * arch.h: Regenerate. |
| 598 | * cpu.c: Regenerate. |
| 599 | * cpu.h: Regenerate. |
| 600 | * cpuall.h: Regenerate. |
| 601 | * cpux.c: Regenerate. |
| 602 | * cpux.h: Regenerate. |
| 603 | * decode.c: Regenerate. |
| 604 | * decode.h: Regenerate. |
| 605 | * decodex.c: Regenerate. |
| 606 | * decodex.h: Regenerate. |
| 607 | * model.c: Regenerate. |
| 608 | * modelx.c: Regenerate. |
| 609 | * sem-switch.c: Regenerate. |
| 610 | * sem.c: Regenerate. |
| 611 | * semx-switch.c: Regenerate. |
| 612 | |
| 613 | 2001-07-05 Ben Elliston <bje@redhat.com> |
| 614 | |
| 615 | * Makefile.in (stamp-arch): Use $(CGEN_CPU_DIR). |
| 616 | (stamp-cpu): Likewise. |
| 617 | (stamp-xcpu): Likewise. |
| 618 | |
| 619 | 2001-03-05 Dave Brolley <brolley@redhat.com> |
| 620 | |
| 621 | * arch.c: Regenerate. |
| 622 | * arch.h: Regenerate. |
| 623 | * cpu.c: Regenerate. |
| 624 | * cpu.h: Regenerate. |
| 625 | * cpuall.h: Regenerate. |
| 626 | * cpux.c: Regenerate. |
| 627 | * cpux.h: Regenerate. |
| 628 | * decode.c: Regenerate. |
| 629 | * decode.h: Regenerate. |
| 630 | * decodex.c: Regenerate. |
| 631 | * decodex.h: Regenerate. |
| 632 | * model.c: Regenerate. |
| 633 | * modelx.c: Regenerate. |
| 634 | * sem-switch.c: Regenerate. |
| 635 | * sem.c: Regenerate. |
| 636 | * semx-switch.c: Regenerate. |
| 637 | |
| 638 | 2001-01-12 Frank Ch. Eigler <fche@redhat.com> |
| 639 | |
| 640 | * configure: Regenerated with sim_scache fix. |
| 641 | |
| 642 | 2000-11-18 Greg McGary <greg@mcgary.org> |
| 643 | |
| 644 | * Makefile.in: remove `@true' commands for rules that have |
| 645 | $(CGEN_MAINT) as a prerequisite. |
| 646 | |
| 647 | 2000-10-06 Dave Brolley <brolley@redhat.com> |
| 648 | |
| 649 | * sem.c: Regenerated. |
| 650 | * sem-switch.c: Regenerated. |
| 651 | * semx-switch.c: Regenerated. |
| 652 | |
| 653 | 2000-08-28 Dave Brolley <brolley@redhat.com> |
| 654 | |
| 655 | * Makefile.in: Use of @true confuses VPATH. Remove it. |
| 656 | * cpu.h: Regenerated. |
| 657 | * cpux.h: Regenerated. |
| 658 | * decode.c: Regenerated. |
| 659 | * decodex.c: Regenerated. |
| 660 | * model.c: Regenerated. |
| 661 | * modelx.c: Regenerated. |
| 662 | * sem-switch.c: Regenerated. |
| 663 | * sem.c: Regenerated. |
| 664 | * semx-switch.c: Regenerated. |
| 665 | |
| 666 | 2000-08-21 Frank Ch. Eigler <fche@redhat.com> |
| 667 | |
| 668 | * Makefile.in (m32r-clean): Add stamp-arch, stamp-cpu. |
| 669 | (stamp-arch, stamp-cpu): New targets. |
| 670 | |
| 671 | Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com> |
| 672 | |
| 673 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 674 | |
| 675 | 2000-03-30 Dave Brolley <brolley@redhat.com> |
| 676 | |
| 677 | * configure: Regenerated. |
| 678 | |
| 679 | 1999-10-04 Doug Evans <devans@casey.cygnus.com> |
| 680 | |
| 681 | * arch.c,arch.h,cpuall.h: Rebuild. |
| 682 | * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. |
| 683 | |
| 684 | 1999-09-29 Doug Evans <devans@casey.cygnus.com> |
| 685 | |
| 686 | * mloop.in: Update call to sim_engine_invalid_insn. |
| 687 | * sem.c,sem-switch.c: Rebuild. |
| 688 | * traps.c (sim_engine_invalid_insn): New arg `vpc'. Change type of |
| 689 | result to SEM_PC. Return vpc. |
| 690 | * mloopx.in: Ditto. |
| 691 | * semx-switch.c: Rebuild. |
| 692 | |
| 693 | Wed Sep 29 14:47:20 1999 Dave Brolley <brolley@cygnus.com> |
| 694 | |
| 695 | * traps.c (sim_engine_invalid_insn): Return PC. |
| 696 | |
| 697 | Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com> |
| 698 | |
| 699 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 700 | |
| 701 | 1999-09-01 Doug Evans <devans@casey.cygnus.com> |
| 702 | |
| 703 | * decodex.c: Rebuild. |
| 704 | |
| 705 | 1999-08-28 Doug Evans <devans@casey.cygnus.com> |
| 706 | |
| 707 | * sem.c: Rebuild |
| 708 | |
| 709 | * cpux.h: Rebuild. |
| 710 | |
| 711 | 1999-08-09 Doug Evans <devans@casey.cygnus.com> |
| 712 | |
| 713 | * cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. |
| 714 | * cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. |
| 715 | |
| 716 | 1999-08-04 Doug Evans <devans@casey.cygnus.com> |
| 717 | |
| 718 | * m32r-sim.h (SEM_SKIP_INSN): Delete. |
| 719 | * cpu.h,cpuall.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. |
| 720 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild. |
| 721 | * mloopx.in (emit_parallel): Call SEM_SKIP_COMPILE. |
| 722 | (emit_full_parallel): Ditto. |
| 723 | |
| 724 | 1999-05-08 Felix Lee <flee@cygnus.com> |
| 725 | |
| 726 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 727 | |
| 728 | Fri Apr 16 16:47:43 1999 Doug Evans <devans@charmed.cygnus.com> |
| 729 | |
| 730 | * devices.c (device_io_read_buffer): New arg `sd'. |
| 731 | (device_io_write_buffer): New arg `sd'. |
| 732 | (device_error): Give proper arg spec. |
| 733 | |
| 734 | 1999-04-10 Doug Evans <devans@casey.cygnus.com> |
| 735 | |
| 736 | * sem-switch.c,sem.c: Rebuild. |
| 737 | * cpux.h,semx-switch.c: Rebuild. |
| 738 | |
| 739 | 1999-03-27 Doug Evans <devans@casey.cygnus.com> |
| 740 | |
| 741 | * decode.c: Rebuild. |
| 742 | * decodex.c: Rebuild. |
| 743 | |
| 744 | 1999-03-26 Doug Evans <devans@casey.cygnus.com> |
| 745 | |
| 746 | * m32r-sim.h (M32R_DEVICE_LEN): Fix off by one error. |
| 747 | |
| 748 | 1999-03-22 Doug Evans <devans@casey.cygnus.com> |
| 749 | |
| 750 | * arch.c,arch.h,model.c: Rebuild. |
| 751 | * modelx.c: Rebuild. |
| 752 | * m32r-sim.h (a_m32r_h_gr_get,a_m32r_h_gr_set): Declare. |
| 753 | (a_m32r_h_cr_get,a_m32r_h_cr_set): Declare. |
| 754 | * m32r.c (m32rbf_fetch_register): Replace calls to a_m32r_h_pc_get, |
| 755 | a_m32r_h_accum_get with appropriate calls to m32rbf_*. |
| 756 | (m32rbf_store_register): Ditto. |
| 757 | (a_m32r_h_gr_get,a_m32r_h_gr_set): New functions. |
| 758 | (a_m32r_h_cr_get,a_m32r_h_cr_set): Ditto. |
| 759 | * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open. |
| 760 | * traps.c (m32r_core_signal): Replace calls to a_m32r_h_*, |
| 761 | with appropriate calls to m32rbf_*. |
| 762 | |
| 763 | 1999-03-11 Doug Evans <devans@casey.cygnus.com> |
| 764 | |
| 765 | * arch.c,arch.h,cpu.c,cpu.h,sem.c,sem-switch.c: Rebuild. |
| 766 | * cpux.c,cpux.h,semx-switch.c: Rebuild. |
| 767 | * m32r-sim.h (GET_H_*,SET_H_*, except GET_H_SM): Delete. |
| 768 | * sim-if.c (sim_open): Update call to m32r_cgen_cpu_open. |
| 769 | |
| 770 | 1999-02-25 Doug Evans <devans@casey.cygnus.com> |
| 771 | |
| 772 | * cpu.c,cpu.h: Rebuild. |
| 773 | |
| 774 | 1999-02-09 Doug Evans <devans@casey.cygnus.com> |
| 775 | |
| 776 | * Makefile.in (SIM_EXTRA_DEPS): Add m32r-desc.h, delete cpu-opc.h. |
| 777 | (stamp-xmloop): s/-parallel/-parallel-write/. |
| 778 | * configure.in (sim_link_files,sim_link_links): Delete. |
| 779 | * configure: Rebuild. |
| 780 | * decode.c,decode.h,model.c,sem-switch.c,sem.c: Rebuild. |
| 781 | * decodex.c,decodex.h,modelx.c,semx-switch.c: Rebuild. |
| 782 | * mloop.in (execute): CGEN_INSN_ATTR renamed to CGEN_INSN_ATTR_VALUE. |
| 783 | * sim-if.c (sim_open): m32r_cgen_cpu_open renamed from |
| 784 | m32r_cgen_opcode_open. Set disassembler. |
| 785 | (sim_close): m32r_cgen_cpu_open renamed from m32r_cgen_opcode_open. |
| 786 | * sim-main.h: Don't include cpu-opc.h,cpu-sim.h. Include |
| 787 | m32r-desc.h,m32r-opc.h,m32r-sim.h. |
| 788 | |
| 789 | Thu Feb 4 16:04:26 1999 Doug Evans <devans@canuck.cygnus.com> |
| 790 | |
| 791 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate. |
| 792 | |
| 793 | 1999-01-27 Doug Evans <devans@casey.cygnus.com> |
| 794 | |
| 795 | * cpu.h,decode.c,model.c,sem-switch.c,sem.c: Rebuild. |
| 796 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Rebuild. |
| 797 | |
| 798 | 1999-01-15 Doug Evans <devans@casey.cygnus.com> |
| 799 | |
| 800 | * decode.h,model.c: Regenerate. |
| 801 | * decodex.h,modelx.c: Regenerate. |
| 802 | |
| 803 | 1999-01-14 Doug Evans <devans@casey.cygnus.com> |
| 804 | |
| 805 | * arch.c,arch.h,cpuall.h: Regenerate. |
| 806 | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. |
| 807 | * traps.c (sim_engine_invalid_insn): PCADDR->IADDR. |
| 808 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate. |
| 809 | |
| 810 | 1999-01-11 Doug Evans <devans@casey.cygnus.com> |
| 811 | |
| 812 | * Makefile.in (m32r-clean): rm eng.h. |
| 813 | * sim-main.h: Delete inclusion of ansidecl.h. |
| 814 | * cpu.h: Regenerate. |
| 815 | * cpux.h: Regenerate. |
| 816 | |
| 817 | 1999-01-06 Doug Evans <devans@casey.cygnus.com> |
| 818 | |
| 819 | * cpu.h: Regenerate. |
| 820 | * cpux.h: Regenerate. |
| 821 | |
| 822 | 1999-01-05 Doug Evans <devans@casey.cygnus.com> |
| 823 | |
| 824 | * Makefile.in (MAIN_INCLUDE_DEPS): Delete. |
| 825 | (INCLUDE_DEPS,OPS_INCLUDE_DEPS): Delete. |
| 826 | (sim-if.o): Use SIM_MAIN_DEPS. |
| 827 | (arch.o,traps.o,devices.o): Ditto. |
| 828 | (M32RBF_INCLUDE_DEPS): Use CGEN_MAIN_CPU_DEPS. |
| 829 | (m32r.o,mloop.o,cpu.o,decode.o,sem.o,model.o): Simplify dependencies. |
| 830 | (m32rx.o,mloopx.o,cpux.o,decodex.o,semx.o,modelx.o): Ditto. |
| 831 | * cpu.c,cpu.h,decode.c,model.c,sem-switch.c,sem.c: Regenerate. |
| 832 | * m32r-sim.h (m32rbf_h_cr_[gs]et_handler): Declare. |
| 833 | ([GS]ET_H_CR): Define. |
| 834 | (m32rbf_h_psw_[gs]et_handler): Declare. |
| 835 | ([GS]ET_H_PSW): Define. |
| 836 | (m32rbf_h_accum_[gs]et_handler): Declare. |
| 837 | ([GS]ET_H_ACCUM): Define. |
| 838 | (m32rxf_h_{cr,psw,accum}_[gs]et_handler): Declare. |
| 839 | (m32rxf_h_accums_[gs]et_handler): Declare. |
| 840 | ([GS]ET_H_ACCUMS): Define. |
| 841 | * sim-if.c (sim_open): Model probing code moved to sim-model.c. |
| 842 | * m32r.c (WANT_CPU): Define as m32rbf. |
| 843 | (all register access fns): Rename to ..._handler. |
| 844 | * cpux.c,cpux.h,decodex.c,modelx.c,semx.c: Regenerate. |
| 845 | * m32rx.c (WANT_CPU): Define as m32rxf. |
| 846 | (all register access fns): Rename to ..._handler. |
| 847 | |
| 848 | 1998-12-14 Doug Evans <devans@casey.cygnus.com> |
| 849 | |
| 850 | * configure.in: --enable-cgen-maint support moved to common/aclocal.m4. |
| 851 | (SIM_AC_OPTION_ALIGNMENT): Make strict. |
| 852 | * configure: Regenerate. |
| 853 | |
| 854 | * sem-switch.c,sem.c,semx-switch.c: Regenerate. |
| 855 | * sim-main.h (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Define. |
| 856 | * traps.c (m32r_core_signal): Handle --environment=operating. |
| 857 | |
| 858 | 1998-12-09 Doug Evans <devans@casey.cygnus.com> |
| 859 | |
| 860 | * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. |
| 861 | * cpux.h,decodex.c,semx-switch.c: Regenerate. |
| 862 | |
| 863 | * sim-if.c: Include string.h or strings.h if present. |
| 864 | |
| 865 | 1998-12-04 Doug Evans <devans@casey.cygnus.com> |
| 866 | |
| 867 | * configure.in: Call SIM_AC_OPTION_INLINE. |
| 868 | * configure: Regenerate. |
| 869 | * sim-main.h: Protect against multiple inclusion. |
| 870 | Don't include cgen-scache.h,cgen-cpu.h,cgen-trace.h,cpuall.h. |
| 871 | Done by cgen-sim.h now. |
| 872 | * tconfig.in (SIM_HAVE_MODEL): Delete, moved to cgen-types.h. |
| 873 | * cpuall.h: Regenerate. |
| 874 | * cpu.h,decode.c,sem-switch.c,sem.c: Regenerate. |
| 875 | * mloop.in (extract16): Make static inline again. |
| 876 | Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. |
| 877 | (extract32): Ditto. |
| 878 | Simplify with call to @cpu@_fill_argbuf,@cpu@_fill_argbuf_tp. |
| 879 | (execute): Test ARGBUF_PROFILE_P before profiling. |
| 880 | Update calls to TRACE_INSN_INIT,TRACE_INSN_FINI. |
| 881 | * cpux.h,decodex.c,modelx.c,semx-switch.c: Regenerate. |
| 882 | * mloopx.in: Rewrite. |
| 883 | |
| 884 | 1998-11-22 Doug Evans <devans@tobor.to.cygnus.com> |
| 885 | |
| 886 | * devices.c (device_io_write_buffer): Fix typo. |
| 887 | * sim-if.c (sim_open): Hack in call to dv_sockser_install. |
| 888 | * tconfig.in (HAVE_DV_SOCKSER): Add but comment out. |
| 889 | |
| 890 | 1998-11-18 Doug Evans <devans@casey.cygnus.com> |
| 891 | |
| 892 | * Makefile.in (M32R_OBJS): Delete extract.o. |
| 893 | (extract.o): Delete. |
| 894 | * cpu.c,cpu.h,decode.c,decode.h,sem-switch.c,sem.c: Rebuild. |
| 895 | * mloop.in (extract16): Update type of `insn' arg. |
| 896 | Delete call to d->extract. |
| 897 | (extract32): Ditto. |
| 898 | * cpux.c,cpux.h,decodex.c,decodex.h,semx-switch.c: Rebuild. |
| 899 | * mloopx.in (extractx16): Update type of `insn' arg. |
| 900 | Delete call to d->extract. Delete arg pbb_p. All callers updated. |
| 901 | (extract-simple,full-exec-simple,fast-exec-simple): Delete. |
| 902 | (extractx32): Ditto. |
| 903 | |
| 904 | Wed Nov 4 23:55:37 1998 Doug Evans <devans@seba.cygnus.com> |
| 905 | |
| 906 | * sim-main.h: Delete inclusion of config.h, include sim-basics.h |
| 907 | before cgen-types.h. |
| 908 | * tconfig.in: Guard against multiple inclusion. |
| 909 | * cpu.h: Delete decls moved to genmloop.sh. |
| 910 | * cpux.h: Ditto. |
| 911 | |
| 912 | Mon Oct 19 14:13:05 1998 Doug Evans <devans@seba.cygnus.com> |
| 913 | |
| 914 | * sim-main.h: #include cpu-opc.h. |
| 915 | * arch.c,arch.h,decode.c,extract.c,model.c,sem.c: Regenerate |
| 916 | to get #include cleanup. |
| 917 | * decodex.c,extractx.c,modelx.c: Ditto. |
| 918 | |
| 919 | * Makefile.in (SIM_EXTRA_DEPS): Replace cgen headers with |
| 920 | CGEN_INCLUDE_DEPS. |
| 921 | (M32RBF_INCLUDE_DEPS): Define. |
| 922 | (m32r .o's): Depend on it. |
| 923 | (mloop.c): Update call to genmloop.sh. |
| 924 | * cpu.h,cpuall.h: Regenerate. |
| 925 | * sim-main.h: Delete inclusion of cpu.h,decode.h, moved to cpuall.h. |
| 926 | #include cgen-scache.h,cgen-cpu.h. |
| 927 | * tconfig.in (WITH_FOO semantic macros): Delete. |
| 928 | * Makefile.in (M32RXF_INCLUDE_DEPS): Define. |
| 929 | (m32rx .o's): Depend on it. |
| 930 | (mloopx.c): Update call to genmloop.sh. |
| 931 | * cpux.h: Regenerate. |
| 932 | |
| 933 | Fri Oct 16 09:15:29 1998 Doug Evans <devans@charmed.cygnus.com> |
| 934 | |
| 935 | * sim-if.c (sim_do_command): Handle "sim info reg {bbpsw,bbpc}". |
| 936 | |
| 937 | Fri Oct 9 16:11:58 1998 Doug Evans <devans@seba.cygnus.com> |
| 938 | |
| 939 | Add pseudo-basic-block execution support. |
| 940 | * Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o. |
| 941 | (SIM_EXTRA_DEPS): Add include/opcode/cgen.h. |
| 942 | (INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h. |
| 943 | (mloop.c): Build pseudo-basic-block version. Depend on stamp-cpu. |
| 944 | * arch.c,arch.h,cpuall.h: Regenerate. |
| 945 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. |
| 946 | * sem-switch.c,sem.c: Regenerate. |
| 947 | * m32r-sim.h (M32R_MISC_PROFILE): New members load_regs, |
| 948 | load_regs_pending. |
| 949 | * m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register. |
| 950 | (m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set, |
| 951 | m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get, |
| 952 | m32rbf_h_accum_set): Likewise. |
| 953 | (m32r_model_{init,update}_insn_cycles): Delete. |
| 954 | (m32rbf_model_insn_{before,after}): New fns. |
| 955 | (m32r_model_record_cti,m32r_model_record_cycles): Delete. |
| 956 | (m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete. |
| 957 | (m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete. |
| 958 | (check_load_stall): New fn. |
| 959 | (m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns. |
| 960 | (m32rbf_model_test_u_exec): New fn. |
| 961 | * mloop.in: Rewrite, use pbb support. |
| 962 | * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete. |
| 963 | (sim_fetch_register,sim_store_register): Delete. |
| 964 | * sim-main.h (CIA_GET,CIA_SET): Fix. |
| 965 | (SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete. |
| 966 | * tconfig.in (WITH_SCACHE_PBB): Define. |
| 967 | (WITH_SCACHE_PBB_M32RBF): Define. |
| 968 | * traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_.... |
| 969 | (m32r_trap): Pass pc to sim_engine_halt. |
| 970 | * configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384. |
| 971 | * configure: Regenerate. |
| 972 | * Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o. |
| 973 | (mloopx.c): Build pseudo-basic-block version. |
| 974 | (semx.o): Delete. |
| 975 | (extractx.o): Add. |
| 976 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate. |
| 977 | * readx.c: Delete. |
| 978 | * semx.c: Delete. |
| 979 | * extractx.c: New file. |
| 980 | * semx-switch.c: New file. |
| 981 | * m32r-sim.h (BRANCH_NEW_PC): Delete. |
| 982 | (SEM_SKIP_INSN): New macro. |
| 983 | * m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register. |
| 984 | (m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set, |
| 985 | m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get, |
| 986 | m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise. |
| 987 | (m32rxf_model_insn_{before,after}): New fns. |
| 988 | (m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete. |
| 989 | (m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete. |
| 990 | (check_load_stall): New fn. |
| 991 | (m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns. |
| 992 | * mloopx.in: Rewrite, use pbb support. |
| 993 | * tconfig.in (WITH_SCACHE_PBB_M32RXF): Define. |
| 994 | (WITH_SEM_SWITCH_FULL): Change from 0 to 1. |
| 995 | |
| 996 | Wed Sep 16 18:22:27 1998 Doug Evans <devans@canuck.cygnus.com> |
| 997 | |
| 998 | * m32r-sim.h ({PSW,CBR,SPI,SPU,BPC,BBPSW,BBPC}_REGNUM): New macros. |
| 999 | ({ACC1L,ACC1H}_REGNUM): New macros. |
| 1000 | (m32r_decode_gdb_ctrl_regnum): Add prototype. |
| 1001 | * m32r.c (m32r_decode_gdb_ctrl_regnum): New function. |
| 1002 | (m32r_fetch_register,m32r_store_register): Rewrite. |
| 1003 | * m32rx.c (m32rx_fetch_register,m32rx_store_register): Rewrite. |
| 1004 | |
| 1005 | Tue Sep 15 15:01:14 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1006 | |
| 1007 | * m32r-sim.h (GET_H_SM): New macro. |
| 1008 | (UART params): Update to msa2000. |
| 1009 | * devices.c (device_io_read_buffer): Update to msa2000. |
| 1010 | * m32r.c (m32rb_h_cr_get,m32rb_h_cr_set): Handle bbpc,bbpsw. |
| 1011 | (m32rb_h_psw_get,m32rb_h_psw_set): New functions. |
| 1012 | * arch.c,arch.h,cpu.c,cpu.h,sem-switch.c,sem.c: Regenerate. |
| 1013 | * m32rx.c (m32rx_h_cr_get,m32rx_h_cr_set): Handle bbpc,bbpsw. |
| 1014 | (m32rx_h_psw_get,m32rx_h_psw_set): New functions. |
| 1015 | * cpux.c,cpux.h,readx.c,semx.c: Regenerate. |
| 1016 | |
| 1017 | Wed Sep 9 15:29:36 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1018 | |
| 1019 | * m32r-sim.h (m32r_trap): Update prototype. |
| 1020 | * traps.c (m32r_trap): New arg `pc'. |
| 1021 | * sem.c,sem-switch.c: Regenerated. |
| 1022 | * cpux.h,readx.c,semx.c: Regenerated. |
| 1023 | |
| 1024 | Mon Aug 3 12:59:17 1998 Doug Evans <devans@seba.cygnus.com> |
| 1025 | |
| 1026 | Rename cpu m32r to m32rb to distinguish from architecture name. |
| 1027 | * Makefile.in (mloop.c): cpu m32r renamed to m32rb. |
| 1028 | * sim-main.h (WANT_CPU_M32RB): Renamed from WANT_CPU_M32R. |
| 1029 | * tconfig.in (WANT_CPU_M32RB): Ditto. |
| 1030 | * m32r.c (WANT_CPU_M32RB): Ditto. |
| 1031 | (*): m32r_ cpu fns renamed to m32rb_. |
| 1032 | * sim-if.c (sim_stop,sim_sync_stop,sim_resume): Update. |
| 1033 | * arch.h,arch.c: Regenerate. |
| 1034 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. |
| 1035 | * sem-switch.c,sem.c: Regenerate. |
| 1036 | |
| 1037 | * sim-if.c (sim_open): Don't allocate memory on top of any user |
| 1038 | specified memory. |
| 1039 | (h_gr_get,h_gr_set): Delete. |
| 1040 | * sim-main.h (h_gr_get,h_gr_set): Delete. |
| 1041 | * traps.c (m32r_trap): Replace calls to h_gr_[gs]et with |
| 1042 | a_m32r_h_gr_[gs]et. |
| 1043 | |
| 1044 | * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h. |
| 1045 | |
| 1046 | * sim-if.c (sim_open): Open opcode table. |
| 1047 | (sim_close): Close it. |
| 1048 | |
| 1049 | Tue Jul 28 13:06:19 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1050 | |
| 1051 | Add support for new versions of mulwhi,mulwlo,macwhi,macwlo that |
| 1052 | accept an accumulator choice. |
| 1053 | * cpux.c,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. |
| 1054 | |
| 1055 | Fri Jul 24 13:00:29 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1056 | |
| 1057 | * m32r.c: Include cgen-mem.h. |
| 1058 | * traps.c (m32r_trap): Tweak for -Wall. |
| 1059 | * m32rx.c: Include cgen-mem.h. |
| 1060 | * semx.c: Regenerate, get -Wall cleanups. |
| 1061 | |
| 1062 | Tue Jul 21 16:53:10 1998 Doug Evans <devans@seba.cygnus.com> |
| 1063 | |
| 1064 | * cpu.h,extract.c: Regenerate. pc-rel calcs done on f_dispNN now. |
| 1065 | * cpux.h,readx.c,semx.c: Ditto. |
| 1066 | |
| 1067 | Wed Jul 1 16:51:15 1998 Doug Evans <devans@seba.cygnus.com> |
| 1068 | |
| 1069 | * Makefile.in: cgen_maint -> CGEN_MAINT. |
| 1070 | * configure.in: AC_SUBST cgen,cgendir. No longer look for guile. |
| 1071 | * configure: Regenerate. |
| 1072 | * arch.c,arch.h,cpuall.h: Regenerate. |
| 1073 | * cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. |
| 1074 | * sem-switch.c,sem.c: Regenerate. |
| 1075 | * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate. |
| 1076 | * semx.c: Regenerate. |
| 1077 | * mloopx.in (icount): Moved here from genmloop.sh. |
| 1078 | |
| 1079 | Sat Jun 13 07:49:23 1998 Doug Evans <devans@fallis.cygnus.com> |
| 1080 | |
| 1081 | * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall, |
| 1082 | load_stall,biggest_cycles. |
| 1083 | * m32r.c (m32r_model_mark_get_h_gr): Update. |
| 1084 | (m32r_model_init_insn_cycles,m32r_model_update_insn_cycles): New fns. |
| 1085 | (m32r_model_record_cti,m32r_model_record_cycles): New functions. |
| 1086 | * mloop.in: Call cycle init/update fns. |
| 1087 | * model.c: Regenerate. |
| 1088 | * m32rx.c (m32rx_model_mark_get_h_gr): Update. |
| 1089 | * mloopx.in: Call cycle init/update fns. |
| 1090 | * modelx.c: Regenerate. |
| 1091 | |
| 1092 | Wed Jun 10 17:39:29 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1093 | |
| 1094 | * traps.c: New file. Trap support moved here from sim-if.c. |
| 1095 | * Makefile.in (SIM_OBJS): Add traps.o |
| 1096 | * sim-if.c: Don't include targ-vals.h. |
| 1097 | (sim_engine_illegal_insn): Moved to traps.c |
| 1098 | * sim-main.h (SIM_CORE_SIGNAL): Define. |
| 1099 | (m32r_core_signal): Declare. |
| 1100 | * m32r-sim.h (m32r_trap): Declare. |
| 1101 | |
| 1102 | * devices.c (device_io_read_buffer): Handle cache purging via MCCR |
| 1103 | register. |
| 1104 | |
| 1105 | * m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h. |
| 1106 | (PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros. |
| 1107 | (TRAP_SYSCALL,TRAP_BREAKPOINT): New macros. |
| 1108 | |
| 1109 | * extract.c,sem-switch.c,sem.c: Regenerate. |
| 1110 | * cpux.h,readx.c,semx.c: Regenerate. |
| 1111 | |
| 1112 | Wed May 20 00:10:40 1998 Doug Evans <devans@seba.cygnus.com> |
| 1113 | |
| 1114 | * m32r-sim.h (PROFILE_COUNT_PARINSNS): New macro. |
| 1115 | * mloopx.in (extract): Set abuf.addr for proper fill nop counting. |
| 1116 | (execute): Count parallel insns. |
| 1117 | * sim-if.c (print_m32r_misc_cpu): Print count. |
| 1118 | * sim-main.h (M32R_MISC_PROFILE): New member parallel_count. |
| 1119 | |
| 1120 | Zero bottom two bits of pc in jmp,jl insns. |
| 1121 | * sem.c,sem-switch.c: Regenerate. |
| 1122 | * semx.c: Regenerate. |
| 1123 | |
| 1124 | Tue May 19 16:45:33 1998 Doug Evans <devans@seba.cygnus.com> |
| 1125 | |
| 1126 | * sim-if.c (do_trap): Treat traps 2-15 as hardware does. |
| 1127 | |
| 1128 | Sat May 16 13:04:30 1998 Doug Evans <devans@seba.cygnus.com> |
| 1129 | |
| 1130 | * sim-if.c (sim_stop): Update call to @cpu@_engine_stop. |
| 1131 | (sim_sync_stop): New function. |
| 1132 | |
| 1133 | Fri May 15 16:43:27 1998 Doug Evans <devans@seba.cygnus.com> |
| 1134 | |
| 1135 | * Makefile.in (devices.o): Add dependencies. |
| 1136 | |
| 1137 | * arch.h,cpu.c,cpu.h,cpuall.h: Regenerate. |
| 1138 | * sem-switch.c,sem.c: Regenerate. |
| 1139 | * mloop.in (execute): Update calls to TRACE_INSN_{INIT,FINI}. |
| 1140 | * cpux.c,cpux.h,modelx.c,semx.c: Regenerate. |
| 1141 | * m32rx.c (m32rx_model_mark_{busy,unbusy}_reg): New functions. |
| 1142 | * mloopx.in (execute): Update calls to TRACE_INSN_{INIT,FINI}. |
| 1143 | Fix pc value passed to TRACE_INSN for second parallel insn. |
| 1144 | |
| 1145 | Thu May 7 02:51:35 1998 Doug Evans <devans@seba.cygnus.com> |
| 1146 | |
| 1147 | * Makefile.in (SIM_OBJS): Add sim-cpu.o. |
| 1148 | |
| 1149 | Wed May 6 14:51:39 1998 Doug Evans <devans@seba.cygnus.com> |
| 1150 | |
| 1151 | * arch.h,arch.c,cpu.h,cpuall.h: Regenerate, tweaks mostly. |
| 1152 | * model.c: Ditto. Reorganize model/mach data. |
| 1153 | * cpux.h: Ditto. |
| 1154 | * modelx.c: Ditto. |
| 1155 | |
| 1156 | * Makefile.in (m32r.o,mloop.o,cpu.o,model.o): Add decode.h dependency. |
| 1157 | (m32rx.o,mloopx.o,cpux.o,modelx.o): Add decodex.h dependency. |
| 1158 | * decode.c,decode.h: Regenerate, introduces IDESC table. |
| 1159 | * mloop.in (extract16,extract32): Add IDESC support. |
| 1160 | Update names of semantic handler member names. |
| 1161 | (execute): Ditto. Delete call to PROFILE_COUNT_INSN. |
| 1162 | * decodex.c,decodex.h: Regenerate, introduces IDESC table. |
| 1163 | * mloopx.in: Add IDESC support. |
| 1164 | Update names of semantic handler member names. |
| 1165 | Delete call to PROFILE_COUNT_INSN. |
| 1166 | |
| 1167 | * sem-switch.c: Regenerate. Redo computed goto label handling. |
| 1168 | * sem.c: Regenerate. Call PROFILE_COUNT_INSN. |
| 1169 | * readx.c: Regenerate. Redo computed goto label handling. |
| 1170 | * semx.c: Regenerate. Call PROFILE_COUNT_INSN. Finish profiling |
| 1171 | support. |
| 1172 | |
| 1173 | * m32r.c (m32r_fetch_register): Change result type and args to |
| 1174 | conform to sim_fetch_register interface. |
| 1175 | (m32r_store_register): Ditto for sim_store_register interface. |
| 1176 | * m32rx.c (m32rx_fetch_register): Change result type and args to |
| 1177 | conform to sim_fetch_register interface. |
| 1178 | (m32rx_store_register): Ditto for sim_store_register interface. |
| 1179 | |
| 1180 | * sim-if.c (alloc_cpu): Delete. |
| 1181 | (free_state): Uninstall modules here ... |
| 1182 | (sim_open): ... and not here. Call sim_cpu_alloc_all. |
| 1183 | Set default architecture/model if not specified. |
| 1184 | (sim_fetch_register,sim_store_register): Rewrite. |
| 1185 | |
| 1186 | * sim-if.c (h_pc_get,h_pc_set): Delete. Renamed to sim_pc_[gs]et |
| 1187 | and moved to common/sim-cpu.c. |
| 1188 | (sim_create_inferior): Update. |
| 1189 | (do_trap): Update. |
| 1190 | * sim-main.h (h_pc_get,h_pc_set): Delete. |
| 1191 | |
| 1192 | * sim-main.h (sim_cia): Change to USI. |
| 1193 | (sim_cpu): Move m32r_misc_profile before machine generated part. |
| 1194 | |
| 1195 | Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com> |
| 1196 | |
| 1197 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1198 | |
| 1199 | Tue Apr 28 18:05:53 1998 Nick Clifton <nickc@cygnus.com> |
| 1200 | |
| 1201 | * model.c: Rebuilt. |
| 1202 | * modelx.c: Rebuilt. |
| 1203 | |
| 1204 | Mon Apr 27 15:36:30 1998 Doug Evans <devans@seba.cygnus.com> |
| 1205 | |
| 1206 | * cpu.h,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment |
| 1207 | and variable renaming due to macro insn additions. |
| 1208 | * mloop.in: Update to use CGEN_INSN_NUM. |
| 1209 | * cpux.h,modelx.c,readx.c,semx.c: Regenerated. |
| 1210 | * mloopx.in: Update to use CGEN_INSN_NUM. |
| 1211 | |
| 1212 | Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> |
| 1213 | |
| 1214 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1215 | * config.in: Ditto. |
| 1216 | |
| 1217 | Sun Apr 26 15:20:05 1998 Tom Tromey <tromey@cygnus.com> |
| 1218 | |
| 1219 | * acconfig.h: New file. |
| 1220 | * configure.in: Reverted change of Apr 24; use sinclude again. |
| 1221 | |
| 1222 | Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> |
| 1223 | |
| 1224 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1225 | * config.in: Ditto. |
| 1226 | |
| 1227 | Fri Apr 24 11:19:26 1998 Tom Tromey <tromey@cygnus.com> |
| 1228 | |
| 1229 | * configure.in: Don't call sinclude. |
| 1230 | |
| 1231 | Mon Apr 20 16:12:35 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1232 | |
| 1233 | * cpu.c,sem.c,sem-switch.c: Regenerate. From |
| 1234 | - cgen/m32r.cpu (h-accum): Add attribute FUN-ACCESS. |
| 1235 | * m32r.c (m32r_h_accum_get,m32r_h_accum_set): New functions. |
| 1236 | #include cgen-ops.h. |
| 1237 | * cpux.c,readx.c,semx.c: Regenerate. |
| 1238 | * m32rx.c (m32r_h_accum_get,m32r_h_accum_set): New functions. |
| 1239 | #include cgen-ops.h. Delete inclusion of several unnecessary headers. |
| 1240 | (m32r_h_accums_get): Sign extend top 8 bits. |
| 1241 | |
| 1242 | Tue Apr 14 14:04:07 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1243 | |
| 1244 | * semx.c: Regenerate. |
| 1245 | |
| 1246 | Fri Apr 10 18:22:41 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1247 | |
| 1248 | * cpu.h,decode.c,decode.h,extract.c,sem.c,sem-switch.c: Regenerate. |
| 1249 | * cpux.h,decodex.c,decodex.h,readx.c,semx.c: Regenerate. |
| 1250 | |
| 1251 | Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1252 | |
| 1253 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1254 | |
| 1255 | Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1256 | |
| 1257 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1258 | |
| 1259 | Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1260 | |
| 1261 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1262 | |
| 1263 | Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1264 | |
| 1265 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1266 | |
| 1267 | Sat Mar 14 20:53:36 1998 Doug Evans <devans@seba.cygnus.com> |
| 1268 | |
| 1269 | * config.in (HAVE_FCNTL_H): Add. |
| 1270 | * configure: Regenerate. |
| 1271 | * Makefile.in (SIM_OBJS): Add devices.o. |
| 1272 | * m32r-sim.h (m32r_devices): Renamed from m32r_mspr_device. |
| 1273 | (UART_*): Define m32r serial port parameters. |
| 1274 | (M32R_DEVICE_ADDR,M32R_DEVICE_LEN): Define. |
| 1275 | * m32r.c (device_io_{read,write}_buffer,device_error): Move from here, |
| 1276 | * devices.c: To here. |
| 1277 | * sim-if.c: Don't include signal.h,sim-core.h. |
| 1278 | (sim_open): Use M32R_DEVICE_{ADDR,LEN} in sim_core_attach call. |
| 1279 | (sim_resume): Call sim_module_{resume,suspend}. |
| 1280 | * m32r.c (m32r_h_cr_{get,set}): Use register number enums. |
| 1281 | |
| 1282 | * tconfig.in (SIM_HANDLES_LMA): Define. |
| 1283 | |
| 1284 | * sim-if.c (do_trap): Result is new pc. |
| 1285 | Handle --environment=operating. |
| 1286 | * sem-switch.c,sem.c: Regenerate. |
| 1287 | * semx.c: Regenerate. |
| 1288 | |
| 1289 | Wed Mar 11 14:07:39 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1290 | |
| 1291 | * sim-if.c (syscall_read_mem, syscall_write_mem): Replace |
| 1292 | sim_core_*_map with read_map, write_map, exec_map resp. |
| 1293 | |
| 1294 | Wed Mar 4 11:36:51 1998 Doug Evans <devans@seba.cygnus.com> |
| 1295 | |
| 1296 | * Makefile.in (SIM_EXTRA_DEPS): Add cpu-opc.h. |
| 1297 | (arch.o): Delete cpu-opc.h dependency. |
| 1298 | (decode.o,model.o): Likewise. |
| 1299 | (decodex.o,modelx.o): Likewise. |
| 1300 | |
| 1301 | * cpu.h,model.c,sem-switch.c,sem.c: Regenerate. |
| 1302 | * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate. |
| 1303 | |
| 1304 | Thu Feb 26 18:38:35 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1305 | |
| 1306 | * sim-if.c (sim_open): Initialize PROFILE_INFO_CPU_CALLBACK. |
| 1307 | |
| 1308 | * sim-if.c (sim_info): Delete. |
| 1309 | |
| 1310 | Fri Feb 27 10:14:29 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1311 | |
| 1312 | * mloopx.in: Fix handling of branch in parallel with another insn. |
| 1313 | * semx.c: Regenerate. |
| 1314 | |
| 1315 | Mon Feb 23 13:30:46 1998 Doug Evans <devans@seba.cygnus.com> |
| 1316 | |
| 1317 | * sim-main.h: #include symcat.h. |
| 1318 | * m32r-sim.h (BRANCH_NEW_PC): Delete current_cpu arg. |
| 1319 | (NEW_PC_{BASE,SKIP,2,4,BRANCH_P}): New macros. |
| 1320 | * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. |
| 1321 | * sem.c,sem-switch.c: Regenerate. |
| 1322 | * m32r-sim.h (SEM_NEXT_PC): Modify to handle parallel exec. |
| 1323 | * mloopx.in: Rewrite. |
| 1324 | * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate. |
| 1325 | |
| 1326 | Mon Feb 23 12:27:52 1998 Nick Clifton <nickc@cygnus.com> |
| 1327 | |
| 1328 | * m32r.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 |
| 1329 | in the backup PC register. |
| 1330 | * m32rx.c (m32r_h_cr_set, m32r_h_cr_get): Shadow control register 6 |
| 1331 | in the backup PC register. |
| 1332 | |
| 1333 | Thu Feb 19 16:39:35 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1334 | |
| 1335 | * m32r.c (do_lock,do_unlock): Delete. |
| 1336 | * cpu.[ch],decode.[ch],extract.c,model.c: Regenerate. |
| 1337 | * sem.c,sem-switch.c: Regenerate. |
| 1338 | * cpux.[ch],decodex.[ch],readx.c,semx.c: Regenerate. |
| 1339 | |
| 1340 | Tue Feb 17 18:18:10 1998 Doug Evans <devans@seba.cygnus.com> |
| 1341 | |
| 1342 | * Makefile.in (M32R_OBJS): Add cpu.o. |
| 1343 | (cpu.o): Add rule for. |
| 1344 | (NL_TARGET): Define. |
| 1345 | * configure.in: Add AC_CHECK_PROG(SCHEME). |
| 1346 | * cpu.c: New file. |
| 1347 | * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. |
| 1348 | * sem-switch.c,sem.c: Regenerate. |
| 1349 | * mloop.in (execute): Update call to semantic fn. |
| 1350 | (M32RX_OBJS): Add cpux.o. |
| 1351 | (cpux.o): Add rule for. |
| 1352 | cpux.c: New file. |
| 1353 | * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. |
| 1354 | * m32rx.c (m32rx_h_accums_{get,set}): Rewrite. |
| 1355 | (m32rx_h_cr_{get,set}): New functions. |
| 1356 | (m32rx_h_accums_{get,set}): New functions. |
| 1357 | * mloopx.in: Rewrite main loop. |
| 1358 | |
| 1359 | * m32r.c (do_trap): Move from here. |
| 1360 | * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support. |
| 1361 | (sim_create_inferior): Use h_pc_set. |
| 1362 | (h_pc_{get,set}): New functions. |
| 1363 | (h_gr_{get,set}): New functions. |
| 1364 | (syscall_{read,write}_mem): New functions. |
| 1365 | * sim-main.h (h_{gr,pc}_{get,set}): Declare. |
| 1366 | |
| 1367 | Tue Feb 17 12:44:38 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1368 | |
| 1369 | * sim-if.c (sim_store_register, sim_fetch_register): Pass in |
| 1370 | length parameter. Return -1. |
| 1371 | (sim_create_inferior): Pass 4 sim_store_register. |
| 1372 | |
| 1373 | Wed Feb 11 19:53:48 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1374 | |
| 1375 | * sim-main.h (CIA_GET,CIA_SET): Provide dummy definitions for now. |
| 1376 | |
| 1377 | * decode.c, decode.h, sem.c, sem-switch.c, model.c: Regenerate. |
| 1378 | * cpux.c, decodex.c, decodex.h, readx.c, semx.c, modelx.c: Regenerate. |
| 1379 | |
| 1380 | Mon Feb 9 19:41:54 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1381 | |
| 1382 | * decode.c, sem.c: Regenerate. |
| 1383 | * cpux.h, decodex.c, readx.c, semx.c: Regenerate. |
| 1384 | * m32rx.c (m32rx_h_accums_set): New function. |
| 1385 | (m32rx_model_mark_[gs]et_h_gr): New function. |
| 1386 | * mloopx.in: Rewrite. |
| 1387 | * Makefile.in (mloopx.o): Build with -parallel. |
| 1388 | * sim-main.h (_sim_cpu): Delete member `par_exec'. |
| 1389 | * tconfig.in (WITH_SEM_SWITCH_FULL): Define as 0 for m32rx. |
| 1390 | |
| 1391 | Thu Feb 5 12:44:31 1998 Doug Evans <devans@seba.cygnus.com> |
| 1392 | |
| 1393 | * Makefile.in (m32r.o): Depend on cpu.h |
| 1394 | (extract.o): Pass -DSCACHE_P. |
| 1395 | * mloop.in (extract{16,32}): Update call to m32r_decode. |
| 1396 | * arch.h,cpu.h,cpuall.h,decode.[ch]: Regenerate. |
| 1397 | * extract.c,model.c,sem-switch.c,sem.c: Regenerate. |
| 1398 | * sim-main.h: #include "ansidecl.h". |
| 1399 | Don't include cpu-opc.h, done by arch.h. |
| 1400 | * Makefile.in (M32RX_OBJS): Build m32rx support now. |
| 1401 | (m32rx.o): New rule. |
| 1402 | * m32r-sim.h (m32rx_h_cr_[gs]et): Define. |
| 1403 | * m32rx.c (m32rx_{fetch,store}_register): Update {get,set} of PC. |
| 1404 | (m32rx_h_accums_get): New function. |
| 1405 | * mloopx.in: Update call to m32rx_decode. Rewrite exec loop. |
| 1406 | * cpux.h,decodex.[ch],modelx.c,readx.c,semx.c: Regenerate. |
| 1407 | |
| 1408 | Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1409 | |
| 1410 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1411 | |
| 1412 | Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com> |
| 1413 | |
| 1414 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1415 | |
| 1416 | Thu Jan 29 11:22:00 1998 Doug Evans <devans@canuck.cygnus.com> |
| 1417 | |
| 1418 | * Makefile.in (M32RX_OBJS): Comment out until m32rx port working. |
| 1419 | * arch.h (HAVE_CPU_M32R{,X}): Delete, moved to m32r-opc.h. |
| 1420 | * arch.c (machs): Check ifdef HAVE_CPU_FOO for each entry. |
| 1421 | |
| 1422 | Tue Jan 20 14:16:02 1998 Nick Clifton <nickc@cygnus.com> |
| 1423 | |
| 1424 | * cpux.h: Fix duplicate definition of h_accums field for |
| 1425 | fmt_53_sadd structure. |
| 1426 | |
| 1427 | Tue Jan 20 01:42:17 1998 Doug Evans <devans@seba.cygnus.com> |
| 1428 | |
| 1429 | * Makefile.in: Add m32rx objs, and rules to build them. |
| 1430 | * cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files. |
| 1431 | * m32rx.c, mloopx.in: New files. |
| 1432 | |
| 1433 | Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> |
| 1434 | |
| 1435 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1436 | |
| 1437 | Mon Jan 19 14:13:40 1998 Doug Evans <devans@seba.cygnus.com> |
| 1438 | |
| 1439 | * arch.c, arch.h, cpuall.h: New files. |
| 1440 | * arch-defs.h: Deleted. |
| 1441 | * mloop.in: Renamed from mainloop.in. |
| 1442 | * Makefile.in: Update. |
| 1443 | * sem-ops.h: Deleted. |
| 1444 | * mem-ops.h: Deleted. |
| 1445 | (arch): Renamed from CPU. |
| 1446 | * cpu.h: New file. |
| 1447 | * decode.c: Redone. |
| 1448 | * decode.h: Redone. |
| 1449 | * extract.c: Redone. |
| 1450 | * model.c: Redone. |
| 1451 | * sem-switch.c: Redone. |
| 1452 | * sem.c: Renamed from semantics.c, and redone. |
| 1453 | * m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update. |
| 1454 | (GETTWI,SETTWI,BRANCH_NEW_PC): Define. |
| 1455 | * m32r.c (WANT_CPU,WANT_CPU_M32R): Define. |
| 1456 | (m32r_{fetch,store}_register): New functions. |
| 1457 | (model_mark_{get,set}_h_gr): Prefix with m32r_. |
| 1458 | (m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_. |
| 1459 | (h_cr_{get,set}): Prefix with m32r_. |
| 1460 | (do_trap): Fetch state from current_cpu, not current_state. |
| 1461 | Call sim_engine_halt instead of engine_halt. |
| 1462 | * sim-if.c (alloc_cpu): New function. |
| 1463 | (free_state): New function. |
| 1464 | (sim_open): Call sim_state_alloc, and malloc space for selected cpu |
| 1465 | type. Call sim_analyze_program. |
| 1466 | (sim_create_inferior): Handle selected cpu type when setting PC. |
| 1467 | (sim_resume): Handle m32rx. |
| 1468 | (sim_stop_reason): Deleted. |
| 1469 | (print_m32r_misc_cpu): Update. |
| 1470 | (sim_{fetch,store}_register): Handle m32rx. |
| 1471 | (sim_{read,write}): Deleted. |
| 1472 | (sim_engine_illegal_insn): New function. |
| 1473 | * sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h. |
| 1474 | Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r. |
| 1475 | Include cpux.h,decodex.h if m32rx. |
| 1476 | (_sim_cpu): Include member appropriate cpu_data member for the cpu. |
| 1477 | (M32R_MISC_PROFILE): Renamed from M32R_PROFILE. |
| 1478 | (sim_state): Delete members core,events,halt_jmp_buf. |
| 1479 | Change `cpu' member to be a pointer to the cpu's struct, rather than |
| 1480 | record inside the state struct. |
| 1481 | * tconfig.in (WITH_DEVICES): Define here. |
| 1482 | (WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu. |
| 1483 | |
| 1484 | Fri Jan 16 12:16:56 1998 Nick Clifton <nickc@cygnus.com> |
| 1485 | |
| 1486 | * arch-defs.h (INSN_NAME): Fix typo. |
| 1487 | |
| 1488 | Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1489 | |
| 1490 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1491 | * config.in: Ditto. |
| 1492 | |
| 1493 | Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com> |
| 1494 | |
| 1495 | * m32r-sim.h (MSPR_ADDR): New macro. |
| 1496 | (m32r_mspr_device): Declare. |
| 1497 | (struct _device): Define. |
| 1498 | * m32r.c (m32r_mspr_device): New global. |
| 1499 | (device_{io_{read,write}_buffer,error}): New functions. |
| 1500 | * mem-ops.h (SETMEM*): Use sim_core_write_map, not read map. |
| 1501 | * sim-if.c: Delete redundant inclusion of cpu-sim.h. |
| 1502 | (sim_open): Attach device to handle MSPR register. |
| 1503 | * sim-main.h (WITH_DEVICES): Define as 1. |
| 1504 | Include cpu-sim.h. |
| 1505 | |
| 1506 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1507 | |
| 1508 | Wed Dec 3 18:08:44 1997 Doug Evans <devans@canuck.cygnus.com> |
| 1509 | |
| 1510 | * configure.in (SIM_AC_OPTION_ENVIRONMENT): Call. |
| 1511 | * configure: Regenerated. |
| 1512 | |
| 1513 | Wed Nov 19 12:17:08 1997 Doug Evans <devans@canuck.cygnus.com> |
| 1514 | |
| 1515 | * mem-ops.h: Rename SIM_SIG{ACCESS,ALIGN} to SIM_SIG{SEGV,BUS}. |
| 1516 | * sim-if.c (sim_open): Call sim_config. |
| 1517 | (sim_stop_reason): Update call to sim_signal_to_host. |
| 1518 | |
| 1519 | Tue Nov 18 15:33:48 1997 Doug Evans <devans@canuck.cygnus.com> |
| 1520 | |
| 1521 | * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS). |
| 1522 | |
| 1523 | Fri Oct 31 18:46:46 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1524 | |
| 1525 | * sim-if.c (sim_open): Delete dead call to sim_core_attach. |
| 1526 | |
| 1527 | Mon Oct 27 12:43:54 1997 Doug Evans <devans@canuck.cygnus.com> |
| 1528 | |
| 1529 | * sem-ops.h (U{DIV,MOD}[BHSD]I): Use unsigned division. |
| 1530 | |
| 1531 | Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1532 | |
| 1533 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1534 | |
| 1535 | Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1536 | |
| 1537 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1538 | |
| 1539 | Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1540 | |
| 1541 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1542 | |
| 1543 | Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1544 | |
| 1545 | * Makefile.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_SCACHE, |
| 1546 | SIM_DEFAULT_MODEL): Delete, moved to common. |
| 1547 | (SIM_EXTRA_CFLAGS): Update. |
| 1548 | |
| 1549 | Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1550 | |
| 1551 | * configure.in (sim_link_links): Configure non-strict memory |
| 1552 | alignment. |
| 1553 | |
| 1554 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1555 | |
| 1556 | Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1557 | |
| 1558 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1559 | |
| 1560 | Wed Sep 17 17:44:40 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1561 | |
| 1562 | * sim-if.c (sim_open): Allocate memory under sim-memopt module |
| 1563 | using sim_do_commandf. |
| 1564 | (sim_open): Set magic-number at the start. |
| 1565 | (sim_do_command): Implement. |
| 1566 | |
| 1567 | * sim-main.h (sim_engine_halt): Map onto engine_halt. |
| 1568 | |
| 1569 | Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1570 | |
| 1571 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1572 | |
| 1573 | Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> |
| 1574 | |
| 1575 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1576 | |
| 1577 | Fri Sep 5 10:21:48 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1578 | |
| 1579 | * Makefile.in (SIM_OBJS): Add sim-memopt.o module. |
| 1580 | |
| 1581 | Thu Sep 4 10:30:02 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1582 | |
| 1583 | * sim-if.c (sim_open): Pass zero modulo arg to sim_core_attach. |
| 1584 | |
| 1585 | Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1586 | |
| 1587 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1588 | * config.in: Ditto. |
| 1589 | |
| 1590 | Tue Aug 26 10:39:42 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1591 | |
| 1592 | * sim-if.c (sim_kill): Delete. |
| 1593 | (sim_create_inferior): Add ABFD argument. |
| 1594 | (sim_load): Move setting of PC from here. |
| 1595 | (sim_create_inferior): To here. |
| 1596 | (sim_load): Delete, use sim-hload.c instead. |
| 1597 | |
| 1598 | * Makefile.in (SIM_OBJS): Add sim-hload.o module. |
| 1599 | |
| 1600 | Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1601 | |
| 1602 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1603 | * config.in: Ditto. |
| 1604 | |
| 1605 | Mon Aug 25 15:54:08 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1606 | |
| 1607 | * sim-if.c (sim_open): Add ABFD argument. |
| 1608 | |
| 1609 | Tue Jul 22 10:16:16 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1610 | |
| 1611 | * sim-main.h (M32R_DEFAULT_MEM_SIZE): New macro. |
| 1612 | * sim-if.c (sim_open): Use it. |
| 1613 | |
| 1614 | Wed Jun 4 12:48:12 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1615 | |
| 1616 | * sim-main.h (WITH_ENGINE): Disable the common engine for now. |
| 1617 | |
| 1618 | Tue May 27 14:15:44 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1619 | |
| 1620 | * sim-if.c (sim_read): Pass NULL cpu to sim_core_read_buffer. |
| 1621 | (sim_write): Ditto for write. |
| 1622 | |
| 1623 | * m32r.c (do_trap): Ditto for read/write. |
| 1624 | |
| 1625 | Tue May 20 10:18:25 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1626 | |
| 1627 | * sim-if.c (sim_open): Add callback argument. |
| 1628 | (sim_set_callbacks, sim_callback): Delete. |
| 1629 | (sim_load): Set STATE_LOADED_P. |
| 1630 | |
| 1631 | Mon May 19 12:55:42 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1632 | |
| 1633 | * Makefile.in (SIM_OBJS): Link in sim-abort.o as a stub for |
| 1634 | sim_engine_abort. |
| 1635 | |
| 1636 | Mon May 5 12:45:28 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1637 | |
| 1638 | * sim-if.c (sim_open): Update to reflect changes to core in |
| 1639 | ../common/. |
| 1640 | * mem-ops.h (GETMEMQI, GETMEMHI, GETMEMSI, GETMEMDI, GETMEMUQI, |
| 1641 | GETMEMUHI, GETMEMUSI, GETMEMUDI, SETMEMQI, SETMEMHI, SETMEMSI, |
| 1642 | SETMEMDI, SETMEMUQI, SETMEMUHI, SETMEMUSI, SETMEMUDI): Ditto. |
| 1643 | |
| 1644 | Sat May 3 08:38:55 1997 Doug Evans <dje@seba.cygnus.com> |
| 1645 | |
| 1646 | * decode.c (decode): Add computed goto support. |
| 1647 | |
| 1648 | Fri May 2 16:30:26 1997 Andrew Cagney <cagney@b1.cygnus.com> |
| 1649 | |
| 1650 | * mem-ops.h: Stub additional core read/write arguments. |
| 1651 | |
| 1652 | * sim-main.h: Declare sim_cia - type SI. |
| 1653 | (struct _sim_cpu): Move base type to end per common. |
| 1654 | (struct _sim_state): Ditto. |
| 1655 | |
| 1656 | Thu May 1 11:15:34 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1657 | |
| 1658 | Merge from branch into devo. CGEN generic files moved to common |
| 1659 | directory. K&R C support is no longer provided. |
| 1660 | |
| 1661 | Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1662 | |
| 1663 | * configure: Regenerated to track ../common/aclocal.m4 changes. |
| 1664 | |
| 1665 | Sat Apr 12 12:57:33 1997 Felix Lee <flee@yin.cygnus.com> |
| 1666 | |
| 1667 | * Makefile.in, seman-cache.c: new file, for wingdb build. |
| 1668 | * sim-alloca.h: fixed for wingdb. |
| 1669 | |
| 1670 | Mon Apr 7 13:33:29 1997 Doug Evans <dje@seba.cygnus.com> |
| 1671 | |
| 1672 | * decode.c (*): m32r_cgen_insn_table renamed to ..._entries. |
| 1673 | * mainloop.in: Use CGEN_INSN_INDEX instead of CGEN_INSN_TYPE. |
| 1674 | * simdefs.h (INSN_NAME): m32r_cgen_insn_table renamed to ..._entries. |
| 1675 | |
| 1676 | Fri Apr 4 19:23:12 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1677 | |
| 1678 | * cgen-utils.in (ex_illegal): Fill in abuf->length, abuf->addr. |
| 1679 | (exc_illegal): Likewise. |
| 1680 | * decode.c (decode_vars): Add decode_illegal. |
| 1681 | * genmloop.sh: #include "cpu-opc.h". |
| 1682 | * sem-switch.c (case_INSN_ILLEGAL): Declare. |
| 1683 | (labels): Add case_INSN_ILLEGAL. |
| 1684 | (SWITCH): Add INSN_ILLEGAL case. |
| 1685 | |
| 1686 | Wed Mar 26 12:34:00 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1687 | |
| 1688 | * model.c (model_module): Use 0 not NULL. |
| 1689 | |
| 1690 | * genmloop.sh (sim_main_loop): Handle k&r c. |
| 1691 | |
| 1692 | * sem-switch.c: Regenerate to get k&r c support. |
| 1693 | * semantics.c: Likewise. |
| 1694 | |
| 1695 | * m32r.c (ADD_{OV,CA}_SI,SUB_{OV,CA}_SI): Renamed to {ADD,SUB}[OC]FSI. |
| 1696 | (ADDCSI,SUBCSI): New functions. |
| 1697 | * sem-switch.c (addv,addv3,addx,subv,subx): Fix carry bit handling. |
| 1698 | * semantics.c (addv,addv3,addx,subv,subx): Fix carry bit handling. |
| 1699 | |
| 1700 | * simcache.c (simcache_{install,init,uninstall}): Use |
| 1701 | DECLARE_MODULE_INSTALL_HANDLER. |
| 1702 | (simcache_option_handler): Use DECLARE_OPTION_HANDLER. |
| 1703 | |
| 1704 | * utils.c: #include "semops.h". |
| 1705 | |
| 1706 | Tue Mar 11 14:30:26 1997 Doug Evans <dje@seba.cygnus.com> |
| 1707 | |
| 1708 | * profile.c (profile_print_simcache): Fix thinko in printf text. |
| 1709 | |
| 1710 | * simdefs.h (struct argbuf): Add member to fmt_20 so it's not empty. |
| 1711 | |
| 1712 | Mon Mar 10 11:06:29 1997 Doug Evans <dje@seba.cygnus.com> |
| 1713 | |
| 1714 | * m32r.c (h_cr_get): Rewrite. |
| 1715 | (h_cr_set): Rewrite. |
| 1716 | * sem-switch.c (rte): bcarry renamed to bcond. |
| 1717 | * semantics.c (rte): Likewise. |
| 1718 | * simdefs.h (CPU_STATE): Likewise. |
| 1719 | |
| 1720 | * config.in (HAVE_SYS_TIME_H): Add. |
| 1721 | * configure.in: Check for sys/time.h. |
| 1722 | * configure: Regenerated. |
| 1723 | * utils.c: Include sys/time.h if present. |
| 1724 | |
| 1725 | * common.c (sim_parse_args): Account for NULL terminating entry |
| 1726 | in long_options table. |
| 1727 | |
| 1728 | * genmloop.sh (RUN_FAST_P): Don't run fast if tracing. |
| 1729 | Always use cache if configured in. |
| 1730 | * mainloop.in (do_extract_insn{16,32}): New functions. |
| 1731 | (normal,fast): Call them. Handle starting in left slot. |
| 1732 | * simcache.c (simcache_option_handler): Disallow -c0. |
| 1733 | * sem-switch.c (TRACE_RESULT): Redefine so no tracing. |
| 1734 | |
| 1735 | * profile.c (profile_print_simcache): Fix percentage calc. |
| 1736 | |
| 1737 | * Makefile.in (INCLUDE_DEPS): Delete simcommon.h. |
| 1738 | |
| 1739 | Sun Mar 9 20:42:17 1997 Doug Evans <dje@seba.cygnus.com> |
| 1740 | |
| 1741 | * Makefile.in (COMMON_{PRE,POST}_CONFIG_FRAG): Add delimiters for. |
| 1742 | (M32R_INCLUDE_DEPS): Use cpu-sim.h instead of m32r-sim.h. |
| 1743 | Add mod-list.h. |
| 1744 | (mrun.o): Don't depend on M32R_INCLUDE_DEPS. |
| 1745 | (sim-if.o,m32r.o,utils.o): Likewise. |
| 1746 | (common.o): Don't explicitly depend on mod-list.h. |
| 1747 | (mainloop.c): Pass CPU to genmloop.sh. |
| 1748 | (stamp-modules): Depend on configure. |
| 1749 | (decode.o): Depend on decode,h, memops.h, semops.h, cpu-opc.h. |
| 1750 | (extract.o): Depend on decode.h, memops.h, semops.h. |
| 1751 | (semantics.o,seman-cache.o): Likewise. |
| 1752 | (model.o,ops.o): Depend on memops.h. |
| 1753 | (extr-cache.o): Disable building for the moment. |
| 1754 | |
| 1755 | * simcommon.h: Delete, move contents into cgen-sim.h. |
| 1756 | * cgen-sim.h: Don't include ansidecl.h,bfd.h,simfns.h. |
| 1757 | (UINT,CGEN_CAT3): Define. |
| 1758 | ({extract,semantic}_fn_t): Renamed to {EXTRACT,SEMANTIC}_FN. |
| 1759 | (decode_t): Renamed to DECODE. |
| 1760 | |
| 1761 | * simfns.h: Delete, contents moved to memops.h,semops.h. |
| 1762 | * memops.h: New file. |
| 1763 | * semops.h: New file. |
| 1764 | * decode.h: Renamed from semantics.h. |
| 1765 | |
| 1766 | * sim-argv.h: New file. |
| 1767 | * Makefile.in (memory.o,trace.o,profile.o,simcache.o,common): Add |
| 1768 | dependency of sim-argv.h. |
| 1769 | |
| 1770 | * sim-alloca.h: New file. |
| 1771 | * common.c: Include it. |
| 1772 | * Makefile.in (common.o): Add dependency. |
| 1773 | |
| 1774 | * config.in (HAVE_TIME_H,HAVE_SYS_RESOURCE_H): Add. |
| 1775 | (HAVE_GETRUSAGE,HAVE_TIME): Add. |
| 1776 | * configure.in: sinclude ../common/aclocal.m4. |
| 1777 | Check for headers time.h, sys/resource.h. |
| 1778 | Check for functions time, getrusage. |
| 1779 | (sim_link_{files,links}): Add link cpu-opc.h. |
| 1780 | (sim_profile): Add simcache. |
| 1781 | (SIM_AC_PROFILE): Add simcache, profile.o. |
| 1782 | (simcache module): Delete extr-cache.o for now. |
| 1783 | (--enable-sim-cache): Allow specification of default cache size. |
| 1784 | * configure: Regenerated. |
| 1785 | |
| 1786 | * decode.c: #include cgen-sim.h,memops.h,semops.h,decode.h, |
| 1787 | cpu-sim.h,cpu-opc.h. Don't include m32r-sim.h. |
| 1788 | Regenerate. |
| 1789 | |
| 1790 | * extract.c: #include cgen-sim.h,decode.h,cpu-sim.h. |
| 1791 | Don't include m32r-sim.h. |
| 1792 | (*): Define/Undef FLD macro. Use it to reference ARGBUF. |
| 1793 | Simplify profiling test with PROFILE_MODEL_P. |
| 1794 | (mvfc,mvtc): Fix access of control registers. |
| 1795 | * semantic.c: #include cgen-sim.h,memops.h,semops.h,decode.h,cpu-sim.h. |
| 1796 | Don't include m32r-sim.h. |
| 1797 | (*): Define/Undef FLD macro. Use it to reference ARGBUF. |
| 1798 | Simplify profiling test with PROFILE_MODEL_P. |
| 1799 | (mvfc,mvtc): Fix access of control registers. |
| 1800 | |
| 1801 | * sem-switch.c: New file, for GCC computed goto support. |
| 1802 | |
| 1803 | * genmloop.sh: Add #include's of bfd.h,callback.h,cgen-sim.h, |
| 1804 | memops.h,semops.h,trace.h,cpu-sim.h. |
| 1805 | (RUN_FAST_P): Change default to run fast if cache size > 0 |
| 1806 | and not profiling. |
| 1807 | (sim_main_loop): Record execution time. |
| 1808 | Record instruction count even in fast mode. |
| 1809 | (init): Allow cpu to provide init code in mainloop.in. |
| 1810 | (FAST): Define as 0 or 1 depending on fast mode. |
| 1811 | * mainloop.in (normal): Combine with fast case. |
| 1812 | Add support for GCC computed gotos. Count simcache hits/misses. |
| 1813 | (init): Initialize "switch" labels if GNUC. |
| 1814 | |
| 1815 | * cgen-utils.in: Don't include opcode/cgen.h. |
| 1816 | Include cgen-sim.h, cpu-opc.h. |
| 1817 | * common.c: Don't include simcommon.h,mod-list.h. Include cgen-sim.h. |
| 1818 | * m32r-sim.h: Don't include mod-list.h |
| 1819 | (RUN_FAST_P): Delete. |
| 1820 | * m32r.c: Don't include profile.h. #include ansidecl.h,cgen-sim.h, |
| 1821 | semops.h,memory.h,trace.h |
| 1822 | (h_cr_get,h_cr_set): New functions. |
| 1823 | * memory.c: #include cgen-sim.h,callback.h. |
| 1824 | * ops.c: Don't include profile.h,m32r-sim.h. |
| 1825 | Include cgen-sim.h,memops.h,cpu-sim.h. |
| 1826 | (MEMOPS_DEFINE_INLINE): Renamed from SIMFNS_DEFINE_INLINE. |
| 1827 | * trace.c: Include cgen-sim.h,cpu-opc.h. |
| 1828 | * trace.h (trace_insn_{init,fini}): Declare. |
| 1829 | |
| 1830 | * model.c: Don't include signal.h,stdlib.h,m32r-sim.h. |
| 1831 | Include cgen-sim.h,cpu-sim.h,cpu-opc.h. |
| 1832 | Regenerate to get new insn aliases. |
| 1833 | |
| 1834 | * mrun.c: #include "ansidecl.h". |
| 1835 | (STATE): Use struct sim_state instead. |
| 1836 | |
| 1837 | * profile.c: Surround #include <stdlib.h> with HAVE_STDLIB_H. |
| 1838 | Don't include simcommon.h. Include cgen-sim.h,cpu-opc.h. |
| 1839 | (PROFILE_{READ,WRITE}_MASK): Replace with PROFILE_MEMORY_MASK. |
| 1840 | (profile_print_simcache): New function. |
| 1841 | (profile_print): Call it. Print simulator speed stats. |
| 1842 | * profile.h (PROFILE_{READ,WRITE}_MASK): Replace with |
| 1843 | PROFILE_MEMORY_MASK. |
| 1844 | (MODULE_PROFILE_SIMCACHE_P): Define. |
| 1845 | (PROFILE_SIMCACHE_MASK): Define. |
| 1846 | (PROFILE_COUNT): New members total_insn_count,exec_time. |
| 1847 | New members simcache_hits,simcache_misses. |
| 1848 | (PROFILE_SIMCACHE_{HITS,MISSES}): Define. |
| 1849 | (PROFILE_MODEL_P): New macro. |
| 1850 | (PROFILE_COUNT_SIMCACHE_{HIT,MISS}): New macros. |
| 1851 | |
| 1852 | * sim-if.c: Surround #include <stdlib.h> with HAVE_STDLIB_H. |
| 1853 | Don't include simcommon.h,m32r-sim.h. Include cgen-sim.h,cpu-sim.h. |
| 1854 | (sim_resume): Use USING_SIMCACHE_P instead of RUN_FAST_P. |
| 1855 | (sim_info): Pass verbose to profile_print. |
| 1856 | |
| 1857 | * simcache.c: Include cgen-sim.h,callback.h. |
| 1858 | (USING_SIMCACHE_P): Replace with SIMCACHE_P. |
| 1859 | (simcache_option_handler): Ensure cache size at least 2. |
| 1860 | Allow config time specification of default cache size. |
| 1861 | * simcache.h (struct simcache): Support GCC computed gotos. |
| 1862 | (SIMCACHE_DEFAULT_CACHE_SIZE): USe CONFIG_SIM_CACHE_SIZE if defined. |
| 1863 | (USING_SIMCACHE_P): New macro. |
| 1864 | |
| 1865 | * simdefs.h: Don't include m32r-opc.h. |
| 1866 | (CGEN_MAX_SIM_INSNS): Define. |
| 1867 | (CPU_STATE): Regenerate. |
| 1868 | (ARGBUF): Regenerate. |
| 1869 | (extract,semantic handler decls): Delete, moved to decode.h. |
| 1870 | |
| 1871 | * tconfig.in: Don't include cgen-sim.h,m32r-sim.h. |
| 1872 | (USE_SEM_SWITCH): Define. |
| 1873 | |
| 1874 | * utils.c: Include bfd.h,time.h,sys/resource.h. |
| 1875 | (sim_time_get,sim_time_elapsed): New functions. |
| 1876 | * cgen-sim.h (SIM_TIME,sim_time_get,sim_time_elapsed): Declare. |
| 1877 | |
| 1878 | Fri Jan 31 20:25:06 1997 Doug Evans <dje@canuck.cygnus.com> |
| 1879 | |
| 1880 | * configure.in (AC_CHECK_HEADERS): Handle i386-windows. |
| 1881 | * configure: Regenerated. |
| 1882 | * model.c: #include <stdlib.h>. |
| 1883 | * simcache.c: #include "libiberty.h". |
| 1884 | * simcommon.h (alloca): Handle i386-windows. |
| 1885 | |
| 1886 | * common.c: #include libiberty.h. |
| 1887 | (sim_signal_to_host): Return 5 if wingdb. |
| 1888 | |
| 1889 | Mon Jan 27 15:22:49 1997 Doug Evans <dje@seba.cygnus.com> |
| 1890 | |
| 1891 | * configure.in (sim_cache): Enabled by default now, pass default |
| 1892 | cache size to --enable-sim-cache. |
| 1893 | * simcache.c (simcache_option_handler): Allow -c 0. |
| 1894 | |
| 1895 | * simdefs.h,simfns.h: Regenerate |
| 1896 | * decode.c,extract.c,model.c,ops.c,semantics.c: Regenerate. |
| 1897 | |
| 1898 | Tue Jan 21 16:21:01 1997 Doug Evans <dje@seba.cygnus.com> |
| 1899 | |
| 1900 | Add model profiling support. |
| 1901 | * configure.in: Handle --enable-sim-model. |
| 1902 | (sim_profile): Add model. |
| 1903 | * Makefile.in (model.o): Add rule. |
| 1904 | * cgen-sim.h (UNIT,INSN_TIMING,MACH,MODEL): New types. |
| 1905 | * extract.c (*): Add model profiling support. |
| 1906 | * m32r.c (model_mark_{get,set}_h_gr): New functions. |
| 1907 | (model_mark_{busy,unbusy}_reg): New functions. |
| 1908 | * profile.c (profile_option_handler): Recognize --profile model. |
| 1909 | (profile_print_model): New function. |
| 1910 | (profile_print): Call it. |
| 1911 | * profile.h (MODULE_profile_model,MODULE_PROFILE_MODEL_P): Define. |
| 1912 | (PROFILE_MODEL_MASK,PROFILE_LABEL_WIDTH): Define. |
| 1913 | (PROFILE_COUNT): New members cycle_count,cti_stall_count, |
| 1914 | load_stall_count,taken_count,untaken_count. |
| 1915 | * semantics.c (*): Add model profiling support. |
| 1916 | * simcommon.h (struct sim_state): New members mach,model. |
| 1917 | * simdefs.h (CPU_PROFILE,MODEL_TYPE,UNIT_TYPE): New type. |
| 1918 | (MAX_MODELS,MAX_UNITS): Define. |
| 1919 | * tconfig.in (STATE_EXTRA_MEMBERS): Add cpu_profile. |
| 1920 | |
| 1921 | * Makefile.in (INCLUDE_DEPS): Add $(SIM_MODULES_HDRS). |
| 1922 | (stamp-modules): Depend on genmodlist.sh. |
| 1923 | * common.c (standard_options): Add --max-insns. |
| 1924 | (copy_argv): New function. |
| 1925 | * tconfig.in (SIM_HAVE_MAX_INSNS): Define. |
| 1926 | * genmloop.sh: Allow mainloop.in to contain support code. |
| 1927 | * mainloop.in: Move do_insn16,do_insn32 here. |
| 1928 | * m32r.c (do_trap): Handle SYS_argvlen,SYS_argv,SYS_read. |
| 1929 | * sim-if.c (sim_open): Don't set max insn count. |
| 1930 | (sim_create_inferior): Save argv,envp. |
| 1931 | * simcommon.h (struct sim_state): New members argv,envp. |
| 1932 | * simdefs.h ([GS]ETTWI,[GS]ETTUWI,[GS]ETTAI): Define. |
| 1933 | ([GS]ETMEMWI,[GS]ETMEMUWI,[GS]ETMEMAI): Define. |
| 1934 | (ARGBUF): New members h_gr_get, h_gr_set. |
| 1935 | * trace.c (trace_insn_init,trace_insn_fini): New functions. |
| 1936 | (trace_printf): Print to buffer, output later by trace_insn_fini. |
| 1937 | * trace.h (TRACE_INSN_{INIT,FINI}): Define. |
| 1938 | |
| 1939 | Thu Dec 19 16:01:59 1996 Doug Evans <dje@canuck.cygnus.com> |
| 1940 | |
| 1941 | * configure.in (AC_FUNC_ALLOCA): Call. |
| 1942 | * configure: Regenerate. |
| 1943 | * config.h (HAVE_ALLOCA_H): Add. |
| 1944 | * simcommon.h: Add alloca support. |
| 1945 | (DECLARE_MODULE_INSTALL_HANDLER): Define. |
| 1946 | (DECLARE_OPTION_HANDLER): Define. |
| 1947 | (MEM_FN): Declare using PARAMS. |
| 1948 | (DECLARE_MEM_FN): Define. |
| 1949 | * trace.c (trace_result): Tweak for !STDC. |
| 1950 | * cgen-sim.h (UDI_FN_SUPPORT): Define if ! HAVE_LONGLONG. |
| 1951 | * cgen-utils.in (disasm_sprintf): Fix va_arg call in !STDC case. |
| 1952 | * common.c (sim_print_help_fn): Use PARAMS. |
| 1953 | (standard_option_handler): Fix decl for !STDC systems. |
| 1954 | * memory.c: #include <stdio.h> |
| 1955 | (mem_flat_{install,init,uninstall}): Fix decl for !STDC systems. |
| 1956 | (mem_flat_{read,write},mem_flat_option_handler): Likewise. |
| 1957 | * profile.c (profile_install): Likewise. |
| 1958 | (profile_option_handler): Likewise. |
| 1959 | |
| 1960 | Thu Dec 19 11:06:19 1996 Doug Evans <dje@seba.cygnus.com> |
| 1961 | |
| 1962 | * semantics.c (*): Don't suffix big unsigned numbers with "U". |
| 1963 | Prefix them with 0x instead. |
| 1964 | |
| 1965 | * cgen-sim.h (DI_FN_SUPPORT): Define if ! HAVE_LONGLONG. |
| 1966 | (SLADI,SRADI,CONVSIDI,CONVDISI): Delete, moved to simfns.h. |
| 1967 | * semantics.c (machi,maclo,macwhi,macwlo,mulhi,mullo): Implement. |
| 1968 | (mulwhi,mulwlo,mvtachi,mvtaclo,rac,rach): Implement. |
| 1969 | * simfns.h: Add decls for functional DI,UDI,SF,DF,XF,TF support. |
| 1970 | Add support for boolean and/or. |
| 1971 | * utils.c: Redo naming of DI functional support. |
| 1972 | (ANDDI,ORDI,ADDDI,MULDI,GEDI,LEDI,CONVHIDI): New functions. |
| 1973 | |
| 1974 | Tue Dec 17 12:57:48 1996 Doug Evans <dje@seba.cygnus.com> |
| 1975 | |
| 1976 | * Directory created. |