https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113247
--- Comment #9 from Robin Dapp <rdapp at gcc dot gnu.org> --- I also noticed this (likely unwanted) vector snippet and wondered where it is being created. First I thought it's a vec_extract but doesn't look like it. I'm going to check why we create this. Pan, the test was on real hardware I suppose? So regardless of the fact that we likely want to get rid of the snippet above, would you mind checking whether generic-ooo has any effect on performance? Maybe you could try -march=rv64gc -mtune=generic-ooo. Thanks.