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

Loading...
Searching...
No Matches
Topics
Load/Store Operations

## Topics
| Addressing intrinsics
| Load 4x Operations
| Streams

## Detailed Description

The compiler supports pointer dereferencing and pointer arithmetic. No special intrinsics are needed to load or store vectors. For example:

v16int16 *input, *output;
// ... initialize input and output data pointers
v16int16 mydata = *input++;
...
*output = mydata;
v16int16
Definition me_chess.h:511

The data pointers must be aligned to 256-bit boundary for vector loads/stores. Load/Store behaviour is undefined when stack-allocated vector variables are unaligned.

Linear pointer manipulation can be directly in the code with the use of the de-referencing, increment, decrement, etc, operators. For more complex pointer manipulation please see Addressing intrinsics .