COP2: Difference between revisions

From PSP Developer wiki
Jump to navigation Jump to search
m (Correction of the formatting and some additions.)
(Added link to documentation)
Line 24: Line 24:
| 4×4 matrix multiply
| 4×4 matrix multiply
| <b>22</b> cycles
| <b>22</b> cycles
|}


|}
== See also ==
* [https://pspdev.github.io/vfpu-docs/ VFPU documentation by davidgfnet]

Revision as of 20:21, 12 August 2023

COP2 is the nomenclature for PSP's CPU Vector Floating Point Unit, or shortly VFPU.

Specifications

  • Functionality is similar to PS2's VFPU Macromode
  • It is designed for vector and matrix operations.
  • It supports some trigonometric functions, binary logarithm, square root, and others.
  • It has 128 32-bit registers.
  • Reconfigurable as scalar, vector or matrix.
  • It can handle these types of numbers:
    • 32-bit IEEE 754 floating-point numbers.
    • 32-bit integer numbers.
    • 16-bit integer numbers.
    • 8-bit integer numbers.
    • 16-bit floating-point numbers (half-precision float).

Instructions

Instruction Operation Time (in cycles)
vmmul.q vd, vs, vt 4×4 matrix multiply 22 cycles

See also