| AI Engine-ML Intrinsics User Guide (v2025.2)

Loading...
Searching...
No Matches
AIE interface
Vector Conversions » Upshift

## Overview

## Fixed-point 256-bit vector to 512-bit accumulator conversions
shft parameter is in the range of 0 to 63
v8acc64 | lups (v8int32 a, int shft)
v8acc64 | lups_conf (v8int32 a, int shft, crsat_t sat)
v8acc64 | lups (v8uint32 a, int shft)
v8acc64 | lups_conf (v8uint32 a, int shft, crsat_t sat)
v16acc32 | sups (v16int16 a, int shft)
v16acc32 | sups_conf (v16int16 a, int shft, crsat_t sat)
v16acc32 | sups (v16uint16 a, int shft)
v16acc32 | sups_conf (v16uint16 a, int shft, crsat_t sat)
v4cacc64 | lups (v4cint32 a, int shft)
v4cacc64 | lups_conf (v4cint32 a, int shft, crsat_t sat)

## Fixed-point 256-bit vector to 512-bit accumulator conversions with dynamic sign
shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion
v8acc64 | lups (v8int32 a, int shft, int sign)
v8acc64 | lups_conf (v8int32 a, int shft, int sign, crsat_t sat)
v8acc64 | lups (v8uint32 a, int shft, int sign)
v8acc64 | lups_conf (v8uint32 a, int shft, int sign, crsat_t sat)
v16acc32 | sups (v16int16 a, int shft, int sign)
v16acc32 | sups_conf (v16int16 a, int shft, int sign, crsat_t sat)
v16acc32 | sups (v16uint16 a, int shft, int sign)
v16acc32 | sups_conf (v16uint16 a, int shft, int sign, crsat_t sat)
v4cacc64 | lups (v4cint32 a, int shft, int sign)
v4cacc64 | lups_conf (v4cint32 a, int shft, int sign, crsat_t sat)

## Fixed-point 256-bit vector to 1024-bit accumulator conversions
shft parameter is in the range of 0 to 63
v32acc32 | sups (v32int8 a, int shft)
v32acc32 | sups_conf (v32int8 a, int shft, crsat_t sat)
v32acc32 | sups (v32uint8 a, int shft)
v32acc32 | sups_conf (v32uint8 a, int shft, crsat_t sat)
v16acc64 | lups (v16int16 a, int shft)
v16acc64 | lups_conf (v16int16 a, int shft, crsat_t sat)
v16acc64 | lups (v16uint16 a, int shft)
v16acc64 | lups_conf (v16uint16 a, int shft, crsat_t sat)
v8cacc64 | lups (v8cint16 a, int shft)
v8cacc64 | lups_conf (v8cint16 a, int shft, crsat_t sat)

## Fixed-point 256-bit vector to 1024-bit accumulator conversions with dynamic sign
shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion
v32acc32 | sups (v32int8 a, int shft, int sign)
v32acc32 | sups_conf (v32int8 a, int shft, int sign, crsat_t sat)
v32acc32 | sups (v32uint8 a, int shft, int sign)
v32acc32 | sups_conf (v32uint8 a, int shft, int sign, crsat_t sat)
v16acc64 | lups (v16int16 a, int shft, int sign)
v16acc64 | lups_conf (v16int16 a, int shft, int sign, crsat_t sat)
v16acc64 | lups (v16uint16 a, int shft, int sign)
v16acc64 | lups_conf (v16uint16 a, int shft, int sign, crsat_t sat)
v8cacc64 | lups (v8cint16 a, int shft, int sign)
v8cacc64 | lups_conf (v8cint16 a, int shft, int sign, crsat_t sat)

## Fixed-point 512-bit vector to 1024-bit accumulator conversions
shft parameter is in the range of 0 to 63
v16acc64 | lups (v16int32 a, int shft)
v16acc64 | lups_conf (v16int32 a, int shft, crsat_t sat)
v16acc64 | lups (v16uint32 a, int shft)
v16acc64 | lups_conf (v16uint32 a, int shft, crsat_t sat)
v32acc32 | sups (v32int16 a, int shft)
v32acc32 | sups_conf (v32int16 a, int shft, crsat_t sat)
v32acc32 | sups (v32uint16 a, int shft)
v32acc32 | sups_conf (v32uint16 a, int shft, crsat_t sat)
v8cacc64 | lups (v8cint32 a, int shft)
v8cacc64 | lups_conf (v8cint32 a, int shft, crsat_t sat)

## Fixed-point 512-bit vector to 1024-bit accumulator conversions with dynamic sign
shft parameter is in the range of 0 to 63 sign parameter is the sign for the UPS conversion
v16acc64 | lups (v16int32 a, int shft, int sign)
v16acc64 | lups_conf (v16int32 a, int shft, int sign, crsat_t sat)
v16acc64 | lups (v16uint32 a, int shft, int sign)
v16acc64 | lups_conf (v16uint32 a, int shft, int sign, crsat_t sat)
v32acc32 | sups (v32int16 a, int shft, int sign)
v32acc32 | sups_conf (v32int16 a, int shft, int sign, crsat_t sat)
v32acc32 | sups (v32uint16 a, int shft, int sign)
v32acc32 | sups_conf (v32uint16 a, int shft, int sign, crsat_t sat)
v8cacc64 | lups (v8cint32 a, int shft, int sign)
v8cacc64 | lups_conf (v8cint32 a, int shft, int sign, crsat_t sat)

## Function Documentation

## ◆ lups() [1/18]

v16acc64 lups | ( | v16int16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [2/18]

v16acc64 lups | ( | v16int16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [3/18]

v16acc64 lups | ( | v16int32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [4/18]

v16acc64 lups | ( | v16int32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [5/18]

v16acc64 lups | ( | v16uint16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [6/18]

v16acc64 lups | ( | v16uint16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [7/18]

v16acc64 lups | ( | v16uint32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [8/18]

v16acc64 lups | ( | v16uint32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [9/18]

v4cacc64 lups | ( | v4cint32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [10/18]

v4cacc64 lups | ( | v4cint32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [11/18]

v8cacc64 lups | ( | v8cint16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [12/18]

v8cacc64 lups | ( | v8cint16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [13/18]

v8cacc64 lups | ( | v8cint32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [14/18]

v8cacc64 lups | ( | v8cint32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [15/18]

v8acc64 lups | ( | v8int32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [16/18]

v8acc64 lups | ( | v8int32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups() [17/18]

v8acc64 lups | ( | v8uint32 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ lups() [18/18]

v8acc64 lups | ( | v8uint32 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ lups_conf() [1/18]

v16acc64 lups_conf | ( | v16int16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [2/18]

v16acc64 lups_conf | ( | v16int16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [3/18]

v16acc64 lups_conf | ( | v16int32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [4/18]

v16acc64 lups_conf | ( | v16int32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [5/18]

v16acc64 lups_conf | ( | v16uint16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [6/18]

v16acc64 lups_conf | ( | v16uint16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [7/18]

v16acc64 lups_conf | ( | v16uint32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [8/18]

v16acc64 lups_conf | ( | v16uint32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [9/18]

v4cacc64 lups_conf | ( | v4cint32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [10/18]

v4cacc64 lups_conf | ( | v4cint32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [11/18]

v8cacc64 lups_conf | ( | v8cint16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [12/18]

v8cacc64 lups_conf | ( | v8cint16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [13/18]

v8cacc64 lups_conf | ( | v8cint32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [14/18]

v8cacc64 lups_conf | ( | v8cint32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [15/18]

v8acc64 lups_conf | ( | v8int32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [16/18]

v8acc64 lups_conf | ( | v8int32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [17/18]

v8acc64 lups_conf | ( | v8uint32 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ lups_conf() [18/18]

v8acc64 lups_conf | ( | v8uint32 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups() [1/12]

v16acc32 sups | ( | v16int16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [2/12]

v16acc32 sups | ( | v16int16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups() [3/12]

v16acc32 sups | ( | v16uint16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [4/12]

v16acc32 sups | ( | v16uint16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups() [5/12]

v32acc32 sups | ( | v32int16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [6/12]

v32acc32 sups | ( | v32int16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups() [7/12]

v32acc32 sups | ( | v32int8 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [8/12]

v32acc32 sups | ( | v32int8 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups() [9/12]

v32acc32 sups | ( | v32uint16 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [10/12]

v32acc32 sups | ( | v32uint16 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups() [11/12]

v32acc32 sups | ( | v32uint8 | a,
|  | int | shft )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63

Returns
  Accumulator result of operation

## ◆ sups() [12/12]

v32acc32 sups | ( | v32uint8 | a,
|  | int | shft,
|  | int | sign )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask

Returns
  Accumulator result of operation

## ◆ sups_conf() [1/12]

v16acc32 sups_conf | ( | v16int16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [2/12]

v16acc32 sups_conf | ( | v16int16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [3/12]

v16acc32 sups_conf | ( | v16uint16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [4/12]

v16acc32 sups_conf | ( | v16uint16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [5/12]

v32acc32 sups_conf | ( | v32int16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [6/12]

v32acc32 sups_conf | ( | v32int16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [7/12]

v32acc32 sups_conf | ( | v32int8 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [8/12]

v32acc32 sups_conf | ( | v32int8 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [9/12]

v32acc32 sups_conf | ( | v32uint16 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [10/12]

v32acc32 sups_conf | ( | v32uint16 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [11/12]

v32acc32 sups_conf | ( | v32uint8 | a,
|  | int | shft,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sat | Saturation mode

Returns
  Accumulator result of operation

## ◆ sups_conf() [12/12]

v32acc32 sups_conf | ( | v32uint8 | a,
|  | int | shft,
|  | int | sign,
|  | crsat_t | sat )

Parameters

  a | Input vector
  shft | Within the range of 0 to 63
  sign | Sign mask
  sat | Saturation mode

Returns
  Accumulator result of operation