Module gpcas_base::instruction_type[][src]

Expand description

Instruction type definitions.

Each instruction type is defined as a constant with a numeric ID. The IDs are guaranteed to be in a gap-less interval from 0 on, so they can be used as indices for an array.

Constants

Completes fast, but needs a branch unit.

Might take longer than floating point multiplication.

Takes many clock cycles, usually dependent on the operand size.

Usually as fast as integer multiplication.

Might need multiple execution ports if a design has separate add- and mul-pipes.

Simple addition.

Takes many clock cycles, usually dependent on the operand size.

Typically takes multiple, but few clock cycles.

Combination of add- and mul-operation.

Completes fast, but needs a shifter.

Does nothing but pass a value in the ALU.

A move that can be eliminated using a physical register file.

Simple operations that can execute in a single clock cycle.

The amount of defined instruction types.