Expand description
Scheduling information for each opcode
Structsยง
- Exec
Ports ๐ - 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.