split out instructions from openpower/isa/fpload.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)
21 files changed:
openpower/isa/fpload.mdwn
openpower/isa/fpload/lfd.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfd_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdu.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdu_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdux.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdux_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdx.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfdx_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfiwax.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfiwax_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfiwzx.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfiwzx_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfs.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfs_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsu.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsu_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsux.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsux_code.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsx.mdwn [new file with mode: 0644]
openpower/isa/fpload/lfsx_code.mdwn [new file with mode: 0644]

index 05cbfcdd8269a2cad1f3b8a67be1d1fc186f763f..f02ec6a3866e35a8f12acd00bc015f285e778770 100644 (file)
 
 <!-- Section 4.6.1 Floating-point storage access instructions. P 140 - 143 -->
 
-# Load Floating-Point Single
+[[!inline pagenames="openpower/isa/fpload/lfs" raw="yes"]]
 
-D-Form
+[[!inline pagenames="openpower/isa/fpload/lfsx" raw="yes"]]
 
-* lfs FRT,D(RA)
+[[!inline pagenames="openpower/isa/fpload/lfsu" raw="yes"]]
 
-Pseudo-code:
+[[!inline pagenames="openpower/isa/fpload/lfsux" raw="yes"]]
 
-    EA <- (RA|0) + EXTS(D)
-    FRT <- DOUBLE(MEM(EA, 4))
+[[!inline pagenames="openpower/isa/fpload/lfd" raw="yes"]]
 
-Special Registers Altered:
+[[!inline pagenames="openpower/isa/fpload/lfdx" raw="yes"]]
 
-    None
+[[!inline pagenames="openpower/isa/fpload/lfdu" raw="yes"]]
 
-# Load Floating-Point Single Indexed
+[[!inline pagenames="openpower/isa/fpload/lfdux" raw="yes"]]
 
-X-Form
+[[!inline pagenames="openpower/isa/fpload/lfiwax" raw="yes"]]
 
-* lfsx FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA|0) + (RB)
-    FRT <- DOUBLE(MEM(EA, 4))
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Single with Update
-
-D-Form
-
-* lfsu FRT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA) + EXTS(D)
-    FRT <- DOUBLE(MEM(EA, 4))
-    RA <- EA
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Single with Update Indexed
-
-X-Form
-
-* lfsux FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA) + (RB)
-    FRT <- DOUBLE(MEM(EA, 4))
-    RA <- EA
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Double
-
-D-Form
-
-* lfd FRT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA|0) + EXTS(D)
-    FRT <- MEM(EA, 8)
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Double Indexed
-
-X-Form
-
-* lfdx FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA|0) + (RB)
-    FRT <- MEM(EA, 8)
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Double with Update
-
-D-Form
-
-* lfdu FRT,D(RA)
-
-Pseudo-code:
-
-    EA <- (RA) + EXTS(D)
-    FRT <- MEM(EA, 8)
-    RA <- EA
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point Double with Update Indexed
-
-X-Form
-
-* lfdux FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA) + (RB)
-    FRT <- MEM(EA, 8)
-    RA <- EA
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point as Integer Word Algebraic Indexed 
-
-X-Form
-
-* lfiwax FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA|0) + (RB)
-    FRT <- EXTS(MEM(EA, 4))
-
-Special Registers Altered:
-
-    None
-
-# Load Floating-Point as Integer Word Zero Indexed 
-
-X-Form
-
-* lfiwzx FRT,RA,RB
-
-Pseudo-code:
-
-    EA <- (RA|0) + (RB)
-    FRT <- [0]*32 || MEM(EA, 4)
-
-Special Registers Altered:
-
-    None
+[[!inline pagenames="openpower/isa/fpload/lfiwzx" raw="yes"]]
diff --git a/openpower/isa/fpload/lfd.mdwn b/openpower/isa/fpload/lfd.mdwn
new file mode 100644 (file)
index 0000000..eb7cce1
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Double
+
+D-Form
+
+* lfd FRT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfd_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfd_code.mdwn b/openpower/isa/fpload/lfd_code.mdwn
new file mode 100644 (file)
index 0000000..a1dcf6b
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + EXTS(D)
+    FRT <- MEM(EA, 8)
diff --git a/openpower/isa/fpload/lfdu.mdwn b/openpower/isa/fpload/lfdu.mdwn
new file mode 100644 (file)
index 0000000..850108c
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Double with Update
+
+D-Form
+
+* lfdu FRT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfdu_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfdu_code.mdwn b/openpower/isa/fpload/lfdu_code.mdwn
new file mode 100644 (file)
index 0000000..328e68f
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA) + EXTS(D)
+    FRT <- MEM(EA, 8)
+    RA <- EA
diff --git a/openpower/isa/fpload/lfdux.mdwn b/openpower/isa/fpload/lfdux.mdwn
new file mode 100644 (file)
index 0000000..bf81b9f
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Double with Update Indexed
+
+X-Form
+
+* lfdux FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfdux_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfdux_code.mdwn b/openpower/isa/fpload/lfdux_code.mdwn
new file mode 100644 (file)
index 0000000..b12c074
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA) + (RB)
+    FRT <- MEM(EA, 8)
+    RA <- EA
diff --git a/openpower/isa/fpload/lfdx.mdwn b/openpower/isa/fpload/lfdx.mdwn
new file mode 100644 (file)
index 0000000..a24f517
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Double Indexed
+
+X-Form
+
+* lfdx FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfdx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfdx_code.mdwn b/openpower/isa/fpload/lfdx_code.mdwn
new file mode 100644 (file)
index 0000000..86eee62
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + (RB)
+    FRT <- MEM(EA, 8)
diff --git a/openpower/isa/fpload/lfiwax.mdwn b/openpower/isa/fpload/lfiwax.mdwn
new file mode 100644 (file)
index 0000000..9336778
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point as Integer Word Algebraic Indexed 
+
+X-Form
+
+* lfiwax FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfiwax_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfiwax_code.mdwn b/openpower/isa/fpload/lfiwax_code.mdwn
new file mode 100644 (file)
index 0000000..1d0a660
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + (RB)
+    FRT <- EXTS(MEM(EA, 4))
diff --git a/openpower/isa/fpload/lfiwzx.mdwn b/openpower/isa/fpload/lfiwzx.mdwn
new file mode 100644 (file)
index 0000000..56bdc25
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point as Integer Word Zero Indexed 
+
+X-Form
+
+* lfiwzx FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfiwzx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfiwzx_code.mdwn b/openpower/isa/fpload/lfiwzx_code.mdwn
new file mode 100644 (file)
index 0000000..768d5c3
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + (RB)
+    FRT <- [0]*32 || MEM(EA, 4)
diff --git a/openpower/isa/fpload/lfs.mdwn b/openpower/isa/fpload/lfs.mdwn
new file mode 100644 (file)
index 0000000..eea3883
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Single
+
+D-Form
+
+* lfs FRT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfs_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfs_code.mdwn b/openpower/isa/fpload/lfs_code.mdwn
new file mode 100644 (file)
index 0000000..7e651a1
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + EXTS(D)
+    FRT <- DOUBLE(MEM(EA, 4))
diff --git a/openpower/isa/fpload/lfsu.mdwn b/openpower/isa/fpload/lfsu.mdwn
new file mode 100644 (file)
index 0000000..06b5a08
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Single with Update
+
+D-Form
+
+* lfsu FRT,D(RA)
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfsu_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfsu_code.mdwn b/openpower/isa/fpload/lfsu_code.mdwn
new file mode 100644 (file)
index 0000000..6bb7429
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA) + EXTS(D)
+    FRT <- DOUBLE(MEM(EA, 4))
+    RA <- EA
diff --git a/openpower/isa/fpload/lfsux.mdwn b/openpower/isa/fpload/lfsux.mdwn
new file mode 100644 (file)
index 0000000..95fa420
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Single with Update Indexed
+
+X-Form
+
+* lfsux FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfsux_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfsux_code.mdwn b/openpower/isa/fpload/lfsux_code.mdwn
new file mode 100644 (file)
index 0000000..5663f79
--- /dev/null
@@ -0,0 +1,3 @@
+    EA <- (RA) + (RB)
+    FRT <- DOUBLE(MEM(EA, 4))
+    RA <- EA
diff --git a/openpower/isa/fpload/lfsx.mdwn b/openpower/isa/fpload/lfsx.mdwn
new file mode 100644 (file)
index 0000000..c3ee3a2
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Floating-Point Single Indexed
+
+X-Form
+
+* lfsx FRT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fpload/lfsx_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fpload/lfsx_code.mdwn b/openpower/isa/fpload/lfsx_code.mdwn
new file mode 100644 (file)
index 0000000..60e8d29
--- /dev/null
@@ -0,0 +1,2 @@
+    EA <- (RA|0) + (RB)
+    FRT <- DOUBLE(MEM(EA, 4))