summaryrefslogtreecommitdiffstats
path: root/chapters/pipelining_notes.org
diff options
context:
space:
mode:
Diffstat (limited to 'chapters/pipelining_notes.org')
-rw-r--r--chapters/pipelining_notes.org24
1 files changed, 23 insertions, 1 deletions
diff --git a/chapters/pipelining_notes.org b/chapters/pipelining_notes.org
index 0680800..01ff668 100644
--- a/chapters/pipelining_notes.org
+++ b/chapters/pipelining_notes.org
@@ -49,9 +49,31 @@ A3 x6 = x6 + 1 (int)
| Instr | Stage | Code |
|-------+-------+-------------------------------------------------------------------|
-| 0 | 0 | ~x18 = x6 - 1~, ~x16 = int32[x4+x18*4+0]~, ~x12 = int32[x3+x6*4]~ |
+| 0 | 0 | ~x18 = x6 - 1~, ~x13 = int32[x4+x18*4+0]~, ~x12 = int32[x3+x6*4]~ |
| | 1 | ~x7 = x12 * x13~ |
| | 2 | ~x11 = x8 + x7~ |
| | 3 | ~x6 = x6 + 1~, ~int32[x4+x6*4] = x11~ |
| 1 | 0 | ~x16 = int32[x4+x18*4]~ |
| | 1 | ~x8 = x16 * x1~ |
+
+
+#+begin_src
+x18[0] = x6[0] - 1
+|| x13[0] = int32[x4[0]+x18[0]*4+0]
+|| x12[0] = int32[x3[0]+x6[0]*4]
+|| x7[1] = x12[1] * x13[1]
+|| x11[2] = x8[2] + x7[2]
+|| int32[x4[3]+x6[3]*4] = x11[3]
+|| x6[3] = x6[3] + 1
+
+x16[0] = int32[x4+x18*4]
+|| x8[1] = x16[1] * x1[1]
+
+x18>>
+x16>>
+x12>>
+x13>>
+x7>>
+x8>>
+x11>>
+#+end_src