SPRUJB6B November 2024 – May 2025 AM2612
Mathematical operations supported by the TMU accelerator are shown in Table 7-24 below.
| Operation | Description | Number of Inputs | Number of Outputs | Equivalent Operation | Effective R5 Cycles for Operation(1) |
|---|---|---|---|---|---|
| SINPUF32 | Returns the SINE of Input value | 1 : OP1 | 1 |
Sin(OP1*2pi rad) OP1: -1.0 to 1.0 |
|
| COSPUF32 | Returns the COSINE of Input value | 1 : OP1 | 1 |
Cos(OP1*2pi rad) OP1: -1.0 to 1.0 |
|
| ATANPUF32 | Returns the ATAN of Input value | 1 : OP1 | 1 |
Atan(OP1) rad/2pi OP1: -1.0 to 1.0 Result: -0.125 to 0.125 |
|
| QUADF32 | Returns the quadrant value and the ratio of X and Y inputs which are provided as per unit values. |
2 OP1 : X OP2 : Y |
2 |
Operation to assist in calculating Atan Result 1 : Ratio of X & Y Result 2: Quadrant (X,Y) See Figure 7-14 |
|
| IEXP2F32 | Returns inverse exponent of input value | 1 : OP1 | 1 | 1/(2^OP1) | |
| LOG2F32 | Returns base-2 logarithm of input value | 1: OP1 | 1 | Log2(OP1) |
For pipelined operation, the effective cycle count for multiple operations will be significantly less than sum of cycle count of individual operation.
Figure 7-14 QUADF32 Operation