Document Number: AN2354Freescale Semiconductor
Rev. 1, 08/2008
Application Note
Running the Dhrystone
Benchmark for the MPC500
Family
by: Glenn Jackson, TECD Applications
ContentsThis application note provides an adaptation of the
standard Dhrystone version 2.1 to the Motorola MPC500 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Detailed Description . . . . . . . 2family of PowerPC architecture-compliant MCUs.
3 Compiling and Running the Dhrystone
Dhrystone version 2.1 is a publicly-available standard for Program for the MPC500 Family . . . . . . . . . . . . . . . . . . . 3
3.1 Compiling Code for the Dhrystone Program . . . . . . 3benchmarking various CPUs. All benchmarks are made
3.2 Listing 1: The Makefile. . . . . . . . . . . .. 4
relative to the original VAX Dhrystone. The original
3.3 Listing 2: The Dmakefile . . . . . . . . . . . . . . . . . . . . . 5
Dhrystone 2.1 function remains intact for this 3.4 Listing 3: The Linkfile evb.lin . . . . . . .. 6
3.5 Running Code for the Dhrystone Program . . . . . . . 7application, with changes made only to the wrapper code
4 Code-Compressed Version of
that permits timing for the MPC500 PowerPC the Dhrystone Program . . . . . . . . . . . . . . . . . . . . . . . . . . 7
4.1 Compiling Code for Compression . . .. 7architecture-compliant family.
4.2 Running Compressed Dhrystone Code. . . . . . . . . . 8
5 Conclusions and Results. . . . . . . . . . . . . . . . . . . . . . . . . 9
5 ...