Delay Slot - Load Delay Slot

Load Delay Slot

A load delay slot is an instruction which executes immediately after a load (of a register from memory) but does not see the result of the load. Load delay slots are very uncommon because load delays are highly unpredictable on modern hardware. A load may be satisfied from RAM or from a cache, and may be slowed by resource contention. Load delays were seen on very early RISC processor designs. The MIPS I ISA (implemented in the R2000 and R3000 microprocessors) suffers from this problem.

The following example is MIPS I assembly code, showing both a load delay slot and a branch delay slot.

lw v0,4(v1) # load word from address v1+4 into v0 nop # useless load delay slot jr v0 # jump to the address specified by v0 nop # useless branch delay slot

Read more about this topic:  Delay Slot

Famous quotes containing the words load, delay and/or slot:

    The only human beings I have thoroughly admired and respected in the world have been those who carried the load of the world with a smile, and who, in the face of anxieties that would have knocked me clean out, never showed a tremor. Such men and women end by owning us, soul and body, and our allegiance can never be shaken. We are only too glad to be owned. Religion is nothing but this.
    Henry Brooks Adams (1838–1918)

    To achieve the larger goal of teaching her children consideration of others, a mother can tolerate some frustration of her own wishes, she can delay having what she wants, she can be flexible enough to compromise. And this is exactly what her child must also learn: that it is possible to survive frustration, it is possible to wait for what he wants, it is possible to compromise without capitulating.
    Elaine Heffner (20th century)

    Some are able and humane men and some are low-grade individuals with the morals of a goat, the artistic integrity of a slot machine, and the manners of a floorwalker with delusions of grandeur.
    Raymond Chandler (1888–1959)