English
Language : 

AN910 Datasheet, PDF (2/51 Pages) STMicroelectronics – ST7 AND ST9 PERFORMANCE BENCHMARKING
ST7 AND ST9 PERFORMANCE BENCHMARKING
1 OVERVIEW OF THE TEST ROUTINES
Eleven different test routines have been implemented in assembler language.
The first ten routines are oriented at measuring core computing performance. They are
based on known algorithms and represent currently used operations in 8-bit and low-end 16-
bit applications. They mix bit, 8-bit and 16-bit operations as many applications do.
This set of tests is described in Table 1.
Table 1. Test routine overview
Abbreviated name
Full name
Description
Features stressed
sieve
Eratosthenes sieve
find prime numbers ≥ 3 out of 16-bit data computation
8189 elements
bit manipulation
acker(m,n)1)
Ackermann function
make recursive function calls
number of calls depending upon
two parameters (m,n)
function calls
stack use
string
String search
search a 16-byte string in a 128- 8-bit data block manipulation
character array
string manipulation
char
Character search
search a byte in a 40-byte array
8-bit data manipulation
char manipulation
bubble(n)2)
Bubble sort
sort of a one-dimension array of 16-bit data manipulation
n 16-bit integers
integer manipulation
blkmov(n)3)
Block move
move a n-byte block from a 8-bit data block manipulation
place in memory to another
block move
convert
Block translation
translate a 121-byte block in a 8-bit data manipulation
different format
use of a lookup table
16mul
16-bit integer multiplication
multiplication of two unsigned
words giving a 32-bit result
16-bit data computation
integer manipulation
shright
16-bit value right shift
shift a 16-bit value five places to 16-bit data manipulation
the right
bit manipulation
bitsrt
Bit manipulation
set, reset, and test of 3 bits in a
128-bit array
1)
The couple of values used are (m,n)=(3,5) and (m,n)=(3,6)
2)
The values used are n=10 (words) and n=600 (words)
3)
The values used are n=64 (bytes) and n=512 (bytes)
bit computation
bit and 8-bit data manipulation
Another test routine handling a timer interrupt has been used to measure core interrupt
processing performance:
Abbreviated name
Full name
interrupt
Timer interrupt
Description
Features stressed
standard timer input capture or/
and output compare interrupt interrupt processing
service routine
A more precise description of the test routines is available in section 8.
2/51
2