AI Engine Intrinsics User Guide
(AIE) r2p23
|
Advanced Integer Vector Arithmetic Operations. To have more information in lane selection please refer to here.
Functions | |
v16int32 | abs16 (v32int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi) |
Performs an absolute value computation between lanes of xbuff. | |
v16int32 | abs16 (v16int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi) |
Performs an absolute value computation between lanes of xbuff. | |
v32int16 | abs32 (v64int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare) |
Performs an absolute value computation between lanes of xbuff. | |
v32int16 | abs32 (v32int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare) |
Performs an absolute value computation between lanes of xbuff. | |
v16int32 | add16 (v32int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs an addition between lanes of xbuff. | |
v16int32 | add16 (v16int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs an addition between lanes of xbuff. | |
v16int32 | add16 (v16int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, v16int32 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs an addition between lanes of xbuff and ybuff. | |
v16cint16 | add16 (v32cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff. | |
v16cint16 | add16 (v16cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff. | |
v16cint16 | add16 (v16cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, v16cint16 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff and ybuff. | |
v32int16 | add32 (v64int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff. | |
v32int16 | add32 (v32int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff. | |
v32int16 | add32 (v32int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, v32int16 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs an addition between lanes of xbuff and ybuff. | |
v8cint32 | add8 (v16cint32 xbuff, int xstart, unsigned int xoffsets, int ystart, unsigned int yoffsets) |
Performs an addition between lanes of xbuff. | |
v8cint32 | add8 (v8cint32 xbuff, int xstart, unsigned int xoffsets, int ystart, unsigned int yoffsets) |
Performs an addition between lanes of xbuff. | |
v8cint32 | add8 (v8cint32 xbuff, int xstart, unsigned int xoffsets, v8cint32 ybuff, int ystart, unsigned int yoffsets) |
Performs an addition between lanes of xbuff and ybuff. | |
v16int32 | sub16 (v32int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs a subtraction between lanes of xbuff. | |
v16int32 | sub16 (v16int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs a subtraction between lanes of xbuff. | |
v16int32 | sub16 (v16int32 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, v16int32 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi) |
Performs a subtraction between lanes of xbuff and ybuff. | |
v16cint16 | sub16 (v32cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff. | |
v16cint16 | sub16 (v16cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff. | |
v16cint16 | sub16 (v16cint16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, v16cint16 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff and ybuff. | |
v32int16 | sub32 (v64int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff. | |
v32int16 | sub32 (v32int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff. | |
v32int16 | sub32 (v32int16 xbuff, int xstart, unsigned int xoffsets, unsigned int xoffsets_hi, unsigned int xsquare, v32int16 ybuff, int ystart, unsigned int yoffsets, unsigned int yoffsets_hi, unsigned int ysquare) |
Performs a subtraction between lanes of xbuff and ybuff. | |
v8cint32 | sub8 (v16cint32 xbuff, int xstart, unsigned int xoffsets, int ystart, unsigned int yoffsets) |
Performs a subtraction between lanes of xbuff. | |
v8cint32 | sub8 (v8cint32 xbuff, int xstart, unsigned int xoffsets, int ystart, unsigned int yoffsets) |
Performs a subtraction between lanes of xbuff. | |
v8cint32 | sub8 (v8cint32 xbuff, int xstart, unsigned int xoffsets, v8cint32 ybuff, int ystart, unsigned int yoffsets) |
Performs a subtraction between lanes of xbuff and ybuff. | |
v16int32 abs16 | ( | v32int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi | ||
) |
Performs an absolute value computation between lanes of xbuff.
xbuff | Input buffer of 32 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v16int32 abs16 | ( | v16int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi | ||
) |
Performs an absolute value computation between lanes of xbuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v32int16 abs32 | ( | v64int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare | ||
) |
Performs an absolute value computation between lanes of xbuff.
xbuff | Input buffer of 64 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
v32int16 abs32 | ( | v32int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare | ||
) |
Performs an absolute value computation between lanes of xbuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
v16int32 add16 | ( | v32int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 32 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v16int32 add16 | ( | v16int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v16int32 add16 | ( | v16int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
v16int32 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs an addition between lanes of xbuff and ybuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ybuff | Input buffer of 16 elements with 32-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 8th lane |
v16cint16 add16 | ( | v32cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v16cint16 add16 | ( | v16cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 16 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v16cint16 add16 | ( | v16cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
v16cint16 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff and ybuff.
xbuff | Input buffer of 16 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ybuff | Input buffer of 16 elements with 16-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 add32 | ( | v64int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 64 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 add32 | ( | v32int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 add32 | ( | v32int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
v32int16 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs an addition between lanes of xbuff and ybuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ybuff | Input buffer of 32 elements with 16-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v8cint32 add8 | ( | v16cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the xbuffer for the second input. LSB apply to first lane |
v8cint32 add8 | ( | v8cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs an addition between lanes of xbuff.
xbuff | Input buffer of 8 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the xbuffer for the second input. LSB apply to first lane |
v8cint32 add8 | ( | v8cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
v8cint32 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs an addition between lanes of xbuff and ybuff.
xbuff | Input buffer of 8 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ybuff | Input buffer of 8 elements with 32-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the ybuffer for the second input. LSB apply to first lane |
v16int32 sub16 | ( | v32int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 32 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v16int32 sub16 | ( | v16int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
v16int32 sub16 | ( | v16int32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
v16int32 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi | ||
) |
Performs a subtraction between lanes of xbuff and ybuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ybuff | Input buffer of 16 elements with 32-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 8th lane |
v16cint16 sub16 | ( | v32cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v16cint16 sub16 | ( | v16cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 16 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v16cint16 sub16 | ( | v16cint16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
v16cint16 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff and ybuff.
xbuff | Input buffer of 16 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 8th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ybuff | Input buffer of 16 elements with 16-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 8th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 sub32 | ( | v64int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 64 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 sub32 | ( | v32int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v32int16 sub32 | ( | v32int16 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
unsigned int | xoffsets_hi, | ||
unsigned int | xsquare, | ||
v32int16 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets, | ||
unsigned int | yoffsets_hi, | ||
unsigned int | ysquare | ||
) |
Performs a subtraction between lanes of xbuff and ybuff.
xbuff | Input buffer of 32 elements with 16-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 4b offset for each lane, applied to the xbuffer. LSB apply to first lane |
xoffsets_hi | 4b offset for each lane, applied to the xbuffer. LSB apply to 16th lane |
xsquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs to be less than 4. max value for this field is (0x3333) |
ybuff | Input buffer of 32 elements with 16-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 4b offset for each lane, applied to the ybuffer. LSB apply to first lane |
yoffsets_hi | 4b offset for each lane, applied to the ybuffer. LSB apply to 16th lane |
ysquare | Select order of the mini-permute square (default=0x3210). LSB apply to first element. Value per lane needs be less than 4. max value for this field is (0x3333) |
v8cint32 sub8 | ( | v16cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 16 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the xbuffer for the second input. LSB apply to first lane |
v8cint32 sub8 | ( | v8cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs a subtraction between lanes of xbuff.
xbuff | Input buffer of 8 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ystart | Starting position offset applied to all lanes of input from xbuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the xbuffer for the second input. LSB apply to first lane |
v8cint32 sub8 | ( | v8cint32 | xbuff, |
int | xstart, | ||
unsigned int | xoffsets, | ||
v8cint32 | ybuff, | ||
int | ystart, | ||
unsigned int | yoffsets | ||
) |
Performs a subtraction between lanes of xbuff and ybuff.
xbuff | Input buffer of 8 elements with 32-bit precision |
xstart | Starting position offset applied to all lanes of input from X buffer |
xoffsets | 3b (aligned to 4b) offset for each lane, applied to the xbuffer. LSB apply to first lane |
ybuff | Input buffer of 8 elements with 32-bit precision |
ystart | Starting position offset applied to all lanes of input from ybuffer for the second input |
yoffsets | 3b (aligned to 4b) offset for each lane in the ybuffer for the second input. LSB apply to first lane |