Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zingaburga+gcc at hotmail dot com
Target Milestone: ---
Firstly, this isn't a bug, rather a missed optimization opportunity (I presume
this is the place to post these?).
With the optimizer enabled, it seems like
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zingaburga+gcc at hotmail dot com
Target Milestone: ---
Consider the following code example:
#include
void fn(__m128i* in, __m128i* out) {
int i=0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92437
--- Comment #2 from zingaburga+gcc at hotmail dot com ---
Thanks for the info Andrew!
Changing the add to `_mm_add_epi64` does seem to eliminate all instances of the
duplication.
: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zingaburga+gcc at hotmail dot com
Target Milestone: ---
Type punning a RISC-V vector causes ICE under RV64 GCC 13.x/trunk:
https://godbolt.org/z/sajcb3T7z
Seems to work with -O0 instead of -O1, on GCC 13.x
Code