| AI Engine-ML Intrinsics User Guide (v2025.2)

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

## Overview

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.

## 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 real part conjugate.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_Y 0x50
| Term negation used in complex operations with imaginary part conjugate.
#define | OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y 0xFA
| Term negation used in complex operations with real and imaginary parts conjugate.
#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)
#define | OP_TERM_NEG_COMPLEX_BUTTERFLY 0x9C
| Term negation used in butterfly complex operations (only for complex 16-bit * 16-bit)

## 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)

## ◆ 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)

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_X

#define OP_TERM_NEG_COMPLEX_CONJUGATE_X 0xA0

Term negation used in complex operations with real part conjugate.

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y

#define OP_TERM_NEG_COMPLEX_CONJUGATE_X_Y 0xFA

Term negation used in complex operations with real and imaginary parts conjugate.

## ◆ OP_TERM_NEG_COMPLEX_CONJUGATE_Y

#define OP_TERM_NEG_COMPLEX_CONJUGATE_Y 0x50

Term negation used in complex operations with imaginary part conjugate.