• Paul Mackerras's avatar
    execute1: Do forwarding of the CR result to the next instruction · 74062195
    Paul Mackerras authored
    
    
    This adds a path to allow the CR result of one instruction to be
    forwarded to the next instruction, so that sequences such as
    cmp; bc can avoid having a 1-cycle bubble.
    
    Forwarding is not available for dot-form (Rc=1) instructions,
    since the CR result for them is calculated in writeback.  The
    decode.output_cr field is used to identify those instructions
    that compute the CR result in execute1.
    
    For some reason, the multiply instructions incorrectly had
    output_cr = 1 in the decode tables.  This fixes that.
    Signed-off-by: default avatarPaul Mackerras <paulus@ozlabs.org>
    74062195
execute1.vhdl 38.4 KB