Module model

Source
Expand description

Scheduling information for each opcode

Structs§

ExecPorts 🔒
Identify one or more CPU execution ports

Constants§

MAX_LATENCY 🔒
Maximum value of instruction_latency_cycles() for any Opcode
NUM_EXECUTION_PORTS 🔒
Number of execution ports in our simulated microarchitecture
P0 🔒
Port P0 (second choice) only
P01 🔒
Either port P0 or P1
P015 🔒
Any of the three ports
P05 🔒
Either port P0 or P5
P1 🔒
Port P1 (third choice) only
P5 🔒
Port P5 (first choice) only
SCHEDULE_SIZE 🔒
Total number of cycles to store schedule data for
TARGET_CYCLES 🔒
Number of simulated cycles we run before stopping program generation

Functions§

instruction_latency_cycles 🔒
Latency for each operation, in cycles
instruction_sub_cycle_count 🔒
Each instruction advances the earliest possible issuing cycle by one sub-cycle per micro-op.
micro_operations 🔒
Break an instruction down into one or two micro-operation port sets.