Hello;
Any possibility of replacing use of the keyword "volatile" in the benchmarks with memory references instead ?
It appears the keyword was artificially added, by the benchmark team, to prevent compilers from optimizing away parts of the benchmark.
Replacing it with some memory references (E.g. mem[x] = (used to be volatile variable reference) ... (used to be volatile variable) = mem[x])
preserves the benchmark team's desire to retain the functionality, but also allows the compiler to work with the code, doing its standard optimizations.
programs having volatile include : libnsichneu, mont64, picojpeg, sglib-combined, slre, ud
Thx