OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [v850/] [ChangeLog] - Blame information for rev 438

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
2010-03-30  Mike Frysinger  
2
 
3
        * interp.c (interrupt_names): Add const to pointer type.
4
        (do_interrupt): Add const to interrupt_name.
5
 
6
2010-01-09  Ralf Wildenhues  
7
 
8
        * configure: Regenerate.
9
 
10
2009-08-22  Ralf Wildenhues  
11
 
12
        * config.in: Regenerate.
13
        * configure: Likewise.
14
 
15
        * configure: Regenerate.
16
 
17
2008-07-11  Hans-Peter Nilsson  
18
 
19
        * configure: Regenerate to track ../common/common.m4 changes.
20
        * config.in: Ditto.
21
 
22
2008-06-06  Vladimir Prus  
23
            Daniel Jacobowitz  
24
            Joseph Myers  
25
 
26
        * configure: Regenerate.
27
 
28
2008-02-05  DJ Delorie  
29
 
30
        * simops.c (OP_1C007E0): Compensate for 64 bit hosts.
31
        (OP_18007E0): Likewise.
32
        (OP_2C007E0): Likewise.
33
        (OP_28007E0): Likewise.
34
        * v850.igen (divh): Likewise.
35
 
36
        * simops.c (OP_C0): Correct saturation logic.
37
        (OP_220): Likewise.
38
        (OP_A0): Likewise.
39
        (OP_660): Likewise.
40
        (OP_80): Likewise.
41
 
42
        * simops.c (OP_2A0): If the shift count is zero, clear the
43
        carry.
44
        (OP_A007E0): Likewise.
45
        (OP_2C0): Likewise.
46
        (OP_C007E0): Likewise.
47
        (OP_280): Likewise.
48
        (OP_8007E0): Likewise.
49
 
50
        * simops.c (OP_2C207E0): Correct PSW flags for special divu
51
        conditions.
52
        (OP_2C007E0): Likewise, for div.
53
        (OP_28207E0): Likewise, for divhu.
54
        (OP_28007E0): Likewise, for divh.  Also, sign-extend the correct
55
        operand.
56
        * v850.igen (divh): Likewise, for 2-op divh.
57
 
58
        * v850.igen (bsh): Fix carry logic.
59
 
60
2007-02-20  Daniel Jacobowitz  
61
 
62
        * Makefile.in (interp.o): Uncomment and update.
63
 
64
2006-12-21  Hans-Peter Nilsson  
65
 
66
        * acconfig.h: Remove.
67
        * config.in: Regenerate.
68
 
69
2006-06-13  Richard Earnshaw  
70
 
71
        * configure: Regenerated.
72
 
73
2006-06-05  Daniel Jacobowitz  
74
 
75
        * configure: Regenerated.
76
 
77
2006-05-31  Daniel Jacobowitz  
78
 
79
        * configure: Regenerated.
80
 
81
2005-03-23  Mark Kettenis  
82
 
83
        * configure: Regenerate.
84
 
85
2005-01-14  Andrew Cagney  
86
 
87
        * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
88
        explicit call to AC_CONFIG_HEADER.
89
        * configure: Regenerate.
90
 
91
2005-01-12  Andrew Cagney  
92
 
93
        * configure.ac: Update to use ../common/common.m4.
94
        * configure: Re-generate.
95
 
96
2005-01-11  Andrew Cagney  
97
 
98
        * configure: Regenerated to track ../common/aclocal.m4 changes.
99
 
100
2005-01-07  Andrew Cagney  
101
 
102
        * configure.ac: Rename configure.in, require autoconf 2.59.
103
        * configure: Re-generate.
104
 
105
2004-12-08  Hans-Peter Nilsson  
106
 
107
        * configure: Regenerate for ../common/aclocal.m4 update.
108
 
109
2004-01-18  Mark Kettenis  
110
 
111
        * simops.c: Include .
112
 
113
2003-09-05  Andrew Cagney  
114
            Nick Clifton  
115
 
116
        * interp.c (sim_open): Accept bfd_mach_v850e1.
117
        * v850-dc: Add entry for v850e1.
118
        * v850.igen: Add support for v850e1.
119
        Add code for DBTRAP and DBRET instructions.
120
        (dbtrap): Create a separate v850e1 specific instruction.
121
        Only generate a trap if the target is not the v850e1.
122
        Otherwise treat it as a special kind of branch.
123
        (break): Mark as v850/v850e specific.
124
 
125
2003-05-16  Ian Lance Taylor  
126
 
127
        * Makefile.in (SHELL): Make sure this is defined.
128
        (tmp-igen): Use $(SHELL) whenever we invoke move-if-change.
129
 
130
2003-04-06  Nick Clifton  
131
 
132
        * simops.c (OP_40): Delete.  Move code to...
133
        * v850-igen.c (): ...Here. Sign extend the first operand.
134
        * simops.h (OP_40): Remove prototype.
135
 
136
2003-02-27  Andrew Cagney  
137
 
138
        * interp.c (sim_open, sim_create_inferior): Rename _bfd to bfd.
139
 
140
2002-11-30  Andrew Cagney  
141
 
142
        * simops.c: Use int, 1, 0 instead of boolean, true and false.
143
        * sim-main.h: Ditto.
144
 
145
2002-09-27  Jim Wilson  
146
 
147
        * simops.c (OP_E6077E0): And op1 with 7 after reading register, not
148
        before.
149
        (BIT_CHANGE_OP): Likewise.
150
 
151
2002-09-26  Jim Wilson  
152
 
153
        * simops (OP_10007E0): Don't subtract 4 from PC.
154
 
155
2002-09-19  Nick Clifton  
156
 
157
        * interp.c (sim_open): Remove reference to v850ea.
158
        (sim_create_inferior): Likewise.
159
        * v850-dc: Likewise.
160
        * v850.igen: Remove all references to v850ea, including v850ea
161
        specific instructions.
162
 
163
2002-08-29  Nick Clifton  
164
 
165
        From 2001-08-23  Catherine Moore  
166
 
167
        * Makefile.in: Add gen-zero-r0 option.
168
        * sim-main.h (GPR_SET, GPR_CLEAR): Define.
169
        * simops.c (OP_24007E0):  Sign extend the imm9
170
        operand of a mul instruction.
171
 
172
2002-06-17  Andrew Cagney  
173
 
174
        * simops.c (trace_result): Fix printf formatting.
175
 
176
2002-06-16  Andrew Cagney  
177
 
178
        * configure: Regenerated to track ../common/aclocal.m4 changes.
179
 
180
2001-12-02  Andrew Cagney  
181
 
182
        * Makefile.in (simops.h, table.c): Delete targets.
183
        (tmp-gencode, gencode.o, gencode): Delete targets.
184
        (simops.h): New file.
185
        ($(BUILT_SRC_FROM_IGEN)): Do not depend on simops.h.
186
        * gencode.c: Delete file.
187
 
188
2001-04-15  J.T. Conklin  
189
 
190
        * Makefile.in (simops.o): Add simops.h to dependency list.
191
 
192
2001-03-14  Andrew Cagney  
193
 
194
        * Makefile.in (gencode): Link with libintl.
195
 
196
2001-01-31  Jonathan Larmour  
197
 
198
        * Makefile.in (gencode): Link with libopcodes in build tree rather
199
        than building source files from there.
200
 
201
2000-05-30  Nick Clifton  
202
 
203
        * v850.igen: Remove illegal instruction pattern, since it is the
204
        same as the breakpoint pattern.
205
 
206
Tue May 23 21:39:23 2000  Andrew Cagney  
207
 
208
        * configure: Regenerated to track ../common/aclocal.m4 changes.
209
 
210
2000-04-14  Gary Thomas  
211
 
212
        * v850.igen: Define 'br *' as illegal since this is the only
213
        way to provide a breakpoint on some v850 family processors.
214
 
215
2000-03-24  Frank Ch. Eigler  
216
 
217
        * v850.igen (ilgop): New insn pattern for four-byte breakpoints.
218
 
219
Thu Sep  2 18:15:53 1999  Andrew Cagney  
220
 
221
        * configure: Regenerated to track ../common/aclocal.m4 changes.
222
 
223
1999-05-08  Felix Lee  
224
 
225
        * configure: Regenerated to track ../common/aclocal.m4 changes.
226
 
227
Tue Dec  1 17:25:16 1998  Andrew Cagney  
228
 
229
        * Makefile.in (NL_TARGET): Define as -DNL_TARGET_v850.
230
 
231
Wed Nov 25 17:52:58 1998  Andrew Cagney  
232
 
233
        * Makefile.in (simops.o): Depends on targ-vals.h
234
        * simops.c: Include targ-vals.h instead of
235
        libgloss/.../syscall.h. Replace SYS_* with TARGET_SYS_*.
236
        (divn, divun, OP_1C007E0, OP_18207E0, OP_1C207E0,OP_18007E0):
237
        Replace signed long int with signed32.
238
 
239
Fri Oct  9 18:02:25 1998  Doug Evans  
240
 
241
        * interp.c: #include "itable.h".
242
        (get_insn_name): New function.
243
        (sim_open): Initialize CPU_INSN_NAME,CPU_MAX_INSNS.
244
        * sim-main.h (MAX_INSNS,INSN_NAME): Delete.
245
 
246
Wed May  6 19:43:27 1998  Doug Evans  
247
 
248
        * sim-main.h (INSN_NAME): New arg `cpu'.
249
 
250
Tue Apr 28 18:33:31 1998  Geoffrey Noer  
251
 
252
        * configure: Regenerated to track ../common/aclocal.m4 changes.
253
 
254
Sun Apr 26 15:31:55 1998  Tom Tromey  
255
 
256
        * configure: Regenerated to track ../common/aclocal.m4 changes.
257
        * config.in: Ditto.
258
 
259
Sun Apr 26 15:19:14 1998  Tom Tromey  
260
 
261
        * acconfig.h: New file.
262
        * configure.in: Reverted change of Apr 24; use sinclude again.
263
 
264
Fri Apr 24 14:16:40 1998  Tom Tromey  
265
 
266
        * configure: Regenerated to track ../common/aclocal.m4 changes.
267
        * config.in: Ditto.
268
 
269
Fri Apr 24 11:18:08 1998  Tom Tromey  
270
 
271
        * configure.in: Don't call sinclude.
272
 
273
Sat Apr  4 20:36:25 1998  Andrew Cagney  
274
 
275
        * configure: Regenerated to track ../common/aclocal.m4 changes.
276
        * sim-main.h (SIM_MAIN_H): Wrap header.
277
 
278
Fri Mar 27 16:15:52 1998  Andrew Cagney  
279
 
280
        * configure: Regenerated to track ../common/aclocal.m4 changes.
281
 
282
Wed Mar 25 12:35:29 1998  Andrew Cagney  
283
 
284
        * configure: Regenerated to track ../common/aclocal.m4 changes.
285
 
286
Tue Mar 10 15:54:50 1998  Andrew Cagney  
287
 
288
        * interp.c (sim_stop): Delete, second attempt.
289
 
290
Thu Feb 26 19:09:47 1998  Andrew Cagney  
291
 
292
        * interp.c (sim_info): Delete.
293
 
294
Wed Feb 18 10:47:32 1998  Andrew Cagney  
295
 
296
        * sim-main.h (TRACE_ALU_INPUT*): Delete.  Moved to sim-trace.[hc].
297
 
298
        * simops.c (trace_result): Call trace_generic instead of
299
        trace_one_insn.
300
        (trace_module): Change variable type to integer.
301
        (trace_input): Initialize trace_module with TRACE_ALU_IDX.
302
 
303
        * sim-main.h (trace_module): Change variable decl to integer type.
304
        (TRACE_BRANCH*, TRACE_LD, TRACE_ST): Update.
305
 
306
Tue Feb 17 12:51:18 1998  Andrew Cagney  
307
 
308
        * interp.c (sim_store_register, sim_fetch_register): Pass in
309
        length parameter.  Return -1.
310
 
311
Tue Feb  3 16:24:42 1998  Andrew Cagney  
312
 
313
        * sim-main.h (IMEM16, IMEM16_IMMED): Rename IMEM and
314
        IMEM_IMMED. To match recent igen change.
315
 
316
Sun Feb  1 16:47:51 1998  Andrew Cagney  
317
 
318
        * configure: Regenerated to track ../common/aclocal.m4 changes.
319
 
320
Sat Jan 31 18:15:41 1998  Andrew Cagney  
321
 
322
        * configure: Regenerated to track ../common/aclocal.m4 changes.
323
 
324
Fri Jan 30 09:51:27 1998  Andrew Cagney  
325
 
326
        * sim-main.h (CPU_CIA): Delete, replaced by.
327
        (CIA_SET, CIA_SET): Define.
328
 
329
Mon Jan 19 22:26:29 1998  Doug Evans  
330
 
331
        * configure: Regenerated to track ../common/aclocal.m4 changes.
332
 
333
Mon Dec 15 23:17:11 1997  Andrew Cagney  
334
 
335
        * configure: Regenerated to track ../common/aclocal.m4 changes.
336
        * config.in: Ditto.
337
 
338
Fri Dec  5 09:26:08 1997  Nick Clifton  
339
 
340
        * v850.igen: Revert break value back to its old value.
341
 
342
Thu Dec  4 09:21:05 1997  Doug Evans  
343
 
344
        * configure: Regenerated to track ../common/aclocal.m4 changes.
345
 
346
Wed Dec  3 17:27:19 1997  Nick Clifton  
347
 
348
        * v850.igen: Make break have a zero first field, since otherwise
349
        it clashes with the DIVH instruction.
350
 
351
Sat Nov 22 21:32:07 1997  Andrew Cagney  
352
 
353
        * simops.c (OP_10007E0): Rename SIGABRT -> SIM_SIGABRT. Give
354
        sim_stopped instead of sim_signalled.
355
 
356
        * v850.igen (BREAK), simops.c (OP_12007E0): Rename SIGTRAP to
357
        SIM_SIGTRAP.
358
        (illegal): Rename SIGILL to SIM_SIGILL.
359
 
360
        * sim-main.h, simops.c, interp.c: Do not include signal.h.
361
 
362
        * sim-main.h: Include sim-signal.h instead of signal.h.
363
        (SIGTRAP, SIGQUIT): Delete definition.
364
        (SIG_V850_EXIT): Delete definition.
365
 
366
Tue Nov 18 15:33:48 1997  Doug Evans  
367
 
368
        * Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
369
 
370
Fri Oct 31 10:33:40 1997  Andrew Cagney  
371
 
372
        * interp.c (sim_open): Check state magic number.
373
        (sim-assert.h): Include.
374
 
375
Tue Oct 28 11:06:47 1997  Andrew Cagney  
376
 
377
        * v850.igen: Add model filter field to records.
378
 
379
Fri Oct  3 09:28:00 1997  Andrew Cagney  
380
 
381
        * configure: Regenerated to track ../common/aclocal.m4 changes.
382
 
383
Fri Sep 26 11:56:02 1997  Felix Lee  
384
 
385
        * sim-main.h: delete null override of SIM_ENGINE_HALT_HOOK and
386
        SIM_ENGINE_RESTART_HOOK.
387
 
388
Wed Sep 24 17:38:57 1997  Andrew Cagney  
389
 
390
        * configure: Regenerated to track ../common/aclocal.m4 changes.
391
 
392
Wed Sep 24 17:28:26 1997  Andrew Cagney  
393
 
394
        * sim-main.h (WITH_TARGET_WORD_MSB): Delete.
395
 
396
        * configure.in (SIM_AC_OPTION_BITSIZE): Specify 32 bit
397
        architecture with MSB == 31.
398
 
399
Wed Sep 24 14:04:20 1997  Andrew Cagney  
400
 
401
        * v850.igen: Make divh insn with RRRRR==0 breakpoint.
402
 
403
Tue Sep 23 11:04:38 1997  Andrew Cagney  
404
 
405
        * configure: Regenerated to track ../common/aclocal.m4 changes.
406
 
407
Tue Sep 23 10:19:51 1997  Andrew Cagney  
408
 
409
        * Makefile.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
410
        SIM_HOSTENDIAN, SIM_RESERVED_BITS): Delete, moved to common.
411
        (SIM_EXTRA_CFLAGS): Update.
412
 
413
Mon Sep 22 11:46:20 1997  Andrew Cagney  
414
 
415
        * configure: Regenerated to track ../common/aclocal.m4 changes.
416
        * configure.in: Really specify NONSTRICT_ALIGNMENT as the default.
417
 
418
Fri Sep 19 17:45:25 1997  Andrew Cagney  
419
 
420
        * configure.in: Specify NONSTRICT_ALIGNMENT as the default.
421
        * configure: Regenerated to track ../common/aclocal.m4 changes.
422
 
423
Fri Sep 19 10:37:20 1997  Andrew Cagney  
424
 
425
        * v850.igen (disp16): Use EXTEND16 to sign extend disp.
426
        (disp22): Only shift left by 1, not 2.
427
        ("jmp"): Ensure PC is 2 byte aligned.
428
 
429
        * simops.c, v850.igen: Move "Bcond", "jr", "jarl" code to
430
        v850.igen. Fix tracing.
431
 
432
        * simops.c (OP_300, OP_400, OP_500): Move "sdl.b", "sld.h",
433
        "sld.w" insns to v850.igen.  Fix tracing.
434
        (OP_70): Ditto for "sld.hu".
435
 
436
        * v850.igen: Clarify tracing of "sld.b", "sld.h" et.al.
437
 
438
        * simops.c (condition_met): Make global.
439
 
440
        * sim-main.h (TRACE_ALU_INPUT3, TRACE_BRANCH0, TRACE_LD,
441
        TRACE_ST): Define.
442
        (TRACE_LD_NAME): Define.
443
 
444
        * simops.c: Move "cmov", "cmov imm" to v850.igen, fix.
445
 
446
Wed Sep 17 16:21:08 1997  Andrew Cagney  
447
 
448
        * simops.c: Move "mov", "reti", to v850.igen, fix tracing.
449
 
450
        * interp.c (hash): Delete.
451
 
452
        * v850.igen (nop): Really do nothing.
453
 
454
        * interp.c (do_interrupt): Mask interrupts after PSW is saved, not
455
        before.
456
        * v850.igen (reti): Return to current PC not previous.
457
 
458
Wed Sep 17 14:02:10 1997  Andrew Cagney  
459
 
460
        * simops.c: Move "ctret", "bsw", "hsw" to v850.igen, fix tracing.
461
        (trace_module): Global, save component/module name across insn.
462
 
463
        * simops.c: Move "bsh" to v850.igen, fix.
464
 
465
        * v850.igen (callt): Load correct number of bytes. Fix tracing.
466
        (stsr, ldsr): Correct src, dest fields. Fix tracing.
467
        (ctret): Force alignment.  Fix tracing.
468
 
469
Tue Sep 16 22:14:01 1997  Andrew Cagney  
470
 
471
        * simops.c (trace_output): Add result argument.
472
        (trace_result): New function.  Simpler version of trace_output,
473
        assumes trace needed.
474
        (trace_output): Call trace_result.
475
        (trace_output): For IMM_REG_REG, trace correct register.
476
        (trace_input): Add case for 16bit immediates.
477
        (OP_600, OP_640, OP_680, OP_6C0, OP_6A0): Use.
478
 
479
        * sim-main.h (TRACE_ALU_INPUT, TRACE_ALU_RESULT): Define.
480
        (trace_values, trace_name, trace_pc, trace_num_values): Make
481
        global.
482
        (GR, SR): Define.
483
 
484
        v850.insn (movea, stsr): Use.
485
        (sxb, sxh, zxb, zxh): Ditto.
486
 
487
Tue Sep 16 21:14:01 1997  Andrew Cagney  
488
 
489
        * simops.c: Move "movea" from here.
490
        * v850.igen: To here.
491
 
492
        * v850.igen (simm16): Define, sign extend imm16.
493
        (uimm16): Define, no sign extension.
494
        (addi, andi, movea, movhi, mulhi, ori, satsubi, xori): Use.
495
 
496
        * simops.c: Move "sxh", "switch", "sxb", "callt", "dispose",
497
        "mov32" from here.
498
        * v850.igen: To here.
499
        (switch): Fix off by two error in NIA calc.
500
 
501
Tue Sep 16 15:14:01 1997  Andrew Cagney  
502
 
503
        * simops.c (trace_pc, trace_name, trace_values, trace_num_values):
504
        New static globals.
505
        (trace_input): Just save pc, name and values for trace_output.
506
        (trace_output): Write trace values to a buffer.  Use
507
        trace_one_insn to print trace info and buffer.
508
        (SIZE_OPERANDS, SIZE_LOCATION): Delete.
509
 
510
Tue Sep 16 09:02:00 1997  Andrew Cagney  
511
 
512
        * sim-main.h (struct _sim_cpu): Add psw_mask so that reserved bits
513
        can be masked out.
514
 
515
        * simops.c (OP_2007E0, OP_4007E0): Move "ldsr", "stsr"
516
        instructions from here.
517
        * v850.igen (ldsr, stsr): To here.  Mask out reserved bits when
518
        setting PSW.
519
 
520
        * interp.c (sim_open): Set psw_mask if machine known.
521
 
522
Tue Sep 16 10:20:00 1997  Andrew Cagney  
523
 
524
        * v850-dc: Add rule to diferentiate between breakpoint and divh.
525
        * v850.igen (break): New instruction, breakpoint simulator.
526
        * v850.igen (breakpoint): Enable.  Change to a 32bit instruction.
527
 
528
Mon Sep 15 18:44:05 1997  Jim Wilson  
529
 
530
        * simops.c (Multiply64): Don't store into register zero.
531
 
532
Tue Sep 16 09:02:00 1997  Andrew Cagney  
533
 
534
        * Makefile.in (semantics.o): Add dependency.
535
 
536
        * sim-main.h (SAVE_1, SAVE_2): Perform backward compatible save,
537
        do not adjust CIA/NIA.
538
 
539
Mon Sep 15 17:36:15 1997  Andrew Cagney  
540
 
541
        * simops.c (OP_300, OP_400, OP_70): Make behavour depend on PSW[US].
542
 
543
        * simops.c: Move "divun", "sld.bu", "divhn", "divhun", "divn",
544
        "divun", "pushml" code from here to v850.igen.
545
        (divun): Make global.
546
        (type3_regs): Make global
547
 
548
        * v850.igen: Move simops.c code to here.
549
 
550
        * interp.c (sim_create_inferior): For v850eq set US bit by
551
        default.
552
 
553
        * interp.c (sim_open): Don't set arch, now set by
554
        sim_analyze_program.
555
 
556
        * configure: Regenerated to track ../common/aclocal.m4 changes.
557
 
558
Mon Sep 15 14:39:34 1997  Andrew Cagney  
559
 
560
        * simops.c (op_types): Move from here.
561
        sim-main.h: To here.
562
 
563
        * sim-main.h (trace_input, trace_output), simops.c: Make global.
564
 
565
        * simops.c (OP_60): Move "jmp" code from here.
566
        * v850.igen (jmp): To here.
567
 
568
        * simops.c (OP_60): Move "sld.bu" code from here.
569
        * v850.igen (sld.bu): To here.
570
 
571
Fri Sep 12 15:11:03 1997  Andrew Cagney  
572
 
573
        * v850.igen (prepare, ...): Add to v850eq architecture.
574
 
575
        * interp.c (sim_open): Default to v850eq.
576
 
577
        * interp.c (sim_open): Default to v850e.
578
        * sim-main.h (signal.h): Include.
579
 
580
        * v850.igen (illegal): Report/halt illegal instructions.
581
 
582
        * Makefile.in (SIM_EXTRA_CFLAGS): Add SIM_RESERVED_BITS.
583
 
584
        * configure.in: Add reserved bits option.
585
        * configure: Regenerate.
586
 
587
Thu Sep 11 08:40:03 1997  Andrew Cagney  
588
 
589
        * interp.c (sim_open): Use sim_do_commandf instead of asprintf.
590
 
591
        * sim-main.h (INSN_NAME):
592
 
593
        * Makefile.in (INCLUDE): Add SIM_EXTRA_DEPS.
594
        (SIM_EXTRA_DEPS): Add itable.h
595
        (tmp-gencode): Does not depend on simops.h
596
 
597
        * sim-main.h (itable.h): Include.
598
        (MAX_INSNS, INSN_NAME): Define.
599
 
600
        * interp.c: Compute inttype from the interrupt_names index that
601
        was passed in.
602
 
603
Wed Sep 10 10:25:40 1997  Andrew Cagney  
604
 
605
        * simops.c (trace_input): Use trace_printf instead of
606
        sim_io_printf.
607
        (trace_output): Ditto.
608
        (trace_input): Only trace when TRACE_ALU_P.  Delete code
609
        disasembling instruction.
610
        (trace_output): Only trace when TRACE_ALU_P.
611
 
612
Tue Sep  9 01:29:50 1997  Andrew Cagney  
613
 
614
        * simops.c (trace_input, trace_output): Use sim_io_printf.
615
        (OP_620): Pass correct argument to trace.
616
        (OP_E607E0): Ditto.
617
        (trace_input): Obtain prog_bfd, text_start et.al from simulator
618
        struct.
619
 
620
Mon Sep  8 21:03:52 1997  Andrew Cagney  
621
 
622
        * v850.igen: New file.
623
        * v850-dc: New file.
624
 
625
Mon Sep  8 18:33:04 1997  Andrew Cagney  
626
 
627
 
628
        * sim-main.h (SEXT16): Delete, use EXTEND16.
629
        (SEXT8): Delete, use EXTEND8.
630
        (SEXT32): Delete, used?
631
        (SEXT40, SEXT44, SEXT64): Use UNSIGNED64 for constants, not ...LL.
632
        (WITH_TARGET_WORD_MSB): Define as 31. v850 little bit endian.
633
 
634
        * simops.c: Use EXTEND15 from sim-bits instead of SEXT16.
635
 
636
        * sim-main.h (DEBUG_TRACE, DEBUG_VALUES, v850_debug): Delete,
637
        replace with TRACE_INSN_P and TRACE_ALU_P.
638
 
639
        * simops.c (trace_input, trace_output): Update.
640
 
641
        * interp.c (sim_engine_run): Delete.
642
        (lookup_hash): Delete.
643
        (sim_open): Do not fill hash table.
644
        (sim_trace): Delete.
645
 
646
Fri Sep  5 17:04:48 1997  Andrew Cagney  
647
 
648
        * simops.c (OP_FFFF): Use sim_engine_halt.
649
        (OP_12007E0): Ditto.
650
        (OP_10007E0): Ditto.
651
 
652
        * sim-main.h (struct sim_cpu): Delete member exception. Using
653
        sim-engine et.al.
654
 
655
        * interp.c (sim_info): Do not do anything in sim-info.
656
        (sim_stop): Delete, replace with sim-stop.
657
        (sim_stop_reason): Delete, replace with sim-reason.
658
 
659
        * sim-main.h (WITH_WATCHPOINTS): Define.
660
        (WITH_MODULO_MEMORY): Define
661
 
662
        * Makefile.in (SIM_OBJS): Add sim-resume, sim-watch, sim-stop,
663
        sim-reason.
664
 
665
        * interp.c (enum interrupt_cond_type): Delete.
666
        (struct interrupt_generator): Delete.
667
        (enum interrupt_type): Drop int_none.
668
        (sim_open): Initialize WATCHPOINT module.
669
        (sim_resume, sim_run): Rename sim_resume to sim_run.
670
        (sim_engine_run): Replace interrupt code with call to sim-events.
671
        (sim_set_interrupt): Delete.
672
        (sim_parse_number): Delete.
673
 
674
Thu Sep  4 17:21:23 1997  Doug Evans  
675
 
676
        * configure: Regenerated to track ../common/aclocal.m4 changes.
677
 
678
Thu Sep  4 18:11:37 1997  Andrew Cagney  
679
 
680
        * simops.c (fetch_argv): New function, fetch a arg vector from
681
        simulator memory.
682
 
683
        * configure.in: Check for fork, execve, execv.
684
        * configure: Regenerate.
685
 
686
        * interp.c (sim_store_register, sim_fetch_register): Use H2T_4 and
687
        T2H_4 for byte swapping.
688
 
689
        * sim-main.h, interp.c (get_word, get_half, get_byte, put_word,
690
        put_half, put_byte): Delete.
691
 
692
        * Makefile.in (SIM_OBJS): Add sim-memopt.o module.
693
 
694
        * sim-main.h (load_mem, store_mem): Redefine as macros.
695
        (IMEM, IMEM_IMMED): New macros - fetch instructions.
696
 
697
        * simops.c (OP_10007E0): For SYS_read, SYS_write, SYS_open
698
        transfer data via a buffer.
699
        (fetch_str): New function, fetch string from memory.
700
 
701
        * Makefile.in (SIM_OBJS): Add sim-hrw.o module.
702
 
703
        * interp.c (sim_open): Establish memory maps using sim-memopt.c
704
        via sim_do_command.
705
        (sim_do_command): Print error if memory-map command is used. Call
706
        sim_args_command.
707
        (map): Delete, replaced by sim-core.
708
        (sim_memory_init): Delete, replaced by sim-core.
709
        (sim_set_memory_map): Delete, replaced by sim-memopt.
710
        (load_mem): Delete, replaced by sim-core.
711
        (store_mem): Delete, replaced by sim-core.
712
        (sim_write): Delete, replaced by sim-hrw.
713
        (sim_read): Delete, replaced by sim-hrw.
714
 
715
        * sim-main.h (struct sim_state): Remove memory members, using
716
        sim-core.c
717
 
718
Wed Sep  3 10:18:55 1997  Andrew Cagney  
719
 
720
        * sim-main.h: Replace SIM_HAVE_FLATMEM with mem ptr.
721
        * interp.c (map): Do not add to a void pointer.
722
 
723
        * Makefile.in (INCLUDE): Add sim-main.h
724
 
725
        * configure.in: Check for time.h
726
        * configure: Re-generate.
727
 
728
        * interp.c (struct interrupt_generator): Make time unsigned long,
729
        address SIM_ADDR.
730
        (sim_resume): Make oldpc SIM_ADDR.
731
        (struct hash_entry): Make mask/opcode unsigned.
732
 
733
        * v850_sim.h (struct simops ): Make opcode and mask unsigned.
734
 
735
        * simops.c (utime.h): Include if available.
736
        (OP_10007E0): Check for UTIME function.
737
        (divun): Put parentheses around shift argument.
738
        (OP_640): Put parentheses around shift argument, was wrong.
739
        (OP_107F0): Return something.
740
 
741
        * interp.c (sim_parse_number): Use strtoul not strtol.
742
        (sim_resume): Use sim_elapsed_time_get to keep track of the time.
743
 
744
        * configure.in (SIM_AC_OPTION_WARNINGS): Add.
745
        (SIM_AC_OPTION_ENDIAN): Set to hardwired big.
746
        (SIM_AC_OPTION_HOST_ENDIAN): Add.
747
        (AC_CHECK_FUNCS): Add utime.
748
        (AC_CHECK_HEADERS): Add stdlib.h, string.h, strings.h, utime.h
749
        configure: Regenerate.
750
 
751
 
752
        * Makefile.in (SIM_RUN_OBJS): Use nrun.o.
753
        (SIM_OBJS): Add sim-io.o, sim-hload.o, sim-utils.o, sim-options.o,
754
        sim-config.o, sim-module.o, sim-events.o, sim-core.o,
755
        sim-endian.o, sim-engine.o, sim-trace.o, sim-profile.o
756
        (SIM_ENDIAN, SIM_WARNGINS): Define.
757
 
758
        * simops.c (OP_10007E0): Use sim_io_* for transfers.
759
 
760
        * interp.c (sim_resume): Pass sd around.
761
 
762
        * simops.c (sim-main.h): Include.
763
 
764
        * gencode.c (write_template): Generate #include sim-main.h.
765
        (write_opcodes): Ditto.
766
 
767
        * interp.c (prog_bfd, prog_bfd_was_opened_p): Delete.
768
        (v850_callback): Ditto.
769
        (sim_kind, myname): Ditto.
770
        (lookup_hash): Pass SD. Use sim_io_error.
771
        (sim_set_memory_map): Pass in SD, use.
772
        (init_system): Pass in SD, use.
773
        (sim_open): Update.
774
        (sim_set_profile): Delete.
775
        (sim_set_profile_size): Delete.
776
        (do_interrupt): Pass in SD, use.
777
        (sim_info): Use sim_io_printf.
778
        (sim_create_inferior): Reset registers.  Set PC from prog_bfd
779
        argument.
780
        (sim_load): Delete, use common/sim-hload.c
781
        (sim_size): Rename to sim_memory_init.
782
        (sim_write): Remove call to init_system.
783
        (init_system): Delete.
784
        (sim_set_callbacks): Delete.
785
        (sim_set_interrupt): Pass in SD, use.
786
        (start_time): Delete.
787
 
788
        * v850_sim.h: Remove everything except `struct simops' from here.
789
        * sim-main.h: Move most to here.
790
        * gencode.c: Move #includes to here.
791
 
792
        * sim-main.h(struct _sim_cpu): Rename struct _state.
793
        (#define PC, et.al.): Update
794
        (v850_callback): Delete.  Replaced with SIM_DESC arg.
795
        (int8, uint8, int16, uint16, int32, uint32): Define types using
796
        unsigned8 et.al from common/sim-types.h.
797
        * sim-main.h (State): Define as STATE_CPU.
798
 
799
Mon Sep  1 12:07:55 1997  Andrew Cagney  
800
 
801
        * configure.in: Check for time, chmod.
802
        * configure: Regenerate.
803
        * simops.c (SYS_time, SYS_chmod): Use HAVE_TIME, HAVE_CHMOD.
804
 
805
        * simops.c (../../libgloss/v850/sys/syscall.h): Include instead of
806
        sys/syscall.h.
807
        (OP_10007E0): Check the existance each SYS_* macro independantly.
808
 
809
        * v850_sim.h (SIGQUIT, SIGTRAP): Only define if missing.
810
 
811
Wed Aug 27 18:13:22 1997  Andrew Cagney  
812
 
813
        * configure: Regenerated to track ../common/aclocal.m4 changes.
814
        * config.in: Ditto.
815
 
816
Tue Aug 26 10:42:38 1997  Andrew Cagney  
817
 
818
        * interp.c (sim_kill): Delete.
819
        (sim_create_inferior): Add ABFD argument.
820
        (sim_load): Move setting of PC from here.
821
        (sim_create_inferior): To here.
822
 
823
Mon Aug 25 17:50:22 1997  Andrew Cagney  
824
 
825
        * configure: Regenerated to track ../common/aclocal.m4 changes.
826
        * config.in: Ditto.
827
 
828
Mon Aug 25 11:31:23 1997  Andrew Cagney  
829
 
830
        * interp.c (sim_open): Add ABFD argument.
831
 
832
Fri Aug 22 10:39:28 1997  Nick Clifton  
833
 
834
        * simops.c (bsh): Only set CY flag if either of the bottom
835
        bytes is zero.
836
 
837
        * simops.c (prepare, dispose): Lower numbered
838
        registers go to higher numbered address.
839
 
840
        * simops.c (unsigned divide instructions): S bit set if result has
841
        top bit set.
842
 
843
        * simops.c (pushml, pushmh, popml, popmh): Lower numbered
844
        registers go to higher numbered address.
845
 
846
Wed Aug 20 13:56:35 1997  Nick Clifton  
847
 
848
        * simops.c (OP_107E0, OP_107F0, OP_307E0, OP_307F0): Use correct
849
        interpretation of SR bit in list18 structure.
850
        (divn, divun): New functions to perform N step divide functions.
851
 
852
Mon Aug 18 10:59:02 1997  Nick Clifton  
853
 
854
        * simops.c (OP_300, OP_400, OP_60, OP_70): Support variant opcodes
855
        with US bit set in the PSW.
856
 
857
Wed Aug 13 19:06:55 1997  Nick Clifton  
858
 
859
        * interp.c (sim_resume): Opcode functions return amount to be
860
        added to PC and all opcodes take a standard format in the OP[]
861
        array.
862
 
863
        (do_format_*): Functions removed.
864
 
865
        * v850_sim.h (SP, EP): New register mnemonics.
866
 
867
        * gencode.c (write_header): Functions prototypes return an
868
        integer.
869
 
870
        * simops.c: Opcode functions return amount to be added to PC.
871
 
872
        * v850_sim.h (CTPC, CTPSW, CTBP): New register mnemonics.
873
 
874
        * simops.c: Add support for v850e instructions.
875
 
876
        * simops.c: Add support for v850eq instructions.
877
 
878
Tue May 20 10:24:14 1997  Andrew Cagney  
879
 
880
        * interp.c (sim_open): Add callback argument.
881
        (sim_set_callbacks): Delete SIM_DESC argument.
882
 
883
Thu Apr 24 00:39:51 1997  Doug Evans  
884
 
885
        * configure: Regenerated to track ../common/aclocal.m4 changes.
886
 
887
Wed Apr 23 17:20:16 1997  Doug Evans  
888
 
889
        * interp.c (prog_bfd_was_opened_p): New static local.
890
        (prog_bfd): New global variable.
891
        (sim_open): Undo patch to add -E support.
892
        (sim_close): Close prog_bfd if sim_load opened it.
893
        (sim_load): Record bfd of loaded file in prog_bfd.
894
        * simops.c (prog_bfd): Renamed from exec_bfd.
895
 
896
Fri Apr 18 14:17:12 1997  Andrew Cagney  
897
 
898
        * interp.c (sim_stop): Stub function.
899
 
900
Thu Apr 17 03:53:18 1997  Doug Evans  
901
 
902
        * Makefile.in (SIM_OBJS): Add sim-load.o.
903
        * interp.c (sim_kind, myname): New static locals.
904
        (sim_open): Set sim_kind, myname.  Ignore -E arg.
905
        (sim_load): Return SIM_RC.  New arg abfd.  Call sim_load_file to
906
        load file into simulator.  Set start address from bfd.
907
        (sim_create_inferior): Return SIM_RC.  Delete arg start_address.
908
 
909
Wed Apr 16 19:53:55 1997  Andrew Cagney  
910
 
911
        * simops.c (OP_10007E0): Only provide system calls SYS_execv,
912
        SYS_wait, SYS_wait, SYS_utime, SYS_time if defined by the host.
913
 
914
Mon Apr  7 15:45:02 1997  Andrew Cagney  
915
 
916
        * configure: Regenerated to track ../common/aclocal.m4 changes.
917
        * config.in: Ditto.
918
 
919
Wed Apr  2 15:06:28 1997  Doug Evans  
920
 
921
        * interp.c (sim_open): New arg `kind'.
922
 
923
        * configure: Regenerated to track ../common/aclocal.m4 changes.
924
 
925
Wed Apr  2 14:34:19 1997 Andrew Cagney 
926
 
927
        * configure: Regenerated to track ../common/aclocal.m4 changes.
928
 
929
Wed Mar 19 01:14:00 1997  Andrew Cagney  
930
 
931
        * configure: Regenerated to track ../common/aclocal.m4 changes.
932
 
933
Mon Mar 17 15:10:07 1997  Andrew Cagney  
934
 
935
        * configure: Re-generate.
936
 
937
Fri Mar 14 10:34:11 1997  Michael Meissner  
938
 
939
        * configure: Regenerate to track ../common/aclocal.m4 changes.
940
 
941
Thu Mar 13 13:00:54 1997  Doug Evans  
942
 
943
        * interp.c (sim_open): New SIM_DESC result.  Argument is now
944
        in argv form.
945
        (other sim_*): New SIM_DESC argument.
946
 
947
Tue Feb  4 13:33:30 1997  Doug Evans  
948
 
949
        * Makefile.in (@COMMON_MAKEFILE_FRAG): Use
950
        COMMON_{PRE,POST}_CONFIG_FRAG instead.
951
        * configure.in: sinclude ../common/aclocal.m4.
952
        * configure: Regenerated.
953
 
954
Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
955
 
956
        * configure configure.in Makefile.in:  Update to new configure
957
        scheme which is more compatible with WinGDB builds.
958
        * configure.in:  Improve comment on how to run autoconf.
959
        * configure:  Re-run autoconf to get new ../common/aclocal.m4.
960
        * Makefile.in:  Use autoconf substitution to install common
961
        makefile fragment.
962
 
963
Mon Jan 20 16:05:34 1997  Michael Meissner  
964
 
965
        * simops.c (OP_{E0,2E0,6E0}): The multiply operations sign extend,
966
        not zero extend.
967
 
968
Tue Jan 14 17:06:03 1997  Stu Grossman  (grossman@critters.cygnus.com)
969
 
970
        * simops.c:  Put ifdefs around things to make MSVC happy.  Get rid
971
        of unistd.h.  Disable SYS_stat, SYS_chown, SYS_time, SYS_times,
972
        SYS_gettimeofday and SYS_utime from MSVC.
973
 
974
Tue Dec 31 18:11:13 1996  Michael Meissner  
975
 
976
        * simops.c (OP_10007E0): Know that kill encodes the signal number
977
        via: 0xdead0000 | signal and turn it back into a signal.
978
 
979
Fri Dec 27 14:44:06 1996  Michael Meissner  
980
 
981
        * v850_sim.h (SIG_V850_EXIT): Define as -1.
982
 
983
        * interp.c (sim_open): Cast calloc function.
984
        (sim_stop_reason): If signal is SIG_V850_EXIT, inform gdb the
985
        program exited with the appropriate exit code.
986
        (sim_set_interrupt): Declare buildargv.
987
 
988
        * simops.c (OP_10007E0): Make exit signal normal exit.  Make time
989
        type correct and work on big endian systems.
990
 
991
Wed Nov 20 02:18:44 1996  Doug Evans  
992
 
993
        * Makefile.in: Delete stuff moved to ../common/Make-common.in.
994
        (SIM_OBJS,SIM_EXTRA_CFLAGS,SIM_EXTRA_CLEAN): Define.
995
        * configure.in: Simplify using macros in ../common/aclocal.m4.
996
        Call AC_CHECK_HEADERS(unistd.h).
997
        * configure: Regenerated.
998
        * config.in: New file.
999
        * simops.c: #include "config.h".  #include  if present.
1000
 
1001
Sun Nov  3 23:02:54 1996  Stan Shebs  
1002
 
1003
        * v850_sim.h (State): New slots dummy_mem, pending_nmi.
1004
        (EIPC, etc): New macros for system registers.
1005
        * simops.c, interp.c: Use everywhere.
1006
 
1007
        * interp.c: Add support for interrupts issued by interrupt
1008
        generators, either PC- or time-based.  Controlled by simulator
1009
        command "sim interrupt".
1010
 
1011
        * interp.c: Add support for variable-size allocation of memory,
1012
        via simulator command "sim memory-map".
1013
        (map): Issue SIGSEGV for references to invalid memory regions.
1014
 
1015
Thu Oct 31 14:44:10 1996  Gavin Koch  
1016
 
1017
        * simops.c: Include  for struct timeval and
1018
        struct timezone.
1019
 
1020
Wed Oct 30 08:49:10 1996  Jeffrey A Law  (law@cygnus.com)
1021
 
1022
        * simops.c (OP_10007E0): Handle SYS_times and SYS_gettimeofday.
1023
 
1024
        * simops.c (OP_10007E0): Handle SYS_time.
1025
 
1026
Tue Oct 29 14:22:55 1996  Jeffrey A Law  (law@cygnus.com)
1027
 
1028
        * simops.c: Include .
1029
        (OP_10007E0): Handle SYS_stat.
1030
 
1031
Thu Oct 24 12:26:35 1996  Jeffrey A Law  (law@cygnus.com)
1032
 
1033
        * simops.c (OP_10007E0): Don't declare errno.
1034
 
1035
        * simops.c (OP_500): Mask off low bit in displacement
1036
        for sld.w.
1037
        (OP_501): Similarly.
1038
 
1039
        * simops.c (OP_500): Fix displacement handling for sld.w.
1040
        (OP_501): Similarly for sst.w.
1041
 
1042
        * simops.c (trace_input): Remove all references to SEXT7.
1043
        (OP_300, OP_400, OP_500, OP_380, OP_480, OP_501): Displacement
1044
        is zero extended for sst/sld instructions.
1045
        * v850_sim.h (SEX7): Delete.  It's no longer needed (and it
1046
        was incorrect anyway).
1047
 
1048
Thu Oct 24 10:33:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
1049
 
1050
        * Makefile.in:  Get rid of srcroot.  Set all INSTALL macros via
1051
        autoconf.
1052
        * gencode.c (write_opcodes):  Pad operands field to account for
1053
        MSVC braindamage.
1054
        * simops.c:  Include errno.h.  Exclude SYS_chown, since MSVC
1055
        doesn't support it.  (Why is this here in the first place?!?)
1056
        * v850_sim.h:  Get rid of 64 bit defs.  Also, get rid of #elif's.
1057
        Change number of operands in struct simops from 9 to 6.  Define
1058
        SIGTRAP and SIGQUIT for MSVC.
1059
 
1060
Tue Oct 15 16:19:51 1996  Stu Grossman  (grossman@critters.cygnus.com)
1061
 
1062
        * interp.c (MEM_SIZE):  It's now bytes, not a power of 2.
1063
        * (map):  Add support for external mem in the 1->2 meg range.
1064
        Also, abort() when memory access is way out of bounds.  (Better to
1065
        die than to give wrong result.  (This will be fixed later.))
1066
        * (sim_size):  MEM_SIZE is now bytes, not shift factor.
1067
 
1068
Tue Oct  1 15:53:24 1996  Gavin Koch 
1069
 
1070
        * simops.c (trace_input): Swapped order of operands for output
1071
        output of OP_IMM_REG.  Changed the fetching of the operands for
1072
        OP_LOAD32, and OP_STORE32 to work like op-function.
1073
 
1074
Mon Sep 30 15:46:33 1996  Stu Grossman  (grossman@critters.cygnus.com)
1075
 
1076
        * interp.c:  Move includes of remote-sim.h and callback.h to
1077
        v850-sim.h.
1078
        * (lookup_hash): Add PC to report of hash failure.
1079
        * (map load_mem store_mem):  New memory subsystem.  Models V851
1080
        memory system.
1081
        * (sim_write sim_read):  Use new memory subsystem.
1082
        * (sim_resume):  Don't load and save PC into EIPC anymore.  Needed
1083
        to make user-defined traps work right.
1084
        * simops.c (OP_*):  Use new memory subsystem.
1085
        * (OP_14007E0 (reti)):  Implement reti.
1086
        * (OP_14996E0 (trap)):  Implement user-defined traps.  Move I/O to
1087
        trap 31.  Use new memory subsystem.
1088
        * v850_sim.h:  Prototypes for load_mem, store_mem and map.  Use
1089
        load_mem in RLW macro.
1090
 
1091
Fri Sep 27 18:34:09 1996  Stu Grossman  (grossman@critters.cygnus.com)
1092
 
1093
        * gencode.c (write_opcodes):  Output hex values for opcode mask
1094
        and patterns.
1095
        * interp.c (sim_resume):  Save and restore PC from the appropriate
1096
        register.
1097
        * (sim_fetch_register sim_store_register):  Fix byte-order problem
1098
        with reading and writing registers.
1099
        * simops.c (OP_FFFF):  Implement pseudo-breakpoint insn.
1100
 
1101
Fri Sep 27 17:42:37 1996  Jeffrey A Law  (law@cygnus.com)
1102
 
1103
        * simops.c (trace_input): Fix thinko.
1104
 
1105
Wed Sep 18 09:54:12 1996  Michael Meissner  
1106
 
1107
        * simops.c (exec_bfd): Rename from sim_bfd.
1108
        (trace_input): Ditto.
1109
 
1110
Thu Sep 12 12:03:05 1996  Michael Meissner  
1111
 
1112
        * simops.c (trace_input): Use find_nearest_line to print line
1113
        number, function name or file name of PC.
1114
 
1115
Wed Sep 11 16:44:37 1996  Michael Meissner  
1116
 
1117
        * simops.c: Add tracing support.  Use SEXTxx macros instead of
1118
        doing hardwired shifts.
1119
 
1120
        * configure.in (--enable-sim-cflags): Add switch to add additional
1121
        flags to simulator buld.  If --enable-sim-cflags=trace, turn on
1122
        tracing.
1123
        * configure: Regenerate.
1124
 
1125
        * Makefile.in: Don't require a VPATH capable make if configuring
1126
        in the same directory.  Don't use CFLAGS for configuration flags.
1127
        Add flags from --enable-sim-cflags.  Support canadian cross
1128
        builds.  Rebuild whole simulator if include files change.
1129
 
1130
        * interp.c (v850_debug): New global for debugging.
1131
        (lookup_hash,sim_size,sim_set_profile): Use
1132
        printf_filtered callback, instead of calling printf directly.
1133
        (sim_{open,trace}): Enable tracing if -t and compiled for tracing.
1134
 
1135
        * v850_sim.h: Use limits.h to set the various sized types.
1136
        (SEXT{5,7,16,22}): New macros.
1137
 
1138
Mon Sep  9 20:50:46 1996  Jeffrey A Law  (law@cygnus.com)
1139
 
1140
        * interp.c (hash): Make this an inline function
1141
        when compiling with GCC.  Simplify.
1142
        * simpos.c: Explicitly include "sys/syscall.h".  Remove
1143
        some #if 0'd code.  Enable more emulated syscalls.
1144
 
1145
Wed Sep  4 01:48:55 1996  Jeffrey A Law  (law@cygnus.com)
1146
 
1147
        * interp.c: Fix sign bit handling for add and sub instructions.
1148
 
1149
Tue Sep  3 10:20:30 1996  Jeffrey A Law  (law@cygnus.com)
1150
 
1151
        * gencode.c: Fix various indention & style problems.
1152
        Remove test code.  Remove #if 0 code.
1153
        * interp.c: Provide prototypes for all static functions.
1154
        Fix minor indention problems.
1155
        (sim_open, sim_resume): Remove unused variables.
1156
        (sim_read): Return type is "int".
1157
        * simops.c: Remove unused variables.
1158
        (divh): Make result of divide-by-zero zero.
1159
        (setf): Initialize result to keep compiler quiet.
1160
        (sar instructions): These just clear the overflow bit.
1161
        * v850_sim.h: Provide prototypes for put_byte, put_half
1162
        and put_word.
1163
 
1164
        * interp.c: OP should be an array of 32bit operands!
1165
        (v850_callback): Declare.
1166
        (do_format_5): Fix extraction of OP[0].
1167
        (sim_size): Remove debugging printf.
1168
        (sim_set_callbacks): Do something useful.
1169
        (sim_stop_reason): Gross hacks to get c-torture running.
1170
        * simops.c: Simplify code for computing targets of bCC
1171
        insns.   Invert 's' bit if 'ov' bit is set for some
1172
        instructions.  Fix 'cy' bit handling for numerous
1173
        instructions.  Make the simulator stop when a halt
1174
        instruction is encountered.  Very crude support for
1175
        emulated syscalls (trap 0).
1176
        * v850_sim.h: Include "callback.h" and declare
1177
        v850_callback.  Items in the operand array are 32bits.
1178
 
1179
Sun Sep  1 22:35:35 1996  Jeffrey A Law  (law@cygnus.com)
1180
 
1181
        * interp.c (sim_resume): Fix code to check for a format 3
1182
        opcode.
1183
        * simops.c: bCC insns only argument is a constant, not a
1184
        register value (duh...)
1185
 
1186
Fri Aug 30 10:33:49 1996  Jeffrey A Law  (law@cygnus.com)
1187
 
1188
        * simops.c: Fix "not1" and "set1".
1189
 
1190
        * simops.c: Don't forget to initialize temp for
1191
        "ld.h" and "ld.w"
1192
 
1193
        * interp.c: Remove various debugging printfs.
1194
 
1195
        * simops.c: Fix satadd, satsub boundary case handling.
1196
 
1197
        * interp.c (hash): Fix.
1198
        * interp.c (do_format_8): Get operands correctly and
1199
        call the target function.
1200
        * simops.c: Rough cut at "clr1", "not1", "set1", and "tst1".
1201
 
1202
Thu Aug 29 13:53:29 1996  Jeffrey A Law  (law@cygnus.com)
1203
 
1204
        * interp.c (do_format_4): Get operands correctly and
1205
        call the target function.
1206
        * simops.c: Rough cut at "sld.b", "sld.h", "sld.w", "sst.b",
1207
        "sst.h", and "sst.w".
1208
 
1209
        * v850_sim.h: The V850 doesn't have split I&D spaces.  Change
1210
        accordingly.  Remove many unused definitions.
1211
        * interp.c: The V850 doesn't have split I&D spaces.  Change
1212
        accordingly.
1213
        (get_longlong, get_longword, get_word): Deleted.
1214
        (write_longlong, write_longword, write_word): Deleted.
1215
        (get_operands): Deleted.
1216
        (get_byte, get_half, get_word): New functions.
1217
        (put_byte, put_half, put_word): New functions.
1218
        * simops.c: Remove unused functions.  Rough cut at
1219
        "ld.b", "ld.h", "ld.w", "st.b", "st.h", "st.w" insns.
1220
 
1221
        * v850_sim.h (struct _state): Remove "psw" field.  Add
1222
        "sregs" field.
1223
        (PSW): Remove bogus definition.
1224
        * simops.c: Change condition code handling to use the psw
1225
        register within the sregs array.  Handle "ldsr" and "stsr".
1226
 
1227
        * simops.c: Handle "satadd", "satsub", "satsubi", "satsubr".
1228
 
1229
        * interp.c (do_format_5): Get operands correctly and
1230
        call the target function.
1231
        (sim_resume): Don't do a PC update for format 5 instructions.
1232
        * simops.c: Handle "jarl" and "jmp" instructions.
1233
 
1234
        * simops.c: Fix minor typos.  Handle "cmp", "setf", "tst"
1235
        "di", and "ei" instructions correctly.
1236
 
1237
        * interp.c (do_format_3): Get operands correctly and call
1238
        the target function.
1239
        * simops.c: Handle bCC instructions.
1240
 
1241
        * simops.c: Add condition code handling to shift insns.
1242
        Fix minor typos in condition code handling for other insns.
1243
 
1244
        * Makefile.in: Fix typo.
1245
        * simops.c: Add condition code handling to "sub" "subr" and
1246
        "divh" instructions.
1247
 
1248
        * interp.c (hash): Update to be more accurate.
1249
        (lookup_hash): Call hash rather than computing the hash
1250
        code here.
1251
        (do_format_1_2): Handle format 1 and format 2 instructions.
1252
        Get operands correctly and call the target function.
1253
        (do_format_6): Get operands correctly and call the target
1254
        function.
1255
        (do_formats_9_10): Rough cut so shift ops will work.
1256
        (sim_resume): Tweak to deal with format 1 and format 2
1257
        handling in a single funtion.  Don't update the PC
1258
        for format 3 insns.  Fix typos.
1259
        * simops.c: Slightly reorganize.  Add condition code handling
1260
        to "add", "addi", "and", "andi", "or", "ori", "xor", "xori"
1261
        and "not" instructions.
1262
        * v850_sim.h (reg_t): Registers are 32bits.
1263
        (_state): The V850 has 32 general registers.  Add a 32bit
1264
        psw and pc register too.  Add accessor macros
1265
 
1266
        * Makefile.in, interp.c, v850_sim.h: Bring over endianness
1267
        changes from the d10v simulator.
1268
 
1269
        * simops.c: Add shift support.
1270
 
1271
        * simops.c: Add multiply & divide support.  Abort for system
1272
        instructions.
1273
 
1274
        * simops.c: Add logicals, mov, movhi, movea, add, addi, sub
1275
        and subr.  No condition codes yet.
1276
 
1277
Wed Aug 28 13:53:22 1996  Jeffrey A Law  (law@cygnus.com)
1278
 
1279
        * ChangeLog, Makefile.in, configure, configure.in, v850_sim.h,
1280
        gencode.c, interp.c, simops.c: Created.
1281
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.