AI Engine Intrinsics User Guide (AIE) v2024.2
|
Mode setting intrinsics to get and set bits in the control and status register. More...
Mode setting intrinsics to get and set bits in the control and status register.
Modules | |
Control register | |
Intrinsics to set, get and clear bits of the control register. | |
Status register | |
Intrinsics to set, get and clear bits of the status register. | |
Rounding Modes | |
#define | rnd_floor 0 |
No rounding - Truncate LSB, always round down (towards negative infinity) | |
#define | rnd_ceil 1 |
No rounding - Always round up (towards positive infinity) | |
#define | rnd_pos_inf 2 |
Round halfway towards positive infinity. | |
#define | rnd_neg_inf 3 |
Round halfway towards negative infinity. | |
#define | rnd_sym_inf 4 |
Round halfway towards infinity (away from zero) | |
#define | rnd_sym_zero 5 |
Round halfway towards zero (away from infinity) | |
#define | rnd_conv_even 6 |
Round halfway towards nearest even number. | |
#define | rnd_conv_odd 7 |
Round halfway towards nearest odd number. | |
#define rnd_ceil 1 |
No rounding - Always round up (towards positive infinity)
#define rnd_conv_even 6 |
Round halfway towards nearest even number.
#define rnd_conv_odd 7 |
Round halfway towards nearest odd number.
#define rnd_floor 0 |
No rounding - Truncate LSB, always round down (towards negative infinity)
#define rnd_neg_inf 3 |
Round halfway towards negative infinity.
#define rnd_pos_inf 2 |
Round halfway towards positive infinity.
#define rnd_sym_inf 4 |
Round halfway towards infinity (away from zero)
#define rnd_sym_zero 5 |
Round halfway towards zero (away from infinity)