On this godbolt link at https://godbolt.org/z/GfeTobMvs, the two C source codes behave identical. Yet the second source code does not use vectors and is 30% slower when I tested it.
- GCC does not optimize well enough with vectors on bi... Qwert Nerdish via Gcc
- Re: GCC does not optimize well enough with vect... Qwert Nerdish via Gcc
- Re: GCC does not optimize well enough with ... Matt Godbolt
- Re: GCC does not optimize well enough w... Jason Merrill via Gcc