AI Engine-ML Intrinsics User Guide  (v2023.2)
Size interface

Overview

Upshift of fixed-point 256-bit vector to 512-bit accumulator

shft parameter is in the range of 0 to 63

v8acc64 ups_to_v8acc64 (v8int32 a, int shft)
 
v8acc64 ups_to_v8acc64 (v8uint32 a, int shft)
 
v16acc32 ups_to_v16acc32 (v16int16 a, int shft)
 
v16acc32 ups_to_v16acc32 (v16uint16 a, int shft)
 
v4cacc64 ups_to_v4cacc64 (v4cint32 a, int shft)
 

Upshift of fixed-point 256-bit vector to 512-bit accumulator with dynamic sign

shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion

v8acc64 ups_to_v8acc64 (v8int32 a, int shft, int sign)
 
v8acc64 ups_to_v8acc64 (v8uint32 a, int shft, int sign)
 
v16acc32 ups_to_v16acc32 (v16int16 a, int shft, int sign)
 
v16acc32 ups_to_v16acc32 (v16uint16 a, int shft, int sign)
 
v4cacc64 ups_to_v4cacc64 (v4cint32 a, int shft, int sign)
 

Upshift of fixed-point 256-bit vector to 1024-bit accumulator

shft parameter is in the range of 0 to 63

v32acc32 ups_to_v32acc32 (v32int8 a, int shft)
 
v32acc32 ups_to_v32acc32 (v32uint8 a, int shft)
 
v16acc64 ups_to_v16acc64 (v16int16 a, int shft)
 
v16acc64 ups_to_v16acc64 (v16uint16 a, int shft)
 
v8cacc64 ups_to_v8cacc64 (v8cint16 a, int shft)
 

Upshift of fixed-point 256-bit vector to 1024-bit accumulator with dynamic sign

shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion

v32acc32 ups_to_v32acc32 (v32int8 a, int shft, int sign)
 
v32acc32 ups_to_v32acc32 (v32uint8 a, int shft, int sign)
 
v16acc64 ups_to_v16acc64 (v16int16 a, int shft, int sign)
 
v16acc64 ups_to_v16acc64 (v16uint16 a, int shft, int sign)
 
v8cacc64 ups_to_v8cacc64 (v8cint16 a, int shft, int sign)
 

Upshift of fixed-point 512-bit vector to 1024-bit accumulator

shft parameter is in the range of 0 to 63

v8cacc64 ups_to_v8cacc64 (v8cint32 a, int shft)
 
v16acc64 ups_to_v16acc64 (v16int32 a, int shft)
 
v16acc64 ups_to_v16acc64 (v16uint32 a, int shft)
 
v32acc32 ups_to_v32acc32 (v32int16 a, int shft)
 
v32acc32 ups_to_v32acc32 (v32uint16 a, int shft)
 

Upshift of fixed-point 512-bit vector to 1024-bit accumulator with dynamic sign

shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion

v8cacc64 ups_to_v8cacc64 (v8cint32 a, int shft, int sign)
 
v16acc64 ups_to_v16acc64 (v16int32 a, int shft, int sign)
 
v16acc64 ups_to_v16acc64 (v16uint32 a, int shft, int sign)
 
v32acc32 ups_to_v32acc32 (v32int16 a, int shft, int sign)
 
v32acc32 ups_to_v32acc32 (v32uint16 a, int shft, int sign)
 

Upshift from bfloat16 to floating-point (AIE interface)

v16accfloat ups (v16bfloat16)
 

Upshift from bfloat16 to floating-point

v16accfloat ups_to_v16accfloat (v16bfloat16)
 
v32accfloat ups_to_v32accfloat (v32bfloat16 a) chess_property(do_generate)
 

Function Documentation

◆ ups()

◆ ups_to_v16acc32() [1/4]

v16acc32 ups_to_v16acc32 ( v16int16  a,
int  shft 
)

◆ ups_to_v16acc32() [2/4]

v16acc32 ups_to_v16acc32 ( v16int16  a,
int  shft,
int  sign 
)

◆ ups_to_v16acc32() [3/4]

v16acc32 ups_to_v16acc32 ( v16uint16  a,
int  shft 
)

◆ ups_to_v16acc32() [4/4]

v16acc32 ups_to_v16acc32 ( v16uint16  a,
int  shft,
int  sign 
)

◆ ups_to_v16acc64() [1/8]

v16acc64 ups_to_v16acc64 ( v16int16  a,
int  shft 
)

◆ ups_to_v16acc64() [2/8]

v16acc64 ups_to_v16acc64 ( v16int16  a,
int  shft,
int  sign 
)

◆ ups_to_v16acc64() [3/8]

v16acc64 ups_to_v16acc64 ( v16int32  a,
int  shft 
)

◆ ups_to_v16acc64() [4/8]

v16acc64 ups_to_v16acc64 ( v16int32  a,
int  shft,
int  sign 
)

◆ ups_to_v16acc64() [5/8]

v16acc64 ups_to_v16acc64 ( v16uint16  a,
int  shft 
)

◆ ups_to_v16acc64() [6/8]

v16acc64 ups_to_v16acc64 ( v16uint16  a,
int  shft,
int  sign 
)

◆ ups_to_v16acc64() [7/8]

v16acc64 ups_to_v16acc64 ( v16uint32  a,
int  shft 
)

◆ ups_to_v16acc64() [8/8]

v16acc64 ups_to_v16acc64 ( v16uint32  a,
int  shft,
int  sign 
)

◆ ups_to_v16accfloat()

v16accfloat ups_to_v16accfloat ( v16bfloat16  )

◆ ups_to_v32acc32() [1/8]

v32acc32 ups_to_v32acc32 ( v32int16  a,
int  shft 
)

◆ ups_to_v32acc32() [2/8]

v32acc32 ups_to_v32acc32 ( v32int16  a,
int  shft,
int  sign 
)

◆ ups_to_v32acc32() [3/8]

v32acc32 ups_to_v32acc32 ( v32int8  a,
int  shft 
)

◆ ups_to_v32acc32() [4/8]

v32acc32 ups_to_v32acc32 ( v32int8  a,
int  shft,
int  sign 
)

◆ ups_to_v32acc32() [5/8]

v32acc32 ups_to_v32acc32 ( v32uint16  a,
int  shft 
)

◆ ups_to_v32acc32() [6/8]

v32acc32 ups_to_v32acc32 ( v32uint16  a,
int  shft,
int  sign 
)

◆ ups_to_v32acc32() [7/8]

v32acc32 ups_to_v32acc32 ( v32uint8  a,
int  shft 
)

◆ ups_to_v32acc32() [8/8]

v32acc32 ups_to_v32acc32 ( v32uint8  a,
int  shft,
int  sign 
)

◆ ups_to_v32accfloat()

v32accfloat ups_to_v32accfloat ( v32bfloat16  a)

◆ ups_to_v4cacc64() [1/2]

v4cacc64 ups_to_v4cacc64 ( v4cint32  a,
int  shft 
)

◆ ups_to_v4cacc64() [2/2]

v4cacc64 ups_to_v4cacc64 ( v4cint32  a,
int  shft,
int  sign 
)

◆ ups_to_v8acc64() [1/4]

v8acc64 ups_to_v8acc64 ( v8int32  a,
int  shft 
)

◆ ups_to_v8acc64() [2/4]

v8acc64 ups_to_v8acc64 ( v8int32  a,
int  shft,
int  sign 
)

◆ ups_to_v8acc64() [3/4]

v8acc64 ups_to_v8acc64 ( v8uint32  a,
int  shft 
)

◆ ups_to_v8acc64() [4/4]

v8acc64 ups_to_v8acc64 ( v8uint32  a,
int  shft,
int  sign 
)

◆ ups_to_v8cacc64() [1/4]

v8cacc64 ups_to_v8cacc64 ( v8cint16  a,
int  shft 
)

◆ ups_to_v8cacc64() [2/4]

v8cacc64 ups_to_v8cacc64 ( v8cint16  a,
int  shft,
int  sign 
)

◆ ups_to_v8cacc64() [3/4]

v8cacc64 ups_to_v8cacc64 ( v8cint32  a,
int  shft 
)

◆ ups_to_v8cacc64() [4/4]

v8cacc64 ups_to_v8cacc64 ( v8cint32  a,
int  shft,
int  sign 
)