https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121051
--- Comment #2 from camel-cdr <camel-cdr at protonmail dot com> --- RVV intrinsics register allocation in GCC really needs to be improved. Half of the libjpeg-turbo RVV kernels spill in gcc, while they have very neat codegen in clang: https://github.com/libjpeg-turbo/libjpeg-turbo/tree/dev/simd/riscv64 Here are the ones that spill: https://godbolt.org/z/jG6rWsMob
