|
AI Engine-ML Intrinsics User Guide
(v2023.2)
|
AIE interface
Overview
32-bit accumulator to 8-bit vector register conversion with dynamic shift/round/saturate selection | |
| v32int8 | ssrs (v32acc32 acc, uint6_t shft, int sign) |
| v32int8 | ssrs (v32acc32 acc, int shft, int sign) |
| v32int8 | ssrs (v32acc32 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v32int8 | ssrs (v32acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v32uint8 | ussrs (v32acc32 acc, uint6_t shft, int sign) |
| v32uint8 | ussrs (v32acc32 acc, int shft, int sign) |
| v32uint8 | ussrs (v32acc32 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v32uint8 | ussrs (v32acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
32-bit accumulator to 16-bit vector register conversion with dynamic shift/round/saturate selection | |
| v32int16 | lsrs (v32acc32 acc, int shft, int sign) |
| v32int16 | lsrs (v32acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v32uint16 | ulsrs (v32acc32 acc, int shft, int sign) |
| v32uint16 | ulsrs (v32acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16int16 | lsrs (v16acc32 acc, uint6_t shft, int sign) |
| v16int16 | lsrs (v16acc32 acc, int shft, int sign) |
| v16int16 | lsrs (v16acc32 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16int16 | lsrs (v16acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16uint16 | ulsrs (v16acc32 acc, uint6_t shft, int sign) |
| v16uint16 | ulsrs (v16acc32 acc, int shft, int sign) |
| v16uint16 | ulsrs (v16acc32 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16uint16 | ulsrs (v16acc32 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
64-bit accumulator to 16-bit vector register conversion with dynamic shift/round/saturate selection | |
| v16int16 | ssrs (v16acc64 acc, uint6_t shft, int sign) |
| v16int16 | ssrs (v16acc64 acc, int shft, int sign) |
| v16int16 | ssrs (v16acc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16int16 | ssrs (v16acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16uint16 | ussrs (v16acc64 acc, uint6_t shft, int sign) |
| v16uint16 | ussrs (v16acc64 acc, int shft, int sign) |
| v16uint16 | ussrs (v16acc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16uint16 | ussrs (v16acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8cint16 | ssrs (v8cacc64 acc, uint6_t shft, int sign) |
| v8cint16 | ssrs (v8cacc64 acc, int shft, int sign) |
| v8cint16 | ssrs (v8cacc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8cint16 | ssrs (v8cacc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
64-bit accumulator to 32-bit vector register conversion with dynamic shift/round/saturate selection | |
| v16int32 | lsrs (v16acc64 acc, int shft, int sign) |
| v16int32 | lsrs (v16acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v16uint32 | ulsrs (v16acc64 acc, int shft, int sign) |
| v16uint32 | ulsrs (v16acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8cint32 | lsrs (v8cacc64 acc, int shft, int sign) |
| v8cint32 | lsrs (v8cacc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8int32 | lsrs (v8acc64 acc, uint6_t shft, int sign) |
| v8int32 | lsrs (v8acc64 acc, int shft, int sign) |
| v8int32 | lsrs (v8acc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8int32 | lsrs (v8acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8uint32 | ulsrs (v8acc64 acc, uint6_t shft, int sign) |
| v8uint32 | ulsrs (v8acc64 acc, int shft, int sign) |
| v8uint32 | ulsrs (v8acc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v8uint32 | ulsrs (v8acc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
| v4cint32 | lsrs (v4cacc64 acc, uint6_t shft, int sign) |
| v4cint32 | lsrs (v4cacc64 acc, int shft, int sign) |
| v4cint32 | lsrs (v4cacc64 acc, uint6_t shft, int sign, crsat_t sat, crrnd_t rnd) |
| v4cint32 | lsrs (v4cacc64 acc, int shft, int sign, crsat_t sat, crrnd_t rnd) |
32-bit accumulator to 8-bit vector shift/round/saturate conversion | |
| v32int8 | ssrs (v32acc32 acc, uint6_t shft) |
| v32int8 | ssrs (v32acc32 acc, int shft) |
| v32int8 | ssrs (v32acc32 acc, uint6_t shft, crsat_t sat, crrnd_t rnd) |
| v32int8 | ssrs (v32acc32 acc, int shft, crsat_t sat, crrnd_t rnd) |
| v32uint8 | ussrs (v32acc32 acc, uint6_t shft) |
| v32uint8 | ussrs (v32acc32 acc, int shft) |
| v32uint8 | ussrs (v32acc32 acc, uint6_t shft, crsat_t sat, crrnd_t rnd) |
| v32uint8 | ussrs (v32acc32 acc, int shft, crsat_t sat, crrnd_t rnd) |
Function Documentation
◆ lsrs() [1/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [2/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [3/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [4/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [5/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [6/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [7/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [8/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [9/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [10/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [11/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [12/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [13/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [14/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [15/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [16/18]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ lsrs() [17/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ lsrs() [18/18]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [1/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [2/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [3/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [4/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [5/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time)
- Returns
- Vector result of operation
◆ ssrs() [6/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [7/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [8/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [9/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59
- Returns
- Vector result of operation
◆ ssrs() [10/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [11/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [12/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [13/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [14/16]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ssrs() [15/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ssrs() [16/16]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [1/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [2/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [3/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [4/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [5/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [6/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [7/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [8/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [9/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [10/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ulsrs() [11/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ulsrs() [12/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [1/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ussrs() [2/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [3/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ussrs() [4/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [5/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time)
- Returns
- Vector result of operation
◆ ussrs() [6/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [7/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation
◆ ussrs() [8/12]
- Parameters
-
acc Input accumulator shft Within the range of -4 to 59 (no check at compile time) sign Can be used to dynamically change the sign of the SRS conversion sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [9/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59
- Returns
- Vector result of operation
◆ ussrs() [10/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sat Saturation mode rnd Round mode
- Returns
- Vector result of operation
◆ ussrs() [11/12]
- Parameters
-
acc Input accumulator shft Within the range of 0 to 59 sign Can be used to dynamically change the sign of the SRS conversion
- Returns
- Vector result of operation