split out instructions from openpower/isa/pifixedload.mdwn
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 7 Aug 2023 23:04:00 +0000 (16:04 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Mon, 7 Aug 2023 23:06:58 +0000 (16:06 -0700)
23 files changed:
openpower/isa/pifixedload.mdwn
openpower/isa/pifixedload/lbzup.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lbzup_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lbzupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lbzupx_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/ldup.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/ldup_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/ldupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/ldupx_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhaup.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhaup_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhaupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhaupx_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhzup.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhzup_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhzupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lhzupx_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwaupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwaupx_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwzup.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwzup_code.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwzupx.mdwn [new file with mode: 0644]
openpower/isa/pifixedload/lwzupx_code.mdwn [new file with mode: 0644]

index b5671cbc25ae87b174b8e0c2832d9cd4d61a479d..5fb7c22c28cd413d45e7a1dc17d8323e6cfa48e7 100644 (file)
 
 
 
-# Load Byte and Zero with Post-Update
+[[!inline pagenames="openpower/isa/pifixedload/lbzup" raw="yes"]]
 
-D-Form
+[[!inline pagenames="openpower/isa/pifixedload/lbzupx" raw="yes"]]
 
-* lbzup RT,D(RA)
+[[!inline pagenames="openpower/isa/pifixedload/lhzup" raw="yes"]]
 
-Pseudo-code:
+[[!inline pagenames="openpower/isa/pifixedload/lhzupx" raw="yes"]]
 
-    EA <- (RA)
-    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
-    RA <- (RA) + EXTS(D)
+[[!inline pagenames="openpower/isa/pifixedload/lhaup" raw="yes"]]
 
-Special Registers Altered:
+[[!inline pagenames="openpower/isa/pifixedload/lhaupx" raw="yes"]]
 
-    None
+[[!inline pagenames="openpower/isa/pifixedload/lwzup" raw="yes"]]
 
-# Load Byte and Zero with Post-Update Indexed
+[[!inline pagenames="openpower/isa/pifixedload/lwzupx" raw="yes"]]
 
-X-Form
+[[!inline pagenames="openpower/isa/pifixedload/lwaupx" raw="yes"]]
 
-* lbzupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
-
-# Load Halfword and Zero with Post-Update
-
-D-Form
-
-* lhzup RT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
-    RA <- (RA) + EXTS(D)
-
-Special Registers Altered:
-
-    None
-
-# Load Halfword and Zero with Post-Update Indexed
-
-X-Form
-
-* lhzupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
-
-# Load Halfword Algebraic with Post-Update
-
-D-Form
-
-* lhaup RT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- EXTS(MEM(EA, 2))
-    RA <- (RA) + EXTS(D)
-
-Special Registers Altered:
-
-    None
-
-# Load Halfword Algebraic with Post-Update Indexed
-
-X-Form
-
-* lhaupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- EXTS(MEM(EA, 2))
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
-
-# Load Word and Zero with Post-Update
-
-D-Form
-
-* lwzup RT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- [0]*32 || MEM(EA, 4)
-    RA <- (RA) + EXTS(D)
-
-Special Registers Altered:
-
-    None
-
-# Load Word and Zero with Post-Update Indexed
-
-X-Form
-
-* lwzupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- [0] * 32 || MEM(EA, 4)
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
-
-# Load Word Algebraic with Post-Update Indexed
-
-X-Form
-
-* lwaupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- EXTS(MEM(EA, 4))
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
-
-# Load Doubleword with Post-Update Indexed
-
-DS-Form
-
-* ldup RT,DS(RA)
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- MEM(EA, 8)
-    RA <- (RA) + EXTS(DS || 0b00)
-
-Special Registers Altered:
-
-    None
-
-# Load Doubleword with Post-Update Indexed
-
-X-Form
-
-* ldupx RT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA)
-    RT <- MEM(EA, 8)
-    RA <- (RA) + (RB)
-
-Special Registers Altered:
-
-    None
+[[!inline pagenames="openpower/isa/pifixedload/ldup" raw="yes"]]
 
+[[!inline pagenames="openpower/isa/pifixedload/ldupx" raw="yes"]]
diff --git a/openpower/isa/pifixedload/lbzup.mdwn b/openpower/isa/pifixedload/lbzup.mdwn
new file mode 100644 (file)
index 0000000..d7863d0
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Byte and Zero with Post-Update
+
+D-Form
+
+* lbzup RT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lbzup_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lbzup_code.mdwn b/openpower/isa/pifixedload/lbzup_code.mdwn
new file mode 100644 (file)
index 0000000..12e9895
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
+    RA <- (RA) + EXTS(D)
diff --git a/openpower/isa/pifixedload/lbzupx.mdwn b/openpower/isa/pifixedload/lbzupx.mdwn
new file mode 100644 (file)
index 0000000..8c0d923
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Byte and Zero with Post-Update Indexed
+
+X-Form
+
+* lbzupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lbzupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lbzupx_code.mdwn b/openpower/isa/pifixedload/lbzupx_code.mdwn
new file mode 100644 (file)
index 0000000..71043bf
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- ([0] * (XLEN-8)) || MEM(EA, 1)
+    RA <- (RA) + (RB)
diff --git a/openpower/isa/pifixedload/ldup.mdwn b/openpower/isa/pifixedload/ldup.mdwn
new file mode 100644 (file)
index 0000000..a61bc1d
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Doubleword with Post-Update Indexed
+
+DS-Form
+
+* ldup RT,DS(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/ldup_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/ldup_code.mdwn b/openpower/isa/pifixedload/ldup_code.mdwn
new file mode 100644 (file)
index 0000000..b504e28
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- MEM(EA, 8)
+    RA <- (RA) + EXTS(DS || 0b00)
diff --git a/openpower/isa/pifixedload/ldupx.mdwn b/openpower/isa/pifixedload/ldupx.mdwn
new file mode 100644 (file)
index 0000000..31f0dff
--- /dev/null
@@ -0,0 +1,14 @@
+# Load Doubleword with Post-Update Indexed
+
+X-Form
+
+* ldupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/ldupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
+
diff --git a/openpower/isa/pifixedload/ldupx_code.mdwn b/openpower/isa/pifixedload/ldupx_code.mdwn
new file mode 100644 (file)
index 0000000..0dd7835
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- MEM(EA, 8)
+    RA <- (RA) + (RB)
diff --git a/openpower/isa/pifixedload/lhaup.mdwn b/openpower/isa/pifixedload/lhaup.mdwn
new file mode 100644 (file)
index 0000000..f79430e
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Halfword Algebraic with Post-Update
+
+D-Form
+
+* lhaup RT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lhaup_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lhaup_code.mdwn b/openpower/isa/pifixedload/lhaup_code.mdwn
new file mode 100644 (file)
index 0000000..74a6ef7
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- EXTS(MEM(EA, 2))
+    RA <- (RA) + EXTS(D)
diff --git a/openpower/isa/pifixedload/lhaupx.mdwn b/openpower/isa/pifixedload/lhaupx.mdwn
new file mode 100644 (file)
index 0000000..7da0d53
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Halfword Algebraic with Post-Update Indexed
+
+X-Form
+
+* lhaupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lhaupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lhaupx_code.mdwn b/openpower/isa/pifixedload/lhaupx_code.mdwn
new file mode 100644 (file)
index 0000000..3d74c6a
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- EXTS(MEM(EA, 2))
+    RA <- (RA) + (RB)
diff --git a/openpower/isa/pifixedload/lhzup.mdwn b/openpower/isa/pifixedload/lhzup.mdwn
new file mode 100644 (file)
index 0000000..a482c62
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Halfword and Zero with Post-Update
+
+D-Form
+
+* lhzup RT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lhzup_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lhzup_code.mdwn b/openpower/isa/pifixedload/lhzup_code.mdwn
new file mode 100644 (file)
index 0000000..dcf1d5a
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
+    RA <- (RA) + EXTS(D)
diff --git a/openpower/isa/pifixedload/lhzupx.mdwn b/openpower/isa/pifixedload/lhzupx.mdwn
new file mode 100644 (file)
index 0000000..766cac4
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Halfword and Zero with Post-Update Indexed
+
+X-Form
+
+* lhzupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lhzupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lhzupx_code.mdwn b/openpower/isa/pifixedload/lhzupx_code.mdwn
new file mode 100644 (file)
index 0000000..3303eb9
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- ([0] * (XLEN-16)) || MEM(EA, 2)
+    RA <- (RA) + (RB)
diff --git a/openpower/isa/pifixedload/lwaupx.mdwn b/openpower/isa/pifixedload/lwaupx.mdwn
new file mode 100644 (file)
index 0000000..2b90da2
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Word Algebraic with Post-Update Indexed
+
+X-Form
+
+* lwaupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lwaupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lwaupx_code.mdwn b/openpower/isa/pifixedload/lwaupx_code.mdwn
new file mode 100644 (file)
index 0000000..873f1cb
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- EXTS(MEM(EA, 4))
+    RA <- (RA) + (RB)
diff --git a/openpower/isa/pifixedload/lwzup.mdwn b/openpower/isa/pifixedload/lwzup.mdwn
new file mode 100644 (file)
index 0000000..590d3b3
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Word and Zero with Post-Update
+
+D-Form
+
+* lwzup RT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lwzup_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lwzup_code.mdwn b/openpower/isa/pifixedload/lwzup_code.mdwn
new file mode 100644 (file)
index 0000000..548449c
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- [0]*32 || MEM(EA, 4)
+    RA <- (RA) + EXTS(D)
diff --git a/openpower/isa/pifixedload/lwzupx.mdwn b/openpower/isa/pifixedload/lwzupx.mdwn
new file mode 100644 (file)
index 0000000..aa30eb6
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Word and Zero with Post-Update Indexed
+
+X-Form
+
+* lwzupx RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/pifixedload/lwzupx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/pifixedload/lwzupx_code.mdwn b/openpower/isa/pifixedload/lwzupx_code.mdwn
new file mode 100644 (file)
index 0000000..e48764f
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA)
+    RT <- [0] * 32 || MEM(EA, 4)
+    RA <- (RA) + (RB)