| AI Engine-ML v2 Intrinsics User Guide (v2026.1)

Loading...
Searching...
No Matches
Remove extract and set for same accumulator component
Compiler optimizations » Code optimizations

Removes an ext_* that is immediately followed by a set_* referring to the same accumulator component in the same position.

Example:

v32acc64 in = ...; // dmX
v8acc64 a = extract_v8acc64(1, in); // bmlhX
v32acc64 out = set_v32acc64(1, a); // dmX
v32acc64
Definition me_chess.h:639
v8acc64
Definition me_chess.h:629
extract_v8acc64
v8acc64 extract_v8acc64(v16acc64 a, int idx)
Definition me_upd_ext.h:3212
set_v32acc64
v32acc64 set_v32acc64(int idx, v8acc64 b)
Definition me_upd_ext.h:4442
v32acc64 in = ...;
v32acc64 out = in;