[Patch, C, C++] Accept GCC ivdep for 'do' and 'while', and for C++11's range-based loops
Tobias Burnus
burnus@net-b.de
Fri Oct 25 21:34:00 GMT 2013
Tobias Burnus wrote:
> Jason Merrill wrote:
>> I would think that a range-based loop over an array should vectorize
>> nicely:
> [...]
> Therefore, I will send a follow up patch.
Attached is that patch [C++].
[C/C++:] Additionally, as Jakub proposed and other compilers also
support, the patch accepts #pragma GCC ivdep for 'do' and 'while' loops.
I did an successful all-language bootstrap followed by successful
regstesting on x86-64-gnu-linux.
OK for committal?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ivdep-next.diff
Type: text/x-patch
Size: 12105 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131025/727b5807/attachment.bin>
More information about the Gcc-patches
mailing list