move fsins/fcoss to fptrans.mdwn -- they are transcendental not SV instructions
authorJacob Lifshay <programmerjake@gmail.com>
Thu, 1 Sep 2022 08:17:09 +0000 (01:17 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 1 Sep 2022 08:17:09 +0000 (01:17 -0700)
openpower/isa/fptrans.mdwn [new file with mode: 0644]
openpower/isa/svfparith.mdwn
src/openpower/decoder/isa/.gitignore

diff --git a/openpower/isa/fptrans.mdwn b/openpower/isa/fptrans.mdwn
new file mode 100644 (file)
index 0000000..bae2449
--- /dev/null
@@ -0,0 +1,40 @@
+<!-- Transcendental FP Instructions -->
+
+<!-- PLEASE NOTE THESE ARE UNAPPROVED AND DRAFT, NOT SUBMITTED TO OPF ISA WG -->
+
+# [DRAFT] Floating SIN [Single]
+
+X-Form
+
+* fsins FRT,FRB (Rc=0)
+* fsins. FRT,FRB (Rc=1)
+
+Pseudo-code:
+
+    FRT <- FPSIN32(FRB)
+
+Special Registers Altered:
+
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI VXIMZ
+    CR1          (if Rc=1)
+
+# [DRAFT] Floating COS [Single]
+
+X-Form
+
+* fcoss FRT,FRB (Rc=0)
+* fcoss. FRT,FRB (Rc=1)
+
+Pseudo-code:
+
+    FRT <- FPCOS32(FRB)
+
+Special Registers Altered:
+
+    FPRF FR FI
+    FX OX UX XX
+    VXSNAN VXISI VXIMZ
+    CR1          (if Rc=1)
+
index 4fa9939bd9c4d8a3d25ffe886858f406e85834f2..a7b05457b701941979e672a4d9a6a4cc20601302 100644 (file)
@@ -254,40 +254,3 @@ Special Registers Altered:
     FX OX UX XX
     VXSNAN VXISI VXIMZ
     CR1          (if Rc=1)
-
-# [DRAFT] Floating SIN [Single]
-
-X-Form
-
-* fsins FRT,FRB (Rc=0)
-* fsins. FRT,FRB (Rc=1)
-
-Pseudo-code:
-
-    FRT <- FPSIN32(FRB)
-
-Special Registers Altered:
-
-    FPRF FR FI
-    FX OX UX XX
-    VXSNAN VXISI VXIMZ
-    CR1          (if Rc=1)
-
-# [DRAFT] Floating COS [Single]
-
-X-Form
-
-* fcoss FRT,FRB (Rc=0)
-* fcoss. FRT,FRB (Rc=1)
-
-Pseudo-code:
-
-    FRT <- FPCOS32(FRB)
-
-Special Registers Altered:
-
-    FPRF FR FI
-    FX OX UX XX
-    VXSNAN VXISI VXIMZ
-    CR1          (if Rc=1)
-
index ca22e277210d8b5e8a379377eba2bdda3ac78175..c071e2ac206803b0eccbf4ffff20d57b8f3588a2 100644 (file)
@@ -17,6 +17,7 @@
 /fpload.py
 /fpmove.py
 /fpstore.py
+/fptrans.py
 /sprset.py
 /stringldst.py
 /system.py