| AI Engine-ML v2 Intrinsics User Guide v2025.2

Loading...
Searching...
No Matches
Negation control in complex multiplication modes
Vector Operations » Multiply Accumulate

In order to do complex multiplications, some terms need to be negated. More...

## Negation control in complex multiplication modes
#define | OP_TERM_NEG_COMPLEX 0x0A
| Term negation used in standard complex operations.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_X 0xA0
| Term negation used in complex operations with first input conjugate: a-bi * c+di.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_Y 0x50
| Term negation used in complex operations with second input conjugate: a+bi * c-di.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y 0xFA
| Term negation used in complex operations with both inputs conjugate: a-bi * c-di.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_BUTTERFLY 0xC6
| Term negation used in butterfly complex with real and imaginary parts conjugate operations (only for complex 16-bit * 16-bit integer)
#define | OP_TERM_NEG_COMPLEX_BUTTERFLY 0x9C
| Term negation used in butterfly complex operations (only for complex 16-bit * 16-bit integer)

## Detailed Description

In order to do complex multiplications, some terms need to be negated.

To implement conjugation and minus j multiplications this term negation control is exposed to the user via the configuration register passed to the multiplication operations.

## Macro Definition Documentation

## ◆ OP_TERM_NEG_COMPLEX

#define OP_TERM_NEG_COMPLEX 0x0A

Term negation used in standard complex operations.

## ◆ OP_TERM_NEG_COMPLEX_BUTTERFLY

#define OP_TERM_NEG_COMPLEX_BUTTERFLY 0x9C

Term negation used in butterfly complex operations (only for complex 16-bit * 16-bit integer)

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_BUTTERFLY

#define OP_TERM_NEG_COMPLEX_CONJUGATE_BUTTERFLY 0xC6

Term negation used in butterfly complex with real and imaginary parts conjugate operations (only for complex 16-bit * 16-bit integer)

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_X

#define OP_TERM_NEG_COMPLEX_CONJUGATE_X 0xA0

Term negation used in complex operations with first input conjugate: a-bi * c+di.

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y

#define OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y 0xFA

Term negation used in complex operations with both inputs conjugate: a-bi * c-di.

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_Y

#define OP_TERM_NEG_COMPLEX_CONJUGATE_Y 0x50

Term negation used in complex operations with second input conjugate: a+bi * c-di.