[LLVMdev] Enabling the vectorizer for -Os -- ping

Renato Golin renato.golin at linaro.org
Fri Jun 14 07:00:25 PDT 2013


Hi Nadav,

No noticeable difference between "-Os" and "-Os -fvectorize" in code size
or compilation times in my tests, and only minimal performance improvements
(small enough to be ignored).

cheers,
--renato


On 14 June 2013 09:29, Renato Golin <renato.golin at linaro.org> wrote:

> On 14 June 2013 05:37, Nadav Rotem <nrotem at apple.com> wrote:
>
>> Last week I wrote llvm-dev and presented data that shows how enabling the
>> vectorizer on -Os can improve the performance of many workloads and that it
>> has negligible effects on code size.  I also added a command line switch to
>> make it easier for people to benchmark the vectorizer using -Os directly
>> from clang without changing LLVM.  Has anyone done any benchmarks on -Os +
>> vectorization ?
>>
>
> Hi Nadav,
>
> I haven't, sorry. I'll run some tests on my Chromebook and will let you
> know.
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130614/73689b14/attachment.html>


More information about the llvm-dev mailing list