1 1.1 christos 2021-07-01 Mike Frysinger <vapier (a] gentoo.org> 2 1.1 christos 3 1.1 christos * configure.ac: Delete SIM_AC_OPTION_RESERVED_BITS call. 4 1.1 christos * aclocal.m4: Regenerate. 5 1.1 christos * configure: Regenerate. 6 1.1 christos 7 1.1 christos 2021-06-30 Mike Frysinger <vapier (a] gentoo.org> 8 1.1 christos 9 1.1 christos * configure: Regenerate. 10 1.1 christos 11 1.1 christos 2021-06-22 Mike Frysinger <vapier (a] gentoo.org> 12 1.1 christos 13 1.1 christos * configure: Regenerate. 14 1.1 christos 15 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org> 16 1.1 christos 17 1.1 christos * aclocal.m4: Regenerate. 18 1.1 christos * configure: Regenerate. 19 1.1 christos 20 1.1 christos 2021-06-21 Mike Frysinger <vapier (a] gentoo.org> 21 1.1 christos 22 1.1 christos * configure: Regenerate. 23 1.1 christos 24 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 25 1.1 christos 26 1.1 christos * configure.ac (SIM_AC_COMMON): Delete. 27 1.1 christos * aclocal.m4, configure: Regenerate. 28 1.1 christos 29 1.1 christos 2021-06-20 Mike Frysinger <vapier (a] gentoo.org> 30 1.1 christos 31 1.1 christos * aclocal.m4: Regenerate. 32 1.1 christos * configure: Regenerate. 33 1.1 christos 34 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org> 35 1.1 christos 36 1.1 christos * aclocal.m4: Regenerate. 37 1.1 christos * configure: Regenerate. 38 1.1 christos 39 1.1 christos 2021-06-19 Mike Frysinger <vapier (a] gentoo.org> 40 1.1 christos 41 1.1 christos * configure: Regenerate. 42 1.1 christos 43 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 44 1.1 christos 45 1.1 christos * aclocal.m4, configure: Regenerate. 46 1.1 christos 47 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 48 1.1 christos 49 1.1 christos * configure: Regenerate. 50 1.1 christos 51 1.1 christos 2021-06-18 Mike Frysinger <vapier (a] gentoo.org> 52 1.1 christos 53 1.1 christos * simops.c: Include sim-signal.h. 54 1.1 christos 55 1.1 christos 2021-06-17 Mike Frysinger <vapier (a] gentoo.org> 56 1.1 christos 57 1.1 christos * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. 58 1.1 christos * interp.c (sim_open): Set current_target_byte_order. 59 1.1 christos * aclocal.m4, configure: Regenerate. 60 1.1 christos 61 1.1 christos 2021-06-16 Mike Frysinger <vapier (a] gentoo.org> 62 1.1 christos 63 1.1 christos * configure: Regenerate. 64 1.1 christos 65 1.1 christos 2021-06-16 Mike Frysinger <vapier (a] gentoo.org> 66 1.1 christos 67 1.1 christos * configure: Regenerate. 68 1.1 christos * config.in: Removed. 69 1.1 christos 70 1.1 christos 2021-06-15 Mike Frysinger <vapier (a] gentoo.org> 71 1.1 christos 72 1.1 christos * config.in, configure: Regenerate. 73 1.1 christos 74 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 75 1.1 christos 76 1.1 christos * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. 77 1.1 christos 78 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 79 1.1 christos 80 1.1 christos * aclocal.m4, config.in, configure: Regenerate. 81 1.1 christos 82 1.1 christos 2021-06-12 Mike Frysinger <vapier (a] gentoo.org> 83 1.1 christos 84 1.1 christos * configure.ac: Delete calls to AC_CHECK_FUNCS_ONCE and 85 1.1 christos AC_CHECK_HEADERS_ONCE. 86 1.1 christos * config.in, configure: Regenerate. 87 1.1 christos 88 1.1 christos 2021-06-08 Mike Frysinger <vapier (a] gentoo.org> 89 1.1 christos 90 1.1 christos * Makefile.in: Replace $(IGEN) with $(IGEN_RUN) and ../igen/igen 91 1.1 christos with $(IGEN). 92 1.1 christos 93 1.1 christos 2021-06-08 Mike Frysinger <vapier (a] gentoo.org> 94 1.1 christos 95 1.1 christos * configure.ac (AC_CHECK_FUNCS_ONCE): Remove chown. 96 1.1 christos * simops.c (OP_10007E0): Remove HAVE_CHOWN check. 97 1.1 christos * config.in, configure: Regenerate. 98 1.1 christos 99 1.1 christos 2021-05-29 Mike Frysinger <vapier (a] gentoo.org> 100 1.1 christos 101 1.1 christos * simops.c (OP_10007E0): Add (void*) casts to argv & envp. 102 1.1 christos 103 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org> 104 1.1 christos 105 1.1 christos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete. 106 1.1 christos 107 1.1 christos 2021-05-17 Mike Frysinger <vapier (a] gentoo.org> 108 1.1 christos 109 1.1 christos * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define. 110 1.1 christos (struct sim_state): Delete. 111 1.1 christos 112 1.1 christos 2021-05-16 Mike Frysinger <vapier (a] gentoo.org> 113 1.1 christos 114 1.1 christos * interp.c, simops.c: Include defs.h. 115 1.1 christos * sim-main.h: Delete config.h include. 116 1.1 christos 117 1.1 christos 2021-05-16 Mike Frysinger <vapier (a] gentoo.org> 118 1.1 christos 119 1.1 christos * config.in, configure: Regenerate. 120 1.1 christos 121 1.1 christos 2021-05-04 Mike Frysinger <vapier (a] gentoo.org> 122 1.1 christos 123 1.1 christos * configure: Regenerate. 124 1.1 christos 125 1.1 christos 2021-05-03 Simon Marchi <simon.marchi (a] polymtl.ca> 126 1.1 christos 127 1.1 christos * interp.c (sim_open): Adjust format string specifier. 128 1.1 christos 129 1.1 christos 2021-05-01 Mike Frysinger <vapier (a] gentoo.org> 130 1.1 christos 131 1.1 christos * config.in, configure: Regenerate. 132 1.1 christos 133 1.1 christos 2021-04-26 Mike Frysinger <vapier (a] gentoo.org> 134 1.1 christos 135 1.1 christos * aclocal.m4, config.in, configure: Regenerate. 136 1.1 christos 137 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 138 1.1 christos 139 1.1 christos * configure, config.in: Rebuild. 140 1.1 christos 141 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 142 1.1 christos 143 1.1 christos * Makefile.in (INCLUDE): Remove. 144 1.1 christos 145 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 146 1.1 christos 147 1.1 christos * Makefile.in (interp.o, simops.o, semantics.o): Remove. 148 1.1 christos 149 1.1 christos 2021-04-22 Tom Tromey <tom (a] tromey.com> 150 1.1 christos 151 1.1 christos * configure: Rebuild. 152 1.1 christos 153 1.1 christos 2021-04-21 Mike Frysinger <vapier (a] gentoo.org> 154 1.1 christos 155 1.1 christos * aclocal.m4: Regenerate. 156 1.1 christos 157 1.1 christos 2021-04-21 Simon Marchi <simon.marchi (a] polymtl.ca> 158 1.1 christos 159 1.1 christos * configure: Regenerate. 160 1.1 christos 161 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org> 162 1.1 christos 163 1.1 christos * configure.ac: Change AC_CHECK_HEADERS to AC_CHECK_HEADERS_ONCE. 164 1.1 christos * configure: Regenerate. 165 1.1 christos 166 1.1 christos 2021-04-18 Mike Frysinger <vapier (a] gentoo.org> 167 1.1 christos 168 1.1 christos * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and 169 1.1 christos delete time. 170 1.1 christos * configure: Regenerate. 171 1.1 christos 172 1.1 christos 2021-04-12 Mike Frysinger <vapier (a] gentoo.org> 173 1.1 christos 174 1.1 christos * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. 175 1.1 christos 176 1.1 christos 2021-04-08 Simon Marchi <simon.marchi (a] polymtl.ca> 177 1.1 christos 178 1.1 christos * Makefile.in: Set ASAN_OPTIONS when running igen. 179 1.1 christos 180 1.1 christos 2021-04-02 Mike Frysinger <vapier (a] gentoo.org> 181 1.1 christos 182 1.1 christos * Makefile.in (../igen/igen): Delete rule. 183 1.1 christos (tmp-igen): Delete ../igen make. 184 1.1 christos 185 1.1 christos 2021-04-02 Mike Frysinger <vapier (a] gentoo.org> 186 1.1 christos 187 1.1 christos * aclocal.m4, configure: Regenerate. 188 1.1 christos 189 1.1 christos 2021-02-28 Mike Frysinger <vapier (a] gentoo.org> 190 1.1 christos 191 1.1 christos * configure: Regenerate. 192 1.1 christos 193 1.1 christos 2021-02-21 Mike Frysinger <vapier (a] gentoo.org> 194 1.1 christos 195 1.1 christos * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4. 196 1.1 christos * aclocal.m4, configure: Regenerate. 197 1.1 christos 198 1.1 christos 2021-02-13 Mike Frysinger <vapier (a] gentoo.org> 199 1.1 christos 200 1.1 christos * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS. 201 1.1 christos * aclocal.m4, configure: Regenerate. 202 1.1 christos 203 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org> 204 1.1 christos 205 1.1 christos * interp.c (sim_open): Delete call to STATE_WATCHPOINTS. 206 1.1 christos 207 1.1 christos 2021-02-06 Mike Frysinger <vapier (a] gentoo.org> 208 1.1 christos 209 1.1 christos * configure: Regenerate. 210 1.1 christos 211 1.1 christos 2021-01-31 Mike Frysinger <vapier (a] gentoo.org> 212 1.1 christos 213 1.1 christos * simops.c: Include stdlib.h. 214 1.1 christos * configure.ac (SIM_AC_OPTION_WARNINGS): Delete call. 215 1.1 christos * configure: Regenerate. 216 1.1 christos 217 1.1 christos 2021-01-31 Mike Frysinger <vapier (a] gentoo.org> 218 1.1 christos 219 1.1 christos * simops.c (OP_10007E0): Change reterr to RETERR. 220 1.1 christos 221 1.1 christos 2021-01-30 Mike Frysinger <vapier (a] gentoo.org> 222 1.1 christos 223 1.1 christos * interp.c (sim_open): Delete STATE_WATCHPOINTS (sd)->sizeof_pc. 224 1.1 christos 225 1.1 christos 2021-01-11 Mike Frysinger <vapier (a] gentoo.org> 226 1.1 christos 227 1.1 christos * config.in, configure: Regenerate. 228 1.1 christos * interp.c, simops.c: Delete HAVE_STRING_H, HAVE_STRINGS_H, 229 1.1 christos HAVE_STDLIB_H, HAVE_TIME_H, and strings.h include. 230 1.1 christos 231 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org> 232 1.1 christos 233 1.1 christos * configure: Regenerate. 234 1.1 christos 235 1.1 christos 2021-01-09 Mike Frysinger <vapier (a] gentoo.org> 236 1.1 christos 237 1.1 christos * configure.ac (SIM_AC_OPTION_WARNINGS): Pass "no". 238 1.1 christos * configure: Regenerate. 239 1.1 christos 240 1.1 christos 2021-01-08 Mike Frysinger <vapier (a] gentoo.org> 241 1.1 christos 242 1.1 christos * configure: Regenerate. 243 1.1 christos 244 1.1 christos 2021-01-04 Mike Frysinger <vapier (a] gentoo.org> 245 1.1 christos 246 1.1 christos * configure: Regenerate. 247 1.1 christos 248 1.1 christos 2017-09-06 John Baldwin <jhb (a] FreeBSD.org> 249 1.1 christos 250 1.1 christos * configure: Regenerate. 251 1.1 christos 252 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 253 1.1 christos 254 1.1 christos * config.in, configure: Regenerate. 255 1.1 christos 256 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 257 1.1 christos 258 1.1 christos * configure: Regenerate. 259 1.1 christos 260 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 261 1.1 christos 262 1.1 christos * configure: Regenerate. 263 1.1 christos 264 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 265 1.1 christos 266 1.1 christos * configure: Regenerate. 267 1.1 christos 268 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 269 1.1 christos 270 1.1 christos * configure: Regenerate. 271 1.1 christos 272 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 273 1.1 christos 274 1.1 christos * configure: Regenerate. 275 1.1 christos 276 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 277 1.1 christos 278 1.1 christos * configure: Regenerate. 279 1.1 christos 280 1.1 christos 2016-01-10 Mike Frysinger <vapier (a] gentoo.org> 281 1.1 christos 282 1.1 christos * configure: Regenerate. 283 1.1 christos 284 1.1 christos 2016-01-09 Mike Frysinger <vapier (a] gentoo.org> 285 1.1 christos 286 1.1 christos * config.in, configure: Regenerate. 287 1.1 christos 288 1.1 christos 2016-01-06 Mike Frysinger <vapier (a] gentoo.org> 289 1.1 christos 290 1.1 christos * interp.c (sim_open): Mark argv const. 291 1.1 christos (sim_create_inferior): Mark argv and env const. 292 1.1 christos 293 1.1 christos 2016-01-04 Mike Frysinger <vapier (a] gentoo.org> 294 1.1 christos 295 1.1 christos * configure: Regenerate. 296 1.1 christos 297 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org> 298 1.1 christos 299 1.1 christos * interp.c (sim_open): Update sim_parse_args comment. 300 1.1 christos 301 1.1 christos 2016-01-03 Mike Frysinger <vapier (a] gentoo.org> 302 1.1 christos 303 1.1 christos * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete. 304 1.1 christos * configure: Regenerate. 305 1.1 christos 306 1.1 christos 2016-01-02 Mike Frysinger <vapier (a] gentoo.org> 307 1.1 christos 308 1.1 christos * configure.ac (SIM_AC_OPTION_ENDIAN): Change LITTLE_ENDIAN to 309 1.1 christos LITTLE. 310 1.1 christos * configure: Regenerate. 311 1.1 christos 312 1.1 christos 2015-12-30 Mike Frysinger <vapier (a] gentoo.org> 313 1.1 christos 314 1.1 christos * wrapper.c (v850_reg_store, v850_reg_fetch): Define. 315 1.1 christos (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE. 316 1.1 christos (sim_store_register): Rename to ... 317 1.1 christos (v850_reg_store): ... this. 318 1.1 christos (sim_fetch_register): Rename to ... 319 1.1 christos (v850_reg_fetch): ... this. 320 1.1 christos 321 1.1 christos 2015-12-27 Mike Frysinger <vapier (a] gentoo.org> 322 1.1 christos 323 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-hload.o. 324 1.1 christos 325 1.1 christos 2015-12-26 Mike Frysinger <vapier (a] gentoo.org> 326 1.1 christos 327 1.1 christos * config.in, configure: Regenerate. 328 1.1 christos 329 1.1 christos 2015-12-24 Mike Frysinger <vapier (a] gentoo.org> 330 1.1 christos 331 1.1 christos * sim-main.h (WITH_WATCHPOINTS): Delete. 332 1.1 christos 333 1.1 christos 2015-12-15 Dominik Vogt <vogt (a] linux.vnet.ibm.com> 334 1.1 christos 335 1.1 christos * simops.c (v850_bins): Fix left shift of negative value. 336 1.1 christos 337 1.1 christos 2015-11-17 Mike Frysinger <vapier (a] gentoo.org> 338 1.1 christos 339 1.1 christos * sim-main.h (WITH_CORE): Delete. 340 1.1 christos 341 1.1 christos 2015-11-17 Mike Frysinger <vapier (a] gentoo.org> 342 1.1 christos 343 1.1 christos * sim-main.h (WITH_MODULO_MEMORY): Delete. 344 1.1 christos 345 1.1 christos 2015-11-15 Mike Frysinger <vapier (a] gentoo.org> 346 1.1 christos 347 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o. 348 1.1 christos 349 1.1 christos 2015-11-14 Mike Frysinger <vapier (a] gentoo.org> 350 1.1 christos 351 1.1 christos * interp.c (sim_close): Delete. 352 1.1 christos 353 1.1 christos 2015-06-23 Mike Frysinger <vapier (a] gentoo.org> 354 1.1 christos 355 1.1 christos * configure: Regenerate. 356 1.1 christos 357 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org> 358 1.1 christos 359 1.1 christos * configure: Regenerate. 360 1.1 christos 361 1.1 christos 2015-06-12 Mike Frysinger <vapier (a] gentoo.org> 362 1.1 christos 363 1.1 christos * configure: Regenerate. 364 1.1 christos 365 1.1 christos 2015-06-11 Mike Frysinger <vapier (a] gentoo.org> 366 1.1 christos 367 1.1 christos * interp.c (INLINE): Delete define. 368 1.1 christos 369 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org> 370 1.1 christos 371 1.1 christos * sim-main.h (SIM_CPU): Delete. 372 1.1 christos 373 1.1 christos 2015-04-18 Mike Frysinger <vapier (a] gentoo.org> 374 1.1 christos 375 1.1 christos * sim-main.h (sim_cia): Delete. 376 1.1 christos 377 1.1 christos 2015-04-17 Mike Frysinger <vapier (a] gentoo.org> 378 1.1 christos 379 1.1 christos * sim-main.h (CIA_GET, CIA_SET): Delete. 380 1.1 christos 381 1.1 christos 2015-04-15 Mike Frysinger <vapier (a] gentoo.org> 382 1.1 christos 383 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-cpu.o. 384 1.1 christos * sim-main.h (STATE_CPU): Delete. 385 1.1 christos 386 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org> 387 1.1 christos 388 1.1 christos * configure: Regenerate. 389 1.1 christos 390 1.1 christos 2015-04-13 Mike Frysinger <vapier (a] gentoo.org> 391 1.1 christos 392 1.1 christos * Makefile.in (SIM_OBJS): Add sim-cpu.o. 393 1.1 christos * interp.c (v850_pc_get, v850_pc_set): New functions. 394 1.1 christos (sim_open): Declare new local var i. Call sim_cpu_alloc_all. 395 1.1 christos Call CPU_PC_FETCH & CPU_PC_STORE for all cpus. 396 1.1 christos (sim_pc_get): Delete. 397 1.1 christos * sim-main.h (SIM_CPU): Define. 398 1.1 christos (struct sim_state): Change cpu to an array of pointers. 399 1.1 christos (STATE_CPU): Drop &. 400 1.1 christos 401 1.1 christos 2015-04-06 Mike Frysinger <vapier (a] gentoo.org> 402 1.1 christos 403 1.1 christos * Makefile.in (SIM_OBJS): Delete sim-engine.o and sim-hrw.o. 404 1.1 christos 405 1.1 christos 2015-03-31 Mike Frysinger <vapier (a] gentoo.org> 406 1.1 christos 407 1.1 christos * config.in, configure: Regenerate. 408 1.1 christos 409 1.1 christos 2015-03-24 Mike Frysinger <vapier (a] gentoo.org> 410 1.1 christos 411 1.1 christos * interp.c (sim_pc_get): New function. 412 1.1 christos 413 1.1 christos 2015-03-16 Mike Frysinger <vapier (a] gentoo.org> 414 1.1 christos 415 1.1 christos * config.in, configure: Regenerate. 416 1.1 christos 417 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org> 418 1.1 christos 419 1.1 christos * Makefile.in (SIM_RUN_OBJS): Delete. 420 1.1 christos 421 1.1 christos 2015-03-14 Mike Frysinger <vapier (a] gentoo.org> 422 1.1 christos 423 1.1 christos * configure.ac (AC_CHECK_HEADERS): Delete unistd.h & stdlib.h & 424 1.1 christos string.h & strings.h & time.h. 425 1.1 christos * aclocal.m4, configure: Regenerate. 426 1.1 christos 427 1.1 christos 2015-02-27 Nick Clifton <nickc (a] redhat.com> 428 1.1 christos 429 1.1 christos * sim-main.h (reg64_t): New type. 430 1.1 christos (v850_regs): Add selID_sregs field. 431 1.1 christos (VR, SAT16, SAT32, ABS16, ABS32 ): New macros. 432 1.1 christos * v850-dc: Add fields for v850e3v5 instructions. 433 1.1 christos * v850.igen (cvtf.dl): Use correctly signed local value. 434 1.1 christos (cvtf.dw, cvtf.sw, trncf.dul, trncf.dl, trncf.sul, trncf.sw): 435 1.1 christos Likewise. 436 1.1 christos * interp.c: Fix old style function declarations. 437 1.1 christos * simops.c: Likewise. 438 1.1 christos 439 1.1 christos 2015-02-24 Nick Clifton <nickc (a] redhat.com> 440 1.1 christos 441 1.1 christos * v850.igen: Add more e3v5 support. 442 1.1 christos (FMAF.S): New pattern. 443 1.1 christos (FMSF.S): New pattern. 444 1.1 christos (FNMAF.S): New pattern. 445 1.1 christos (FNMSF.S): New pattern. 446 1.1 christos (cnvq15q30): New pattern. 447 1.1 christos (cnvq30q15): New pattern. 448 1.1 christos (cnvq31q62): New pattern. 449 1.1 christos (cnvq62q31): New pattern. 450 1.1 christos (dup.h): New pattern. 451 1.1 christos (dup.w): New pattern. 452 1.1 christos (expq31): New pattern. 453 1.1 christos (modadd): New pattern. 454 1.1 christos (mov.dw): New pattern. 455 1.1 christos (mov.h): New pattern. 456 1.1 christos (mov.w): New pattern. 457 1.1 christos (pki16i32): New pattern. 458 1.1 christos (pki16ui8): New pattern. 459 1.1 christos (pki32i16): New pattern. 460 1.1 christos (pki64i32): New pattern. 461 1.1 christos (pkq15q31): New pattern. 462 1.1 christos (pkq30q31): New pattern. 463 1.1 christos (pkq31q15): New pattern. 464 1.1 christos (pkui8i16): New pattern. 465 1.1 christos (vabs.h): New pattern. 466 1.1 christos (vabs.w): New pattern. 467 1.1 christos (vadd.dw): New placeholder pattern. 468 1.1 christos (vadd.h): New placeholder pattern. 469 1.1 christos (vadd.w): New placeholder pattern. 470 1.1 christos (vadds.h): New placeholder pattern. 471 1.1 christos (vadds.w): New placeholder pattern. 472 1.1 christos (vaddsat.h): New placeholder pattern. 473 1.1 christos (vaddsat.w): New placeholder pattern. 474 1.1 christos (vand): New pattern. 475 1.1 christos (vbiq.h): New placeholder pattern. 476 1.1 christos (vbswap.dw): New placeholder pattern. 477 1.1 christos (vbswap.h): New placeholder pattern. 478 1.1 christos (vbswap.w): New placeholder pattern. 479 1.1 christos (vcalc.h): New placeholder pattern. 480 1.1 christos (vcalc.w): New placeholder pattern. 481 1.1 christos (vcmov): New placeholder pattern. 482 1.1 christos 483 1.1 christos 2014-08-19 Alan Modra <amodra (a] gmail.com> 484 1.1 christos 485 1.1 christos * configure: Regenerate. 486 1.1 christos 487 1.1 christos 2014-08-15 Roland McGrath <mcgrathr (a] google.com> 488 1.1 christos 489 1.1 christos * configure: Regenerate. 490 1.1 christos * config.in: Regenerate. 491 1.1 christos 492 1.1 christos 2014-03-04 Mike Frysinger <vapier (a] gentoo.org> 493 1.1 christos 494 1.1 christos * configure: Regenerate. 495 1.1 christos 496 1.1 christos 2013-09-23 Alan Modra <amodra (a] gmail.com> 497 1.1 christos 498 1.1 christos * configure: Regenerate. 499 1.1 christos 500 1.1 christos 2013-06-03 Mike Frysinger <vapier (a] gentoo.org> 501 1.1 christos 502 1.1 christos * aclocal.m4, configure: Regenerate. 503 1.1 christos 504 1.1 christos 2013-05-13 Nick Clifton <nickc (a] redhat.com> 505 1.1 christos 506 1.1 christos * v850.igen (LDSR): Accept but ignore a selID parameter. 507 1.1 christos 508 1.1 christos 2013-05-10 Freddie Chopin <freddie_chopin (a] op.pl> 509 1.1 christos 510 1.1 christos * configure: Rebuild. 511 1.1 christos 512 1.1 christos 2013-01-28 Nick Clifton <nickc (a] redhat.com> 513 1.1 christos 514 1.1 christos * simops.c (v850_rotl): New function. 515 1.1 christos (v850_bins): New function. 516 1.1 christos * simops.h: Add prototypes fir v850_rotl and v850_bins. 517 1.1 christos * v850-dc: Add entries for V850e3v5. 518 1.1 christos * v850.igen: Add support for v850e3v5. 519 1.1 christos (ld.dw, st.dw, rotl, bins): New patterns. 520 1.1 christos 521 1.1 christos 2013-01-10 Nick Clifton <nickc (a] redhat.com> 522 1.1 christos 523 1.1 christos * interp.c (sim_open): Add support for bfd_arch_v850_rh850 524 1.1 christos architecture type. Add support for bfd_mach_v850e2 and 525 1.1 christos bfd_mach_v850e2v3 machine numbers. 526 1.1 christos * v850.igen (dbtrap): Add support for SIM_OPEN_DEBUG. 527 1.1 christos (cmpf.d): Correct order of operands. 528 1.1 christos (cmpf.s): Likewise. 529 1.1 christos (trncf.dul): New pattern. 530 1.1 christos (trncf.duw): New pattern. 531 1.1 christos (trncf.sul): New pattern. 532 1.1 christos (trncf.suw): New pattern. 533 1.1 christos * v850-dc: Correct bitfield selection for TRNCF.SW and CVTF.SW. 534 1.1 christos 535 1.1 christos 2012-09-13 Nick Clifton <nickc (a] redhat.com> 536 1.1 christos 537 1.1 christos * v850.igen (W,WWWW): Correct computation of register number. 538 1.1 christos (JR32): Remove unnecessary comma. 539 1.1 christos (cmovf.s): Register 0 is an invalid source register. 540 1.1 christos (maddf.s): Remove bogus intermediary rounding. 541 1.1 christos (nmaddf.s): Likewise. 542 1.1 christos (trncf.sl): Remove bogus initial rounding. 543 1.1 christos (trncf.dw): Likewise. 544 1.1 christos (trncf.sl): Likewise. 545 1.1 christos (trncf.sw): Likewise. 546 1.1 christos 547 1.1 christos 2012-06-15 Joel Brobecker <brobecker (a] adacore.com> 548 1.1 christos 549 1.1 christos * config.in, configure: Regenerate. 550 1.1 christos 551 1.1 christos 2012-03-28 Rathish C <rathish.c (a] kpitcummins.com> 552 1.1 christos 553 1.1 christos * sim-main.h (struct _v850_regs): Add new fields mpu0_sregs, 554 1.1 christos mpu1_sregs, and fpu_sregs. 555 1.1 christos (MPU0_SR, MPU1_SR, FPU_SR): New macros for accessing new fields 556 1.1 christos in _v850_regs struct. 557 1.1 christos (SP_REGNO): Define. 558 1.1 christos (SP): Redefine using SP_REGNO. 559 1.1 christos (PSW_REGNO, EIIC, FEIC, DBIC, DIR, EIWR, FEWR, DBWR, BSEL, PSW_NPV) 560 1.1 christos (PSW_DMP, PSW_IMP, ECR_EICC, ECR_FECC, FPSR, FPSR_REGNO, FPEPC) 561 1.1 christos (FPST, FPST_REGNO, FPCC, FPCFG, FPCFG_REGNO, FPSR_DEM, FPSR_SEM) 562 1.1 christos (FPSR_RM, FPSR_RN, FPSR_FS, FPSR_PR, FPSR_XC, FPSR_XCE, FPSR_XCV) 563 1.1 christos (FPSR_XCZ, FPSR_XCO, FPSR_XCU, FPSR_XCI, FPSR_XE, FPSR_XEV) 564 1.1 christos (FPSR_XEZ, FPSR_XEO, FPSR_XEU, FPSR_XEI, FPSR_XP, FPSR_XPV) 565 1.1 christos (FPSR_XPZ, FPSR_XPO, FPSR_XPU, FPSR_XPI, FPST_PR, FPST_XCE) 566 1.1 christos (FPST_XCV, FPST_XCZ, FPST_XCO, FPST_XCU, FPST_XCI, FPST_XPV) 567 1.1 christos (FPST_XPZ, FPST_XPO, FPST_XPU, FPST_XPI, FPCFG_RM, FPCFG_XEV) 568 1.1 christos (FPCFG_XEZ, FPCFG_XEO, FPCFG_XEU, FPCFG_XEI, GET_FPCC, CLEAR_FPCC) 569 1.1 christos (SET_FPCC, TEST_FPCC, FPSR_GET_ROUND, MPM, MPC, MPC_REGNO, TID) 570 1.1 christos (PPA, PPM, PPC, DCC, DCV0, DCV1, SPAL, SPAU, IPA0L, IPA0U, IPA1L) 571 1.1 christos (IPA1U, IPA2L, IPA2U, IPA3L, IPA3U, DPA0L, DPA0U, DPA1L, DPA1U) 572 1.1 christos (DPA2L, DPA2U, DPA3L, DPA3U, PPC_PPE, SPAL_SPE, SPAL_SPS, VIP) 573 1.1 christos (VMECR, VMTID, VMADR, VPECR, VPTID, VPADR, VDECR, VDTID, MPM_AUE) 574 1.1 christos (MPM_MPE, VMECR_VMX, VMECR_VMR, VMECR_VMW, VMECR_VMS, VMECR_VMRMW) 575 1.1 christos (VMECR_VMMS, IPA2ADDR, IPA_IPE, IPA_IPX, IPA_IPR, IPE0, IPE1, IPE2) 576 1.1 christos (IPE3, IPX0, IPX1, IPX2, IPX3, IPR0, IPR1, IPR2, IPR3, DPA2ADDR) 577 1.1 christos (DPA_DPE, DPA_DPR, DPA_DPW, DPE0, DPE1, DPE2, DPE3, DPR0, DPR1) 578 1.1 christos (DPR2, DPR3, DPW0, DPW1, DPW2, DPW3, DCC_DCE0, DCC_DCE1, PPA2ADDR) 579 1.1 christos (PPC_PPC, PPC_PPE, PPC_PPM): New macros. 580 1.1 christos (FPU_COMPARE): New enum. 581 1.1 christos (TRACE_FP_INPUT_FPU1, TRACE_FP_INPUT_FPU2, TRACE_FP_INPUT_FPU3) 582 1.1 christos (TRACE_FP_INPUT_BOOL1_FPU2, TRACE_FP_INPUT_WORD2) 583 1.1 christos (TRACE_FP_RESULT_WORD1, TRACE_FP_RESULT_WORD2): New macros. 584 1.1 christos * simops.c (Add32): Update prototype. 585 1.1 christos (update_fpsr): New function. 586 1.1 christos (SignalException): New function. 587 1.1 christos (SignalExceptionFPE): New function. 588 1.1 christos (check_invalid_snan): New function. 589 1.1 christos (v850_float_compare): New function. 590 1.1 christos (v850_div): New function. 591 1.1 christos (v850_divu): New function. 592 1.1 christos (v850_sar): New function. 593 1.1 christos (v850_shl): New function. 594 1.1 christos (v850_shr): New function. 595 1.1 christos (v850_satadd): New function. 596 1.1 christos (v850_satsub): New function. 597 1.1 christos (load_data_mem): New function. 598 1.1 christos (store_data_mem): New function. 599 1.1 christos (mpu_load_mem_test): New function. 600 1.1 christos (mpu_store_mem_test): New function. 601 1.1 christos * simops.h: Add function prototype for above mentioned functions. 602 1.1 christos (check_cvt_fi, check_cvt_if, check_cvt_ff): Define. 603 1.1 christos * v850-dc: Add entry for v850e2 and v850e2v3. 604 1.1 christos * v850.igen: Add support for v850e2 and v850e2v3. 605 1.1 christos 606 1.1 christos 2012-03-24 Mike Frysinger <vapier (a] gentoo.org> 607 1.1 christos 608 1.1 christos * aclocal.m4, config.in, configure: Regenerate. 609 1.1 christos 610 1.1 christos 2011-12-03 Mike Frysinger <vapier (a] gentoo.org> 611 1.1 christos 612 1.1 christos * aclocal.m4: New file. 613 1.1 christos * configure: Regenerate. 614 1.1 christos 615 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org> 616 1.1 christos 617 1.1 christos * configure.ac: Change include to common/acinclude.m4. 618 1.1 christos 619 1.1 christos 2011-10-17 Mike Frysinger <vapier (a] gentoo.org> 620 1.1 christos 621 1.1 christos * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER 622 1.1 christos call. Replace common.m4 include with SIM_AC_COMMON. 623 1.1 christos * configure: Regenerate. 624 1.1 christos 625 1.1 christos 2011-07-05 Mike Frysinger <vapier (a] gentoo.org> 626 1.1 christos 627 1.1 christos * interp.c (sim_do_command): Delete. 628 1.1 christos 629 1.1 christos 2011-03-21 Kevin Buettner <kevinb (a] redhat.com> 630 1.1 christos 631 1.1 christos * simops (OP_10007E0): Update errno handling as most traps 632 1.1 christos do not invoke the host's functionality directly. Invoke 633 1.1 christos sim_io_stat() instead of stat() for implementing TARGET_SYS_stat. 634 1.1 christos Implement TARGET_SYS_fstat, TARGET_SYS_rename, and TARGET_SYS_unlink. 635 1.1 christos 636 1.1 christos 2011-02-14 Mike Frysinger <vapier (a] gentoo.org> 637 1.1 christos 638 1.1 christos * simops.c (OP_10007E0): Change zfree to free. 639 1.1 christos 640 1.1 christos 2011-01-11 Andrew Burgess <aburgess (a] broadcom.com> 641 1.1 christos 642 1.1 christos * interp.c (sim_store_register): Update return value to 643 1.1 christos match new API. 644 1.1 christos 645 1.1 christos 2010-03-30 Mike Frysinger <vapier (a] gentoo.org> 646 1.1 christos 647 1.1 christos * interp.c (interrupt_names): Add const to pointer type. 648 1.1 christos (do_interrupt): Add const to interrupt_name. 649 1.1 christos 650 1.1 christos 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 651 1.1 christos 652 1.1 christos * configure: Regenerate. 653 1.1 christos 654 1.1 christos 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues (a] gmx.de> 655 1.1 christos 656 1.1 christos * config.in: Regenerate. 657 1.1 christos * configure: Likewise. 658 1.1 christos 659 1.1 christos * configure: Regenerate. 660 1.1 christos 661 1.1 christos 2008-07-11 Hans-Peter Nilsson <hp (a] axis.com> 662 1.1 christos 663 1.1 christos * configure: Regenerate to track ../common/common.m4 changes. 664 1.1 christos * config.in: Ditto. 665 1.1 christos 666 1.1 christos 2008-06-06 Vladimir Prus <vladimir (a] codesourcery.com> 667 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com> 668 1.1 christos Joseph Myers <joseph (a] codesourcery.com> 669 1.1 christos 670 1.1 christos * configure: Regenerate. 671 1.1 christos 672 1.1 christos 2008-02-05 DJ Delorie <dj (a] redhat.com> 673 1.1 christos 674 1.1 christos * simops.c (OP_1C007E0): Compensate for 64 bit hosts. 675 1.1 christos (OP_18007E0): Likewise. 676 1.1 christos (OP_2C007E0): Likewise. 677 1.1 christos (OP_28007E0): Likewise. 678 1.1 christos * v850.igen (divh): Likewise. 679 1.1 christos 680 1.1 christos * simops.c (OP_C0): Correct saturation logic. 681 1.1 christos (OP_220): Likewise. 682 1.1 christos (OP_A0): Likewise. 683 1.1 christos (OP_660): Likewise. 684 1.1 christos (OP_80): Likewise. 685 1.1 christos 686 1.1 christos * simops.c (OP_2A0): If the shift count is zero, clear the 687 1.1 christos carry. 688 1.1 christos (OP_A007E0): Likewise. 689 1.1 christos (OP_2C0): Likewise. 690 1.1 christos (OP_C007E0): Likewise. 691 1.1 christos (OP_280): Likewise. 692 1.1 christos (OP_8007E0): Likewise. 693 1.1 christos 694 1.1 christos * simops.c (OP_2C207E0): Correct PSW flags for special divu 695 1.1 christos conditions. 696 1.1 christos (OP_2C007E0): Likewise, for div. 697 1.1 christos (OP_28207E0): Likewise, for divhu. 698 1.1 christos (OP_28007E0): Likewise, for divh. Also, sign-extend the correct 699 1.1 christos operand. 700 1.1 christos * v850.igen (divh): Likewise, for 2-op divh. 701 1.1 christos 702 1.1 christos * v850.igen (bsh): Fix carry logic. 703 1.1 christos 704 1.1 christos 2007-02-20 Daniel Jacobowitz <dan (a] codesourcery.com> 705 1.1 christos 706 1.1 christos * Makefile.in (interp.o): Uncomment and update. 707 1.1 christos 708 1.1 christos 2006-12-21 Hans-Peter Nilsson <hp (a] axis.com> 709 1.1 christos 710 1.1 christos * acconfig.h: Remove. 711 1.1 christos * config.in: Regenerate. 712 1.1 christos 713 1.1 christos 2006-06-13 Richard Earnshaw <rearnsha (a] arm.com> 714 1.1 christos 715 1.1 christos * configure: Regenerated. 716 1.1 christos 717 1.1 christos 2006-06-05 Daniel Jacobowitz <dan (a] codesourcery.com> 718 1.1 christos 719 1.1 christos * configure: Regenerated. 720 1.1 christos 721 1.1 christos 2006-05-31 Daniel Jacobowitz <dan (a] codesourcery.com> 722 1.1 christos 723 1.1 christos * configure: Regenerated. 724 1.1 christos 725 1.1 christos 2005-03-23 Mark Kettenis <kettenis (a] gnu.org> 726 1.1 christos 727 1.1 christos * configure: Regenerate. 728 1.1 christos 729 1.1 christos 2005-01-14 Andrew Cagney <cagney (a] gnu.org> 730 1.1 christos 731 1.1 christos * configure.ac: Sinclude aclocal.m4 before common.m4. Add 732 1.1 christos explicit call to AC_CONFIG_HEADER. 733 1.1 christos * configure: Regenerate. 734 1.1 christos 735 1.1 christos 2005-01-12 Andrew Cagney <cagney (a] gnu.org> 736 1.1 christos 737 1.1 christos * configure.ac: Update to use ../common/common.m4. 738 1.1 christos * configure: Re-generate. 739 1.1 christos 740 1.1 christos 2005-01-11 Andrew Cagney <cagney (a] localhost.localdomain> 741 1.1 christos 742 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 743 1.1 christos 744 1.1 christos 2005-01-07 Andrew Cagney <cagney (a] gnu.org> 745 1.1 christos 746 1.1 christos * configure.ac: Rename configure.in, require autoconf 2.59. 747 1.1 christos * configure: Re-generate. 748 1.1 christos 749 1.1 christos 2004-12-08 Hans-Peter Nilsson <hp (a] axis.com> 750 1.1 christos 751 1.1 christos * configure: Regenerate for ../common/aclocal.m4 update. 752 1.1 christos 753 1.1 christos 2004-01-18 Mark Kettenis <kettenis (a] gnu.org> 754 1.1 christos 755 1.1 christos * simops.c: Include <sys/types.h>. 756 1.1 christos 757 1.1 christos 2003-09-05 Andrew Cagney <cagney (a] redhat.com> 758 1.1 christos Nick Clifton <nickc (a] redhat.com> 759 1.1 christos 760 1.1 christos * interp.c (sim_open): Accept bfd_mach_v850e1. 761 1.1 christos * v850-dc: Add entry for v850e1. 762 1.1 christos * v850.igen: Add support for v850e1. 763 1.1 christos Add code for DBTRAP and DBRET instructions. 764 1.1 christos (dbtrap): Create a separate v850e1 specific instruction. 765 1.1 christos Only generate a trap if the target is not the v850e1. 766 1.1 christos Otherwise treat it as a special kind of branch. 767 1.1 christos (break): Mark as v850/v850e specific. 768 1.1 christos 769 1.1 christos 2003-05-16 Ian Lance Taylor <ian (a] airs.com> 770 1.1 christos 771 1.1 christos * Makefile.in (SHELL): Make sure this is defined. 772 1.1 christos (tmp-igen): Use $(SHELL) whenever we invoke move-if-change. 773 1.1 christos 774 1.1 christos 2003-04-06 Nick Clifton <nickc (a] redhat.com> 775 1.1 christos 776 1.1 christos * simops.c (OP_40): Delete. Move code to... 777 1.1 christos * v850-igen.c (): ...Here. Sign extend the first operand. 778 1.1 christos * simops.h (OP_40): Remove prototype. 779 1.1 christos 780 1.1 christos 2003-02-27 Andrew Cagney <cagney (a] redhat.com> 781 1.1 christos 782 1.1 christos * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd. 783 1.1 christos 784 1.1 christos 2002-11-30 Andrew Cagney <cagney (a] redhat.com> 785 1.1 christos 786 1.1 christos * simops.c: Use int, 1, 0 instead of boolean, true and false. 787 1.1 christos * sim-main.h: Ditto. 788 1.1 christos 789 1.1 christos 2002-09-27 Jim Wilson <wilson (a] redhat.com> 790 1.1 christos 791 1.1 christos * simops.c (OP_E6077E0): And op1 with 7 after reading register, not 792 1.1 christos before. 793 1.1 christos (BIT_CHANGE_OP): Likewise. 794 1.1 christos 795 1.1 christos 2002-09-26 Jim Wilson <wilson (a] redhat.com> 796 1.1 christos 797 1.1 christos * simops (OP_10007E0): Don't subtract 4 from PC. 798 1.1 christos 799 1.1 christos 2002-09-19 Nick Clifton <nickc (a] redhat.com> 800 1.1 christos 801 1.1 christos * interp.c (sim_open): Remove reference to v850ea. 802 1.1 christos (sim_create_inferior): Likewise. 803 1.1 christos * v850-dc: Likewise. 804 1.1 christos * v850.igen: Remove all references to v850ea, including v850ea 805 1.1 christos specific instructions. 806 1.1 christos 807 1.1 christos 2002-08-29 Nick Clifton <nickc (a] redhat.com> 808 1.1 christos 809 1.1 christos From 2001-08-23 Catherine Moore <clm (a] redhat.com> 810 1.1 christos 811 1.1 christos * Makefile.in: Add gen-zero-r0 option. 812 1.1 christos * sim-main.h (GPR_SET, GPR_CLEAR): Define. 813 1.1 christos * simops.c (OP_24007E0): Sign extend the imm9 814 1.1 christos operand of a mul instruction. 815 1.1 christos 816 1.1 christos 2002-06-17 Andrew Cagney <cagney (a] redhat.com> 817 1.1 christos 818 1.1 christos * simops.c (trace_result): Fix printf formatting. 819 1.1 christos 820 1.1 christos 2002-06-16 Andrew Cagney <ac131313 (a] redhat.com> 821 1.1 christos 822 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 823 1.1 christos 824 1.1 christos 2001-12-02 Andrew Cagney <ac131313 (a] redhat.com> 825 1.1 christos 826 1.1 christos * Makefile.in (simops.h, table.c): Delete targets. 827 1.1 christos (tmp-gencode, gencode.o, gencode): Delete targets. 828 1.1 christos (simops.h): New file. 829 1.1 christos ($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h. 830 1.1 christos * gencode.c: Delete file. 831 1.1 christos 832 1.1 christos 2001-04-15 J.T. Conklin <jtc (a] redback.com> 833 1.1 christos 834 1.1 christos * Makefile.in (simops.o): Add simops.h to dependency list. 835 1.1 christos 836 1.1 christos 2001-03-14 Andrew Cagney <ac131313 (a] redhat.com> 837 1.1 christos 838 1.1 christos * Makefile.in (gencode): Link with libintl. 839 1.1 christos 840 1.1 christos 2001-01-31 Jonathan Larmour <jlarmour (a] redhat.com> 841 1.1 christos 842 1.1 christos * Makefile.in (gencode): Link with libopcodes in build tree rather 843 1.1 christos than building source files from there. 844 1.1 christos 845 1.1 christos 2000-05-30 Nick Clifton <nickc (a] cygnus.com> 846 1.1 christos 847 1.1 christos * v850.igen: Remove illegal instruction pattern, since it is the 848 1.1 christos same as the breakpoint pattern. 849 1.1 christos 850 1.1 christos Tue May 23 21:39:23 2000 Andrew Cagney <cagney (a] b1.cygnus.com> 851 1.1 christos 852 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 853 1.1 christos 854 1.1 christos 2000-04-14 Gary Thomas <gthomas (a] redhat.com> 855 1.1 christos 856 1.1 christos * v850.igen: Define 'br *' as illegal since this is the only 857 1.1 christos way to provide a breakpoint on some v850 family processors. 858 1.1 christos 859 1.1 christos 2000-03-24 Frank Ch. Eigler <fche (a] redhat.com> 860 1.1 christos 861 1.1 christos * v850.igen (ilgop): New insn pattern for four-byte breakpoints. 862 1.1 christos 863 1.1 christos Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney (a] b1.cygnus.com> 864 1.1 christos 865 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 866 1.1 christos 867 1.1 christos 1999-05-08 Felix Lee <flee (a] cygnus.com> 868 1.1 christos 869 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 870 1.1 christos 871 1.1 christos Tue Dec 1 17:25:16 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 872 1.1 christos 873 1.1 christos * Makefile.in (NL_TARGET): Define as -DNL_TARGET_v850. 874 1.1 christos 875 1.1 christos Wed Nov 25 17:52:58 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 876 1.1 christos 877 1.1 christos * Makefile.in (simops.o): Depends on targ-vals.h 878 1.1 christos * simops.c: Include targ-vals.h instead of 879 1.1 christos libgloss/.../syscall.h. Replace SYS_* with TARGET_SYS_*. 880 1.1 christos (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0): 881 1.1 christos Replace signed long int with signed32. 882 1.1 christos 883 1.1 christos Fri Oct 9 18:02:25 1998 Doug Evans <devans (a] canuck.cygnus.com> 884 1.1 christos 885 1.1 christos * interp.c: #include "itable.h". 886 1.1 christos (get_insn_name): New function. 887 1.1 christos (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS. 888 1.1 christos * sim-main.h (MAX_INSNS,INSN_NAME): Delete. 889 1.1 christos 890 1.1 christos Wed May 6 19:43:27 1998 Doug Evans <devans (a] canuck.cygnus.com> 891 1.1 christos 892 1.1 christos * sim-main.h (INSN_NAME): New arg `cpu'. 893 1.1 christos 894 1.1 christos Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer (a] cygnus.com> 895 1.1 christos 896 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 897 1.1 christos 898 1.1 christos Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche> 899 1.1 christos 900 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 901 1.1 christos * config.in: Ditto. 902 1.1 christos 903 1.1 christos Sun Apr 26 15:19:14 1998 Tom Tromey <tromey (a] cygnus.com> 904 1.1 christos 905 1.1 christos * acconfig.h: New file. 906 1.1 christos * configure.in: Reverted change of Apr 24; use sinclude again. 907 1.1 christos 908 1.1 christos Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche> 909 1.1 christos 910 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 911 1.1 christos * config.in: Ditto. 912 1.1 christos 913 1.1 christos Fri Apr 24 11:18:08 1998 Tom Tromey <tromey (a] cygnus.com> 914 1.1 christos 915 1.1 christos * configure.in: Don't call sinclude. 916 1.1 christos 917 1.1 christos Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 918 1.1 christos 919 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 920 1.1 christos * sim-main.h (SIM_MAIN_H): Wrap header. 921 1.1 christos 922 1.1 christos Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 923 1.1 christos 924 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 925 1.1 christos 926 1.1 christos Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 927 1.1 christos 928 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 929 1.1 christos 930 1.1 christos Tue Mar 10 15:54:50 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 931 1.1 christos 932 1.1 christos * interp.c (sim_stop): Delete, second attempt. 933 1.1 christos 934 1.1 christos Thu Feb 26 19:09:47 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 935 1.1 christos 936 1.1 christos * interp.c (sim_info): Delete. 937 1.1 christos 938 1.1 christos Wed Feb 18 10:47:32 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 939 1.1 christos 940 1.1 christos * sim-main.h (TRACE_ALU_INPUT*): Delete. Moved to sim-trace.[hc]. 941 1.1 christos 942 1.1 christos * simops.c (trace_result): Call trace_generic instead of 943 1.1 christos trace_one_insn. 944 1.1 christos (trace_module): Change variable type to integer. 945 1.1 christos (trace_input): Initialize trace_module with TRACE_ALU_IDX. 946 1.1 christos 947 1.1 christos * sim-main.h (trace_module): Change variable decl to integer type. 948 1.1 christos (TRACE_BRANCH*, TRACE_LD, TRACE_ST): Update. 949 1.1 christos 950 1.1 christos Tue Feb 17 12:51:18 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 951 1.1 christos 952 1.1 christos * interp.c (sim_store_register, sim_fetch_register): Pass in 953 1.1 christos length parameter. Return -1. 954 1.1 christos 955 1.1 christos Tue Feb 3 16:24:42 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 956 1.1 christos 957 1.1 christos * sim-main.h (IMEM16, IMEM16_IMMED): Rename IMEM and 958 1.1 christos IMEM_IMMED. To match recent igen change. 959 1.1 christos 960 1.1 christos Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 961 1.1 christos 962 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 963 1.1 christos 964 1.1 christos Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 965 1.1 christos 966 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 967 1.1 christos 968 1.1 christos Fri Jan 30 09:51:27 1998 Andrew Cagney <cagney (a] b1.cygnus.com> 969 1.1 christos 970 1.1 christos * sim-main.h (CPU_CIA): Delete, replaced by. 971 1.1 christos (CIA_SET, CIA_SET): Define. 972 1.1 christos 973 1.1 christos Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba> 974 1.1 christos 975 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 976 1.1 christos 977 1.1 christos Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 978 1.1 christos 979 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 980 1.1 christos * config.in: Ditto. 981 1.1 christos 982 1.1 christos Fri Dec 5 09:26:08 1997 Nick Clifton <nickc (a] cygnus.com> 983 1.1 christos 984 1.1 christos * v850.igen: Revert break value back to its old value. 985 1.1 christos 986 1.1 christos Thu Dec 4 09:21:05 1997 Doug Evans <devans (a] canuck.cygnus.com> 987 1.1 christos 988 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 989 1.1 christos 990 1.1 christos Wed Dec 3 17:27:19 1997 Nick Clifton <nickc (a] cygnus.com> 991 1.1 christos 992 1.1 christos * v850.igen: Make break have a zero first field, since otherwise 993 1.1 christos it clashes with the DIVH instruction. 994 1.1 christos 995 1.1 christos Sat Nov 22 21:32:07 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 996 1.1 christos 997 1.1 christos * simops.c (OP_10007E0): Rename SIGABRT -> SIM_SIGABRT. Give 998 1.1 christos sim_stopped instead of sim_signalled. 999 1.1 christos 1000 1.1 christos * v850.igen (BREAK), simops.c (OP_12007E0): Rename SIGTRAP to 1001 1.1 christos SIM_SIGTRAP. 1002 1.1 christos (illegal): Rename SIGILL to SIM_SIGILL. 1003 1.1 christos 1004 1.1 christos * sim-main.h, simops.c, interp.c: Do not include signal.h. 1005 1.1 christos 1006 1.1 christos * sim-main.h: Include sim-signal.h instead of signal.h. 1007 1.1 christos (SIGTRAP, SIGQUIT): Delete definition. 1008 1.1 christos (SIG_V850_EXIT): Delete definition. 1009 1.1 christos 1010 1.1 christos Tue Nov 18 15:33:48 1997 Doug Evans <devans (a] canuck.cygnus.com> 1011 1.1 christos 1012 1.1 christos * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS). 1013 1.1 christos 1014 1.1 christos Fri Oct 31 10:33:40 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1015 1.1 christos 1016 1.1 christos * interp.c (sim_open): Check state magic number. 1017 1.1 christos (sim-assert.h): Include. 1018 1.1 christos 1019 1.1 christos Tue Oct 28 11:06:47 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1020 1.1 christos 1021 1.1 christos * v850.igen: Add model filter field to records. 1022 1.1 christos 1023 1.1 christos Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1024 1.1 christos 1025 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1026 1.1 christos 1027 1.1 christos Fri Sep 26 11:56:02 1997 Felix Lee <flee (a] cygnus.com> 1028 1.1 christos 1029 1.1 christos * sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and 1030 1.1 christos SIM_ENGINE_RESTART_HOOK. 1031 1.1 christos 1032 1.1 christos Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1033 1.1 christos 1034 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1035 1.1 christos 1036 1.1 christos Wed Sep 24 17:28:26 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1037 1.1 christos 1038 1.1 christos * sim-main.h (WITH_TARGET_WORD_MSB): Delete. 1039 1.1 christos 1040 1.1 christos * configure.in (SIM_AC_OPTION_BITSIZE): Specify 32 bit 1041 1.1 christos architecture with MSB == 31. 1042 1.1 christos 1043 1.1 christos Wed Sep 24 14:04:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1044 1.1 christos 1045 1.1 christos * v850.igen: Make divh insn with RRRRR==0 breakpoint. 1046 1.1 christos 1047 1.1 christos Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1048 1.1 christos 1049 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1050 1.1 christos 1051 1.1 christos Tue Sep 23 10:19:51 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1052 1.1 christos 1053 1.1 christos * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN, 1054 1.1 christos SIM_HOSTENDIAN, SIM_RESERVED_BITS): Delete, moved to common. 1055 1.1 christos (SIM_EXTRA_CFLAGS): Update. 1056 1.1 christos 1057 1.1 christos Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1058 1.1 christos 1059 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1060 1.1 christos * configure.in: Really specify NONSTRICT_ALIGNMENT as the default. 1061 1.1 christos 1062 1.1 christos Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1063 1.1 christos 1064 1.1 christos * configure.in: Specify NONSTRICT_ALIGNMENT as the default. 1065 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1066 1.1 christos 1067 1.1 christos Fri Sep 19 10:37:20 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1068 1.1 christos 1069 1.1 christos * v850.igen (disp16): Use EXTEND16 to sign extend disp. 1070 1.1 christos (disp22): Only shift left by 1, not 2. 1071 1.1 christos ("jmp"): Ensure PC is 2 byte aligned. 1072 1.1 christos 1073 1.1 christos * simops.c, v850.igen: Move "Bcond", "jr", "jarl" code to 1074 1.1 christos v850.igen. Fix tracing. 1075 1.1 christos 1076 1.1 christos * simops.c (OP_300, OP_400, OP_500): Move "sdl.b", "sld.h", 1077 1.1 christos "sld.w" insns to v850.igen. Fix tracing. 1078 1.1 christos (OP_70): Ditto for "sld.hu". 1079 1.1 christos 1080 1.1 christos * v850.igen: Clarify tracing of "sld.b", "sld.h" et.al. 1081 1.1 christos 1082 1.1 christos * simops.c (condition_met): Make global. 1083 1.1 christos 1084 1.1 christos * sim-main.h (TRACE_ALU_INPUT3, TRACE_BRANCH0, TRACE_LD, 1085 1.1 christos TRACE_ST): Define. 1086 1.1 christos (TRACE_LD_NAME): Define. 1087 1.1 christos 1088 1.1 christos * simops.c: Move "cmov", "cmov imm" to v850.igen, fix. 1089 1.1 christos 1090 1.1 christos Wed Sep 17 16:21:08 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1091 1.1 christos 1092 1.1 christos * simops.c: Move "mov", "reti", to v850.igen, fix tracing. 1093 1.1 christos 1094 1.1 christos * interp.c (hash): Delete. 1095 1.1 christos 1096 1.1 christos * v850.igen (nop): Really do nothing. 1097 1.1 christos 1098 1.1 christos * interp.c (do_interrupt): Mask interrupts after PSW is saved, not 1099 1.1 christos before. 1100 1.1 christos * v850.igen (reti): Return to current PC not previous. 1101 1.1 christos 1102 1.1 christos Wed Sep 17 14:02:10 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1103 1.1 christos 1104 1.1 christos * simops.c: Move "ctret", "bsw", "hsw" to v850.igen, fix tracing. 1105 1.1 christos (trace_module): Global, save component/module name across insn. 1106 1.1 christos 1107 1.1 christos * simops.c: Move "bsh" to v850.igen, fix. 1108 1.1 christos 1109 1.1 christos * v850.igen (callt): Load correct number of bytes. Fix tracing. 1110 1.1 christos (stsr, ldsr): Correct src, dest fields. Fix tracing. 1111 1.1 christos (ctret): Force alignment. Fix tracing. 1112 1.1 christos 1113 1.1 christos Tue Sep 16 22:14:01 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1114 1.1 christos 1115 1.1 christos * simops.c (trace_output): Add result argument. 1116 1.1 christos (trace_result): New function. Simpler version of trace_output, 1117 1.1 christos assumes trace needed. 1118 1.1 christos (trace_output): Call trace_result. 1119 1.1 christos (trace_output): For IMM_REG_REG, trace correct register. 1120 1.1 christos (trace_input): Add case for 16bit immediates. 1121 1.1 christos (OP_600, OP_640, OP_680, OP_6C0, OP_6A0): Use. 1122 1.1 christos 1123 1.1 christos * sim-main.h (TRACE_ALU_INPUT, TRACE_ALU_RESULT): Define. 1124 1.1 christos (trace_values, trace_name, trace_pc, trace_num_values): Make 1125 1.1 christos global. 1126 1.1 christos (GR, SR): Define. 1127 1.1 christos 1128 1.1 christos v850.insn (movea, stsr): Use. 1129 1.1 christos (sxb, sxh, zxb, zxh): Ditto. 1130 1.1 christos 1131 1.1 christos Tue Sep 16 21:14:01 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1132 1.1 christos 1133 1.1 christos * simops.c: Move "movea" from here. 1134 1.1 christos * v850.igen: To here. 1135 1.1 christos 1136 1.1 christos * v850.igen (simm16): Define, sign extend imm16. 1137 1.1 christos (uimm16): Define, no sign extension. 1138 1.1 christos (addi, andi, movea, movhi, mulhi, ori, satsubi, xori): Use. 1139 1.1 christos 1140 1.1 christos * simops.c: Move "sxh", "switch", "sxb", "callt", "dispose", 1141 1.1 christos "mov32" from here. 1142 1.1 christos * v850.igen: To here. 1143 1.1 christos (switch): Fix off by two error in NIA calc. 1144 1.1 christos 1145 1.1 christos Tue Sep 16 15:14:01 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1146 1.1 christos 1147 1.1 christos * simops.c (trace_pc, trace_name, trace_values, trace_num_values): 1148 1.1 christos New static globals. 1149 1.1 christos (trace_input): Just save pc, name and values for trace_output. 1150 1.1 christos (trace_output): Write trace values to a buffer. Use 1151 1.1 christos trace_one_insn to print trace info and buffer. 1152 1.1 christos (SIZE_OPERANDS, SIZE_LOCATION): Delete. 1153 1.1 christos 1154 1.1 christos Tue Sep 16 09:02:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1155 1.1 christos 1156 1.1 christos * sim-main.h (struct _sim_cpu): Add psw_mask so that reserved bits 1157 1.1 christos can be masked out. 1158 1.1 christos 1159 1.1 christos * simops.c (OP_2007E0, OP_4007E0): Move "ldsr", "stsr" 1160 1.1 christos instructions from here. 1161 1.1 christos * v850.igen (ldsr, stsr): To here. Mask out reserved bits when 1162 1.1 christos setting PSW. 1163 1.1 christos 1164 1.1 christos * interp.c (sim_open): Set psw_mask if machine known. 1165 1.1 christos 1166 1.1 christos Tue Sep 16 10:20:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1167 1.1 christos 1168 1.1 christos * v850-dc: Add rule to diferentiate between breakpoint and divh. 1169 1.1 christos * v850.igen (break): New instruction, breakpoint simulator. 1170 1.1 christos * v850.igen (breakpoint): Enable. Change to a 32bit instruction. 1171 1.1 christos 1172 1.1 christos Mon Sep 15 18:44:05 1997 Jim Wilson <wilson (a] cygnus.com> 1173 1.1 christos 1174 1.1 christos * simops.c (Multiply64): Don't store into register zero. 1175 1.1 christos 1176 1.1 christos Tue Sep 16 09:02:00 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1177 1.1 christos 1178 1.1 christos * Makefile.in (semantics.o): Add dependency. 1179 1.1 christos 1180 1.1 christos * sim-main.h (SAVE_1, SAVE_2): Perform backward compatible save, 1181 1.1 christos do not adjust CIA/NIA. 1182 1.1 christos 1183 1.1 christos Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1184 1.1 christos 1185 1.1 christos * simops.c (OP_300, OP_400, OP_70): Make behavour depend on PSW[US]. 1186 1.1 christos 1187 1.1 christos * simops.c: Move "divun", "sld.bu", "divhn", "divhun", "divn", 1188 1.1 christos "divun", "pushml" code from here to v850.igen. 1189 1.1 christos (divun): Make global. 1190 1.1 christos (type3_regs): Make global 1191 1.1 christos 1192 1.1 christos * v850.igen: Move simops.c code to here. 1193 1.1 christos 1194 1.1 christos * interp.c (sim_create_inferior): For v850eq set US bit by 1195 1.1 christos default. 1196 1.1 christos 1197 1.1 christos * interp.c (sim_open): Don't set arch, now set by 1198 1.1 christos sim_analyze_program. 1199 1.1 christos 1200 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1201 1.1 christos 1202 1.1 christos Mon Sep 15 14:39:34 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1203 1.1 christos 1204 1.1 christos * simops.c (op_types): Move from here. 1205 1.1 christos sim-main.h: To here. 1206 1.1 christos 1207 1.1 christos * sim-main.h (trace_input, trace_output), simops.c: Make global. 1208 1.1 christos 1209 1.1 christos * simops.c (OP_60): Move "jmp" code from here. 1210 1.1 christos * v850.igen (jmp): To here. 1211 1.1 christos 1212 1.1 christos * simops.c (OP_60): Move "sld.bu" code from here. 1213 1.1 christos * v850.igen (sld.bu): To here. 1214 1.1 christos 1215 1.1 christos Fri Sep 12 15:11:03 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1216 1.1 christos 1217 1.1 christos * v850.igen (prepare, ...): Add to v850eq architecture. 1218 1.1 christos 1219 1.1 christos * interp.c (sim_open): Default to v850eq. 1220 1.1 christos 1221 1.1 christos * interp.c (sim_open): Default to v850e. 1222 1.1 christos * sim-main.h (signal.h): Include. 1223 1.1 christos 1224 1.1 christos * v850.igen (illegal): Report/halt illegal instructions. 1225 1.1 christos 1226 1.1 christos * Makefile.in (SIM_EXTRA_CFLAGS): Add SIM_RESERVED_BITS. 1227 1.1 christos 1228 1.1 christos * configure.in: Add reserved bits option. 1229 1.1 christos * configure: Regenerate. 1230 1.1 christos 1231 1.1 christos Thu Sep 11 08:40:03 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1232 1.1 christos 1233 1.1 christos * interp.c (sim_open): Use sim_do_commandf instead of asprintf. 1234 1.1 christos 1235 1.1 christos * sim-main.h (INSN_NAME): 1236 1.1 christos 1237 1.1 christos * Makefile.in (INCLUDE): Add SIM_EXTRA_DEPS. 1238 1.1 christos (SIM_EXTRA_DEPS): Add itable.h 1239 1.1 christos (tmp-gencode): Does not depend on simops.h 1240 1.1 christos 1241 1.1 christos * sim-main.h (itable.h): Include. 1242 1.1 christos (MAX_INSNS, INSN_NAME): Define. 1243 1.1 christos 1244 1.1 christos * interp.c: Compute inttype from the interrupt_names index that 1245 1.1 christos was passed in. 1246 1.1 christos 1247 1.1 christos Wed Sep 10 10:25:40 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1248 1.1 christos 1249 1.1 christos * simops.c (trace_input): Use trace_printf instead of 1250 1.1 christos sim_io_printf. 1251 1.1 christos (trace_output): Ditto. 1252 1.1 christos (trace_input): Only trace when TRACE_ALU_P. Delete code 1253 1.1 christos disasembling instruction. 1254 1.1 christos (trace_output): Only trace when TRACE_ALU_P. 1255 1.1 christos 1256 1.1 christos Tue Sep 9 01:29:50 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1257 1.1 christos 1258 1.1 christos * simops.c (trace_input, trace_output): Use sim_io_printf. 1259 1.1 christos (OP_620): Pass correct argument to trace. 1260 1.1 christos (OP_E607E0): Ditto. 1261 1.1 christos (trace_input): Obtain prog_bfd, text_start et.al from simulator 1262 1.1 christos struct. 1263 1.1 christos 1264 1.1 christos Mon Sep 8 21:03:52 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1265 1.1 christos 1266 1.1 christos * v850.igen: New file. 1267 1.1 christos * v850-dc: New file. 1268 1.1 christos 1269 1.1 christos Mon Sep 8 18:33:04 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1270 1.1 christos 1271 1.1 christos 1272 1.1 christos * sim-main.h (SEXT16): Delete, use EXTEND16. 1273 1.1 christos (SEXT8): Delete, use EXTEND8. 1274 1.1 christos (SEXT32): Delete, used? 1275 1.1 christos (SEXT40, SEXT44, SEXT64): Use UNSIGNED64 for constants, not ...LL. 1276 1.1 christos (WITH_TARGET_WORD_MSB): Define as 31. v850 little bit endian. 1277 1.1 christos 1278 1.1 christos * simops.c: Use EXTEND15 from sim-bits instead of SEXT16. 1279 1.1 christos 1280 1.1 christos * sim-main.h (DEBUG_TRACE, DEBUG_VALUES, v850_debug): Delete, 1281 1.1 christos replace with TRACE_INSN_P and TRACE_ALU_P. 1282 1.1 christos 1283 1.1 christos * simops.c (trace_input, trace_output): Update. 1284 1.1 christos 1285 1.1 christos * interp.c (sim_engine_run): Delete. 1286 1.1 christos (lookup_hash): Delete. 1287 1.1 christos (sim_open): Do not fill hash table. 1288 1.1 christos (sim_trace): Delete. 1289 1.1 christos 1290 1.1 christos Fri Sep 5 17:04:48 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1291 1.1 christos 1292 1.1 christos * simops.c (OP_FFFF): Use sim_engine_halt. 1293 1.1 christos (OP_12007E0): Ditto. 1294 1.1 christos (OP_10007E0): Ditto. 1295 1.1 christos 1296 1.1 christos * sim-main.h (struct sim_cpu): Delete member exception. Using 1297 1.1 christos sim-engine et.al. 1298 1.1 christos 1299 1.1 christos * interp.c (sim_info): Do not do anything in sim-info. 1300 1.1 christos (sim_stop): Delete, replace with sim-stop. 1301 1.1 christos (sim_stop_reason): Delete, replace with sim-reason. 1302 1.1 christos 1303 1.1 christos * sim-main.h (WITH_WATCHPOINTS): Define. 1304 1.1 christos (WITH_MODULO_MEMORY): Define 1305 1.1 christos 1306 1.1 christos * Makefile.in (SIM_OBJS): Add sim-resume, sim-watch, sim-stop, 1307 1.1 christos sim-reason. 1308 1.1 christos 1309 1.1 christos * interp.c (enum interrupt_cond_type): Delete. 1310 1.1 christos (struct interrupt_generator): Delete. 1311 1.1 christos (enum interrupt_type): Drop int_none. 1312 1.1 christos (sim_open): Initialize WATCHPOINT module. 1313 1.1 christos (sim_resume, sim_run): Rename sim_resume to sim_run. 1314 1.1 christos (sim_engine_run): Replace interrupt code with call to sim-events. 1315 1.1 christos (sim_set_interrupt): Delete. 1316 1.1 christos (sim_parse_number): Delete. 1317 1.1 christos 1318 1.1 christos Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba> 1319 1.1 christos 1320 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1321 1.1 christos 1322 1.1 christos Thu Sep 4 18:11:37 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1323 1.1 christos 1324 1.1 christos * simops.c (fetch_argv): New function, fetch a arg vector from 1325 1.1 christos simulator memory. 1326 1.1 christos 1327 1.1 christos * configure.in: Check for fork, execve, execv. 1328 1.1 christos * configure: Regenerate. 1329 1.1 christos 1330 1.1 christos * interp.c (sim_store_register, sim_fetch_register): Use H2T_4 and 1331 1.1 christos T2H_4 for byte swapping. 1332 1.1 christos 1333 1.1 christos * sim-main.h, interp.c (get_word, get_half, get_byte, put_word, 1334 1.1 christos put_half, put_byte): Delete. 1335 1.1 christos 1336 1.1 christos * Makefile.in (SIM_OBJS): Add sim-memopt.o module. 1337 1.1 christos 1338 1.1 christos * sim-main.h (load_mem, store_mem): Redefine as macros. 1339 1.1 christos (IMEM, IMEM_IMMED): New macros - fetch instructions. 1340 1.1 christos 1341 1.1 christos * simops.c (OP_10007E0): For SYS_read, SYS_write, SYS_open 1342 1.1 christos transfer data via a buffer. 1343 1.1 christos (fetch_str): New function, fetch string from memory. 1344 1.1 christos 1345 1.1 christos * Makefile.in (SIM_OBJS): Add sim-hrw.o module. 1346 1.1 christos 1347 1.1 christos * interp.c (sim_open): Establish memory maps using sim-memopt.c 1348 1.1 christos via sim_do_command. 1349 1.1 christos (sim_do_command): Print error if memory-map command is used. Call 1350 1.1 christos sim_args_command. 1351 1.1 christos (map): Delete, replaced by sim-core. 1352 1.1 christos (sim_memory_init): Delete, replaced by sim-core. 1353 1.1 christos (sim_set_memory_map): Delete, replaced by sim-memopt. 1354 1.1 christos (load_mem): Delete, replaced by sim-core. 1355 1.1 christos (store_mem): Delete, replaced by sim-core. 1356 1.1 christos (sim_write): Delete, replaced by sim-hrw. 1357 1.1 christos (sim_read): Delete, replaced by sim-hrw. 1358 1.1 christos 1359 1.1 christos * sim-main.h (struct sim_state): Remove memory members, using 1360 1.1 christos sim-core.c 1361 1.1 christos 1362 1.1 christos Wed Sep 3 10:18:55 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1363 1.1 christos 1364 1.1 christos * sim-main.h: Replace SIM_HAVE_FLATMEM with mem ptr. 1365 1.1 christos * interp.c (map): Do not add to a void pointer. 1366 1.1 christos 1367 1.1 christos * Makefile.in (INCLUDE): Add sim-main.h 1368 1.1 christos 1369 1.1 christos * configure.in: Check for time.h 1370 1.1 christos * configure: Re-generate. 1371 1.1 christos 1372 1.1 christos * interp.c (struct interrupt_generator): Make time unsigned long, 1373 1.1 christos address SIM_ADDR. 1374 1.1 christos (sim_resume): Make oldpc SIM_ADDR. 1375 1.1 christos (struct hash_entry): Make mask/opcode unsigned. 1376 1.1 christos 1377 1.1 christos * v850_sim.h (struct simops ): Make opcode and mask unsigned. 1378 1.1 christos 1379 1.1 christos * simops.c (utime.h): Include if available. 1380 1.1 christos (OP_10007E0): Check for UTIME function. 1381 1.1 christos (divun): Put parentheses around shift argument. 1382 1.1 christos (OP_640): Put parentheses around shift argument, was wrong. 1383 1.1 christos (OP_107F0): Return something. 1384 1.1 christos 1385 1.1 christos * interp.c (sim_parse_number): Use strtoul not strtol. 1386 1.1 christos (sim_resume): Use sim_elapsed_time_get to keep track of the time. 1387 1.1 christos 1388 1.1 christos * configure.in (SIM_AC_OPTION_WARNINGS): Add. 1389 1.1 christos (SIM_AC_OPTION_ENDIAN): Set to hardwired big. 1390 1.1 christos (SIM_AC_OPTION_HOST_ENDIAN): Add. 1391 1.1 christos (AC_CHECK_FUNCS): Add utime. 1392 1.1 christos (AC_CHECK_HEADERS): Add stdlib.h, string.h, strings.h, utime.h 1393 1.1 christos configure: Regenerate. 1394 1.1 christos 1395 1.1 christos 1396 1.1 christos * Makefile.in (SIM_RUN_OBJS): Use nrun.o. 1397 1.1 christos (SIM_OBJS): Add sim-io.o, sim-hload.o, sim-utils.o, sim-options.o, 1398 1.1 christos sim-config.o, sim-module.o, sim-events.o, sim-core.o, 1399 1.1 christos sim-endian.o, sim-engine.o, sim-trace.o, sim-profile.o 1400 1.1 christos (SIM_ENDIAN, SIM_WARNGINS): Define. 1401 1.1 christos 1402 1.1 christos * simops.c (OP_10007E0): Use sim_io_* for transfers. 1403 1.1 christos 1404 1.1 christos * interp.c (sim_resume): Pass sd around. 1405 1.1 christos 1406 1.1 christos * simops.c (sim-main.h): Include. 1407 1.1 christos 1408 1.1 christos * gencode.c (write_template): Generate #include sim-main.h. 1409 1.1 christos (write_opcodes): Ditto. 1410 1.1 christos 1411 1.1 christos * interp.c (prog_bfd, prog_bfd_was_opened_p): Delete. 1412 1.1 christos (v850_callback): Ditto. 1413 1.1 christos (sim_kind, myname): Ditto. 1414 1.1 christos (lookup_hash): Pass SD. Use sim_io_error. 1415 1.1 christos (sim_set_memory_map): Pass in SD, use. 1416 1.1 christos (init_system): Pass in SD, use. 1417 1.1 christos (sim_open): Update. 1418 1.1 christos (sim_set_profile): Delete. 1419 1.1 christos (sim_set_profile_size): Delete. 1420 1.1 christos (do_interrupt): Pass in SD, use. 1421 1.1 christos (sim_info): Use sim_io_printf. 1422 1.1 christos (sim_create_inferior): Reset registers. Set PC from prog_bfd 1423 1.1 christos argument. 1424 1.1 christos (sim_load): Delete, use common/sim-hload.c 1425 1.1 christos (sim_size): Rename to sim_memory_init. 1426 1.1 christos (sim_write): Remove call to init_system. 1427 1.1 christos (init_system): Delete. 1428 1.1 christos (sim_set_callbacks): Delete. 1429 1.1 christos (sim_set_interrupt): Pass in SD, use. 1430 1.1 christos (start_time): Delete. 1431 1.1 christos 1432 1.1 christos * v850_sim.h: Remove everything except `struct simops' from here. 1433 1.1 christos * sim-main.h: Move most to here. 1434 1.1 christos * gencode.c: Move #includes to here. 1435 1.1 christos 1436 1.1 christos * sim-main.h(struct _sim_cpu): Rename struct _state. 1437 1.1 christos (#define PC, et.al.): Update 1438 1.1 christos (v850_callback): Delete. Replaced with SIM_DESC arg. 1439 1.1 christos (int8, uint8, int16, uint16, int32, uint32): Define types using 1440 1.1 christos unsigned8 et.al from common/sim-types.h. 1441 1.1 christos * sim-main.h (State): Define as STATE_CPU. 1442 1.1 christos 1443 1.1 christos Mon Sep 1 12:07:55 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1444 1.1 christos 1445 1.1 christos * configure.in: Check for time, chmod. 1446 1.1 christos * configure: Regenerate. 1447 1.1 christos * simops.c (SYS_time, SYS_chmod): Use HAVE_TIME, HAVE_CHMOD. 1448 1.1 christos 1449 1.1 christos * simops.c (../../libgloss/v850/sys/syscall.h): Include instead of 1450 1.1 christos sys/syscall.h. 1451 1.1 christos (OP_10007E0): Check the existance each SYS_* macro independantly. 1452 1.1 christos 1453 1.1 christos * v850_sim.h (SIGQUIT, SIGTRAP): Only define if missing. 1454 1.1 christos 1455 1.1 christos Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1456 1.1 christos 1457 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1458 1.1 christos * config.in: Ditto. 1459 1.1 christos 1460 1.1 christos Tue Aug 26 10:42:38 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1461 1.1 christos 1462 1.1 christos * interp.c (sim_kill): Delete. 1463 1.1 christos (sim_create_inferior): Add ABFD argument. 1464 1.1 christos (sim_load): Move setting of PC from here. 1465 1.1 christos (sim_create_inferior): To here. 1466 1.1 christos 1467 1.1 christos Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1468 1.1 christos 1469 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1470 1.1 christos * config.in: Ditto. 1471 1.1 christos 1472 1.1 christos Mon Aug 25 11:31:23 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1473 1.1 christos 1474 1.1 christos * interp.c (sim_open): Add ABFD argument. 1475 1.1 christos 1476 1.1 christos Fri Aug 22 10:39:28 1997 Nick Clifton <nickc (a] cygnus.com> 1477 1.1 christos 1478 1.1 christos * simops.c (bsh): Only set CY flag if either of the bottom 1479 1.1 christos bytes is zero. 1480 1.1 christos 1481 1.1 christos * simops.c (prepare, dispose): Lower numbered 1482 1.1 christos registers go to higher numbered address. 1483 1.1 christos 1484 1.1 christos * simops.c (unsigned divide instructions): S bit set if result has 1485 1.1 christos top bit set. 1486 1.1 christos 1487 1.1 christos * simops.c (pushml, pushmh, popml, popmh): Lower numbered 1488 1.1 christos registers go to higher numbered address. 1489 1.1 christos 1490 1.1 christos Wed Aug 20 13:56:35 1997 Nick Clifton <nickc (a] cygnus.com> 1491 1.1 christos 1492 1.1 christos * simops.c (OP_107E0, OP_107F0, OP_307E0, OP_307F0): Use correct 1493 1.1 christos interpretation of SR bit in list18 structure. 1494 1.1 christos (divn, divun): New functions to perform N step divide functions. 1495 1.1 christos 1496 1.1 christos Mon Aug 18 10:59:02 1997 Nick Clifton <nickc (a] cygnus.com> 1497 1.1 christos 1498 1.1 christos * simops.c (OP_300, OP_400, OP_60, OP_70): Support variant opcodes 1499 1.1 christos with US bit set in the PSW. 1500 1.1 christos 1501 1.1 christos Wed Aug 13 19:06:55 1997 Nick Clifton <nickc (a] cygnus.com> 1502 1.1 christos 1503 1.1 christos * interp.c (sim_resume): Opcode functions return amount to be 1504 1.1 christos added to PC and all opcodes take a standard format in the OP[] 1505 1.1 christos array. 1506 1.1 christos 1507 1.1 christos (do_format_*): Functions removed. 1508 1.1 christos 1509 1.1 christos * v850_sim.h (SP, EP): New register mnemonics. 1510 1.1 christos 1511 1.1 christos * gencode.c (write_header): Functions prototypes return an 1512 1.1 christos integer. 1513 1.1 christos 1514 1.1 christos * simops.c: Opcode functions return amount to be added to PC. 1515 1.1 christos 1516 1.1 christos * v850_sim.h (CTPC, CTPSW, CTBP): New register mnemonics. 1517 1.1 christos 1518 1.1 christos * simops.c: Add support for v850e instructions. 1519 1.1 christos 1520 1.1 christos * simops.c: Add support for v850eq instructions. 1521 1.1 christos 1522 1.1 christos Tue May 20 10:24:14 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1523 1.1 christos 1524 1.1 christos * interp.c (sim_open): Add callback argument. 1525 1.1 christos (sim_set_callbacks): Delete SIM_DESC argument. 1526 1.1 christos 1527 1.1 christos Thu Apr 24 00:39:51 1997 Doug Evans <dje (a] canuck.cygnus.com> 1528 1.1 christos 1529 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1530 1.1 christos 1531 1.1 christos Wed Apr 23 17:20:16 1997 Doug Evans <dje (a] canuck.cygnus.com> 1532 1.1 christos 1533 1.1 christos * interp.c (prog_bfd_was_opened_p): New static local. 1534 1.1 christos (prog_bfd): New global variable. 1535 1.1 christos (sim_open): Undo patch to add -E support. 1536 1.1 christos (sim_close): Close prog_bfd if sim_load opened it. 1537 1.1 christos (sim_load): Record bfd of loaded file in prog_bfd. 1538 1.1 christos * simops.c (prog_bfd): Renamed from exec_bfd. 1539 1.1 christos 1540 1.1 christos Fri Apr 18 14:17:12 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1541 1.1 christos 1542 1.1 christos * interp.c (sim_stop): Stub function. 1543 1.1 christos 1544 1.1 christos Thu Apr 17 03:53:18 1997 Doug Evans <dje (a] canuck.cygnus.com> 1545 1.1 christos 1546 1.1 christos * Makefile.in (SIM_OBJS): Add sim-load.o. 1547 1.1 christos * interp.c (sim_kind, myname): New static locals. 1548 1.1 christos (sim_open): Set sim_kind, myname. Ignore -E arg. 1549 1.1 christos (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to 1550 1.1 christos load file into simulator. Set start address from bfd. 1551 1.1 christos (sim_create_inferior): Return SIM_RC. Delete arg start_address. 1552 1.1 christos 1553 1.1 christos Wed Apr 16 19:53:55 1997 Andrew Cagney <cagney (a] b1.cygnus.com> 1554 1.1 christos 1555 1.1 christos * simops.c (OP_10007E0): Only provide system calls SYS_execv, 1556 1.1 christos SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host. 1557 1.1 christos 1558 1.1 christos Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com> 1559 1.1 christos 1560 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1561 1.1 christos * config.in: Ditto. 1562 1.1 christos 1563 1.1 christos Wed Apr 2 15:06:28 1997 Doug Evans <dje (a] canuck.cygnus.com> 1564 1.1 christos 1565 1.1 christos * interp.c (sim_open): New arg `kind'. 1566 1.1 christos 1567 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1568 1.1 christos 1569 1.1 christos Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com> 1570 1.1 christos 1571 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1572 1.1 christos 1573 1.1 christos Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com> 1574 1.1 christos 1575 1.1 christos * configure: Regenerated to track ../common/aclocal.m4 changes. 1576 1.1 christos 1577 1.1 christos Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney (a] kremvax.cygnus.com> 1578 1.1 christos 1579 1.1 christos * configure: Re-generate. 1580 1.1 christos 1581 1.1 christos Fri Mar 14 10:34:11 1997 Michael Meissner <meissner (a] cygnus.com> 1582 1.1 christos 1583 1.1 christos * configure: Regenerate to track ../common/aclocal.m4 changes. 1584 1.1 christos 1585 1.1 christos Thu Mar 13 13:00:54 1997 Doug Evans <dje (a] canuck.cygnus.com> 1586 1.1 christos 1587 1.1 christos * interp.c (sim_open): New SIM_DESC result. Argument is now 1588 1.1 christos in argv form. 1589 1.1 christos (other sim_*): New SIM_DESC argument. 1590 1.1 christos 1591 1.1 christos Tue Feb 4 13:33:30 1997 Doug Evans <dje (a] canuck.cygnus.com> 1592 1.1 christos 1593 1.1 christos * Makefile.in (@COMMON_MAKEFILE_FRAG): Use 1594 1.1 christos COMMON_{PRE,POST}_CONFIG_FRAG instead. 1595 1.1 christos * configure.in: sinclude ../common/aclocal.m4. 1596 1.1 christos * configure: Regenerated. 1597 1.1 christos 1598 1.1 christos Thu Jan 23 11:46:23 1997 Stu Grossman (grossman (a] critters.cygnus.com) 1599 1.1 christos 1600 1.1 christos * configure configure.in Makefile.in: Update to new configure 1601 1.1 christos scheme which is more compatible with WinGDB builds. 1602 1.1 christos * configure.in: Improve comment on how to run autoconf. 1603 1.1 christos * configure: Re-run autoconf to get new ../common/aclocal.m4. 1604 1.1 christos * Makefile.in: Use autoconf substitution to install common 1605 1.1 christos makefile fragment. 1606 1.1 christos 1607 1.1 christos Mon Jan 20 16:05:34 1997 Michael Meissner <meissner (a] tiktok.cygnus.com> 1608 1.1 christos 1609 1.1 christos * simops.c (OP_{E0,2E0,6E0}): The multiply operations sign extend, 1610 1.1 christos not zero extend. 1611 1.1 christos 1612 1.1 christos Tue Jan 14 17:06:03 1997 Stu Grossman (grossman (a] critters.cygnus.com) 1613 1.1 christos 1614 1.1 christos * simops.c: Put ifdefs around things to make MSVC happy. Get rid 1615 1.1 christos of unistd.h. Disable SYS_stat, SYS_chown, SYS_time, SYS_times, 1616 1.1 christos SYS_gettimeofday and SYS_utime from MSVC. 1617 1.1 christos 1618 1.1 christos Tue Dec 31 18:11:13 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1619 1.1 christos 1620 1.1 christos * simops.c (OP_10007E0): Know that kill encodes the signal number 1621 1.1 christos via: 0xdead0000 | signal and turn it back into a signal. 1622 1.1 christos 1623 1.1 christos Fri Dec 27 14:44:06 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1624 1.1 christos 1625 1.1 christos * v850_sim.h (SIG_V850_EXIT): Define as -1. 1626 1.1 christos 1627 1.1 christos * interp.c (sim_open): Cast calloc function. 1628 1.1 christos (sim_stop_reason): If signal is SIG_V850_EXIT, inform gdb the 1629 1.1 christos program exited with the appropriate exit code. 1630 1.1 christos (sim_set_interrupt): Declare buildargv. 1631 1.1 christos 1632 1.1 christos * simops.c (OP_10007E0): Make exit signal normal exit. Make time 1633 1.1 christos type correct and work on big endian systems. 1634 1.1 christos 1635 1.1 christos Wed Nov 20 02:18:44 1996 Doug Evans <dje (a] canuck.cygnus.com> 1636 1.1 christos 1637 1.1 christos * Makefile.in: Delete stuff moved to ../common/Make-common.in. 1638 1.1 christos (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define. 1639 1.1 christos * configure.in: Simplify using macros in ../common/aclocal.m4. 1640 1.1 christos Call AC_CHECK_HEADERS(unistd.h). 1641 1.1 christos * configure: Regenerated. 1642 1.1 christos * config.in: New file. 1643 1.1 christos * simops.c: #include "config.h". #include <unistd.h> if present. 1644 1.1 christos 1645 1.1 christos Sun Nov 3 23:02:54 1996 Stan Shebs <shebs (a] andros.cygnus.com> 1646 1.1 christos 1647 1.1 christos * v850_sim.h (State): New slots dummy_mem, pending_nmi. 1648 1.1 christos (EIPC, etc): New macros for system registers. 1649 1.1 christos * simops.c, interp.c: Use everywhere. 1650 1.1 christos 1651 1.1 christos * interp.c: Add support for interrupts issued by interrupt 1652 1.1 christos generators, either PC- or time-based. Controlled by simulator 1653 1.1 christos command "sim interrupt". 1654 1.1 christos 1655 1.1 christos * interp.c: Add support for variable-size allocation of memory, 1656 1.1 christos via simulator command "sim memory-map". 1657 1.1 christos (map): Issue SIGSEGV for references to invalid memory regions. 1658 1.1 christos 1659 1.1 christos Thu Oct 31 14:44:10 1996 Gavin Koch <gavin (a] cygnus.com> 1660 1.1 christos 1661 1.1 christos * simops.c: Include <sys/time.h> for struct timeval and 1662 1.1 christos struct timezone. 1663 1.1 christos 1664 1.1 christos Wed Oct 30 08:49:10 1996 Jeffrey A Law (law (a] cygnus.com) 1665 1.1 christos 1666 1.1 christos * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday. 1667 1.1 christos 1668 1.1 christos * simops.c (OP_10007E0): Handle SYS_time. 1669 1.1 christos 1670 1.1 christos Tue Oct 29 14:22:55 1996 Jeffrey A Law (law (a] cygnus.com) 1671 1.1 christos 1672 1.1 christos * simops.c: Include <sys/stat.h>. 1673 1.1 christos (OP_10007E0): Handle SYS_stat. 1674 1.1 christos 1675 1.1 christos Thu Oct 24 12:26:35 1996 Jeffrey A Law (law (a] cygnus.com) 1676 1.1 christos 1677 1.1 christos * simops.c (OP_10007E0): Don't declare errno. 1678 1.1 christos 1679 1.1 christos * simops.c (OP_500): Mask off low bit in displacement 1680 1.1 christos for sld.w. 1681 1.1 christos (OP_501): Similarly. 1682 1.1 christos 1683 1.1 christos * simops.c (OP_500): Fix displacement handling for sld.w. 1684 1.1 christos (OP_501): Similarly for sst.w. 1685 1.1 christos 1686 1.1 christos * simops.c (trace_input): Remove all references to SEXT7. 1687 1.1 christos (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement 1688 1.1 christos is zero extended for sst/sld instructions. 1689 1.1 christos * v850_sim.h (SEX7): Delete. It's no longer needed (and it 1690 1.1 christos was incorrect anyway). 1691 1.1 christos 1692 1.1 christos Thu Oct 24 10:33:33 1996 Stu Grossman (grossman (a] critters.cygnus.com) 1693 1.1 christos 1694 1.1 christos * Makefile.in: Get rid of srcroot. Set all INSTALL macros via 1695 1.1 christos autoconf. 1696 1.1 christos * gencode.c (write_opcodes): Pad operands field to account for 1697 1.1 christos MSVC braindamage. 1698 1.1 christos * simops.c: Include errno.h. Exclude SYS_chown, since MSVC 1699 1.1 christos doesn't support it. (Why is this here in the first place?!?) 1700 1.1 christos * v850_sim.h: Get rid of 64 bit defs. Also, get rid of #elif's. 1701 1.1 christos Change number of operands in struct simops from 9 to 6. Define 1702 1.1 christos SIGTRAP and SIGQUIT for MSVC. 1703 1.1 christos 1704 1.1 christos Tue Oct 15 16:19:51 1996 Stu Grossman (grossman (a] critters.cygnus.com) 1705 1.1 christos 1706 1.1 christos * interp.c (MEM_SIZE): It's now bytes, not a power of 2. 1707 1.1 christos * (map): Add support for external mem in the 1->2 meg range. 1708 1.1 christos Also, abort() when memory access is way out of bounds. (Better to 1709 1.1 christos die than to give wrong result. (This will be fixed later.)) 1710 1.1 christos * (sim_size): MEM_SIZE is now bytes, not shift factor. 1711 1.1 christos 1712 1.1 christos Tue Oct 1 15:53:24 1996 Gavin Koch <gavin (a] cygnus.com> 1713 1.1 christos 1714 1.1 christos * simops.c (trace_input): Swapped order of operands for output 1715 1.1 christos output of OP_IMM_REG. Changed the fetching of the operands for 1716 1.1 christos OP_LOAD32, and OP_STORE32 to work like op-function. 1717 1.1 christos 1718 1.1 christos Mon Sep 30 15:46:33 1996 Stu Grossman (grossman (a] critters.cygnus.com) 1719 1.1 christos 1720 1.1 christos * interp.c: Move includes of remote-sim.h and callback.h to 1721 1.1 christos v850-sim.h. 1722 1.1 christos * (lookup_hash): Add PC to report of hash failure. 1723 1.1 christos * (map load_mem store_mem): New memory subsystem. Models V851 1724 1.1 christos memory system. 1725 1.1 christos * (sim_write sim_read): Use new memory subsystem. 1726 1.1 christos * (sim_resume): Don't load and save PC into EIPC anymore. Needed 1727 1.1 christos to make user-defined traps work right. 1728 1.1 christos * simops.c (OP_*): Use new memory subsystem. 1729 1.1 christos * (OP_14007E0 (reti)): Implement reti. 1730 1.1 christos * (OP_14996E0 (trap)): Implement user-defined traps. Move I/O to 1731 1.1 christos trap 31. Use new memory subsystem. 1732 1.1 christos * v850_sim.h: Prototypes for load_mem, store_mem and map. Use 1733 1.1 christos load_mem in RLW macro. 1734 1.1 christos 1735 1.1 christos Fri Sep 27 18:34:09 1996 Stu Grossman (grossman (a] critters.cygnus.com) 1736 1.1 christos 1737 1.1 christos * gencode.c (write_opcodes): Output hex values for opcode mask 1738 1.1 christos and patterns. 1739 1.1 christos * interp.c (sim_resume): Save and restore PC from the appropriate 1740 1.1 christos register. 1741 1.1 christos * (sim_fetch_register sim_store_register): Fix byte-order problem 1742 1.1 christos with reading and writing registers. 1743 1.1 christos * simops.c (OP_FFFF): Implement pseudo-breakpoint insn. 1744 1.1 christos 1745 1.1 christos Fri Sep 27 17:42:37 1996 Jeffrey A Law (law (a] cygnus.com) 1746 1.1 christos 1747 1.1 christos * simops.c (trace_input): Fix thinko. 1748 1.1 christos 1749 1.1 christos Wed Sep 18 09:54:12 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1750 1.1 christos 1751 1.1 christos * simops.c (exec_bfd): Rename from sim_bfd. 1752 1.1 christos (trace_input): Ditto. 1753 1.1 christos 1754 1.1 christos Thu Sep 12 12:03:05 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1755 1.1 christos 1756 1.1 christos * simops.c (trace_input): Use find_nearest_line to print line 1757 1.1 christos number, function name or file name of PC. 1758 1.1 christos 1759 1.1 christos Wed Sep 11 16:44:37 1996 Michael Meissner <meissner (a] tiktok.cygnus.com> 1760 1.1 christos 1761 1.1 christos * simops.c: Add tracing support. Use SEXTxx macros instead of 1762 1.1 christos doing hardwired shifts. 1763 1.1 christos 1764 1.1 christos * configure.in (--enable-sim-cflags): Add switch to add additional 1765 1.1 christos flags to simulator buld. If --enable-sim-cflags=trace, turn on 1766 1.1 christos tracing. 1767 1.1 christos * configure: Regenerate. 1768 1.1 christos 1769 1.1 christos * Makefile.in: Don't require a VPATH capable make if configuring 1770 1.1 christos in the same directory. Don't use CFLAGS for configuration flags. 1771 1.1 christos Add flags from --enable-sim-cflags. Support canadian cross 1772 1.1 christos builds. Rebuild whole simulator if include files change. 1773 1.1 christos 1774 1.1 christos * interp.c (v850_debug): New global for debugging. 1775 1.1 christos (lookup_hash,sim_size,sim_set_profile): Use 1776 1.1 christos printf_filtered callback, instead of calling printf directly. 1777 1.1 christos (sim_{open,trace}): Enable tracing if -t and compiled for tracing. 1778 1.1 christos 1779 1.1 christos * v850_sim.h: Use limits.h to set the various sized types. 1780 1.1 christos (SEXT{5,7,16,22}): New macros. 1781 1.1 christos 1782 1.1 christos Mon Sep 9 20:50:46 1996 Jeffrey A Law (law (a] cygnus.com) 1783 1.1 christos 1784 1.1 christos * interp.c (hash): Make this an inline function 1785 1.1 christos when compiling with GCC. Simplify. 1786 1.1 christos * simpos.c: Explicitly include "sys/syscall.h". Remove 1787 1.1 christos some #if 0'd code. Enable more emulated syscalls. 1788 1.1 christos 1789 1.1 christos Wed Sep 4 01:48:55 1996 Jeffrey A Law (law (a] cygnus.com) 1790 1.1 christos 1791 1.1 christos * interp.c: Fix sign bit handling for add and sub instructions. 1792 1.1 christos 1793 1.1 christos Tue Sep 3 10:20:30 1996 Jeffrey A Law (law (a] cygnus.com) 1794 1.1 christos 1795 1.1 christos * gencode.c: Fix various indention & style problems. 1796 1.1 christos Remove test code. Remove #if 0 code. 1797 1.1 christos * interp.c: Provide prototypes for all static functions. 1798 1.1 christos Fix minor indention problems. 1799 1.1 christos (sim_open, sim_resume): Remove unused variables. 1800 1.1 christos (sim_read): Return type is "int". 1801 1.1 christos * simops.c: Remove unused variables. 1802 1.1 christos (divh): Make result of divide-by-zero zero. 1803 1.1 christos (setf): Initialize result to keep compiler quiet. 1804 1.1 christos (sar instructions): These just clear the overflow bit. 1805 1.1 christos * v850_sim.h: Provide prototypes for put_byte, put_half 1806 1.1 christos and put_word. 1807 1.1 christos 1808 1.1 christos * interp.c: OP should be an array of 32bit operands! 1809 1.1 christos (v850_callback): Declare. 1810 1.1 christos (do_format_5): Fix extraction of OP[0]. 1811 1.1 christos (sim_size): Remove debugging printf. 1812 1.1 christos (sim_set_callbacks): Do something useful. 1813 1.1 christos (sim_stop_reason): Gross hacks to get c-torture running. 1814 1.1 christos * simops.c: Simplify code for computing targets of bCC 1815 1.1 christos insns. Invert 's' bit if 'ov' bit is set for some 1816 1.1 christos instructions. Fix 'cy' bit handling for numerous 1817 1.1 christos instructions. Make the simulator stop when a halt 1818 1.1 christos instruction is encountered. Very crude support for 1819 1.1 christos emulated syscalls (trap 0). 1820 1.1 christos * v850_sim.h: Include "callback.h" and declare 1821 1.1 christos v850_callback. Items in the operand array are 32bits. 1822 1.1 christos 1823 1.1 christos Sun Sep 1 22:35:35 1996 Jeffrey A Law (law (a] cygnus.com) 1824 1.1 christos 1825 1.1 christos * interp.c (sim_resume): Fix code to check for a format 3 1826 1.1 christos opcode. 1827 1.1 christos * simops.c: bCC insns only argument is a constant, not a 1828 1.1 christos register value (duh...) 1829 1.1 christos 1830 1.1 christos Fri Aug 30 10:33:49 1996 Jeffrey A Law (law (a] cygnus.com) 1831 1.1 christos 1832 1.1 christos * simops.c: Fix "not1" and "set1". 1833 1.1 christos 1834 1.1 christos * simops.c: Don't forget to initialize temp for 1835 1.1 christos "ld.h" and "ld.w" 1836 1.1 christos 1837 1.1 christos * interp.c: Remove various debugging printfs. 1838 1.1 christos 1839 1.1 christos * simops.c: Fix satadd, satsub boundary case handling. 1840 1.1 christos 1841 1.1 christos * interp.c (hash): Fix. 1842 1.1 christos * interp.c (do_format_8): Get operands correctly and 1843 1.1 christos call the target function. 1844 1.1 christos * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1". 1845 1.1 christos 1846 1.1 christos Thu Aug 29 13:53:29 1996 Jeffrey A Law (law (a] cygnus.com) 1847 1.1 christos 1848 1.1 christos * interp.c (do_format_4): Get operands correctly and 1849 1.1 christos call the target function. 1850 1.1 christos * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b", 1851 1.1 christos "sst.h", and "sst.w". 1852 1.1 christos 1853 1.1 christos * v850_sim.h: The V850 doesn't have split I&D spaces. Change 1854 1.1 christos accordingly. Remove many unused definitions. 1855 1.1 christos * interp.c: The V850 doesn't have split I&D spaces. Change 1856 1.1 christos accordingly. 1857 1.1 christos (get_longlong, get_longword, get_word): Deleted. 1858 1.1 christos (write_longlong, write_longword, write_word): Deleted. 1859 1.1 christos (get_operands): Deleted. 1860 1.1 christos (get_byte, get_half, get_word): New functions. 1861 1.1 christos (put_byte, put_half, put_word): New functions. 1862 1.1 christos * simops.c: Remove unused functions. Rough cut at 1863 1.1 christos "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns. 1864 1.1 christos 1865 1.1 christos * v850_sim.h (struct _state): Remove "psw" field. Add 1866 1.1 christos "sregs" field. 1867 1.1 christos (PSW): Remove bogus definition. 1868 1.1 christos * simops.c: Change condition code handling to use the psw 1869 1.1 christos register within the sregs array. Handle "ldsr" and "stsr". 1870 1.1 christos 1871 1.1 christos * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr". 1872 1.1 christos 1873 1.1 christos * interp.c (do_format_5): Get operands correctly and 1874 1.1 christos call the target function. 1875 1.1 christos (sim_resume): Don't do a PC update for format 5 instructions. 1876 1.1 christos * simops.c: Handle "jarl" and "jmp" instructions. 1877 1.1 christos 1878 1.1 christos * simops.c: Fix minor typos. Handle "cmp", "setf", "tst" 1879 1.1 christos "di", and "ei" instructions correctly. 1880 1.1 christos 1881 1.1 christos * interp.c (do_format_3): Get operands correctly and call 1882 1.1 christos the target function. 1883 1.1 christos * simops.c: Handle bCC instructions. 1884 1.1 christos 1885 1.1 christos * simops.c: Add condition code handling to shift insns. 1886 1.1 christos Fix minor typos in condition code handling for other insns. 1887 1.1 christos 1888 1.1 christos * Makefile.in: Fix typo. 1889 1.1 christos * simops.c: Add condition code handling to "sub" "subr" and 1890 1.1 christos "divh" instructions. 1891 1.1 christos 1892 1.1 christos * interp.c (hash): Update to be more accurate. 1893 1.1 christos (lookup_hash): Call hash rather than computing the hash 1894 1.1 christos code here. 1895 1.1 christos (do_format_1_2): Handle format 1 and format 2 instructions. 1896 1.1 christos Get operands correctly and call the target function. 1897 1.1 christos (do_format_6): Get operands correctly and call the target 1898 1.1 christos function. 1899 1.1 christos (do_formats_9_10): Rough cut so shift ops will work. 1900 1.1 christos (sim_resume): Tweak to deal with format 1 and format 2 1901 1.1 christos handling in a single funtion. Don't update the PC 1902 1.1 christos for format 3 insns. Fix typos. 1903 1.1 christos * simops.c: Slightly reorganize. Add condition code handling 1904 1.1 christos to "add", "addi", "and", "andi", "or", "ori", "xor", "xori" 1905 1.1 christos and "not" instructions. 1906 1.1 christos * v850_sim.h (reg_t): Registers are 32bits. 1907 1.1 christos (_state): The V850 has 32 general registers. Add a 32bit 1908 1.1 christos psw and pc register too. Add accessor macros 1909 1.1 christos 1910 1.1 christos * Makefile.in, interp.c, v850_sim.h: Bring over endianness 1911 1.1 christos changes from the d10v simulator. 1912 1.1 christos 1913 1.1 christos * simops.c: Add shift support. 1914 1.1 christos 1915 1.1 christos * simops.c: Add multiply & divide support. Abort for system 1916 1.1 christos instructions. 1917 1.1 christos 1918 1.1 christos * simops.c: Add logicals, mov, movhi, movea, add, addi, sub 1919 1.1 christos and subr. No condition codes yet. 1920 1.1 christos 1921 1.1 christos Wed Aug 28 13:53:22 1996 Jeffrey A Law (law (a] cygnus.com) 1922 1.1 christos 1923 1.1 christos * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h, 1924 1.1 christos gencode.c, interp.c, simops.c: Created. 1925