Module core::core_arch::riscv_shared::p
source · 🔬This is a nightly-only experimental API. (
stdsimd
#48556)Expand description
RISC-V Packed SIMD intrinsics; shared part.
RV64 only part is placed in riscv64 folder.
Functions
- add8ExperimentalAdds packed 8-bit signed numbers, discarding overflow bits
- add16ExperimentalAdds packed 16-bit signed numbers, discarding overflow bits
- clrs8ExperimentalCount the number of redundant sign bits of the packed 8-bit elements
- clrs16ExperimentalCount the number of redundant sign bits of the packed 16-bit elements
- clrs32ExperimentalCount the number of redundant sign bits of the packed 32-bit elements
- clz8ExperimentalCount the number of leading zero bits of the packed 8-bit elements
- clz16ExperimentalCount the number of leading zero bits of the packed 16-bit elements
- clz32ExperimentalCount the number of leading zero bits of the packed 32-bit elements
- cmpeq8ExperimentalCompare equality for packed 8-bit elements
- cmpeq16ExperimentalCompare equality for packed 16-bit elements
- cras16ExperimentalCross adds and subtracts packed 16-bit signed numbers, discarding overflow bits
- crsa16ExperimentalCross subtracts and adds packed 16-bit signed numbers, discarding overflow bits
- kabs8ExperimentalCompute the absolute value of packed 8-bit signed integers
- kabs16ExperimentalCompute the absolute value of packed 16-bit signed integers
- kadd8ExperimentalAdds packed 8-bit signed numbers, saturating at the numeric bounds
- kadd16ExperimentalAdds packed 16-bit signed numbers, saturating at the numeric bounds
- kaddhExperimentalAdds signed lower 16-bit content of two registers with Q15 saturation
- kcras16ExperimentalCross adds and subtracts packed 16-bit signed numbers, saturating at the numeric bounds
- kcrsa16ExperimentalCross subtracts and adds packed 16-bit signed numbers, saturating at the numeric bounds
- ksll8ExperimentalLogical left shift packed 8-bit elements, saturating at the numeric bounds
- ksll16ExperimentalLogical left shift packed 16-bit elements, saturating at the numeric bounds
- kslra8ExperimentalLogical saturating left then arithmetic right shift packed 8-bit elements
- kslra8uExperimentalLogical saturating left then arithmetic right shift packed 8-bit elements
- kslra16ExperimentalLogical saturating left then arithmetic right shift packed 16-bit elements
- kslra16uExperimentalLogical saturating left then arithmetic right shift packed 16-bit elements
- kstas16ExperimentalStraight adds and subtracts packed 16-bit signed numbers, saturating at the numeric bounds
- kstsa16ExperimentalStraight subtracts and adds packed 16-bit signed numbers, saturating at the numeric bounds
- ksub8ExperimentalSubtracts packed 8-bit signed numbers, saturating at the numeric bounds
- ksub16ExperimentalSubtracts packed 16-bit signed numbers, saturating at the numeric bounds
- ksubhExperimentalSubtracts signed lower 16-bit content of two registers with Q15 saturation
- pbsadExperimentalCalculate the sum of absolute difference of unsigned 8-bit data elements
- pbsadaExperimentalCalculate and accumulate the sum of absolute difference of unsigned 8-bit data elements
- pkbt16ExperimentalPack two 16-bit data from bottom and top half from 32-bit chunks
- pktb16ExperimentalPack two 16-bit data from top and bottom half from 32-bit chunks
- radd8ExperimentalHalves the sum of packed 8-bit signed numbers, dropping least bits
- radd16ExperimentalHalves the sum of packed 16-bit signed numbers, dropping least bits
- rcras16ExperimentalCross halves of adds and subtracts packed 16-bit signed numbers, dropping least bits
- rcrsa16ExperimentalCross halves of subtracts and adds packed 16-bit signed numbers, dropping least bits
- rstas16ExperimentalStraight halves of adds and subtracts packed 16-bit signed numbers, dropping least bits
- rstsa16ExperimentalStraight halves of subtracts and adds packed 16-bit signed numbers, dropping least bits
- rsub8ExperimentalHalves the subtraction result of packed 8-bit signed numbers, dropping least bits
- rsub16ExperimentalHalves the subtraction result of packed 16-bit signed numbers, dropping least bits
- scmple8ExperimentalCompare whether 8-bit packed signed integers are less than or equal to the others
- scmple16ExperimentalCompare whether 16-bit packed signed integers are less than or equal to the others
- scmplt8ExperimentalCompare whether 8-bit packed signed integers are less than the others
- scmplt16ExperimentalCompare whether 16-bit packed signed integers are less than the others
- sll8ExperimentalLogical left shift packed 8-bit elements, discarding overflow bits
- sll16ExperimentalLogical left shift packed 16-bit elements, discarding overflow bits
- smaqaExperimentalMultiply signed 8-bit elements and add 16-bit elements on results for packed 32-bit chunks
- smaqasuExperimentalMultiply signed to unsigned 8-bit and add 16-bit elements on results for packed 32-bit chunks
- smax8ExperimentalGet maximum values from 8-bit packed signed integers
- smax16ExperimentalGet maximum values from 16-bit packed signed integers
- smin8ExperimentalGet minimum values from 8-bit packed signed integers
- smin16ExperimentalGet minimum values from 16-bit packed signed integers
- sra8ExperimentalArithmetic right shift packed 8-bit elements without rounding up
- sra8uExperimentalArithmetic right shift packed 8-bit elements with rounding up
- sra16ExperimentalArithmetic right shift packed 16-bit elements without rounding up
- sra16uExperimentalArithmetic right shift packed 16-bit elements with rounding up
- srl8ExperimentalLogical right shift packed 8-bit elements without rounding up
- srl8uExperimentalLogical right shift packed 8-bit elements with rounding up
- srl16ExperimentalLogical right shift packed 16-bit elements without rounding up
- srl16uExperimentalLogical right shift packed 16-bit elements with rounding up
- stas16ExperimentalStraight adds and subtracts packed 16-bit signed numbers, discarding overflow bits
- stsa16ExperimentalStraight subtracts and adds packed 16-bit signed numbers, discarding overflow bits
- sub8ExperimentalSubtracts packed 8-bit signed numbers, discarding overflow bits
- sub16ExperimentalSubtracts packed 16-bit signed numbers, discarding overflow bits
- sunpkd810ExperimentalUnpack first and zeroth into two 16-bit signed halfwords in each 32-bit chunk
- sunpkd820ExperimentalUnpack second and zeroth into two 16-bit signed halfwords in each 32-bit chunk
- sunpkd830ExperimentalUnpack third and zeroth into two 16-bit signed halfwords in each 32-bit chunk
- sunpkd831ExperimentalUnpack third and first into two 16-bit signed halfwords in each 32-bit chunk
- sunpkd832ExperimentalUnpack third and second into two 16-bit signed halfwords in each 32-bit chunk
- swap8ExperimentalSwap the 8-bit bytes within each 16-bit halfword of a register.
- swap16ExperimentalSwap the 16-bit halfwords within each 32-bit word of a register
- ucmple8ExperimentalCompare whether 8-bit packed unsigned integers are less than or equal to the others
- ucmple16ExperimentalCompare whether 16-bit packed unsigned integers are less than or equal to the others
- ucmplt8ExperimentalCompare whether 8-bit packed unsigned integers are less than the others
- ucmplt16ExperimentalCompare whether 16-bit packed unsigned integers are less than the others
- ukadd8ExperimentalAdds packed 8-bit unsigned numbers, saturating at the numeric bounds
- ukadd16ExperimentalAdds packed 16-bit unsigned numbers, saturating at the numeric bounds
- ukaddhExperimentalAdds signed lower 16-bit content of two registers with U16 saturation
- ukcras16ExperimentalCross adds and subtracts packed 16-bit unsigned numbers, saturating at the numeric bounds
- ukcrsa16ExperimentalCross subtracts and adds packed 16-bit unsigned numbers, saturating at the numeric bounds
- ukstas16ExperimentalStraight adds and subtracts packed 16-bit unsigned numbers, saturating at the numeric bounds
- ukstsa16ExperimentalStraight subtracts and adds packed 16-bit unsigned numbers, saturating at the numeric bounds
- uksub8ExperimentalSubtracts packed 8-bit unsigned numbers, saturating at the numeric bounds
- uksub16ExperimentalSubtracts packed 16-bit unsigned numbers, saturating at the numeric bounds
- uksubhExperimentalSubtracts signed lower 16-bit content of two registers with U16 saturation
- umaqaExperimentalMultiply unsigned 8-bit elements and add 16-bit elements on results for packed 32-bit chunks
- umax8ExperimentalGet maximum values from 8-bit packed unsigned integers
- umax16ExperimentalGet maximum values from 16-bit packed unsigned integers
- umin8ExperimentalGet minimum values from 8-bit packed unsigned integers
- umin16ExperimentalGet minimum values from 16-bit packed unsigned integers
- uradd8ExperimentalHalves the sum of packed 8-bit unsigned numbers, dropping least bits
- uradd16ExperimentalHalves the sum of packed 16-bit unsigned numbers, dropping least bits
- urcras16ExperimentalCross halves of adds and subtracts packed 16-bit unsigned numbers, dropping least bits
- urcrsa16ExperimentalCross halves of subtracts and adds packed 16-bit unsigned numbers, dropping least bits
- urstas16ExperimentalStraight halves of adds and subtracts packed 16-bit unsigned numbers, dropping least bits
- urstsa16ExperimentalStraight halves of subtracts and adds packed 16-bit unsigned numbers, dropping least bits
- ursub8ExperimentalHalves the subtraction result of packed 8-bit unsigned numbers, dropping least bits
- ursub16ExperimentalHalves the subtraction result of packed 16-bit unsigned numbers, dropping least bits
- zunpkd810ExperimentalUnpack first and zeroth into two 16-bit unsigned halfwords in each 32-bit chunk
- zunpkd820ExperimentalUnpack second and zeroth into two 16-bit unsigned halfwords in each 32-bit chunk
- zunpkd830ExperimentalUnpack third and zeroth into two 16-bit unsigned halfwords in each 32-bit chunk
- zunpkd831ExperimentalUnpack third and first into two 16-bit unsigned halfwords in each 32-bit chunk
- zunpkd832ExperimentalUnpack third and second into two 16-bit unsigned halfwords in each 32-bit chunk