# DRAFT List of 2-arg opcodes
-FIXME(programmerjake): reallocate and convert to X-FORM
-
These are X-Form, recommended Major Opcode 63 for full-width
and 59 for half-width (ending in s).
| NN |FRT | FRA | FRB | 1xxxx011xx |Rc| transcendental | X-Form |
| NN |FRT | FRA | RB | 1xxxx011xx |Rc| transcendental | X-Form |
-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,
-Major Opcode 59 has 11 5-bit XO instructions,
-with some overlap leading to a partially orthogonal
-set across full and half width.
+Recommended 10-bit XO assignments:
| opcode | Description | Major 59 and 63 | bits 16..20 |
|------------|-----------------------------------------|-----------------|-------------|
# DRAFT List of 1-arg transcendental opcodes
-FIXME(programmerjake): reallocate
-
-These are X-Form, and are identical in Special Registers Altered to `fsqrt`.
+These are X-Form, and are mostly identical in Special Registers Altered to
+`fsqrt` (the exact fp exceptions they can produce differ).
Recommended Major Opcode 63 for full-width and 59 for half-width (ending in s).
-Special Registers Altered:
+Special Registers Altered (FIXME: come up with correct list):
FPRF FR FI FX OX UX XX
VXSNAN VXIMZ VXZDZ
| -- | -- | --- | --- | ---------- |--| ---- | ------- |
| NN |FRT | /// | FRB | 1xxxx011xx |Rc| transcendental | X-Form |
-Recommended 10-bit XO with the low 5 LSBs 01100:
+Recommended 10-bit XO assignments:
| opcode | Description | Major 59 and 63 |
|------------|--------------------------|-----------------|
# DRAFT List of 1-arg trigonometric opcodes
-FIXME(programmerjake): reallocate
-
-These are X-Form, and are identical in Special Registers Altered to `fsqrt`.
+These are X-Form, and are mostly identical in Special Registers Altered to
+`fsqrt` (the exact fp exceptions they can produce differ).
Recommended Major Opcode 63 for full-width and 59 for half-width (ending in s)
Special Registers Altered:
| -- | -- | --- | --- | ---------- |--| ---- | ------- |
| NN |FRT | /// | FRB | 1xxxx011xx |Rc| trigonometric | X-Form |
-Recommended 10-bit XO with the low 5 LSBs 01101 to 01111:
+Recommended 10-bit XO assignments:
| opcode | Description | Major 59 and 63 |
|-------------|--------------------------|------------------|