[Libre-soc-bugs] [Bug 1229] fosdem2024 llvm simple-v

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Dec 3 10:10:10 GMT 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1229

--- Comment #13 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #12)
> the whole point of autovectorization is to automatically convert *scalar
> code* to vectorized code, so any way we express SV operations, that's manual
> vectorization, so the autovectorizer doesn't generally do anything with the
> manually vectorized code.

autovectorization is what converts loops like:
for(int i = 0; i < 8; i++)
    a[i] = b[i] + c[i];

to:
*(vec8 *)a = *(vec8 *)b + *(vec8 *)c;

if you give it already vectorized code (aka. basically any code using SV vector
syntax), it will just not change it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list