URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [bench/] [asm/] [zipdhry.S] - Diff between revs 202 and 209
Show entire file |
Details |
Blame |
View Log
Rev 202 |
Rev 209 |
Line 5... |
Line 5... |
; Project: Zip CPU -- a small, lightweight, RISC CPU soft core
|
; Project: Zip CPU -- a small, lightweight, RISC CPU soft core
|
;
|
;
|
; Purpose: Zip assembly file for running the Dhrystone benchmark in the
|
; Purpose: Zip assembly file for running the Dhrystone benchmark in the
|
; Zip CPU.
|
; Zip CPU.
|
;
|
;
|
|
; ****************************
|
|
;
|
|
; This file is long since out of date. It is kept around for historical
|
|
; reasons only. In many ways, this file never truly accomplished the
|
|
; Dhrystone test, since it is an assembly file (not compiled), and since
|
|
; it uses internally and locally optimized library versions.
|
|
;
|
|
; Another version of Dhrystone exists for the ZipCPU, in C, which properly
|
|
; executes the benchmark.
|
|
;
|
|
; ****************************
|
|
;
|
|
;
|
; To calculate a DMIPS value, take the value of R0 upon completion. This
|
; To calculate a DMIPS value, take the value of R0 upon completion. This
|
; is the number of clock ticks used from start to finish (i.e., from
|
; is the number of clock ticks used from start to finish (i.e., from
|
; entrance into user mode to the return to supervisor mode). Let
|
; entrance into user mode to the return to supervisor mode). Let
|
; CLKSPD be your clock speed in Hz. Then:
|
; CLKSPD be your clock speed in Hz. Then:
|
;
|
;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.