ts-7000
[Top] [All Lists]

Re: [ts-7000] EP9302 Instruction set timings

To:
Subject: Re: [ts-7000] EP9302 Instruction set timings
From: "Martin Guy" <>
Date: Sun, 2 Mar 2008 13:48:10 +0000
2008/3/1, Kevin Cozens <>:
> This just means my guess as to the number of cycles for subs and bne was
>  somewhat optimistic.

I just checked the kernel code and results. It (linux-2.6.22.3) uses:
ENTRY(__delay)
                subs    r0, r0, #1
                bhi     __delay
                mov     pc, lr

On armv4t CPU, this reports the number of BogoMIPS as a fraction of 1%
under half the CPU clock frequency, which indicates that it is taking
4 cycles per loop (1 + 3, I guess).
By comparison, the armv5t cores report BogoMIPS as a-f-o-1%-u the CPU
clock frequency.

The ts7250 has an armv4t CPU, so I guess 4 cycles is your answer.
(This also explains why BogoMIPS are so Bogo :)

    M


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU