https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119348

--- Comment #2 from nihui <shuizhuyuanluo at gmail dot com> ---
aha, just found that pointer casting works in gcc :)
though clang seems unhappy about it

```c
#include <riscv_vector.h>

vfloat32m8_t convert_vfloat32m1x8_to_vfloat32m8(vfloat32m1x8_t tuple)
{
    return *(vfloat32m8_t*)(&tuple);
}
```

Reply via email to