[Bug middle-end/40122] missed optimization when using union of __m128i and int[4]

2009-05-21 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2009-05-21 16:02 --- With he new SRA, the optimized dump looks like: D.6886_10 = {1, 1, 1, 1}; D.6887_11 = VIEW_CONVERT_EXPRvector long long int(D.6886_10); D.6893_12 = VIEW_CONVERT_EXPRvector int(D.6887_11); D.6891_14 =

[Bug middle-end/40122] missed optimization when using union of __m128i and int[4]

2009-05-12 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-05-12 15:00 --- The union copy confuses GCC: r.v = VIEW_CONVERT_EXPRvector long long int({1, 1, 1, 1}); D.6990 = r; x = D.6990; D.6997 = VIEW_CONVERT_EXPRvector int(x.v); D.6994 = __builtin_ia32_pcmpeqd128 (D.6997,

[Bug middle-end/40122] missed optimization when using union of __m128i and int[4]

2009-05-12 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-05-12 15:24 --- This is a dup of bug 36327. *** This bug has been marked as a duplicate of 36327 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added