-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
838 lines (793 loc) · 34 KB
/
ChangeLog
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
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
Change all header comments to refer to Embench.
* Makefile.am: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* Makefile.in: Regenerated.
* config/default.exp: Change header comment to note this is part
of Embench and was formerly part of BEEBS.
* config/riscv32/boards/generic/boardsupport.c: Likewise.
* config/riscv32/boards/generic/boardsupport.h: Likewise.
* config/riscv32/boards/picorv32verilator/boardsupport.c:
Likewise.
* config/riscv32/boards/picorv32verilator/boardsupport.h:
Likewise.
* config/riscv32/boards/ri5cyverilator/boardsupport.c: Likewise.
* config/riscv32/boards/ri5cyverilator/boardsupport.h: Likewise.
* config/riscv32/chips/size-test-gcc/chip.cfg: Likewise.
* config/riscv32/chips/size-test-gcc/chipsupport.c: Likewise.
* config/riscv32/chips/size-test-gcc/chipsupport.h: Likewise.
* config/riscv32/chips/size-test-llvm/chip.cfg: Likewise.
* config/riscv32/chips/size-test-llvm/chipsupport.c: Likewise.
* config/riscv32/chips/size-test-llvm/chipsupport.h: Likewise.
* config/riscv32/chips/speed-test/chip.cfg: Likewise.
* config/riscv32/chips/speed-test/chipsupport.c: Likewise.
* config/riscv32/chips/speed-test/chipsupport.h: Likewise.
* configure.ac: Likewise.
* doc/Makefile.am: Likewise.
* doc/Makefile.in: Regenerated.
* doc/README.adoc: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* src/Makefile.am: Likewise.
* src/Makefile.in: Regenerated.
* src/aha-mont64/Makefile.am: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/aha-mont64/Makefile.in: Regenerated.
* src/aha-mont64/mont64.c: Change header comment to note this is
part of Embench and was formerly part of BEEBS.
* src/common.mk.am: Likewise.
* src/crc32/Makefile.am: Likewise.
* src/crc32/Makefile.in: Regenerated.
* src/crc32/crc_32.c: Change header comment to note this is part
of Embench and was formerly part of BEEBS.
* src/cubic/Makefile.am: Likewise.
* src/cubic/Makefile.in: Regenerated.
* src/cubic/basicmath_small.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/cubic/libcubic.c: Likewise.
* src/cubic/pi.h: Likewise.
* src/cubic/snipmath.h: Likewise.
* src/cubic/sniptype.h: Likewise.
* src/edn/Makefile.am: Likewise.
* src/edn/Makefile.in: Regenerated.
* src/edn/libedn.c: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* src/huffbench/Makefile.am: Likewise.
* src/huffbench/Makefile.in: Regenerated.
* src/huffbench/libhuffbench.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/matmult-int/Makefile.am: Likewise.
* src/matmult-int/Makefile.in: Regenerated.
* src/matmult-int/matmult-int.c: Change header comment to note
this is part of Embench and was formerly part of BEEBS.
* src/minver/Makefile.am: Likewise.
* src/minver/Makefile.in: Regenerated.
* src/minver/libminver.c: Change header comment to note this is
part of Embench and was formerly part of BEEBS.
* src/nbody/Makefile.am: Likewise.
* src/nbody/Makefile.in: Regenerated.
* src/nbody/nbody.c: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* src/nettle-aes/Makefile.am: Likewise.
* src/nettle-aes/Makefile.in: Regenerated.
* src/nettle-aes/nettle-aes.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/nettle-sha256/Makefile.am: Likewise.
* src/nettle-sha256/Makefile.in: Regenerated.
* src/nettle-sha256/nettle-sha256.c: Change header comment to note
this is part of Embench and was formerly part of BEEBS.
* src/nsichneu/Makefile.am: Likewise.
* src/nsichneu/Makefile.in: Regenerated.
* src/nsichneu/libnsichneu.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/picojpeg/Makefile.am: Likewise.
* src/picojpeg/Makefile.in: Regenerated.
* src/picojpeg/libpicojpeg.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/picojpeg/picojpeg.h: Likewise.
* src/picojpeg/picojpeg_test.c: Likewise.
* src/qrduino/Makefile.am: Likewise.
* src/qrduino/Makefile.in: Regenerated.
* src/qrduino/ecctable.h: Change header comment to note this is
part of Embench and was formerly part of BEEBS.
* src/qrduino/qrbits.h: Likewise.
* src/qrduino/qrencode.c: Likewise.
* src/qrduino/qrencode.h: Likewise.
* src/qrduino/qrframe.c: Likewise.
* src/qrduino/qrtest.c: Likewise.
* src/sglib-combined/Makefile.am: Likewise.
* src/sglib-combined/Makefile.in: Regenerated.
* src/sglib-combined/combined.c: Change header comment to note
this is part of Embench and was formerly part of BEEBS.
* src/sglib-combined/sglib.h: Likewise.
* src/slre/Makefile.am: Likewise.
* src/slre/Makefile.in: Regenerated.
* src/slre/libslre.c: Change header comment to note this is part
of Embench and was formerly part of BEEBS.
* src/slre/slre.h: Likewise.
* src/st/Makefile.am: Likewise.
* src/st/Makefile.in: Regenerated.
* src/st/libst.c: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* src/statemate/Makefile.am: Likewise.
* src/statemate/Makefile.in: Regenerated.
* src/statemate/libstatemate.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* src/ud/Makefile.am: Likewise.
* src/ud/Makefile.in: Regenerated.
* src/ud/libud.c: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* src/wikisort/Makefile.am: Likewise.
* src/wikisort/Makefile.in: Regenerated.
* src/wikisort/libwikisort.c: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* support/Makefile.am: Likewise.
* support/Makefile.in: Regenerated.
* support/beebsc.c: Change header comment to note this is part of
Embench and was formerly part of BEEBS.
* support/beebsc.h: Likewise.
* support/board.c: Likewise.
* support/chip.c: Likewise.
* support/dummy-crt0.c: Likewise.
* support/dummy-libc.c: Likewise.
* support/dummy-libgcc.c: Likewise.
* support/dummy-libm.c: Likewise.
* support/main.c: Likewise.
* support/support.h: Likewise.
* testsuite/Makefile.am: Likewise.
* testsuite/Makefile.in: Regenerated.
* testsuite/beebs-conf.exp: Change header comment to note this is
part of Embench and was formerly part of BEEBS.
* testsuite/beebs.test/Makefile.am: Likewise.
* testsuite/beebs.test/Makefile.in: Regenerated.
* testsuite/beebs.test/execute.exp: Change header comment to note
this is part of Embench and was formerly part of BEEBS.
* testsuite/beebs.test/size.exp: Likewise.
* testsuite/config/Makefile.am: Likewise.
* testsuite/config/Makefile.in: Regenerated.
* testsuite/config/generic.exp: Change header comment to note this
is part of Embench and was formerly part of BEEBS.
* testsuite/config/none.exp: Likewise.
* testsuite/config/ri5cyverilator.exp: Likewise.
* testsuite/lib/Makefile.am: Likewise.
* testsuite/lib/Makefile.in: Regenerated.
* testsuite/lib/beebs.exp: Change header comment to note this is
part of Embench and was formerly part of BEEBS.
* testsuite/lib/mageec-wand.exp: Likewise.
* testsuite/lib/perf-stat.exp: Likewise.
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
Add missing OpenChain headers.
* config/riscv32/chips/size-test-gcc/chip.cfg: Add missing SPDX
header.
* config/riscv32/chips/size-test-gcc/chipsupport.c: Likewise.
* config/riscv32/chips/size-test-gcc/chipsupport.h: Likewise.
* config/riscv32/chips/size-test-llvm/chip.cfg: Likewise.
* config/riscv32/chips/size-test-llvm/chipsupport.c: Likewise.
* config/riscv32/chips/size-test-llvm/chipsupport.h: Likewise.
* config/riscv32/chips/speed-test/chip.cfg: Likewise.
* config/riscv32/chips/speed-test/chipsupport.c: Likewise.
* config/riscv32/chips/speed-test/chipsupport.h: Likewise.
* src/Makefile.am: Remove redundant comment.
* src/Makefile.in: Regenerated.
* support/arc-millicode.S: Deleted.
* testsuite/beebs.test/Makefile.am: Add missing SPDX header.
* testsuite/beebs.test/Makefile.in: Regenerated.
* testsuite/config/Makefile.am: Add missing SPDX header.
* testsuite/config/Makefile.in: Regenerated.
* testsuite/lib/Makefile.am: Add missing SPDX header.
* testsuite/lib/Makefile.in: Regenerated.
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
* README.md: Correct internal cross-references again.
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
* README.md: Correct internal cross-references.
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
Grand cleanup of documentation for Embench.
The top level README.md is brought into line with Embench and
simplified, mostly just pointing at the user manual in the doc
directory. The Texinfo BEEBS manual is replaced by an Asciidoc
README, so it displays nicely in GitHub, but can be generated as
PDF or HTML.
* Makefile.in: Regenerated.
* README.md: Updated for Embench.
* aclocal.m4: Regenerated.
* configure: Regenerated.
* configure.ac: Add spell as a recursive target
* doc/Makefile.am: Rewrite to handle Asciidoc and spell checking
* doc/Makefile.in: Regenerated.
* doc/README.adoc: Created, based on beebs.texi.
* doc/beebs.info: Deleted.
* doc/beebs.texi: Deleted.
* doc/config.texi: Deleted.
* doc/custom.wordlist:
* doc/fdl-1.2.texi: Deleted.
* doc/mdate-sh: Deleted.
* doc/stamp-vti: Deleted.
* doc/texinfo.tex: Deleted.
* doc/version.texi: Deleted.
* src/Makefile.in: Regenerated.
* src/aha-mont64/Makefile.in: Regenerated.
* src/crc32/Makefile.in: Regenerated.
* src/cubic/Makefile.in: Regenerated.
* src/edn/Makefile.in: Regenerated.
* src/huffbench/Makefile.in: Regenerated.
* src/matmult-int/Makefile.in: Regenerated.
* src/minver/Makefile.in: Regenerated.
* src/nbody/Makefile.in: Regenerated.
* src/nettle-aes/Makefile.in: Regenerated.
* src/nettle-sha256/Makefile.in: Regenerated.
* src/nsichneu/Makefile.in: Regenerated.
* src/picojpeg/Makefile.in: Regenerated.
* src/qrduino/Makefile.in: Regenerated.
* src/sglib-combined/Makefile.in: Regenerated.
* src/slre/Makefile.in: Regenerated.
* src/st/Makefile.in: Regenerated.
* src/statemate/Makefile.in: Regenerated.
* src/ud/Makefile.in: Regenerated.
* src/wikisort/Makefile.in: Regenerated.
* support/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* testsuite/beebs.test/Makefile.in: Regenerated.
* testsuite/config/Makefile.in: Regenerated.
* testsuite/lib/Makefile.in: Regenerated.
2019-06-06 Jeremy Bennett <jeremy.bennett@embecosm.com>
* config/riscv32/chips/speed-test/chip.cfg: Fix typo in -march,
* testsuite/config/ri5cyverilator.exp: Better recognition of cycle
counts.
2019-06-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
* config/riscv32/chips/size-test-gcc/chip.cfg: Specify ABI and
-msave-restore.
* config/riscv32/chips/size-test-llvm/chip.cfg: Specify ABI.
* config/riscv32/chips/speed-test/chip.cfg: Specify ABI.
2019-05-30 Jeremy Bennett <jeremy.bennett@embecosm.com>
* config/riscv32/chips/picorv32/chip.cfg: Delelted.
* config/riscv32/chips/picorv32/chipsupport.c: Delelted.
* config/riscv32/chips/picorv32/chipsupport.h: Delelted.
* config/riscv32/chips/picorv32/picorv32.ld: Delelted.
* config/riscv32/chips/picorv32/picorv32.spec: Delelted.
* config/riscv32/chips/ri5cy/chip.cfg: Delelted.
* config/riscv32/chips/ri5cy/chipsupport.c: Delelted.
* config/riscv32/chips/ri5cy/chipsupport.h: Delelted.
* config/riscv32/chips/size-test/chip.cfg: Move to size-test-gcc
directory.
* config/riscv32/chips/size-test/chipsupport.c: Likewise.
* config/riscv32/chips/size-test/chipsupport.h: Likewise.
* config/riscv32/chips/size-test-gcc/chip.cfg: Moved from
size-test directory and split out LD flags
* config/riscv32/chips/size-test-gcc/chipsupport.c: Moved from
size-test directory.
* config/riscv32/chips/size-test-gcc/chipsupport.h: Likewise.
* config/riscv32/chips/size-test-llvm/chip.cfg: Created.
* config/riscv32/chips/size-test-llvm/chipsupport.c: Created.
* config/riscv32/chips/size-test-llvm/chipsupport.h: Created.
* config/riscv32/chips/speed-test/chip.cfg: Split out LD flags
* testsuite/config/ri5cyverilator.exp: Correct recognition of
cycle count value.
2019-05-28 Jeremy Bennett <jeremy.bennett@embecosm.com>
Combine all the Simple Generic Library tests into one.
* configure: Regenerated.
* configure.ac: Add sglib-combined and remove
sglib-arrayquicksort, sglib-dllist, sglib-hashtable, sglib-queue
and sdlib-rbtree throughout.
* src/Makefile.am Add sglib-combined and remove
sglib-arrayquicksort, sglib-dllist, sglib-hashtable, sglib-queue
and sdlib-rbtree as directories.
* src/Makefile.in: Regenerated.
* src/sglib-arrayquicksort/Makefile.am: Deleted.
* src/sglib-arrayquicksort/Makefile.in: Deleted.
* src/sglib-arrayquicksort/arrayquicksort.c: Deleted.
* src/sglib-arrayquicksort/sglib.h: Deleted.
* src/sglib-combined/Makefile.am: Created.
* src/sglib-combined/Makefile.in: Generated.
* src/sglib-combined/combined.c: Created.
* src/sglib-combined/sglib.h: Created.
* src/sglib-dllist/Makefile.am: Deleted.
* src/sglib-dllist/Makefile.in: Deleted.
* src/sglib-dllist/dllist.c: Deleted.
* src/sglib-dllist/sglib.h: Deleted.
* src/sglib-hashtable/Makefile.am: Deleted.
* src/sglib-hashtable/Makefile.in: Deleted.
* src/sglib-hashtable/hashtable.c: Deleted.
* src/sglib-hashtable/sglib.h: Deleted.
* src/sglib-queue/Makefile.am: Deleted.
* src/sglib-queue/Makefile.in: Deleted.
* src/sglib-queue/queue.c: Deleted.
* src/sglib-queue/sglib.h: Deleted.
* src/sglib-rbtree/Makefile.am: Deleted.
* src/sglib-rbtree/Makefile.in: Deleted.
* src/sglib-rbtree/rbtree.c: Deleted.
* src/sglib-rbtree/sglib.h: Deleted.
2019-05-28 Jeremy Bennett <jeremy.bennett@embecosm.com>
* src/aha-mont64/mont64.c: Tune LOCAL_SCALE_FACTOR.
* src/crc32/crc_32.c: Likewise.
* src/huffbench/libhuffbench.c: Likewise.
(random4, generate_test_data): Deleted.
(orig_data, test_data): static arrays created.
(verify_benchmark): Added implementation.
(benchmark_body): Initialize using static constant array.
* src/minver/libminver.c: Tune LOCAL_SCALE_FACTOR.
* src/nettle-aes/nettle-aes.c: Likewise.
* src/nettle-sha256/nettle-sha256.c: Likewise.
* src/nsichneu/libnsichneu.c: Likewise.
* src/picojpeg/picojpeg_test.c: Likewise.
* src/slre/libslre.c: Likewise.
* src/st/libst.c: Likewise.
* src/statemate/libstatemate.c: Likewise.
* src/ud/libud.c: Likewise.
2019-05-28 Jeremy Bennett <jeremy.bennett@embecosm.com>
* config/riscv32/boards/ri5cyverilator/boardsupport.c
(initialise_board, start_trigger, stop_trigger): Put a no-op
instruction in to work around a RI5CY issue with restaring on rtn
instructions.
* doc/beebs.info: Regenerated.
* testsuite/config/ri5cyverilator.exp: Switch to command rather
than MI mode for clarity and fix matches to handle results of
fixed gdbserver.
2019-05-24 Jeremy Bennett <jeremy.bennett@embecosm.com>
Remove janne_complex and tarai from Embench, since they are too
small and synthetic. Add huffbench from BEEBS, to include a
compression program in Embench.
* configure: Regenerated.
* configure.ac: Remove janne_complex and tarai, add huffbench.
* src/Makefile.am: Likewise.
* src/Makefile.in: Regenerated.
* src/edn/Makefile.am: Fix layout.
* src/edn/Makefile.in: Regenerated.
* src/huffbench/.gitignore: Created.
* src/huffbench/Makefile.am: Created.
* src/huffbench/Makefile.in: Generated.
* src/huffbench/libhuffbench.c: Created.
* janne_complex/Makefile.am: Deleted.
* janne_complex/Makefile.in: Deleted.
* janne_complex/libjanne_complex.c: Deleted.
* src/sglib-dllist/Makefile.am: Fix layout.
* src/sglib-dllist/Makefile.in: Regenerated.
* tarai/Makefile.am: Deleted.
* tarai/libtarai.c: Deleted.
2019-05-23 Jeremy Bennett <jeremy.bennett@embecosm.com>
Code for all benchmarks modified to provide a warmup function, to
allow the caches to be warmed up before we run the benchmark.
Move all benchmark functions to benchmark_body with a loop counter
and rewrite benchmark to call benchmark_body with the correct loop
counter. Make benchmark_body noinline, so both warmup and
benchmark invoke the same code and hence warm up the caches
correctly.
Provide --enable-warmup function to specify the number of warmup
loops required, defaulting to 1.
Wwitch to be better generic functions for initialize_board,
start_trigger and stop_trigger.
Adjust LOCAL_SCALE to get timings as close to 4M cycles
using RI5CY verilator model and GCC with -O2.
* config.h.in: Regenerated.
* config/riscv32/boards/ri5cyverilator/boardsupport.c
(initialise_board, start_trigger, stop_trigger): Use different
form of asm to prevent exclusion without needing any instruction.
* configure: Regenerated.
* configure.ac: Add --enable-warmup option to set warmup loops.
* src/aha-mont64/mont64.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/crc32/crc_32.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/cubic/basicmath_small.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/edn/libedn.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/janne_complex/libjanne_complex.c: Adjust LOCAL_SCALE to
correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/matmult-int/matmult-int.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/minver/libminver.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/nbody/nbody.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/nettle-aes/nettle-aes.c: Adjust LOCAL_SCALE to correct
value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/nettle-sha256/nettle-sha256.c: Adjust LOCAL_SCALE to correct
value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/nsichneu/libnsichneu.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/picojpeg/picojpeg_test.c: Adjust LOCAL_SCALE to correct
value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/qrduino/qrtest.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/sglib-arrayquicksort/arrayquicksort.c: Adjust LOCAL_SCALE to
correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/sglib-dllist/dllist.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/sglib-hashtable/hashtable.c: Adjust LOCAL_SCALE to correct
value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/sglib-queue/queue.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/sglib-rbtree/rbtree.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/slre/libslre.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/st/libst.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/statemate/libstatemate.c: Adjust LOCAL_SCALE to correct
value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/tarai/libtarai.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/ud/libud.c: Adjust LOCAL_SCALE to correct value.
(warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* src/wikisort/libwikisort.c (warm_caches): Created.
(benchmark): Modified as wrapper to benchmark_body which is the
orignal function.
(benchmark_body): Renamed from original benchmark function and
made no_inline
(initialise_benchmark): Correctly C prototype for the function.
* support/Makefile.am: Remove reference to ARM_MILLICODE
* support/Makefile.in: Regenerated.
* support/main.c (main): Remove extern declaraations, add
warm_caches to warm up the caches.
* support/support.h: Add declarations of initialize_benchmark,
warm_caches and verify_benchmark.
2019-05-09 Jeremy Bennett <jeremy.bennett@embecosm.com>
A general simplification of the benchmark wide scaling.
We get rid of CALIB_SCALE (benchmark specific calibration for
particular benchmarks on particular boards). We also replace
BOARD_REPEAT_FACTOR with CPU_MHZ (a board parameter). There is
then no need to compute REPEAT_FACTOR in support.h, we can just
use CPU_MHz in the benchmarks.
* .gitignore: Created.
* README: Created as symbolic link to README.md to keep autotools
happy.
* config/riscv32/boards/generic/boardsupport.h: Change
BOARD_REPEAT_FACTOR to CPU_MHZ and give value 1.
* config/riscv32/boards/picorv32verilator/boardsupport.h:
Likewise.
* config/riscv32/boards/ri5cyverilator/boardsupport.h: Change
BOARD_REPEAT_FACTOR to CPU_MHZ.
* doc/beebs.info: Regenerated.
* doc/beebs.texi: Change BOARD_REPEAT_FACTOR to CPU_MHZ.
* src/aha-mont64/Makefile.in: Regenerated.
* src/aha-mont64/mont64.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/common.mk.am: Remove calibration calculation and definition
of CALIB_SCALE.
* src/crc32/Makefile.in: Regenerated.
* src/crc32/crc_32.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/cubic/Makefile.in: Regenerated.
* src/cubic/basicmath_small.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/edn/Makefile.in: Regenerated.
* src/edn/libedn.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/janne_complex/Makefile.in: Regenerated.
* src/janne_complex/libjanne_complex.c (benchmark): Change
REPEAT_FACTOR to CPU_MHZ.
* src/matmult-int/Makefile.in: Regenerated.
* src/matmult-int/matmult-int.c (benchmark): Change REPEAT_FACTOR
to CPU_MHZ.
* src/minver/Makefile.in: Regenerated.
* src/minver/libminver.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/nbody/Makefile.in: Regenerated.
* src/nbody/nbody.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/nettle-aes/Makefile.in: Regenerated.
* src/nettle-aes/nettle-aes.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/nettle-sha256/Makefile.in: Regenerated.
* src/nettle-sha256/nettle-sha256.c (benchmark): Change
REPEAT_FACTOR to CPU_MHZ.
* src/nsichneu/Makefile.in: Regenerated.
* src/nsichneu/libnsichneu.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/picojpeg/Makefile.in: Regenerated.
* src/picojpeg/picojpeg_test.c (benchmark): Change REPEAT_FACTOR
to CPU_MHZ.
* src/qrduino/Makefile.in: Regenerated.
* src/qrduino/qrtest.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/sglib-arrayquicksort/Makefile.in: Regenerated.
* src/sglib-arrayquicksort/arrayquicksort.c (benchmark): Change
REPEAT_FACTOR to CPU_MHZ.
* src/sglib-dllist/Makefile.in: Regenerated.
* src/sglib-dllist/dllist.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/sglib-hashtable/Makefile.in: Regenerated.
* src/sglib-hashtable/hashtable.c (benchmark): Change
REPEAT_FACTOR to CPU_MHZ.
* src/sglib-queue/Makefile.in: Regenerated.
* src/sglib-queue/queue.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/sglib-rbtree/Makefile.in: Regenerated.
* src/sglib-rbtree/rbtree.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/slre/Makefile.in: Regenerated.
* src/slre/libslre.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/st/Makefile.in: Regenerated.
* src/st/libst.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/statemate/Makefile.in: Regenerated.
* src/statemate/libstatemate.c (benchmark): Change REPEAT_FACTOR
to CPU_MHZ.
* src/tarai/Makefile.in: Regenerated.
* src/tarai/libtarai.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* src/ud/Makefile.in: Regenerated.
* src/ud/libud.c (benchmark): Change REPEAT_FACTOR to CPU_MHZ.
* src/wikisort/Makefile.in: Regenerated.
* src/wikisort/libwikisort.c (benchmark): Change REPEAT_FACTOR to
CPU_MHZ.
* support/support.h: Remove all calculation of REPEAT_FACTOR,
which is replaced by a single figure, CPU_MHZ.
2019-05-09 Jeremy Bennett <jeremy.bennett@embecosm.com>
Provide a more appropriate README.
* README: Renamed to README.md.
* README.md: Renamed from README and updated with details
appropriate to Embench.
2019-04-28 Jeremy Bennett <jeremy.bennett@embecosm.com>
Initial commit as a snapshot from the main BEEBS repo at
https://github.com/mageec/beebs.
* AUTHORS: Created.
* COPYING: Created.
* ChangeLog: Created.
* INSTALL: Created.
* Makefile.am: Created.
* Makefile.in: Created.
* NEWS: Created.
* README: Created.
* aclocal.m4: Created.
* compile: Created.
* config.guess: Created.
* config.h.in: Created.
* config.sub: Created.
* config/default.exp: Created.
* config/riscv32/boards/generic/boardsupport.c: Created.
* config/riscv32/boards/generic/boardsupport.h: Created.
* config/riscv32/boards/picorv32verilator/boardsupport.c: Created.
* config/riscv32/boards/picorv32verilator/boardsupport.h: Created.
* config/riscv32/boards/ri5cyverilator/boardsupport.c: Created.
* config/riscv32/boards/ri5cyverilator/boardsupport.h: Created.
* config/riscv32/chips/picorv32/chip.cfg: Created.
* config/riscv32/chips/picorv32/chipsupport.c: Created.
* config/riscv32/chips/picorv32/chipsupport.h: Created.
* config/riscv32/chips/picorv32/picorv32.ld: Created.
* config/riscv32/chips/picorv32/picorv32.spec: Created.
* config/riscv32/chips/ri5cy/chip.cfg: Created.
* config/riscv32/chips/ri5cy/chipsupport.c: Created.
* config/riscv32/chips/ri5cy/chipsupport.h: Created.
* config/riscv32/chips/size-test/chip.cfg: Created.
* config/riscv32/chips/size-test/chipsupport.c: Created.
* config/riscv32/chips/size-test/chipsupport.h: Created.
* config/riscv32/chips/speed-test/chip.cfg: Created.
* config/riscv32/chips/speed-test/chipsupport.c: Created.
* config/riscv32/chips/speed-test/chipsupport.h: Created.
* configure: Created.
* configure.ac: Created.
* depcomp: Created.
* doc/Makefile.am: Created.
* doc/Makefile.in: Created.
* doc/beebs.info: Created.
* doc/beebs.texi: Created.
* doc/config.texi: Created.
* doc/fdl-1.2.texi: Created.
* doc/mdate-sh: Created.
* doc/stamp-vti: Created.
* doc/texinfo.tex: Created.
* doc/version.texi: Created.
* install-sh: Created.
* ltmain.sh: Created.
* m4/libtool.m4: Created.
* m4/ltoptions.m4: Created.
* m4/ltsugar.m4: Created.
* m4/ltversion.m4: Created.
* m4/lt~obsolete.m4: Created.
* missing: Created.
* src/Makefile.am: Created.
* src/Makefile.in: Created.
* src/aha-mont64/Makefile.am: Created.
* src/aha-mont64/Makefile.in: Created.
* src/aha-mont64/mont64.c: Created.
* src/common.mk.am: Created.
* src/crc32/Makefile.am: Created.
* src/crc32/Makefile.in: Created.
* src/crc32/crc_32.c: Created.
* src/cubic/Makefile.am: Created.
* src/cubic/Makefile.in: Created.
* src/cubic/basicmath_small.c: Created.
* src/cubic/libcubic.c: Created.
* src/cubic/pi.h: Created.
* src/cubic/snipmath.h: Created.
* src/cubic/sniptype.h: Created.
* src/edn/Makefile.am: Created.
* src/edn/Makefile.in: Created.
* src/edn/libedn.c: Created.
* src/janne_complex/Makefile.am: Created.
* src/janne_complex/Makefile.in: Created.
* src/janne_complex/libjanne_complex.c: Created.
* src/matmult-int/Makefile.am: Created.
* src/matmult-int/Makefile.in: Created.
* src/matmult-int/matmult-int.c: Created.
* src/minver/Makefile.am: Created.
* src/minver/Makefile.in: Created.
* src/minver/libminver.c: Created.
* src/nbody/Makefile.am: Created.
* src/nbody/Makefile.in: Created.
* src/nbody/nbody.c: Created.
* src/nettle-aes/Makefile.am: Created.
* src/nettle-aes/Makefile.in: Created.
* src/nettle-aes/nettle-aes.c: Created.
* src/nettle-sha256/Makefile.am: Created.
* src/nettle-sha256/Makefile.in: Created.
* src/nettle-sha256/nettle-sha256.c: Created.
* src/nsichneu/Makefile.am: Created.
* src/nsichneu/Makefile.in: Created.
* src/nsichneu/libnsichneu.c: Created.
* src/picojpeg/Makefile.am: Created.
* src/picojpeg/Makefile.in: Created.
* src/picojpeg/libpicojpeg.c: Created.
* src/picojpeg/picojpeg.h: Created.
* src/picojpeg/picojpeg_test.c: Created.
* src/qrduino/Makefile.am: Created.
* src/qrduino/Makefile.in: Created.
* src/qrduino/ecctable.h: Created.
* src/qrduino/qrbits.h: Created.
* src/qrduino/qrencode.c: Created.
* src/qrduino/qrencode.h: Created.
* src/qrduino/qrframe.c: Created.
* src/qrduino/qrtest.c: Created.
* src/sglib-arrayquicksort/Makefile.am: Created.
* src/sglib-arrayquicksort/Makefile.in: Created.
* src/sglib-arrayquicksort/arrayquicksort.c: Created.
* src/sglib-arrayquicksort/sglib.h: Created.
* src/sglib-dllist/Makefile.am: Created.
* src/sglib-dllist/Makefile.in: Created.
* src/sglib-dllist/dllist.c: Created.
* src/sglib-dllist/sglib.h: Created.
* src/sglib-hashtable/Makefile.am: Created.
* src/sglib-hashtable/Makefile.in: Created.
* src/sglib-hashtable/hashtable.c: Created.
* src/sglib-hashtable/sglib.h: Created.
* src/sglib-queue/Makefile.am: Created.
* src/sglib-queue/Makefile.in: Created.
* src/sglib-queue/queue.c: Created.
* src/sglib-queue/sglib.h: Created.
* src/sglib-rbtree/Makefile.am: Created.
* src/sglib-rbtree/Makefile.in: Created.
* src/sglib-rbtree/rbtree.c: Created.
* src/sglib-rbtree/sglib.h: Created.
* src/slre/Makefile.am: Created.
* src/slre/Makefile.in: Created.
* src/slre/libslre.c: Created.
* src/slre/slre.h: Created.
* src/st/Makefile.am: Created.
* src/st/Makefile.in: Created.
* src/st/libst.c: Created.
* src/statemate/Makefile.am: Created.
* src/statemate/Makefile.in: Created.
* src/statemate/libstatemate.c: Created.
* src/tarai/Makefile.am: Created.
* src/tarai/Makefile.in: Created.
* src/tarai/libtarai.c: Created.
* src/ud/Makefile.am: Created.
* src/ud/Makefile.in: Created.
* src/ud/libud.c: Created.
* src/wikisort/Makefile.am: Created.
* src/wikisort/Makefile.in: Created.
* src/wikisort/libwikisort.c: Created.
* support/Makefile.am: Created.
* support/Makefile.in: Created.
* support/arc-millicode.S: Created.
* support/beebsc.c: Created.
* support/beebsc.h: Created.
* support/board.c: Created.
* support/chip.c: Created.
* support/dummy-crt0.c: Created.
* support/dummy-libc.c: Created.
* support/dummy-libgcc.c: Created.
* support/dummy-libm.c: Created.
* support/main.c: Created.
* support/support.h: Created.