Add wasm tacle-bench targets
This commit is contained in:
40
targets/wasm-tacle/test/duff/changeLog.txt
Executable file
40
targets/wasm-tacle/test/duff/changeLog.txt
Executable file
@ -0,0 +1,40 @@
|
||||
File: duff.c
|
||||
Original provenience: Mälardalen benchmark suite,
|
||||
ww.mrtc.mdh.se/projects/wcet/wcet_bench/duff/duff.c
|
||||
|
||||
|
||||
2015-12-21:
|
||||
- Susbstituted #define ARRAYSIZE 100
|
||||
- Susbstituted #define INVOCATION_COUNT 43
|
||||
- Renamed each function FUNC to duff_FUNC
|
||||
- Changed the order of parameters in the functio call
|
||||
duff_copy( duff_target, duff_source, 43 ). Original version was not working.
|
||||
- Added functions duff_init, duff_return and main
|
||||
- Added forward declarations of all functions before the declarations of global
|
||||
variables
|
||||
- Used duff_target[0] as the return value
|
||||
- Re-ordered functions to fit template-order
|
||||
- Applied code formatting according to the following rules
|
||||
(incomplete, to be discussed; I basically used astyle with the attached
|
||||
options file):
|
||||
- Lines shall not be wider than 80 characters; whenever possible, appropriate
|
||||
line breaks shall be inserted to keep lines below 80 characters
|
||||
- Indentation is done using whitespaces only, no tabs. Code is indented by
|
||||
two whitespaces
|
||||
- Two empty lines are put between any two functions
|
||||
- In non-empty lists or index expressions, opening '(' and '[' are followed by
|
||||
one whitespace, closing ')' and ']' are preceded by one whitespace
|
||||
- In comma- or colon-separated argument lists, one whitespace is put after
|
||||
each comma/colon
|
||||
- Names of functions and global variables all start with a benchmark-specific
|
||||
prefix (here: st_) followed by lowercase letter (e.g., st_square)
|
||||
- For pointer types, one whitespace is put before the '*'
|
||||
- Operators within expressions shall be preceded and followed by one
|
||||
whitespace
|
||||
- Code of then- and else-parts of if-then-else statements shall be put in
|
||||
separate lines, not in the same lines as the if-condition or the keyword
|
||||
"else"
|
||||
- Opening braces '{' denoting the beginning of code for some if-else or loop
|
||||
body shall be put at the end of the same line where the keywords "if",
|
||||
"else", "for", "while" etc. occur
|
||||
- Added general TACLeBench header to beginning of source code
|
||||
Reference in New Issue
Block a user