(no commit message)
authorlkcl <lkcl@web>
Sat, 9 Jul 2022 11:22:46 +0000 (12:22 +0100)
committerIkiWiki <ikiwiki.info>
Sat, 9 Jul 2022 11:22:46 +0000 (12:22 +0100)
openpower/power_trans_ops.mdwn

index e89683eb5bce3689f227c1b6d4fbd4de5b5f9a8f..00205645933e53491511388c15094959d62126c5 100644 (file)
@@ -10,21 +10,20 @@ and 59 for half-width (ending in s).
 As shown in Power ISA 3.1 Book III Appendix D Table 28 p1190
 and Table 23 p1368,
 Major Opcode 63 has room
-for 9 A-Form 5-bit XO instructions, 00001, 01001, 01010, 01011,
-01101, 10000, 10001, 10011, 11011.
+for 9 A-Form 5-bit XO instructions,
 Major Opcode 59 has 11 5-bit XO instructions,
-00000, 00001, 00100, 00101, 00110, 00111,
-10000, 10001, 10011, 10111, 11011.
-
-| opcode    | Description            | Major 63                 | Major 59    |
-| ------    | ----------------       | ----------------         | ----------- |
-| fatan2(s) | atan2 arc tangent      | 00001                    | 00001       |
-| fatan2pi(s)|atan2 arc tangent / pi | 01001                    | 00111       |
-| fpow(s)   | x power of y           | 10000                    | 10000       |
-| fpown(s)  | x power of n (n int)   | 10001                    | 10001       |
-| fpowr(s)  | x power of y (x +ve)   | 10011                    | 10011       |
-| frootn(s) | x power 1/n (n integer)| 11011                    | 11011       |
-| fhypot(s) | hypotenuse             | 01101                    | 10111       |
+with some overlap leading to a partially orthogonal
+set across full and half width.
+
+| opcode    | Description            | Major 63         | Major 59    |
+| ------    | ----------------       | ---------------- | ----------- |
+| fatan2(s) | atan2 arc tangent      | 00001            | 00001       |
+| fatan2pi(s)|atan2 arc tangent / pi | 01001            | 00111       |
+| fpow(s)   | x power of y           | 10000            | 10000       |
+| fpown(s)  | x power of n (n int)   | 10001            | 10001       |
+| fpowr(s)  | x power of y (x +ve)   | 10011            | 10011       |
+| frootn(s) | x power 1/n (n integer)| 11011            | 11011       |
+| fhypot(s) | hypotenuse             | 01101            | 10111       |
  
 # DRAFT List of 1-arg transcendental opcodes
 
@@ -64,7 +63,8 @@ Recommended 10-bit XO with the low 5 LSBs 01100:
 # DRAFT List of 1-arg trigonometric opcodes
  
 These are X-Form, and are identical in Special Registers Altered to `fsqrt`.
-Recommended Major Opcode 63 for full-width and 59 for half-width (ending in s).
+Recommended Major Opcode 63 for full-width and 59 for half-width (ending in s)
+
 Special Registers Altered:
 
     FPRF FR FI FX OX UX XX