| AI Engine-ML v2 Intrinsics User Guide (v2026.1)

Loading...
Searching...
No Matches
Floating-point
Vector Conversions » Upshift

## Upshift from bfloat16 to floating-point (AIE interface)
v16accfloat | ups (v16bfloat16)
v32accfloat | ups (v32bfloat16)

## Upshift from bfloat16 to floating-point
v16accfloat | to_v16accfloat (v16bfloat16)
v32accfloat | to_v32accfloat (v32bfloat16)

## Upshift from float16 to floating-point (AIE interface)
v16accfloat | ups (v16float16 a)
v32accfloat | ups (v32float16)

## Upshift from float16 to floating-point
v16accfloat | to_v16accfloat (v16float16 a)
v32accfloat | to_v32accfloat (v32float16)
v16accfloat | ups_to_v16accfloat (v16bfloat16 a)
v32accfloat | ups_to_v32accfloat (v32bfloat16 a)

## Detailed Description

Reads 256 or 512 bits from a vector register and upshifts the result to double or quad accumulator register. The output lanes can be 32 or 64 bits (determined by the crUPSSize control register), signed.

## Function Documentation

## ◆ to_v16accfloat() [1/2]

v16accfloat to_v16accfloat | ( | v16bfloat16 |  | ) |

## ◆ to_v16accfloat() [2/2]

v16accfloat to_v16accfloat | ( | v16float16 | a | ) |

## ◆ to_v32accfloat() [1/2]

v32accfloat to_v32accfloat | ( | v32bfloat16 |  | ) |

## ◆ to_v32accfloat() [2/2]

v32accfloat to_v32accfloat | ( | v32float16 |  | ) |

## ◆ ups() [1/4]

v16accfloat ups | ( | v16bfloat16 |  | ) |

## ◆ ups() [2/4]

v16accfloat ups | ( | v16float16 | a | ) |

## ◆ ups() [3/4]

v32accfloat ups | ( | v32bfloat16 |  | ) |

## ◆ ups() [4/4]

v32accfloat ups | ( | v32float16 |  | ) |

## ◆ ups_to_v16accfloat()

v16accfloat ups_to_v16accfloat | ( | v16bfloat16 | a | ) |

## ◆ ups_to_v32accfloat()

v32accfloat ups_to_v32accfloat | ( | v32bfloat16 | a | ) |