-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathChangeLog
More file actions
3770 lines (2629 loc) · 126 KB
/
ChangeLog
File metadata and controls
3770 lines (2629 loc) · 126 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-02-05 Mike Frysinger <[email protected]>
* configure.ac (sim_engine_run): Change sd->base.prog_bfd to
STATE_PROG_BFD (sd).
* configure: Regenerate.
2016-01-18 Andrew Bennett <[email protected]>
Maciej W. Rozycki <[email protected]>
PR sim/19441
* micromips.igen (delayslot_micromips): Enable for `micromips32',
`micromips64' and `micromipsdsp' only.
(process_isa_mode): Enable for `micromips32' and `micromips64' only.
(do_micromips_jalr, do_micromips_jal): Likewise.
(compute_movep_src_reg): Likewise.
(compute_andi16_imm): Likewise.
(convert_fmt_micromips): Likewise.
(convert_fmt_micromips_cvt_d): Likewise.
(convert_fmt_micromips_cvt_s): Likewise.
(FMT_MICROMIPS): Likewise.
(FMT_MICROMIPS_CVT_D): Likewise.
(FMT_MICROMIPS_CVT_S): Likewise.
2016-01-12 Mike Frysinger <[email protected]>
* interp.c: Include elf-bfd.h.
(sim_create_inferior): Truncate pc to 32-bits when EI_CLASS is
ELFCLASS32.
2016-01-10 Mike Frysinger <[email protected]>
* config.in, configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure.ac (SIM_AC_OPTION_SMP): Delete call.
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure.ac (SIM_AC_OPTION_INLINE): Delete call.
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-10 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-09 Mike Frysinger <[email protected]>
* config.in, configure: Regenerate.
2016-01-06 Mike Frysinger <[email protected]>
* interp.c (sim_open): Mark argv const.
(sim_create_inferior): Mark argv and env const.
2016-01-04 Mike Frysinger <[email protected]>
* configure: Regenerate.
2016-01-03 Mike Frysinger <[email protected]>
* interp.c (sim_open): Update sim_parse_args comment.
2016-01-03 Mike Frysinger <[email protected]>
* configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
* configure: Regenerate.
2016-01-02 Mike Frysinger <[email protected]>
* configure.ac (mips_endian): Change LITTLE_ENDIAN to LITTLE.
(default_endian): Likewise. Change BIG_ENDIAN to BIG.
* configure: Regenerate.
* sim-main.h (BigEndianMem): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
2016-01-02 Mike Frysinger <[email protected]>
* dv-tx3904cpu.c (CPU, SD): Delete.
2015-12-30 Mike Frysinger <[email protected]>
* wrapper.c (mips_reg_store, mips_reg_fetch): Define.
(sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
(sim_store_register): Rename to ...
(mips_reg_store): ... this. Delete local cpu var.
Update sim_io_eprintf calls.
(sim_fetch_register): Rename to ...
(mips_reg_fetch): ... this. Delete local cpu var.
Update sim_io_eprintf calls.
2015-12-27 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Delete sim-hload.o.
2015-12-26 Mike Frysinger <[email protected]>
* config.in, configure: Regenerate.
2015-12-26 Mike Frysinger <[email protected]>
* interp.c (sim_write, sim_read): Delete.
(store_word): Delete call to AddressTranslation and set paddr=vaddr.
(load_word): Likewise.
* micromips.igen (cache): Likewise.
* mips.igen (do_ll, do_lld, do_sc, do_scd, do_suxc1_32, do_swc1,
do_swxc1, cache, do_load, do_load_left, do_load_right, do_store,
do_store_left, do_store_right, do_load_double, do_store_double):
Likewise.
(do_pref): Delete call to AddressTranslation and stub out Prefetch.
(do_prefx): Likewise.
* sim-main.c (address_translation, prefetch): Delete.
(ifetch32, ifetch16): Delete call to AddressTranslation and set
paddr=vaddr.
* sim-main.h (Uncached, CachedNoncoherent, CachedCoherent, Cached,
address_translation, AddressTranslation, prefetch, Prefetch): Delete.
(LoadMemory, StoreMemory): Delete CCA arg.
2015-12-24 Mike Frysinger <[email protected]>
* configure.ac (SIM_SUBTARGET): Drop -DTARGET_TX3904=1.
* configure: Regenerated.
2015-12-24 Mike Frysinger <[email protected]>
* sim-main.h (SIM_QUIET_NAN_NEGATED): Move from tconfig.h.
* tconfig.h: Delete.
2015-12-24 Mike Frysinger <[email protected]>
* tconfig.h (SIM_HANDLES_LMA): Delete.
2015-12-24 Mike Frysinger <[email protected]>
* sim-main.h (WITH_WATCHPOINTS): Delete.
2015-12-24 Mike Frysinger <[email protected]>
* interp.c [SIM_HAVE_FLATMEM] (sim_open): Delete flatmem code.
2015-12-24 Mike Frysinger <[email protected]>
* tconfig.h (SIM_HAVE_SIMCACHE): Delete.
2015-12-15 Dominik Vogt <[email protected]>
* micromips.igen (process_isa_mode): Fix left shift of negative
value.
2015-11-17 Mike Frysinger <[email protected]>
* sim-main.h (WITH_MODULO_MEMORY): Delete.
2015-11-15 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Delete sim-reason.o and sim-stop.o.
2015-11-14 Mike Frysinger <[email protected]>
* interp.c (sim_close): Rename to ...
(mips_sim_close): ... this. Delete calls to sim_module_uninstall and
sim_io_shutdown.
* sim-main.h (mips_sim_close): Declare.
(SIM_CLOSE_HOOK): Define.
2015-09-25 Andrew Bennett <[email protected]>
Ali Lown <[email protected]>
* Makefile.in (tmp-micromips): New rule.
(tmp-mach-multi): Add support for micromips.
* configure.ac (mips*-sde-elf* | mips*-mti-elf*): Made a multi sim
that works for both mips64 and micromips64.
(mipsisa32r2*-*-*): Made a multi sim that works for mips32 and
micromips32.
Add build support for micromips.
* dsp.igen (do_ph_s_absq, do_w_s_absq, do_qb_s_absq, do_addsc,
do_addwc, do_bitrev, do_extpv, do_extrv, do_extrv_s_h, do_insv,
do_lxx do_modsub, do_mthlip, do_mulsaq_s_w_ph, do_ph_packrl, do_qb_pick
do_ph_pick, do_qb_ph_precequ, do_qb_ph_preceu, do_w_preceq
do_w_ph_precrq, do_ph_qb_precrq, do_w_ph_rs_precrq do_qb_w_raddu,
do_rddsp, do_repl, do_shilov, do_ph_shl, do_qb_shl do_w_s_shllv,
do_ph_shrlv, do_w_r_shrav, do_wrdsp, do_qb_shrav, do_append,
do_balign, do_ph_w_mulsa, do_ph_qb_precr, do_prepend): New functions.
Refactored instruction code to use these functions.
* dsp2.igen: Refactored instruction code to use the new functions.
* interp.c (decode_coproc): Refactored to work with any instruction
encoding.
(isa_mode): New variable
(RSVD_INSTRUCTION): Changed to 0x00000039.
* m16.igen (BREAK16): Refactored instruction to use do_break16.
(JALX32): Add mips32, mips64, mips32r2 and mips64r2 models.
* micromips.dc: New file.
* micromips.igen: New file.
* micromips16.dc: New file.
* micromipsdsp.igen: New file.
* micromipsrun.c: New file.
* mips.igen (do_swc1): Changed to work with any instruction encoding.
(do_add do_addi do_andi do_dadd do_daddi do_dsll32 do_dsra32
do_dsrl32, do_dsub, do_break, do_break16, do_clo, do_clz, do_dclo,
do_dclz, do_lb, do_lh, do_lwr, do_lwl, do_lwc, do_lw, do_lwu, do_lhu,
do_ldc, do_lbu, do_ll, do_lld, do_lui, do_madd, do_dsp_madd, do_maddu,
do_dsp_maddu, do_dsp_mfhi, do_dsp_mflo, do_movn, do_movz, do_msub,
do_dsp_msub, do_msubu, do_dsp_msubu, do_mthi, do_dsp_mthi, do_mtlo,
do_dsp_mtlo, do_mul, do_dsp_mult, do_dsp_multu, do_pref, do_sc,
do_scd, do_sub, do_sw, do_teq, do_teqi, do_tge, do_tgei, do_tgeiu,
do_tgeu, do_tlt do_tlti, do_tltiu, do_tltu, do_tne, do_tnei, do_abs_fmt,
do_add_fmt, do_alnv_ps, do_c_cond_fmt, do_ceil_fmt, do_cfc1, do_ctc1,
do_cvt_d_fmt, do_cvt_l_fmt, do_cvt_ps_s, do_cvt_s_fmt, do_cvt_s_pl,
do_cvt_s_pu, do_cvt_w_fmt, do_div_fmt, do_dmfc1b, do_dmtc1b, do_floor_fmt,
do_luxc1_32, do_luxc1_64, do_lwc1, do_lwxc1, do_madd_fmt, do_mfc1b,
do_mov_fmt, do_movtf, do_movtf_fmt, do_movn_fmt, do_movz_fmt, do_msub_fmt,
do_mtc1b, do_mul_fmt, do_neg_fmt, do_nmadd_fmt, do_nmsub_fmt, do_pll_ps,
do_plu_ps, do_pul_ps, do_puu_ps, do_recip_fmt, do_round_fmt, do_rsqrt_fmt,
do_prefx, do_sdc1, do_suxc1_32, do_suxc1_64, do_sqrt_fmt, do_sub_fmt,
do_swc1, do_swxc1, do_trunc_fmt): New functions, refactored from existing
instructions.
Refactored instruction code to use these functions.
(RSVD): Changed to use new reserved instruction.
(loadstore_ea, not_word_value, unpredictable, check_mt_hilo,
check_mf_hilo, check_mult_hilo, check_div_hilo, check_u64, do_luxc1_32,
do_sdc1, do_suxc1_32, check_fmt_p, check_fpu, do_load_double,
do_store_double): Added micromips32 and micromips64 models.
Added include for micromips.igen and micromipsdsp.igen
Add micromips32 and micromips64 models.
(DecodeCoproc): Updated to use new macro definition.
* mips3264r2.igen (do_dsbh, do_dshd, do_dext, do_dextm, do_dextu, do_di,
do_dins, do_dinsm, do_ei, do_ext, do_mfhc1, do_mthc1, do_ins, do_dinsu,
do_seb, do_seh do_rdhwr, do_wsbh): New functions.
Refactored instruction code to use these functions.
* sim-main.h (CP0_operation): New enum.
(DecodeCoproc): Updated macro.
(IMEM32_MICROMIPS, IMEM16_MICROMIPS, MICROMIPS_MINOR_OPCODE,
MICROMIPS_DELAYSLOT_SIZE_ANY, MICROMIPS_DELAYSLOT_SIZE_16,
MICROMIPS_DELAYSLOT_SIZE_32, ISA_MODE_MIPS32 and
ISA_MODE_MICROMIPS): New defines.
(sim_state): Add isa_mode field.
2015-06-23 Mike Frysinger <[email protected]>
* configure: Regenerate.
2015-06-12 Mike Frysinger <[email protected]>
* configure.ac: Change configure.in to configure.ac.
* configure: Regenerate.
2015-06-12 Mike Frysinger <[email protected]>
* configure: Regenerate.
2015-06-12 Mike Frysinger <[email protected]>
* interp.c [TRACE]: Delete.
(TRACE): Change to WITH_TRACE_ANY_P.
[!WITH_TRACE_ANY_P] (open_trace): Define.
(mips_option_handler, open_trace, sim_close, dotrace):
Change defined(TRACE) to WITH_TRACE_ANY_P.
(sim_open): Delete TRACE ifdef check.
* sim-main.c (load_memory): Delete TRACE ifdef check.
(store_memory): Likewise.
* sim-main.h [WITH_TRACE_ANY_P] (dotrace, tracefh): Protect decls.
[!WITH_TRACE_ANY_P] (dotrace): Define.
2015-04-18 Mike Frysinger <[email protected]>
* sim-main.h (SIM_ENGINE_HALT_HOOK, SIM_ENGINE_RESTART_HOOK): Delete
comments.
2015-04-18 Mike Frysinger <[email protected]>
* sim-main.h (SIM_CPU): Delete.
2015-04-18 Mike Frysinger <[email protected]>
* sim-main.h (sim_cia): Delete.
2015-04-17 Mike Frysinger <[email protected]>
* dv-tx3904cpu.c (deliver_tx3904cpu_interrupt): Change CIA_GET to
PU_PC_GET.
* interp.c (interrupt_event): Change CIA_GET to CPU_PC_GET.
(sim_create_inferior): Change CIA_SET to CPU_PC_SET.
* m16run.c (sim_engine_run): Change CIA_GET to CPU_PC_GET and
CIA_SET to CPU_PC_SET.
* sim-main.h (CIA_GET, CIA_SET): Delete.
2015-04-15 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Delete sim-cpu.o.
* sim-main.h (STATE_CPU): Delete.
2015-04-13 Mike Frysinger <[email protected]>
* configure: Regenerate.
2015-04-13 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Add sim-cpu.o.
* interp.c (mips_pc_get, mips_pc_set): New functions.
(sim_open): Declare new local var i. Call sim_cpu_alloc_all.
Call CPU_PC_FETCH & CPU_PC_STORE for all cpus.
(sim_pc_get): Delete.
* sim-main.h (SIM_CPU): Define.
(struct sim_state): Change cpu to an array of pointers.
(STATE_CPU): Drop &.
2015-04-13 Mike Frysinger <[email protected]>
* interp.c (mips_option_handler, open_trace, sim_close,
sim_write, sim_read, sim_store_register, sim_fetch_register,
sim_create_inferior, pr_addr, pr_uword64): Convert old style
prototypes.
(sim_open): Convert old style prototype. Change casts with
sim_write to unsigned char *.
(fetch_str): Change null to unsigned char, and change cast to
unsigned char *.
(sim_monitor): Change c & ch to unsigned char. Change cast to
unsigned char *.
2015-04-12 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Move interp.o to the start of the list.
2015-04-06 Mike Frysinger <[email protected]>
* Makefile.in (SIM_OBJS): Delete sim-engine.o.
2015-04-01 Mike Frysinger <[email protected]>
* tconfig.h (SIM_HAVE_PROFILE): Delete.
2015-03-31 Mike Frysinger <[email protected]>
* config.in, configure: Regenerate.
2015-03-24 Mike Frysinger <[email protected]>
* interp.c (sim_pc_get): New function.
2015-03-24 Mike Frysinger <[email protected]>
* sim-main.h (SIM_HAVE_BIENDIAN): Delete.
* tconfig.h (SIM_HAVE_BIENDIAN): Delete.
2015-03-24 Mike Frysinger <[email protected]>
* configure: Regenerate.
2015-03-23 Mike Frysinger <[email protected]>
* configure: Regenerate.
2015-03-23 Mike Frysinger <[email protected]>
* configure: Regenerate.
* configure.ac (mips_extra_objs): Delete.
* Makefile.in (MIPS_EXTRA_OBJS): Delete.
(SIM_OBJS): Delete MIPS_EXTRA_OBJS.
2015-03-23 Mike Frysinger <[email protected]>
* configure: Regenerate.
* configure.ac: Delete sim_hw checks for dv-sockser.
2015-03-16 Mike Frysinger <[email protected]>
* config.in, configure: Regenerate.
* tconfig.in: Rename file ...
* tconfig.h: ... here.
2015-03-15 Mike Frysinger <[email protected]>
* tconfig.in: Delete includes.
[HAVE_DV_SOCKSER]: Delete.
2015-03-14 Mike Frysinger <[email protected]>
* Makefile.in (SIM_RUN_OBJS): Delete.
2015-03-14 Mike Frysinger <[email protected]>
* configure.ac (AC_CHECK_HEADERS): Delete.
* aclocal.m4, configure: Regenerate.
2014-08-19 Alan Modra <[email protected]>
* configure: Regenerate.
2014-08-15 Roland McGrath <[email protected]>
* configure: Regenerate.
* config.in: Regenerate.
2014-03-04 Mike Frysinger <[email protected]>
* configure: Regenerate.
2013-09-23 Alan Modra <[email protected]>
* configure: Regenerate.
2013-06-03 Mike Frysinger <[email protected]>
* aclocal.m4, configure: Regenerate.
2013-05-10 Freddie Chopin <[email protected]>
* configure: Rebuild.
2013-03-26 Mike Frysinger <[email protected]>
* configure: Regenerate.
2013-03-23 Joel Sherrill <[email protected]>
* configure.ac: Address use of dv-sockser.o.
* tconfig.in: Conditionalize use of dv_sockser_install.
* configure: Regenerated.
* config.in: Regenerated.
2012-10-04 Chao-ying Fu <[email protected]>
Steve Ellcey <[email protected]>
* mips/mips3264r2.igen (rdhwr): New.
2012-09-03 Joel Sherrill <[email protected]>
* configure.ac: Always link against dv-sockser.o.
* configure: Regenerate.
2012-06-15 Joel Brobecker <[email protected]>
* config.in, configure: Regenerate.
2012-05-18 Nick Clifton <[email protected]>
PR 14072
* interp.c: Include config.h before system header files.
2012-03-24 Mike Frysinger <[email protected]>
* aclocal.m4, config.in, configure: Regenerate.
2011-12-03 Mike Frysinger <[email protected]>
* aclocal.m4: New file.
* configure: Regenerate.
2011-10-19 Mike Frysinger <[email protected]>
* configure: Regenerate after common/acinclude.m4 update.
2011-10-17 Mike Frysinger <[email protected]>
* configure.ac: Change include to common/acinclude.m4.
2011-10-17 Mike Frysinger <[email protected]>
* configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
call. Replace common.m4 include with SIM_AC_COMMON.
* configure: Regenerate.
2011-07-08 Hans-Peter Nilsson <[email protected]>
* Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
$(SIM_EXTRA_DEPS).
(tmp-mach-multi): Exit early when igen fails.
2011-07-05 Mike Frysinger <[email protected]>
* interp.c (sim_do_command): Delete.
2011-02-14 Mike Frysinger <[email protected]>
* dv-tx3904sio.c (tx3904sio_fifo_push): Change zfree to free.
(tx3904sio_fifo_reset): Likewise.
* interp.c (sim_monitor): Likewise.
2010-04-14 Mike Frysinger <[email protected]>
* interp.c (sim_write): Add const to buffer arg.
2010-01-18 Masaki Muranaka <[email protected]> (tiny change)
* interp.c: Don't include sysdep.h
2010-01-09 Ralf Wildenhues <[email protected]>
* configure: Regenerate.
2009-08-22 Ralf Wildenhues <[email protected]>
* config.in: Regenerate.
* configure: Likewise.
* configure: Regenerate.
2008-07-11 Hans-Peter Nilsson <[email protected]>
* configure: Regenerate to track ../common/common.m4 changes.
* config.in: Ditto.
2008-06-06 Vladimir Prus <[email protected]>
Daniel Jacobowitz <[email protected]>
Joseph Myers <[email protected]>
* configure: Regenerate.
2007-10-22 Richard Sandiford <[email protected]>
* mips.igen (check_fmt_p): Provide a separate mips32r2 definition
that unconditionally allows fmt_ps.
(ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, CVT.S.PU)
(FLOOR.L.fmt, LWXC1, MADD.fmt, MSUB.fmt, NMADD.fmt, NMSUB.fmt)
(PLL.PS, PLU.PS, PUL.PS, PUU.PS, ROUND.L.fmt, TRUNC.L.fmt): Change
filter from 64,f to 32,f.
(PREFX): Change filter from 64 to 32.
(LDXC1, LUXC1): Provide separate mips32r2 implementations
that use do_load_double instead of do_load. Make both LUXC1
versions unpredictable if SizeFGR () != 64.
(SDXC1, SUXC1): Extend to mips32r2, using do_store_double
instead of do_store. Remove unused variable. Make both SUXC1
versions unpredictable if SizeFGR () != 64.
2007-10-07 Richard Sandiford <[email protected]>
* mips.igen (ll): Fix mask for WITH_TARGET_WORD_BITSIZE == 32.
(sc, swxc1): Likewise. Also fix big-endian and reverse-endian
shifts for that case.
2007-09-04 Nick Clifton <[email protected]>
* interp.c (options enum): Add OPTION_INFO_MEMORY.
(display_mem_info): New static variable.
(mips_option_handler): Handle OPTION_INFO_MEMORY.
(mips_options): Add info-memory and memory-info.
(sim_open): After processing the command line and board
specification, check display_mem_info. If it is set then
call the real handler for the --memory-info command line
switch.
2007-08-24 Joel Brobecker <[email protected]>
* configure.ac: Change license of multi-run.c to GPL version 3.
* configure: Regenerate.
2007-06-28 Richard Sandiford <[email protected]>
* configure.ac, configure: Revert last patch.
2007-06-26 Richard Sandiford <[email protected]>
* configure.ac (sim_mipsisa3264_configs): New variable.
(mipsis32*-*-, mipsisa32r2*-*-*, mips64*-*-*, mips64r2*-*-*): Make
every configuration support all four targets, using the triplet to
determine the default.
* configure: Regenerate.
2007-06-25 Richard Sandiford <[email protected]>
* Makefile.in (m16run.o): New rule.
2007-05-15 Thiemo Seufer <[email protected]>
* mips3264r2.igen (DSHD): Fix compile warning.
2007-05-14 Thiemo Seufer <[email protected]>
* mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL,
CVT.S.PU, FLOOR.L.fmt, LDXC1, LUXC1, LWXC1, MADD.fmt, MSUB.fmt,
NMADD.fmt, NMSUB.fmt, PLL.PS, PLU.PS, PREFX, PUL.PS, PUU.PS,
RECIP.fmt, ROUND.L.fmt, RSQRT.fmt, SWXC1, TRUNC.L.fmt): Add support
for mips32r2.
2007-03-01 Thiemo Seufer <[email protected]>
* mips.igen (MFHI, MFLO, MTHI, MTLO): Restore support for mips32
and mips64.
2007-02-20 Thiemo Seufer <[email protected]>
* dsp.igen: Update copyright notice.
* dsp2.igen: Fix copyright notice.
2007-02-20 Thiemo Seufer <[email protected]>
Chao-Ying Fu <[email protected]>
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.
2007-02-19 Thiemo Seufer <[email protected]>
Nigel Stephens <[email protected]>
* mips.igen (jalr.hb, jr.hb): Add decoder for mip32r2/mips64r2
jumps with hazard barrier.
2007-02-19 Thiemo Seufer <[email protected]>
Nigel Stephens <[email protected]>
* interp.c (sim_monitor): Flush stdout and stderr file descriptors
after each call to sim_io_write.
2007-02-19 Thiemo Seufer <[email protected]>
Nigel Stephens <[email protected]>
* interp.c (ColdReset): Set CP0 Config0 to reflect the address size
supported by this simulator.
(decode_coproc): Recognise additional CP0 Config registers
correctly.
2007-02-19 Thiemo Seufer <[email protected]>
Nigel Stephens <[email protected]>
David Ung <[email protected]>
* cp1.c (value_fpr): Don't inherit existing FPR_STATE for
uninterpreted formats. If fmt is one of the uninterpreted types
don't update the FPR_STATE. Handle fmt_uninterpreted_32 like
fmt_word, and fmt_uninterpreted_64 like fmt_long.
(store_fpr): When writing an invalid odd register, set the
matching even register to fmt_unknown, not the following register.
* interp.c (sim_open): If STATE_MEM_SIZE isn't set then set it to
the the memory window at offset 0 set by --memory-size command
line option.
(sim_store_register): Handle storing 4 bytes to an 8 byte floating
point register.
(sim_fetch_register): Likewise for reading 4 bytes from an 8 byte
register.
(sim_monitor): When returning the memory size to the MIPS
application, use the value in STATE_MEM_SIZE, not an arbitrary
hardcoded value.
(cop_lw): Don' mess around with FPR_STATE, just pass
fmt_uninterpreted_32 to StoreFPR.
(cop_sw): Similarly.
(cop_ld): Pass fmt_uninterpreted_64 not fmt_uninterpreted.
(cop_sd): Similarly.
* mips.igen (not_word_value): Single version for mips32, mips64
and mips16.
2007-02-19 Thiemo Seufer <[email protected]>
Nigel Stephens <[email protected]>
* interp.c (MEM_SIZE): Increase default memory size from 2 to 8
MBytes.
2007-02-17 Thiemo Seufer <[email protected]>
* configure.ac (mips*-sde-elf*): Move in front of generic machine
configuration.
* configure: Regenerate.
2007-02-17 Thiemo Seufer <[email protected]>
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add mdmx to sim_igen_machine.
(mipsisa64*-*-*): Likewise. Remove dsp.
(mipsisa32*-*-*): Remove dsp.
* configure: Regenerate.
2007-02-13 Thiemo Seufer <[email protected]>
* configure.ac: Add mips*-sde-elf* target.
* configure: Regenerate.
2006-12-21 Hans-Peter Nilsson <[email protected]>
* acconfig.h: Remove.
* config.in, configure: Regenerate.
2006-11-07 Thiemo Seufer <[email protected]>
* dsp.igen (do_w_op): Fix compiler warning.
2006-08-29 Thiemo Seufer <[email protected]>
David Ung <[email protected]>
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
sim_igen_machine.
* configure: Regenerate.
* mips.igen (model): Add smartmips.
(MADDU): Increment ACX if carry.
(do_mult): Clear ACX.
(ROR,RORV): Add smartmips.
(include): Include smartmips.igen.
* sim-main.h (ACX): Set to REGISTERS[89].
* smartmips.igen: New file.
2006-08-29 Thiemo Seufer <[email protected]>
David Ung <[email protected]>
* Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
mips3264r2.igen. Add missing dependency rules.
* m16e.igen: Support for mips16e save/restore instructions.
2006-06-13 Richard Earnshaw <[email protected]>
* configure: Regenerated.
2006-06-05 Daniel Jacobowitz <[email protected]>
* configure: Regenerated.
2006-05-31 Daniel Jacobowitz <[email protected]>
* configure: Regenerated.
2006-05-15 Chao-ying Fu <[email protected]>
* dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
2006-04-18 Nick Clifton <[email protected]>
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break
statement.
2006-03-29 Hans-Peter Nilsson <[email protected]>
* configure: Regenerate.
2005-12-14 Chao-ying Fu <[email protected]>
* Makefile.in (SIM_OBJS): Add dsp.o.
(dsp.o): New dependency.
(IGEN_INCLUDE): Add dsp.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
mipsisa64*-*-*): Add dsp to sim_igen_machine.
* configure: Regenerate.
* mips.igen: Add dsp model and include dsp.igen.
(MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
because these instructions are extended in DSP ASE.
* sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
adding 6 DSP accumulator registers and 1 DSP control register.
(AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
DSPCR_CCOND_SMASK): New define.
(DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
* dsp.c, dsp.igen: New files for MIPS DSP ASE.
2005-07-08 Ian Lance Taylor <[email protected]>
* tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
2005-06-16 David Ung <[email protected]>
Nigel Stephens <[email protected]>
* mips.igen: New mips16e model and include m16e.igen.
(check_u64): Add mips16e tag.
* m16e.igen: New file for MIPS16e instructions.
* configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
models.
* configure: Regenerate.
2005-05-26 David Ung <[email protected]>
* mips.igen (mips32r2, mips64r2): New ISA models. Add new model
tags to all instructions which are applicable to the new ISAs.
(do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
vr.igen.
* mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
instructions.
* vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
to mips.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
* configure: Regenerate.
2005-03-23 Mark Kettenis <[email protected]>
* configure: Regenerate.
2005-01-14 Andrew Cagney <[email protected]>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
2005-01-12 Andrew Cagney <[email protected]>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
2005-01-11 Andrew Cagney <[email protected]>
* configure: Regenerated to track ../common/aclocal.m4 changes.
2005-01-07 Andrew Cagney <[email protected]>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
2004-12-08 Hans-Peter Nilsson <[email protected]>
* configure: Regenerate for ../common/aclocal.m4 update.
2004-09-24 Monika Chaddha <[email protected]>
Committed by Andrew Cagney.
* m16.igen (CMP, CMPI): Fix assembler.
2004-08-18 Chris Demetriou <[email protected]>
* configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine.
* configure: Regenerate.
2004-06-25 Chris Demetriou <[email protected]>
* configure.in (sim_m16_machine): Include mipsIII.
* configure: Regenerate.
2004-05-11 Maciej W. Rozycki <[email protected]>
* mips/interp.c (decode_coproc): Sign-extend the address retrieved
from COP0_BADVADDR.
* mips/sim-main.h (COP0_BADVADDR): Remove a cast.
2004-04-10 Chris Demetriou <[email protected]>
* sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New.
2004-04-09 Chris Demetriou <[email protected]>
* mips.igen (check_fmt): Remove.
(ABS.fmt, ADD.fmt, C.cond.fmta, C.cond.fmtb, CEIL.L.fmt, CEIL.W)
(CVT.D.fmt, CVT.L.fmt, CVT.S.fmt, CVT.W.fmt, DIV.fmt, FLOOR.L.fmt)
(FLOOR.W.fmt, MADD.fmt, MOV.fmt, MOVtf.fmt, MOVN.fmt, MOVZ.fmt)
(MSUB.fmt, MUL.fmt, NEG.fmt, NMADD.fmt, NMSUB.fmt, RECIP.fmt)
(ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt, SQRT.fmt, SUB.fmt)
(TRUNC.L.fmt, TRUNC.W): Explicitly specify allowed FPU formats.
(check_fmt_p, CEIL.L.fmt, CEIL.W, DIV.fmt, FLOOR.L.fmt)
(FLOOR.W.fmt, RECIP.fmt, ROUND.L.fmt, ROUND.W.fmt, RSQRT.fmt)
(SQRT.fmt, TRUNC.L.fmt, TRUNC.W): Remove all uses of check_fmt.
(C.cnd.fmta): Remove incorrect call to check_fmt_p.
2004-04-09 Chris Demetriou <[email protected]>
* sb1.igen (check_sbx): New function.
(PABSDIFF.fmt, PABSDIFC.fmt, PAVG.fmt): Use check_sbx.
2004-03-29 Chris Demetriou <[email protected]>
Richard Sandiford <[email protected]>
* sim-main.h (MIPS_MACH_HAS_MT_HILO_HAZARD)
(MIPS_MACH_HAS_MULT_HILO_HAZARD, MIPS_MACH_HAS_DIV_HILO_HAZARD): New.
* mips.igen (check_mt_hilo, check_mult_hilo, check_div_hilo): Provide
separate implementations for mipsIV and mipsV. Use new macros to
determine whether the restrictions apply.
2004-01-19 Chris Demetriou <[email protected]>
* mips.igen (check_mf_cycles, check_mt_hilo, check_mf_hilo)
(check_mult_hilo): Improve comments.
(check_div_hilo): Likewise. Also, fork off a new version
to handle mips32/mips64 (since there are no hazards to check
in MIPS32/MIPS64).
2003-06-17 Richard Sandiford <[email protected]>
* mips.igen (do_dmultx): Fix check for negative operands.
2003-05-16 Ian Lance Taylor <[email protected]>
* Makefile.in (SHELL): Make sure this is defined.
(various): Use $(SHELL) whenever we invoke move-if-change.
2003-05-03 Chris Demetriou <[email protected]>
* cp1.c: Tweak attribution slightly.
* cp1.h: Likewise.
* mdmx.c: Likewise.
* mdmx.igen: Likewise.
* mips3d.igen: Likewise.
* sb1.igen: Likewise.
2003-04-15 Richard Sandiford <[email protected]>
* vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
unsigned operands.
2003-02-27 Andrew Cagney <[email protected]>
* interp.c (sim_open): Rename _bfd to bfd.
(sim_create_inferior): Ditto.
2003-01-14 Chris Demetriou <[email protected]>
* mips.igen (LUXC1, SUXC1): New, for mipsV and mips64.
2003-01-14 Chris Demetriou <[email protected]>
* mips.igen (EI, DI): Remove.
2003-01-05 Richard Sandiford <[email protected]>
* Makefile.in (tmp-run-multi): Fix mips16 filter.
2003-01-04 Richard Sandiford <[email protected]>
Andrew Cagney <[email protected]>
Gavin Romig-Koch <[email protected]>
Graydon Hoare <[email protected]>
Aldy Hernandez <[email protected]>
Dave Brolley <[email protected]>
Chris Demetriou <[email protected]>
* configure.in (mips64vr*): Define TARGET_ENABLE_FR to 1.
(sim_mach_default): New variable.
(mips64vr-*-*, mips64vrel-*-*): New configurations.
Add a new simulator generator, MULTI.
* configure: Regenerate.
* Makefile.in (SIM_MULTI_OBJ, SIM_EXTRA_DISTCLEAN): New variables.
(multi-run.o): New dependency.
(SIM_MULTI_ALL, SIM_MULTI_IGEN_CONFIGS): New variables.
(tmp-mach-multi, tmp-itable-multi, tmp-run-multi): New rules.
(tmp-multi): Combine them.
(BUILT_SRC_FROM_MULTI): New variable. Depend on tmp-multi.
(clean-extra): Remove sources in BUILT_SRC_FROM_MULTI.
(distclean-extra): New rule.
* sim-main.h: Include bfd.h.
(MIPS_MACH): New macro.
* mips.igen (vr4120, vr5400, vr5500): New models.
(clo, clz, dclo, dclz, madd, maddu, msub, msub, mul): Add *vr5500.
* vr.igen: Replace with new version.
2003-01-04 Chris Demetriou <[email protected]>
* configure.in: Use SIM_AC_OPTION_RESERVED_BITS(1).
* configure: Regenerate.
2002-12-31 Chris Demetriou <[email protected]>
* sim-main.h (check_branch_bug, mark_branch_bug): Remove.
* mips.igen: Remove all invocations of check_branch_bug and
mark_branch_bug.
2002-12-16 Chris Demetriou <[email protected]>
* tconfig.in: Include "gdb/callback.h" and "gdb/remote-sim.h".
2002-07-30 Chris Demetriou <[email protected]>
* mips.igen (do_load_double, do_store_double): New functions.
(LDC1, SDC1): Rename to...
(LDC1b, SDC1b): respectively.
(LDC1a, SDC1a): New instructions for MIPS II and MIPS32 support.
2002-07-29 Michael Snyder <[email protected]>
* cp1.c (fp_recip2): Modify initialization expression so that
GCC will recognize it as constant.
2002-06-18 Chris Demetriou <[email protected]>
* mdmx.c (SD_): Delete.
(Unpredictable): Re-define, for now, to directly invoke
unpredictable_action().
(mdmx_acc_op): Fix error in .ob immediate handling.
2002-06-18 Andrew Cagney <[email protected]>
* interp.c (sim_firmware_command): Initialize `address'.
2002-06-16 Andrew Cagney <[email protected]>
* configure: Regenerated to track ../common/aclocal.m4 changes.