Skip to content

Instantly share code, notes, and snippets.

@cornerwings
Created October 31, 2010 04:03
Show Gist options
  • Save cornerwings/656106 to your computer and use it in GitHub Desktop.
Save cornerwings/656106 to your computer and use it in GitHub Desktop.
# The following are the current stages
# FE: after instruction is fetched
# ID: after instruction is added to scheduler
# IS: instruction is selected for execution
# EX: instruction finished execution
# WB: instruction retired
# Dont be confused by ID_stage, Op is added to scheduler in IS_stage, just easier
# to differentiate in the parsing
FE ID IS EX WB
0 1 3 3 5 6
1 2 4 4 5 7
2 3 5 5 6 8
3 4 6 6 8 9
4 5 7 7 8 10
5 6 8 8 9 11
6 7 9 9 11 12
7 8 10 10 12 13
8 9 11 11 13 14
9 10 12 12 14 15
10 11 13 13 15 16
11 12 14 14 16 17
12 13 15 16 17 18
13 14 16 17 19 20
14 15 17 19 20 21
15 16 18 20 21 22
16 17 19 21 22 23
17 18 20 22 23 24
18 19 21 23 24 25
19 20 22 24 26 27
20 21 23 25 26 28
21 27 29 29 31 32
22 28 30 30 32 33
23 29 31 31 33 34
24 30 32 32 34 35
25 31 33 33 35 36
26 32 34 34 36 37
27 33 35 35 37 38
28 34 36 36 37 39
29 35 37 37 39 40
30 36 38 38 39 -
31 37 39 39 40 -
32 38 40 40 - -
33 39 - - - -
34 40 - - - -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment