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