* @brief Return a integer value as a float bit pattern (i.e. no conversion). * * It is a common trick to convert floats into integer bit patterns, perform * some bit hackery based on knowledge they are IEEE 754 layout, and then * convert them back again. This is the second half of that flip. */
| 987 | * convert them back again. This is the second half of that flip. |
| 988 | */ |
| 989 | ASTCENC_SIMD_INLINE vfloat int_as_float(vint a) |
| 990 | { |
| 991 | return vfloat(__riscv_vreinterpret_f32m1(a.m)); |
| 992 | } |
| 993 | |
| 994 | typedef vuint8m1_t vuint8m1fix_t __attribute__((riscv_rvv_vector_bits(__riscv_v_fixed_vlen))); |
| 995 |