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

Loading...
Searching...
No Matches
Scalar updates and extracts
Scalar Operations

## Insert 32-bit value in 64-bit register
unsigned long long | insert (unsigned long long a, int idx, unsigned int b)

## Set 32-bit portion of 64-bit register
unsigned long long | set_uint64 (int idx, unsigned int b)

## Extract 32-bit portion from 64-bit register
unsigned int | extract_uint32 (unsigned long long a, int idx)

## Scalar concat of two int
unsigned long long | concat (unsigned int a, unsigned int b)

## Detailed Description

## Function Documentation

## ◆ concat()

unsigned long long concat | ( | unsigned int | a,
|  | unsigned int | b )

## ◆ extract_uint32()

unsigned int extract_uint32 | ( | unsigned long long | a,
|  | int | idx )

## ◆ insert()

unsigned long long insert | ( | unsigned long long | a,
|  | int | idx,
|  | unsigned int | b )

## ◆ set_uint64()

unsigned long long set_uint64 | ( | int | idx,
|  | unsigned int | b )