Arithmetic

Absolute

Represents ABS instruction - Calculates absolute value.

This operation is implemented as instruction ABS for integer operands and FORM_FP_NUMBER for floating point (actually AND on SPU).

Add

Represents ADD instruction.

And

Represents AND instruction, performs bitwise and.

Arithmetic Shift

Represents ASH instruction.

Calc Fp Special

Represents CALC_FP_SPECIAL instruction.

Extract Exponent

Represents EXTRACT_EXP instruction.

FCLASS

Represents FCLASS instruction.

10bit mask maps to the following classes: (returned for 16/32 bit data types)

Find First

Represents FIND_FIRST instruction.

Form Floating point number

Represents FORM_FP_NUMBER instruction.

Note

SW_FORCE_SIGN0, SW_FORCE_SIGN1, SW_SIGN_LSB are mutually exclusive.

Note

In intrinsic functions with ‘ie’ infix, SW_EXP_IS_NUM switch is set by default.

MAC

Represents MAC instruction.

MAC using ACC_F32 switch

Represents MAC instruction with ACC_F32 switch (32-bit accumulator).

Max

Represents MAX instruction.

Min

Represents MIN instruction.

Mul

Represents MUL instruction for float arguments.

MUL with ACC_F32 switch

Represents MUL instruction with ACC_F32 switch (32-bit accumulator).

Scalar MUL

Represents scalar MUL instruction for integer arguments.

Vector MUL

Represents vector MUL instruction for integer arguments.

Vector MUL using DOUBLE_AND_ROUND32 switch

Represents vector MUL instruction with DOUBLE_AND_ROUND32 switch (RHU).

Nearby integer

Represents NEARBYINT instruction.

Not

Represents NOT instruction.

Or

Represents OR instruction.

Popcnt

Represents POPCNT instruction.

Shift Left

Represents SHL instruction.

Shift Left for IRF

Represents SHL instruction for int5 operands.

Shift Right

Represents SHR instruction.

Shuffle

Represents SHUFFLE instruction.

For each element in DEST b encodes the src element in the following format

Subtract

Represents SUB instruction.

Xor

Represents XOR instruction.