From 386b7d3366f1359a265da207a9cafa3edf553b64 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 7 Oct 2019 19:13:39 -0400 Subject: Reorganize and commit all the modified TACLeBench code and run scripts --- baseline/source/dijkstra/ChangeLog.txt | 44 ++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 baseline/source/dijkstra/ChangeLog.txt (limited to 'baseline/source/dijkstra/ChangeLog.txt') diff --git a/baseline/source/dijkstra/ChangeLog.txt b/baseline/source/dijkstra/ChangeLog.txt new file mode 100644 index 0000000..f96350b --- /dev/null +++ b/baseline/source/dijkstra/ChangeLog.txt @@ -0,0 +1,44 @@ +File: dijkstra.c +Original provenience: network section of MiBench + +2015-11-30: +- Replaced "NULL" with "0", remove #include of glibc_common.h +- Removed commented code referring to variable "qKill" +- Made ch, i, iPrev, iNode, iCost and iDist local variables +- Stripped (inconsistently applied) Hungarian notation, replaced + prefix "q" with prefix "queue" for global variables, renamed + "next_in" to "queueNext" and "qNew" to "newItem" +- Initialize queueHead statically (like queueCount and queueNext) +- Prefixed all functions and global variables with "dijkstra_", + renaming "dijkstra" to "dijkstra_find" +- Calculate a checksum in dijkstra_main, return its value in new + function dijkstra_return +- Added (empty) function dijkstra_init and a main function +- Reordered functions in source code: initialization- and + return-value-related functions first, followed by algorithm core + functions, followed by main functions +- Added function prototypes +- Applied code formatting with astyle as in the example +- Added general TACLeBench header to beginning of source code + +2016-03-15: +- Return 0 if checksum is as expected, -1 otherwise +- Make all initializations explicit +- Touch input matrix with volatile to rule out optimizations +- Add entrypoint pragma + +2016-06-14: +- Removed cast to make C++ compiler happy + +Files: input.h, input.c +Original provenience: network section of MiBench + +2015-11-30: +- Prefix global variable "AdjMatrix" with "dijkstra_" +- Applied code formatting with astyle as in the example + +File: glibc_common.h +Original provenience: network section of MiBench + +2015-11-30: +- Removed file -- cgit v1.2.2