Audio (342) Datatype (51) Demo (203) Development (593) Document (22) Driver (99) Emulation (146) Game (992) Graphics (494) Library (113) Network (228) Office (65) Utility (912) Video (69)
Total files: 4329
Full index file Recent index file
Amigans.net OpenAmiga Aminet IntuitionBase
|
***************************************
Sortbench is part of the CPU benchmark suite build for the APOLLO CPU project.
***************************************
Project Homepage
http://www.apollo-core.com/sortbench/
Sortbench is a CPU benchmark.
The test does on purpose not use the fastest possible sort,
but uses an algorithm which stresses certain parts of the CPU.
The testcase stresses the following CPU featues:
1) Data-Cache
2) Branch Prediction / Conditional Code Execution (IF THEN)
3) LooP Performance
4) Memory Hazard Detection
The test does not generate a Hazard.
But the test does mixed read/write operations to the same Data Cache line.
This is a typical behaviour for a program working with the stack.
To run the test please compile like
gcc -o sortbench -O2 sortbench.c
The sourcecode is free to use.
Have fun!
Gunnar von Boehn
|