From: Dale Dunlea (dad at domain raidtec.ie)
Date: Wed 15 Aug 2001 - 14:21:40 IST
I know there's a DSP uP out there (Texas instruments something or other
was the one we studied, probably more out there though) where you could
use a particualr kind of branch that would execute a set number of
instructions after the branch was issued. It allowed you to keep the
pipeline completely full while still being able to branch.
There were other branch instructions available that didn't do this
> -----Original Message-----
> From: Padraig Brady [mailto:Padraig at domain antefacto.com]
> Sent: Wednesday, August 15, 2001 2:11 PM
> To: Dave Airlie
> Cc: ILUG
> Subject: Re: [ILUG] Membership
> Dave Airlie wrote:
> > I've only one thing to say...
> > branch delay slots ... *shudder*....
> > in pseudo dave-assembly (a combination of C, VAX/MIPS/x86/ARM asms)
> > mov 56, r1 # put 56 into r1
> > br label # branch to label
> > inc r1
> > label: printf r1
> > guess what r1 is at this stage? 56 taking bets? no it's
> 57... the increase
> > instruction gets executed... it still makes my brain
> violently ill even 2
> > or 3 years later (and I'm no longer active on Linux/MIPS)...
> > Dave.
> ?? So how do you program this ? Does this only happen with certain
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at domain linux.ie
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:39 GMT