File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ _id : 2466a0f0-e288-11ef-98ee-e12241f4a0ad
2+ _parent : ' https://travisdowns.github.io/blog/2019/08/20/interrupts.html'
3+ replying_to_uid : ' '
4+ message : >-
5+ Using the "oldest unretired instruction" model, why is the *selected*
6+ instruction the **first** in a new retirement block i.e in the first example:
7+
8+ ```
9+
10+ ; retire cycle
11+
12+ mov rax,QWORD PTR [rax] ; 0 (execution limited)
13+
14+ nop ; 0
15+
16+ nop ; 0
17+
18+ nop ; 0 <-- oldest unretired on cycle 0
19+
20+ nop ; 1 <-- selected nop
21+
22+ nop ; 1
23+
24+ nop ; 1
25+
26+ nop ; 1 <-- oldest unretired on cycle 1
27+
28+ nop ; 2 <-- selected nop
29+
30+ nop ; 2
31+
32+ nop ; 2 <-- oldest unretired on cycle 2
33+
34+ mov rax,QWORD PTR [rax] ; 4 (execution limited)
35+
36+ nop ; 4
37+
38+ nop ; 4 <-- oldest unretired on cycle 4
39+
40+
41+ ```
42+ name : Noah Goldstein
43+ email : 5c6c5e08ed042ab5db692956c8c768c2
44+ hp : ' '
45+ date : 1738625982
You can’t perform that action at this time.
0 commit comments