-
Notifications
You must be signed in to change notification settings - Fork 1
/
changelog.txt
1950 lines (1386 loc) · 71.1 KB
/
changelog.txt
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
/**
@file
$RCSfile: changelog.txt,v $
@brief Overview of developer level changes to Test Harness and makefile build system.
@author Rick Foos, ECL, LLC
CVS : $Revision: 1.2 $
$Date: 2006/03/09 17:30:41 $
$Author: rick $
@note This file has some minor formatting additions for ECL internal documentation.
It is readable as text, this is just an explaination for the extra characters.
@remark Release Procedure for changelog:
-# Generate as part of harness documentation.
-# edit changelog.html in dreamweaver.
-# Process file with clean up tags, \<a\>.
-# Save and move to /release/v2/eembc2 directory for packaging.
@verbatim
Copyright (c) 1998-2005 by the EDN Embedded Microprocessor
Benchmark Consortium (EEMBC), Inc. All Rights Reserved.
@endverbatim
*/
/** @page changelog Change Log
@addindex changelog Change Log
@section V2_0_ORC5 V2_0_ORC5
- Office Automation Release Candidate 5
@section V2_0_0_B17 V2_0_0_B17
- Office Automation Release Candidate 5
The code under this version control tag is released is 2.0OCR5 on the
EEMBC web site.
- GCC 4.0.2 Warning. The __USE_MISC define in features.h can cause recursive
conflicts for the types ulong, ushort, and uint. Change the cooresponding
NEED_xxx variables in thconfig.h. In general, the NEED_ulong will go away.
Example code from sys/types.h:
@code
#ifdef __USE_MISC
/* Old compatibility names for C types. */
typedef unsigned long int ulong;
typedef unsigned short int ushort;
typedef unsigned int uint;
#endif
@endcode
- Remove test cmyk driver test files.
- office/runv2x86.mak
- Remove from test jig.
- office/gs8/jasper-1.701.0/src/: Makefile.in, appl/Makefile,
libjasper/include/jasper/jas_config.h,
libjasper/include/jasper/jas_config.h.in
- GCC 4.01 Compiler Test Jig
- office/gs8/jasper-1.701.0/autogen.sh
- GCC 4.0.2-8 Compiler Test Jig
- office/gs8/jasper-1.701.0/: Makefile, Makefile.am, Makefile.in,
aclocal.m4, config.log, config.status, configure, libtool,
src/Makefile, src/Makefile.in, src/appl/Makefile,
src/appl/Makefile.am, src/appl/Makefile.in,
src/libjasper/Makefile, src/libjasper/Makefile.am,
src/libjasper/Makefile.in, src/libjasper/base/Makefile,
src/libjasper/base/Makefile.am, src/libjasper/base/Makefile.in,
src/libjasper/bmp/Makefile, src/libjasper/bmp/Makefile.am,
src/libjasper/bmp/Makefile.in, src/libjasper/include/Makefile,
src/libjasper/include/Makefile.in,
src/libjasper/include/jasper/Makefile,
src/libjasper/include/jasper/Makefile.in,
src/libjasper/jp2/Makefile, src/libjasper/jp2/Makefile.am,
src/libjasper/jp2/Makefile.in, src/libjasper/jpc/Makefile,
src/libjasper/jpc/Makefile.am, src/libjasper/jpc/Makefile.in,
src/libjasper/jpg/Makefile, src/libjasper/jpg/Makefile.am,
src/libjasper/jpg/Makefile.in, src/libjasper/mif/Makefile,
src/libjasper/mif/Makefile.am, src/libjasper/mif/Makefile.in,
src/libjasper/pgx/Makefile, src/libjasper/pgx/Makefile.am,
src/libjasper/pgx/Makefile.in, src/libjasper/pnm/Makefile,
src/libjasper/pnm/Makefile.am, src/libjasper/pnm/Makefile.in,
src/libjasper/ras/Makefile, src/libjasper/ras/Makefile.am,
src/libjasper/ras/Makefile.in, src/msvc/Makefile,
src/msvc/Makefile.in
- CVS eol verification.
- techtag/th/src/thstdlib.h
- Handle automake errors better for end user
- techtag/util/psnr/autoconf.sh, util/psnr/autoconf.sh
- Older automake doesn't automatically include SUBDIR in compiler include.
- techtag/util/psnr/Makefile.am, util/psnr/Makefile.am
- Capitalize ERROR string so consistent grep key can be used
against all log files.
- techtag/util/awk/extractpsnr.awk, util/awk/extractpsnr.awk
- Add install, uninstall rules. Add error checks so that make install doesn't fail blocking psnr build.
- techtag/util/psnr/dox/Makefile.am, util/psnr/dox/Makefile.am
- Add support for quoted strings to check_compiler rule.
- techtag/util/make/makefile, util/make/makefile
- Add host debug script to generate Ghostscript parms for debug output.
- office/gs8-gdb.sh
- Ghostscript GPROF profile accumulation scripts.
- techtag/util/tchain/gprof-accum.awk,
techtag/util/tchain/gprof-accum.sh,
techtag/util/tchain/gprof-key.sh,
techtag/util/tchain/gprof-sort.sh, util/tchain/gprof-accum.awk,
util/tchain/gprof-accum.sh, util/tchain/gprof-key.sh,
util/tchain/gprof-sort.sh
- Initial add for RC5 updates.
- doc/PortingGuideAndReleaseNotes.rtf
- Documentation update.
- techtag/util/perl/cvs2cl.html, util/perl/cvs2cl.html
- Clarify the logic around thstdint.h include path.
- office/gs8/src/stdint_.h
- Start updates from RC4, and add RC5.
- changelog.txt
- First version scripts to categorize gprof data from Ghostscript.
- techtag/util/tchain/gprof-key.sh,
techtag/util/tchain/gprof-sort.sh, util/tchain/gprof-key.sh,
util/tchain/gprof-sort.sh
- Route both stderr and stdout to results file. Some versions route printf's to stderr.
- techtag/util/make/gdb.sh, util/make/gdb.sh
- Restore quoted string to build for tools directory.
- techtag/util/make/vc.mak, util/make/vc.mak
- Add flag for split blksize/blkcnt.
- techtag/util/make/gccppc.mak, util/make/gccppc.mak
- Add ARM (gnuarm.org) toolchain file for gcc builds.
- techtag/util/make/gccarm.mak, util/make/gccarm.mak
- Convert cd;make to make -C.
- techtag/util/makefile, util/makefile
- Split e_blksize and e_blkcnt from autoconf defines, some compilers define one and not the other. The stat structure options for blksize and blkcnt were split into two defines. One compiler was found that implemented one without the other.
If you needed to modify the blksize define before, you will also need to modify the blkcnt define. If you were using defaults, there is no porting change required.
- techtag/: th/x86/al/thconfig.h, th/x86/al/thtypes.h,
th_lite/x86/al/thconfig.h, th_lite/x86/al/thtypes.h
- Add test files from Shay Gal-On.
- office/: gs8/examples/3dcolor.ps, gs8/examples/fractal-fern.ps,
runv2x86.mak
- Remove makerule warning found in testing.
- office/: depgen_gcc.cml, depgen_vc.cml
- Modify workspace for PSNR move to utilities.
- office/officev2.dsw
- techtag/util/c/win32/uudecode.dsp, util/c/win32/uudecode.dsp:
Update from PSNR porting to MSVC.
- Force EXEEXT to .exe for EEMBC compatibility.
- techtag/util/psnr/Makefile.am, util/psnr/Makefile.am
- Allow for compilers without O_BINARY.
- techtag/util/psnr/libtiff/tif_open.c,
util/psnr/libtiff/tif_open.c
- Full working tiffg4 version, modified psnr output to add more single file types.
- techtag/util/psnr/Makefile.am, techtag/util/psnr/psnr.c,
techtag/util/psnr/tiffcmp.c, techtag/util/psnr/dox/Doxyfile.in,
techtag/util/psnr/dox/Makefile.am,
techtag/util/psnr/dox/index.dox, util/psnr/Makefile.am,
util/psnr/psnr.c, util/psnr/tiffcmp.c, util/psnr/dox/Doxyfile.in,
util/psnr/dox/Makefile.am, util/psnr/dox/index.dox
- First Portable revision, with installed documentation, and MSVC/Windows compatibility. EEMBC Ignore Data/Time differences.
- techtag/util/psnr/Makefile.am, techtag/util/psnr/autoconf.sh,
techtag/util/psnr/configure.ac, techtag/util/psnr/mkproto.awk,
techtag/util/psnr/psnr.c, techtag/util/psnr/tiffcmp.c,
util/psnr/Makefile.am, util/psnr/autoconf.sh,
util/psnr/configure.ac, util/psnr/mkproto.awk, util/psnr/psnr.c,
util/psnr/tiffcmp.c, techtag/util/psnr/dox/Doxyfile.in,
techtag/util/psnr/dox/Makefile.am,
techtag/util/psnr/libtiff/tif_open.c,
techtag/util/psnr/libtiff/tif_unix.c,
techtag/util/psnr/libtiff/tiff.h,
techtag/util/psnr/win32/libtiff.dsp,
techtag/util/psnr/win32/psnr.dsp,
techtag/util/psnr/win32/tiffcmp.dsp, util/psnr/dox/Doxyfile.in,
util/psnr/dox/Makefile.am, util/psnr/libtiff/tif_open.c,
util/psnr/libtiff/tif_unix.c, util/psnr/libtiff/tiff.h,
util/psnr/win32/libtiff.dsp, util/psnr/win32/psnr.dsp,
util/psnr/win32/tiffcmp.dsp
- Add extra dependencies for psnr.h, and libtiff/g3states.h
- techtag/util/psnr/Makefile.am, util/psnr/Makefile.am,
techtag/util/psnr/libtiff/Makefile.am,
util/psnr/libtiff/Makefile.am
- Remove office/psnr from techtag.
- makefile
- Add rule for bin/psnr.
- techtag/util/makefile, util/makefile
- Add autconf to optionally regenerate Makefile. Autoreconf recommended.
- techtag/util/psnr/autoconf.sh, util/psnr/autoconf.sh
- Rename to standard and update to Doxygen 1.4.4.
- office/gs8/dox/DoxyFile
- Updates for standalone psnr run, and new util location of psnr.
- office/: depgenv2_host.cml, officev2.dsw, resultsv2x86.mak
- Add psnr.exe to build.
- techtag/util/makefile, util/makefile
- Complete Autoconf conversion and install.
- techtag/util/psnr/Makefile.am, techtag/util/psnr/configure.ac,
techtag/util/psnr/proto.h, techtag/util/psnr/dox/Doxyfile.in,
techtag/util/psnr/dox/Makefile.am,
techtag/util/psnr/dox/autoconf.sh,
techtag/util/psnr/dox/configure.ac, util/psnr/Makefile.am,
util/psnr/configure.ac, util/psnr/proto.h,
util/psnr/dox/Doxyfile.in, util/psnr/dox/Makefile.am,
util/psnr/dox/autoconf.sh, util/psnr/dox/configure.ac
- Convert to Automake noinst library.
- techtag/util/psnr/libtiff/Makefile.am,
techtag/util/psnr/libtiff/g3states.h,
util/psnr/libtiff/Makefile.am, util/psnr/libtiff/g3states.h
- Convert -occ option to GCC compatible.
- techtag/util/perl/makerule.pl, util/perl/makerule.pl
- Initial add of psnr with libtiff
- techtag/util/psnr/mkproto.awk, techtag/util/psnr/mkproto.sh,
techtag/util/psnr/proto.h, techtag/util/psnr/psnr.c,
techtag/util/psnr/tiffcmp.c, techtag/util/psnr/dox/Doxyfile.in,
techtag/util/psnr/dox/Makefile.am,
techtag/util/psnr/dox/autoconf.sh,
techtag/util/psnr/dox/configure.ac,
techtag/util/psnr/dox/index.dox,
techtag/util/psnr/libtiff/Makefile.aix,
techtag/util/psnr/libtiff/Makefile.alpha,
techtag/util/psnr/libtiff/Makefile.apollo,
techtag/util/psnr/libtiff/Makefile.gcc,
techtag/util/psnr/libtiff/Makefile.hpux,
techtag/util/psnr/libtiff/Makefile.lcc,
techtag/util/psnr/libtiff/Makefile.mpw,
techtag/util/psnr/libtiff/Makefile.next,
techtag/util/psnr/libtiff/Makefile.sco,
techtag/util/psnr/libtiff/Makefile.sgi,
techtag/util/psnr/libtiff/Makefile.sun,
techtag/util/psnr/libtiff/README,
techtag/util/psnr/libtiff/g3states.h, util/psnr/mkproto.awk,
util/psnr/mkproto.sh, util/psnr/proto.h, util/psnr/psnr.c,
util/psnr/tiffcmp.c, util/psnr/dox/Doxyfile.in,
util/psnr/dox/Makefile.am, util/psnr/dox/autoconf.sh,
util/psnr/dox/configure.ac, util/psnr/dox/index.dox,
util/psnr/libtiff/Makefile.aix, util/psnr/libtiff/Makefile.alpha,
util/psnr/libtiff/Makefile.apollo,
util/psnr/libtiff/Makefile.gcc, util/psnr/libtiff/Makefile.hpux,
util/psnr/libtiff/Makefile.lcc, util/psnr/libtiff/Makefile.mpw,
util/psnr/libtiff/Makefile.next, util/psnr/libtiff/Makefile.sco,
util/psnr/libtiff/Makefile.sgi, util/psnr/libtiff/Makefile.sun,
util/psnr/libtiff/README, util/psnr/libtiff/g3states.h,
techtag/util/psnr/libtiff/mkg3states.c,
techtag/util/psnr/libtiff/mkspans.c,
techtag/util/psnr/libtiff/t4.h,
techtag/util/psnr/libtiff/tif_apple.c,
techtag/util/psnr/libtiff/tif_atari.c,
techtag/util/psnr/libtiff/tif_aux.c,
techtag/util/psnr/libtiff/tif_ccittrle.c,
techtag/util/psnr/libtiff/tif_close.c,
techtag/util/psnr/libtiff/tif_compress.c,
techtag/util/psnr/libtiff/tif_dir.c,
techtag/util/psnr/libtiff/tif_dirinfo.c,
techtag/util/psnr/libtiff/tif_dirread.c,
techtag/util/psnr/libtiff/tif_dirwrite.c,
techtag/util/psnr/libtiff/tif_dumpmode.c,
techtag/util/psnr/libtiff/tif_error.c,
techtag/util/psnr/libtiff/tif_fax3.c,
techtag/util/psnr/libtiff/tif_fax3.h,
techtag/util/psnr/libtiff/tif_fax4.c,
techtag/util/psnr/libtiff/tif_flush.c,
techtag/util/psnr/libtiff/tif_getimage.c,
techtag/util/psnr/libtiff/tif_jpeg.c,
techtag/util/psnr/libtiff/tif_lzw.c,
techtag/util/psnr/libtiff/tif_msdos.c,
techtag/util/psnr/libtiff/tif_next.c,
techtag/util/psnr/libtiff/tif_open.c,
techtag/util/psnr/libtiff/tif_packbits.c,
techtag/util/psnr/libtiff/tif_print.c,
techtag/util/psnr/libtiff/tif_read.c,
techtag/util/psnr/libtiff/tif_strip.c,
techtag/util/psnr/libtiff/tif_swab.c,
techtag/util/psnr/libtiff/tif_thunder.c,
techtag/util/psnr/libtiff/tif_tile.c,
techtag/util/psnr/libtiff/tif_unix.c,
techtag/util/psnr/libtiff/tif_version.c,
techtag/util/psnr/libtiff/tif_vms.c,
techtag/util/psnr/libtiff/tif_warning.c,
techtag/util/psnr/libtiff/tif_write.c,
techtag/util/psnr/libtiff/tiff.h,
techtag/util/psnr/libtiff/tiffcomp.h,
techtag/util/psnr/libtiff/tiffconf.h,
techtag/util/psnr/libtiff/tiffio.h,
techtag/util/psnr/libtiff/tiffiop.h,
techtag/util/psnr/win32/psnr.dsp, util/psnr/libtiff/mkg3states.c,
util/psnr/libtiff/mkspans.c, util/psnr/libtiff/t4.h,
util/psnr/libtiff/tif_apple.c, util/psnr/libtiff/tif_atari.c,
util/psnr/libtiff/tif_aux.c, util/psnr/libtiff/tif_ccittrle.c,
util/psnr/libtiff/tif_close.c, util/psnr/libtiff/tif_compress.c,
util/psnr/libtiff/tif_dir.c, util/psnr/libtiff/tif_dirinfo.c,
util/psnr/libtiff/tif_dirread.c,
util/psnr/libtiff/tif_dirwrite.c,
util/psnr/libtiff/tif_dumpmode.c, util/psnr/libtiff/tif_error.c,
util/psnr/libtiff/tif_fax3.c, util/psnr/libtiff/tif_fax3.h,
util/psnr/libtiff/tif_fax4.c, util/psnr/libtiff/tif_flush.c,
util/psnr/libtiff/tif_getimage.c, util/psnr/libtiff/tif_jpeg.c,
util/psnr/libtiff/tif_lzw.c, util/psnr/libtiff/tif_msdos.c,
util/psnr/libtiff/tif_next.c, util/psnr/libtiff/tif_open.c,
util/psnr/libtiff/tif_packbits.c, util/psnr/libtiff/tif_print.c,
util/psnr/libtiff/tif_read.c, util/psnr/libtiff/tif_strip.c,
util/psnr/libtiff/tif_swab.c, util/psnr/libtiff/tif_thunder.c,
util/psnr/libtiff/tif_tile.c, util/psnr/libtiff/tif_unix.c,
util/psnr/libtiff/tif_version.c, util/psnr/libtiff/tif_vms.c,
util/psnr/libtiff/tif_warning.c, util/psnr/libtiff/tif_write.c,
util/psnr/libtiff/tiff.h, util/psnr/libtiff/tiffcomp.h,
util/psnr/libtiff/tiffconf.h, util/psnr/libtiff/tiffio.h,
util/psnr/libtiff/tiffiop.h, util/psnr/win32/psnr.dsp
- Create example toolchain file for Time and PSNR generation without object and exe files.
- techtag/util/make/psnr.mak.example, util/make/psnr.mak.example
@section V2_0_0_B16 V2_0_0_B16
- Office Automation Release Candidate 4
The code under this version control tag is released is 2.0OCR4 on the
EEMBC web site.
@section V2_0_0_B15 V2_0_0_B15
- Office Automation Release Candidate 3
The code under this version control tag is released is 2.0OCR3 on the
EEMBC web site.
- thal.c : Add al_power_start, al_power_finish
Add PowerTAG calls to signal start and signal finish. These are disabled,
and outside the timing loop if EE_POWERTAG is FALSE (default).
Porting: For power measurement, a 20ms delay routine is required, and code
to level trigger a GPIO pin for NI Power measurement system.
- psnr.c : Add and enhance psnr for office.
@section V2_0_0_B14 V2_0_0_B14
- Office Automation Release Candidate 2
The code under this version control tag is released is 2.0OCR2 on the
EEMBC web site.
- makefile : subcomittee makefile cheader: target adds a make for deleted
depgen.cml files.
When building new example files, or other dependents, cheader.sh
deletes the targets.mak files if there are any changes. This forces
the makefile to regerate them from a makerule run. This was not
triggered from the cheader step, and required a second make invocation
to pick this up when targets were initially included. An Additional make
step was included to generate new targets files.
- thstat.h Warning, the redefines to sys/stat.h defines cause compiler
warnings, but changing to undef before define caused compilation errors in
gsdevio.h.
- pointio.c : Bezier V2 change hardcoded e_f64 declarations to Scalar
This correctly reflects the return code. Some platforms do not have 64 bit
floats, and this allows the OOB definitions to compile correctly.
- thcfg.h: Change default TARGET_TIMER_INTRUSIVE to false
Most platforms have non-intrusive timers, and this should be false by
default -- ADI
- thal.c: Remove heap.h include, fix vnsprintf
fix vnsprintf string terminator problem.
al_main, define i for arg processing.
- thconfig.h doscan.c : Add definition HAVE_CTYPE_H
- thconfig.h thstring.h : Add definition HAVE_DECL_STRDUP
Avoid extern returning int warnings on some compilers.
thal.c will usually point out this problem.
- thconfig.h thunistd.h : Add definition HAVE_DECL_SETMODE
Some compilers have an existing setmode declaration that interferes with the
default.
- th th_lite makefile : Change standard header for documentation.
Documentation cleanup, and standard header changes for future Version 2
projects. Makefile modified to pick up available documentation
directories with standard files and formats. This provides automation,
and limits scope to relevant projects.
Porting: Impact, None.
- th_lite/x86/al/thal.c : al_main, add trap for -autogo in argv.
Consumer filters fail in th_lite if -autogo is passed by mistake. TH Regular strips
these arguments before benchmark execution. TH Lite declares argv as const,
so a modification to allow portable argument deletion involves a change to
all benchmarks.
Instead, a simple strcmp detector, with warning message. The text will include
Failure: so that awk script will report error in run.
Impact: None, porting enhancement.
- runx86.mak : Add RUN_LASTOUT to make run targets
A simulator was found that displayed all console output to standard error.
The result was that all results files were empty, and scores not collected.
A RUN_LASTOUT variable was added after the stdout redirection to the log file
in all run steps. The definition of this variable is in the toolchain file.
To capture both stdout and stderr to the run log file, set:
@code
RUN_LASTOUT="2\>&1"
@endcode
Impact: None. Porting enhancement.
- thlib.c : Change createvalist return to *valist.
the new createvalist routine is for a portable method of passing valist.
The return of valist is sometimes an array that some compielers do not support.
The routine, and all references were converted to pointer returns, and the
args valist is now a static variable.
Impact: None. Portability.
- fileio.c : Fix single character buffer overrun.
In ee_fname_resolver, for empty path names tmpbuf incremented past the end
of string. Added a test for empty string before increment.
One compiler failed in mp2encode data4, data5 because of value after end of string.
This, combined with Valgrind fix clears all problems related to empty path names.
Impact: None. Bug fix.
- thfl.c : Fix Valgrind reports from Ghostscript run.
The epn routine returns a malloc'ed path section of a file. When there is no path,
a calloc(1,1) was used to create a null string. Other routines compared this string
to single characters
using if (string == ':'). The ':' is interpreted as a two byte integer. Changing this to
calloc(sizeof(int),1) corrects the Valgrind problem for all compilers.
All compilers correctly executed this comparison, this is ONLY for Valgrind.
Impact: None.
- thconfig.h : Add autoconf, and th NEED flags.
For newlib, and toolchains without new functions:
NEED_LINK (tied to unlink without flag), HAVE_WRITE, HAVE_LSEEK, were added.
Impact: Porting Options
- TH Regular / TH Lite : Added th_read, th_write, th_lseek
This removes stubs in libjasper jas_stream.c. It will clarify port of compilers
that have streams calls, but not the older file calls.
Three new thconfig settings are added: HAVE_READ, HAVE_WRITE, and HAVE_LSEEK
Impact: Porting, Minimal
@section V2_0_0_B13 V2_0_0_B13
- Office Automation Release Candidate 1
- thfcntl.h : Added redirector for fcntl.h
Some compilers do not have fcntl.h, and this provides the needed definitions
to compile Ghostscript.
Impact: Porting.
- thal.c: HOST_EXAMPLE_CODE is no longer default enabled.
Enough people are using the examples for embedded that it did not make sense to enable this by default.
The ifdef logic was changed so that thconfig.h definitions controlled the relevant code blocks.
For example, the clock function is still used for timing if HAVE_CLOCK is true.
Impact: None. Enhancement for porting.
- fileio.c : Added ee_gets
Will need to add th_gets to strip eol characters for text and mpeg2enc bmarks.
- cinit.sh : Enhance init_single.c for unified dataset initialization.
cheader.sh generates the file [libname]_single.c. Since Cheader contains the DATA declaration,
and the filename, this information can now be used by the benchmarks for opening files with
USE_TH_FILEIO true or false.
The benchmark can get the associated file name by:\n
extern char *DATANAME;\n
The benchmark can load this file into the library by calling:\n
init_single();\n
For makefile and IDE builds, the [libname]_single.c file is included into the project.
The library builds can exclude this file, or allow multiple symbol definitions. The
object file from the benchmark will always take precedence.
In the EEMBC build, the DATA_x definition is always passed to all files. The default value
in \<libname\>_init.c is DATA_1.
A log file is created with the DATA_x to Filename mapping: [libname].log
Impact: None. Enhancement
- psnr.sh : Fix for sed 4.1.2
When using | as or function, | cannot be used as seperator.
dkey functions extraction data and psnr from filenames stopped working.
Impact: None. Portability.
- thal.c, thconfig.h: Added vsnprintf
vsnprintf is not ansi or posix but is used by Ghostscript. Two flags HAVE_VSPRINTF, and
HAVE_VNSPRINTF were added. If the tool chain does not have vsnprintf, but does have vsprintf
the vsnprinf function is implemented in thal.c.
Impact: Minimal Porting. New function support for vsnprintf.
- th_lite thlib.c: Bug 277: al_exit called incorrectly from __assertfail and __fatal.
Changed al_exit calls to th_exit calls, similar to TH Regular calls to t_exit.
Impact: Bug Fix. Only impacts HAVE_ASSERT_H=0, and NDEBUG compilation. All other cases
unchanged.
- thtypes.h: Add additional option for eVC definitions of FILE types.
eVC differs from MSVC when defining off_t, ino_t, and fsize_t. Add condition for eVC to allow
thtypes.h to define and redirect these definitions.
Impact: None. Porting enhancement.
- threent.h: If not defined in stdio.h, Add definition for PATH_MAX and L_tmpname.
Some compilers, in some header file recursions do not define PATH_MAX or L_tmpname. If this
condition occurs, errors were found upon threent.h include. These are defined to default
values if they do not exist.
- Impact: None. Porting enhancement.
- doscan.c, thconfig.h: Added NEED_WCHAR_T
Some tool chain header files do not define wchar_t, needed by some parts of doscan processing.
A new tool chain option was added to allow this to be typedef'ed inside of doscan. By default,
this is a short int (two characters).
Impact: Minimal. Porting enhancement new configuration option.
- fileio.c, thstdio.h, thunistd.h: Add th_open call, and re-direction.
While this is not required for linking the ghostscript base, some of the underlying libraries
called open which produced link warnings.
Original redirection in thstdio.h was incorrect. open and close moved to thunistd.h.
Impact: None. Warning message removal.
- office/gs8 Replaced \<assert.h\> includes with thassert.h
Tool chains which do not support assert.h failed in compilation. Since there is no standard
include set for this (most compilers have assert.h), this file was included at will, particularly
in the jasper routines.
The easiest modification was a conversion to thassert.h which handles all cases.
Impact: None. Porting enhancement.
@section V2_0_0_B12 V2_0_0_B12
- Version 2 Office Automation Beta
- office/gs8/eembc.sh, Makefile.in, configure.ac: Notes and example added for cross-compilation.
For development and porting, an enhanced autoconf build is available. This is a step between
the build method of the original AFPL code base, and the EEMBC build.
Cross-compilation is support in Autoconf is not straightforward and requires and the
Ghostscript build requires some non-standard options for this to work. An example
of how to cross-compile Ghostscript is included.
Impact: None. Porting enhancement.
- thconfig.h: Added uint64 examples for Solaris.
Solaris GCC 3.3.x did not define the int64_t or uint64_t. Solaris GCC 3.4 does define
these types. Since this is a bug, and the bug is fixed in 3.4, a note was included
to describe what to do in this case.
This is also an additional example of how to handle data types in thstdint.h. These
data types are very important to Ghostscript compilation, and the definitions need
to be correct. The thstdint.h definitions reflect this, and numerous compiler errors
are produced if the definition set is not correct. This significantly saves on run
time debugging down in Ghostscript to find data type conflicts.
Impact: Porting. Solaris GCC specifically, but example applies to any compiler that
does not have stdint.h.
- thtime.h, thal.c: Added gettimeofday to re-direction.
This routine is called out in several locations. Added to harness re-direction.
Impact: Porting. Set HAVE_GETTIMEOFDAY in thconfig.h depending on compiler
capabilities.
- iterationsv2x86.mak: Compiler options for GCC
Specific compiler options are required to execute GCC Ghostscript benchmarks
on Linux and Cygwin (Windows). Solaris does not have this issue.
These options are defined in the Iterations file to be only applicable
to Office. The WARNING_OPTIONS define in util/make/gcc.mak is
OVERRIDDEN by this definition. If you need to change compiler options,
you need to do this in the Office Iterations file.
Impact: Porting. Setting compiler options outside the Tool Chain file.
- office/gs8/src/gsline.c: Floating Point Warning for Ghostscript.
Ghostscript contains some custom roundoff routines for floating point numbers.
These are difficult to compile, and simulate in a cross environment.
When the problem occurs, random numbers are returned in the affected variables
so it is difficult to tell whether this is a compiler problem, or simulator problem.
In the original code base, there was no windback of errors explaining this
problem, a segmentation fault was taken early in the initialization.
A warning message if this condition is suspected is added, and the
program is allowed to continue. This warning appears as:
@verbatim
Failure: Roundoff error in pgs-\>ctm see update_ctm. gs8/src/gsline.c : 360
xxyy: -2.672140e+154, 0.000000e+00 fabs(xxyy): -2.672202e+154, 3.337611e-308
xyyx: -2.672140e+154, 4.243992e-314 fabs(xyyx): -2.672202e+154, 3.337611e-308
txty: -2.672140e+154, 4.243992e-314 fabs(txty): -2.672202e+154, 3.337611e-308
*** Possible Tool chain porting issue or compiler option ***i
@endverbatim
The terminology (i.e. xxyy) refers to the pgs-\>ctm data structure
element that exhibits this problem in early execution. While the code
corrects the error and returns, the roundoff problem will cause other
failures.
Since this error involved 8 layers of breakpoints to isolate, the warning
message should save anyone involved a good bit of time trying to find this.
Impact: None. Porting advisory for Ghostscript for Cross Compilers and Simulators.
- thtypes.h: Moved from Functional Layer to Adaptation Layer.
There are tool chain dependencies that will require porting. This file no longer re-directs
types to eembc, it takes existing types and uses them to define the standard eembc types.
Impact: Porting. Consolidation of existing definitions into the Adaptation Layer.
Better control of porting.
- thconfig.h: LONG_MAX and CHAR_BIT
If the toolchain does not have limits.h, the harness requires that
LONG_MAX, and CHAR_BIT are defined correctly. This definition
is associated with HAVE_LIMITS_H in thconfig.h.
Impact: Porting. Consolidation of existing definitions into the Adaptation Layer.
Better control of porting.
- thstdint.h: HAVE_48 and HAVE_24 removed.
These are non-standard types, and not used in the benchmarks.
To avoid libc header file recursions, the EEMBC data types default to
those found in stdint.h, or inttypes.h. These types are defined in a number of
locations and are exposed in different header files leading to conflicts.
Redirection to EEMBC data types was removed as there is an established standard.
Impact: Porting. In most cases this will remove any need to define EEMBC data types.
- thtime.h, thconfig.h: Redirection for time.h, sys/time.h
Added configuration options:
HAVE_TIME_H, HAVE_SYS_TIME_H, HAVE_TIME, NEED_TIME
This handles all cases of the time and localtime functions in libc.
The NEED variant is for libc's that do not have a time symbol, or
reference a time symbol based on linker actions.
The internal functions, ee_time, and ee_localtime are implemented in thfl.c.
Impact: Porting. Minor, evaluate tool chain's time and localtime capability.
- fileio.c: ee_link function.
A function for link (to go with unlink) has been added.
This is provided to resolve symbols in newlib cross compiler linkage.
The definitions for link and unlink are in thunistd.h.
Impact: Porting, tool chain functions.
- thcfg.h, thconfig.h, thal.c, fileio.c: HAVE_LINK, NEED_LINK
The link function is called and re-directed to the harness.
If your libc has a link function, define HAVE_TIME.
If your libc requires a link symbol internally called, NEED_TIME will
define a function call redirecting this to al_time in the harness.
Impact: Porting, tool chain function.
- thcfg.h, thconfig.h, thal.c, thfl.c: HAVE_TIME, NEED_TIME
The time function is called and re-directed to the harness.
If your libc has a time function, define HAVE_TIME.
If your libc requires a time symbol internally called, NEED_TIME will
define a function call redirecting this to al_time in the harness.
Impact: Porting, tool chain function.
- thcfg.h, thconfig.h, thal.c, thfl.c: HAVE_CLOCK, NEED_CLOCK
The clock function is called and re-directed to the harness.
If your libc has a clock function, define HAVE_CLOCK.
If your libc requires a clock symbol internally called, NEED_CLOCK will
define a function call redirecting this to al_clock in the harness.
Impact: Porting, tool chain function.
- util/make/gcc.mak: Compiler Option modified.
Remove -W option. Fails in gs8/src/gdevpng.c
with thstdint.h conflicting with types.h.
The -W option is not clear on operation, so it was removed globally.
Impact: Porting, Review tool chain file compiler options.
- depgen.cml: All depgen files modified to excluded new re-direct files.
The makerule program prints non-fatal errors when header files are not found.
The new redirection headers were added to these files.
Impact: Porting If you have created new depgen files, you should review
the gcc file and apply the appropriate updtates.
- crc.c, thlib.h: th_crcbuffer Compute crc16 of a buffer.
A CRC is calculated of an input buffer.
Multiple buffer CRC checking is also supported for streaming
output data.
For a single buffer the input CRC MUST be 0, and the final
CRC result is returned.
In the muliple buffer case, the input CRC is used as an intermediate
value for calculating the final CRC result.
The first buffer is passed with a inputCRC
of 0 as in the single buffer case. The subsequent buffers are
passed with the CRC result of the previous buffer calculation.
The caller must save the CRC result value and pass it
back in inputCRC for the additional buffers.
The original usage is that this routine is called
after a th_fsize and th_fread of a file into a buffer. The size and
buffer parameters are compatible with th_fsize and th_fread types.
@note A special case where the caller passes a NULL buffer AND size 0
returns 0.
@remark Addressability is not assumed, but the data is assumed to be
unpacked. Packing can be handled by using crc16, or crc32 routines. A
Local fix is allowed. However, it is likely that other dependencies
have already caused the buffer to be unpacked. When porting, You must
ensure that the buffer is packed before applying a local fix. When
calculating CRC's on packed data, you may also have endian issues.
Impact: None. New feature.
- thlib.h, fileio.h: Tool chain incompatibilities.
A new tool chain added for testing had a fatal compile problem
involving overloaded C++ classes with the existing header files. This
problem was identified to be in thlib.h and fileio.h, which define
required harness data structures.
Using the new redirection headers cleared this problem, and increase
the ability to port code to the harness on future tool chains.
-# All new redirection header files correctly wrap declarations in extern "C".
-# thlib.h, fileio.h used externally were replaced by thstdio.h, and other
appropriate headers where problems occured.
-# thlib.h was upgraded to use new redirection files, maintaining a single
definition point for each harness API routine.
Impact: None. Backwards compatible header file changes in some benchmarks that
need to be noted. No code changes required.
- therrno.h: Add re-director for errno.h functions.
Additional porting found references to errno.h. These functions were
previously in fileio.h, but a number of conflicts and workarounds in
porting needed to be in place for this to work.
Including all of fileio.h functions, in code where only errno.h is needed
was not possible without even more workarounds. Splitting these functions
into a format compatible with standard compiler headers allowed porting
to continue.
Impact: None. New feature. References to fileio.h in benchmark code
should be reviewed and therrno.h should be included instead for specific
functionality.
- thstdlib.h: Add re-director for stdlib.h functions.
Malloc functions are re-directed by thmalloc.h, a subset of stdlib.h.
The random number functions also needed external redirection to maintain
backwards compatibility.
A new thstdlib.h file provides this functionality.
Impact: None. New feature.
- thshare.bat: Script to copy shared files between harnesses.
A copy of this file is in the th, and th_lite directories.
The script does a copy of all of the shared files to the "other" harness.
It can be used for porting in the case where you are using the x86 platform
definitions and want to run both regular and lite. It can easily be modified for
other platforms.
Impact: Enhancement. Porting both TH Regular and TH Lite simplified.
- IMPORTANT: Shared source files between TH Regular, and TH Lite.
All of the new header files are identical between TH Regular and TH Lite.
At this point, there are a number of shared source files and with a few
modifications others were included to the shared source file list.
This does NOT mean that they can be compiled into a seperate library. The configuration
and porting information are still required at compile time. This does mean that these
source files can be copied between the harnesses, if necessary, and increases the
functional compatibility between the harnesses in development.
The following files are shared source. M denotes an existing file. A denotes a new
harness file, that is also shared.
@verbatim
M src/crc.c
M src/doscan.c
M src/fileio.c
M src/fileio.h
M src/heap.h
M src/printfe.c
M src/printfe.h
M src/rand.c
M src/ssubs.c
M src/ssubs.h
M src/thal.h
M src/thassert.h
A src/thdirent.h
M src/therror.h
A src/thmalloc.h
A src/threent.h
M src/thstat.h
M src/thstdio.h
A src/thstring.h
A src/thtypes.h
M src/thunistd.h
*A src/thstdlib.h
*A src/therrno.h
M src/thvinfo.h
M src/uuencode.c
M src/uuencode.h
M src/thvinfo.h
*M src/heap.c
M x86/al/dirent_msvc.h
M x86/al/dirent_msvc.c
M x86/al/eembc_dt.h
M x86/al/heapport.h
A x86/al/thconfig.h
A x86/al/thstdint.h
M - Modifications to existing file.
A - New file in Test Harness
* - Added since original note written (description is above this note.)
@endverbatim
Impact: Easier porting to both harness versions.
- depgen.cml: New exclude files added.
The new harness files have been added to all depgen.cml files.
After "-g verify.h", the following files are in place:
thstdint.h, thstat.h, thunistd.h, thdirent.h, thmalloc.h, thconfig.h
Impact: Minor. Porting using new .cml files need to add new harness header files.
- thstdint.h: New file with header file redirection.
This new file is an essential part of porting.
-# Contains all Integer types previously defined in eembc_dt.h.
-# EE_REDIRECT capabilities added.
Impact: Moderate. Required file for porting, all integer type definitions for the
architecture reside here.
- thlib.c: New functions and stat changes.
Impact: None.
- thlib.h: Rewritten for header file redirection.
All new redirection files included to maintain a single point of function definition.
Only harness internal, and non-standard functions remain in thlib.h.
EE_REDIRECT is FALSE inside harness.
Impact: Moderate Review required headers, and determine if a smaller set of new
redirection headers are adequate.
- threent.h: New file
Data types for stdio reside here.
Impact: Minor. Not user modifyable, and not normally included at application level.
- thstat.h: New file with header file redirection
Stat structure and function declarations.
-# struct ee_stat changed to struct th_stat
-# EE_REDIRECT capabilities added
-# Functions and prototypes for stat functions included.
Impact: Review any stat.h includes, and ensure redirection is correct. See thal.h to
review remapping to libc, or harness.
- thstdio.h: Rewritten for this release.
Now can be included inside harness or inside benchmark.
-# Non-stdio functions moved to other files.
-# EE_REDIRECT capabilities added.
-# Breakout of stdio FILE to threent, and dirent data to thdirent.h.
Impact: Minor. Review any new usage of thstdio.h
- thstring.h: New file with header file redirection
Harness functions from string.h.
EE_REDIRECT capabilities added.
Impact: Review any new files for harness supported string functions.
- thtypes.h: New file with header file redirection
Integer type definitions found in stdint.h or inttypes.h mapped to system types.
Impact: Minor. Check for any conflicts. See thstdint.h for porting.
- thunistd.h: New file with header file redirection.
Prototypes and data normally found in unistd.h.
EE_REDIRECT capabilities added.
- uuencode.c, uuencode.h: Moved thlib.h to uuencode.c