RE: [c6x] CCS V2.0 & C6711DSK About the single - cycle
instruction
A single cycle instruction takes 1 cycle. But, there is a pipeline that has an impact on the measurement you made. You can try an experiment to prove it to yourself. Add 7 more instructions to the example you give below and then measure the total for the 8 instructions. My bet is that you will see 13-14 cycles and not (6*8Hcycles). -----Original Message-----
Hi all:
EX:
The resule of the view window show => 6 clocks ==>so "mvkl .s2 0x0001,b0"
spend 6*6.7ns = 40.2 ns
Are there any
mistake above ?
_____________________________________
_____________________________________
To Join: Send an email to c...@yahoogroups.com To Post: Send an email to c...@yahoogroups.com To Leave: Send an email to c...@yahoogroups.com Archives: http://www.yahoogroups.com/group/c6x Other Groups: http://www.dsprelated.com
" TARGET="_blank">http://docs.yahoo.com/info/terms/ |
|
RE: CCS V2.0 & C6711DSK About the single - cycle instruc tion
Started by ●July 30, 2002
Reply by ●July 31, 20022002-07-31
I try to measure 7 instructions. It spend about 13-14 clock ex: line1 mvkl .s2 0x0001,b0 mvklh .s2 0xa000,b0 mvk .s1 0x1111,a1 mvklh .s1 0x1111,a1 mvkl .s2 0x0000,b1 mvklh .s2 0x24D3,b1 mvk .s1 0x1111,a1 line8 mvklh .s1 0x1111,a1 line9 ........ I set breakpoint at line9 and put line1 to line7 as range1 line1 to line8 as range2 in my session the result: range1 Incl.Count Incl. Total Incl.Max Incl.Min Incl. Average 2 14 14 14 7 Excl.Count Excl. Total Excl.Max Excl.Min Excl. Average 1 13 13 13 13 range2 Incl.Count Incl. Total Incl.Max Incl.Min Incl. Average 1 20 20 20 20 Excl.Count Excl. Total Excl.Max Excl.Min Excl. Average 1 19 19 19 19 What is the different between Incl. ... and Excl. ... above the result? why and mean what about the "Incl. Count" =2 ? Fjulink --- In c6x@y..., "Dillon, Tom" <tjdillon@t...> wrote: > A single cycle instruction takes 1 cycle. But, there is a pipeline that has > an impact on the measurement you made. You can try an experiment to prove > it to yourself. Add 7 more instructions to the example you give below and > then measure the total for the 8 instructions. My bet is that you will see > 13-14 cycles and not (6*8Hcycles). > > -----Original Message----- > From: fjulink [mailto:fjulink@y...] > Sent: Tuesday, July 30, 2002 9:39 AM > To: c6x@y... > Subject: [c6x] CCS V2.0 & C6711DSK About the single - cycle instruction > > > Hi all: > > I use the tool "Enable clock" try to test how much time the > single -cycle instruction need, > > EX: > mvkl .s2 0x0001,b0 > > The resule of the view window show => 6 clocks > > ==>so "mvkl .s2 0x0001,b0" spend 6*6.7ns = 40.2 ns > (the c6711 one clock time = 6.7ns) > The single -cycle instruction means the instruction will be > execute in one cpu cycle? > Are there any mistake above ? > > Please correct me! > > Thanks!! Fjulink > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of > this message will receive your answer. You need to do a "reply all" if you > want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to c6x-subscribe@y... > > To Post: Send an email to c6x@y... > > To Leave: Send an email to c6x-unsubscribe@y... > > Archives: http://www.yahoogroups.com/group/c6x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ |