split out instructions from openpower/isa/fixedldstcache.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)
17 files changed:
openpower/isa/fixedldstcache.mdwn
openpower/isa/fixedldstcache/lbzcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/lbzcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/ldcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/ldcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/lhzcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/lhzcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/lwzcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/lwzcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stbcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stbcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stdcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stdcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/sthcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/sthcix_code.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stwcix.mdwn [new file with mode: 0644]
openpower/isa/fixedldstcache/stwcix_code.mdwn [new file with mode: 0644]

index 8215ec144d1c6011471da05a94dc3045772e6976..0325e00126d79d22b3f0af9209c5f18e9277cfb0 100644 (file)
 <!-- specified storage location is in a cache, the results are undefined. -->
 
 
-# Load Byte and Zero Caching Inhibited Indexed
+[[!inline pagenames="openpower/isa/fixedldstcache/lbzcix" raw="yes"]]
 
-X-Form
+[[!inline pagenames="openpower/isa/fixedldstcache/lhzcix" raw="yes"]]
 
-* lbzcix RT,RA,RB
+[[!inline pagenames="openpower/isa/fixedldstcache/lwzcix" raw="yes"]]
 
-Pseudo-code:
+[[!inline pagenames="openpower/isa/fixedldstcache/ldcix" raw="yes"]]
 
-    b <- (RA|0)
-    EA <- b + (RB)
-    RT <- [0] * 56 || MEM(EA, 1)
+[[!inline pagenames="openpower/isa/fixedldstcache/stbcix" raw="yes"]]
 
-Special Registers Altered:
+[[!inline pagenames="openpower/isa/fixedldstcache/sthcix" raw="yes"]]
 
-    None
+[[!inline pagenames="openpower/isa/fixedldstcache/stwcix" raw="yes"]]
 
-# Load Halfword and Zero Caching Inhibited Indexed
-
-X-Form
-
-* lhzcix RT,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    RT <- [0] * 48 || MEM(EA, 2)
-
-Special Registers Altered:
-
-    None
-
-# Load Word and Zero Caching Inhibited Indexed
-
-X-Form
-
-* lwzcix RT,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    RT <- [0] * 32 || MEM(EA, 4)
-
-Special Registers Altered:
-
-    None
-
-# Load Doubleword Caching Inhibited Indexed
-
-X-Form
-
-* ldcix RT,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    RT <- MEM(EA, 8)
-
-Special Registers Altered:
-
-    None
-
-# Store Byte Caching Inhibited Indexed
-
-X-Form
-
-* stbcix RS,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    MEM(EA, 1) <- (RS)[56:63]
-
-Special Registers Altered:
-
-    None
-
-# Store Halfword Caching Inhibited Indexed
-
-X-Form
-
-* sthcix RS,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    MEM(EA, 2) <- (RS)[48:63]
-
-Special Registers Altered:
-
-    None
-
-# Store Word Caching Inhibited Indexed
-
-X-Form
-
-* stwcix RS,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    MEM(EA, 4) <- (RS)[32:63]
-
-Special Registers Altered:
-
-    None
-
-# Store Doubleword Caching Inhibited Indexed
-
-X-Form
-
-* stdcix RS,RA,RB
-
-Pseudo-code:
-
-    b <- (RA|0)
-    EA <- b + (RB)
-    MEM(EA, 8) <- (RS)
-
-Special Registers Altered:
-
-    None
-
-<!-- Checked March 2021 -->
+[[!inline pagenames="openpower/isa/fixedldstcache/stdcix" raw="yes"]]
diff --git a/openpower/isa/fixedldstcache/lbzcix.mdwn b/openpower/isa/fixedldstcache/lbzcix.mdwn
new file mode 100644 (file)
index 0000000..67804b4
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Byte and Zero Caching Inhibited Indexed
+
+X-Form
+
+* lbzcix RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/lbzcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/lbzcix_code.mdwn b/openpower/isa/fixedldstcache/lbzcix_code.mdwn
new file mode 100644 (file)
index 0000000..5e11107
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    RT <- [0] * 56 || MEM(EA, 1)
diff --git a/openpower/isa/fixedldstcache/ldcix.mdwn b/openpower/isa/fixedldstcache/ldcix.mdwn
new file mode 100644 (file)
index 0000000..1926881
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Doubleword Caching Inhibited Indexed
+
+X-Form
+
+* ldcix RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/ldcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/ldcix_code.mdwn b/openpower/isa/fixedldstcache/ldcix_code.mdwn
new file mode 100644 (file)
index 0000000..08e30ab
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    RT <- MEM(EA, 8)
diff --git a/openpower/isa/fixedldstcache/lhzcix.mdwn b/openpower/isa/fixedldstcache/lhzcix.mdwn
new file mode 100644 (file)
index 0000000..7036a9d
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Halfword and Zero Caching Inhibited Indexed
+
+X-Form
+
+* lhzcix RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/lhzcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/lhzcix_code.mdwn b/openpower/isa/fixedldstcache/lhzcix_code.mdwn
new file mode 100644 (file)
index 0000000..2b67300
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    RT <- [0] * 48 || MEM(EA, 2)
diff --git a/openpower/isa/fixedldstcache/lwzcix.mdwn b/openpower/isa/fixedldstcache/lwzcix.mdwn
new file mode 100644 (file)
index 0000000..ec70aed
--- /dev/null
@@ -0,0 +1,13 @@
+# Load Word and Zero Caching Inhibited Indexed
+
+X-Form
+
+* lwzcix RT,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/lwzcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/lwzcix_code.mdwn b/openpower/isa/fixedldstcache/lwzcix_code.mdwn
new file mode 100644 (file)
index 0000000..d52786a
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    RT <- [0] * 32 || MEM(EA, 4)
diff --git a/openpower/isa/fixedldstcache/stbcix.mdwn b/openpower/isa/fixedldstcache/stbcix.mdwn
new file mode 100644 (file)
index 0000000..740e9a3
--- /dev/null
@@ -0,0 +1,13 @@
+# Store Byte Caching Inhibited Indexed
+
+X-Form
+
+* stbcix RS,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/stbcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/stbcix_code.mdwn b/openpower/isa/fixedldstcache/stbcix_code.mdwn
new file mode 100644 (file)
index 0000000..7b35d90
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    MEM(EA, 1) <- (RS)[56:63]
diff --git a/openpower/isa/fixedldstcache/stdcix.mdwn b/openpower/isa/fixedldstcache/stdcix.mdwn
new file mode 100644 (file)
index 0000000..aae8abd
--- /dev/null
@@ -0,0 +1,15 @@
+# Store Doubleword Caching Inhibited Indexed
+
+X-Form
+
+* stdcix RS,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/stdcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
+
+<!-- Checked March 2021 -->
diff --git a/openpower/isa/fixedldstcache/stdcix_code.mdwn b/openpower/isa/fixedldstcache/stdcix_code.mdwn
new file mode 100644 (file)
index 0000000..444bfe1
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    MEM(EA, 8) <- (RS)
diff --git a/openpower/isa/fixedldstcache/sthcix.mdwn b/openpower/isa/fixedldstcache/sthcix.mdwn
new file mode 100644 (file)
index 0000000..c9e8fd5
--- /dev/null
@@ -0,0 +1,13 @@
+# Store Halfword Caching Inhibited Indexed
+
+X-Form
+
+* sthcix RS,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/sthcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/sthcix_code.mdwn b/openpower/isa/fixedldstcache/sthcix_code.mdwn
new file mode 100644 (file)
index 0000000..2970b95
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    MEM(EA, 2) <- (RS)[48:63]
diff --git a/openpower/isa/fixedldstcache/stwcix.mdwn b/openpower/isa/fixedldstcache/stwcix.mdwn
new file mode 100644 (file)
index 0000000..cc14582
--- /dev/null
@@ -0,0 +1,13 @@
+# Store Word Caching Inhibited Indexed
+
+X-Form
+
+* stwcix RS,RA,RB
+
+Pseudo-code:
+
+[[!inline pagenames="openpower/isa/fixedldstcache/stwcix_code" raw="yes"]]
+
+Special Registers Altered:
+
+    None
diff --git a/openpower/isa/fixedldstcache/stwcix_code.mdwn b/openpower/isa/fixedldstcache/stwcix_code.mdwn
new file mode 100644 (file)
index 0000000..dbe7218
--- /dev/null
@@ -0,0 +1,3 @@
+    b <- (RA|0)
+    EA <- b + (RB)
+    MEM(EA, 4) <- (RS)[32:63]