Skip to content

PowerPC condition-code optimization #42

@SamuraiCrow

Description

@SamuraiCrow

Normally, the blockers to making a 68k program pipeline friendly are condition codes needing to be generated immediately before the branch or extended-precision math function consumes them. To compensate for this, PPC has eight different condition code registers. This allows comparisons to be performed more than one instruction ahead of time. This allows "delay slots" to be implemented in ways that the 68k cannot do.

Since there are so many more condition-code registers than are needed, a round-robin scheduler should be sufficent to rotate between them to avert some problems with branch-laden code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions