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

Loading...
Searching...
No Matches
Set-update-extract
Compiler optimizations » Code optimizations

Example:

// Consider only low part
rule(a, b) {
tmp = set_low_part(a);
tmp = update_high(tmp, b)
return extract_low(tmp);
} -> {
return a;
}
// Consider only high part
rule(a, b) {
tmp = set_low_part(a);
tmp = update_high(tmp, b)
return extract_high(tmp);
} -> {
return b;
}