StackOverflow Questions for Tag: auto-vectorization

Malcolm MacLeod
Malcolm MacLeod

Reputation: 670

Why is GCC not autovectorising this code unless I expicitly specify any of the possible cost model?

Score: -2

Views: 45

Answers: 1

Read More
Poperton
Poperton

Reputation: 2127

How to auto-vectorize (SIMD) a modular multiplication in Rust

Score: 2

Views: 121

Answers: 1

Read More
myej
myej

Reputation: 65

How to avoid if statement? for the compiler cannot optimize it to simd

Score: 0

Views: 219

Answers: 2

Read More
pratikpc
pratikpc

Reputation: 608

Why do GCC, ICX and Clang not auto-vectorize using AVX-512 based instructions on Intel processors but do the same on AMD?

Score: 3

Views: 171

Answers: 0

Read More
casualcoder
casualcoder

Reputation: 4990

What compilers besides gcc can vectorize code?

Score: 4

Views: 2165

Answers: 10

Read More
Unlikus
Unlikus

Reputation: 1858

Rust auto vectorization of exp function

Score: 1

Views: 83

Answers: 0

Read More
nowox
nowox

Reputation: 29066

Why won't simple code get auto-vectorized with SSE and AVX in modern compilers?

Score: 29

Views: 3104

Answers: 2

Read More
Blablablabli
Blablablabli

Reputation: 184

Loop not vectorized due to reason '1300'

Score: 5

Views: 906

Answers: 3

Read More
vev01
vev01

Reputation: 15

Why does msvc not vectorize?

Score: 1

Views: 136

Answers: 1

Read More
quiquelhappy
quiquelhappy

Reputation: 413

C Optimization help needed for SIMD

Score: 0

Views: 103

Answers: 0

Read More
YjyJeff
YjyJeff

Reputation: 903

Why can llvm not auto-vectorize comparing two arrays and write result to vector<bool>?

Score: 0

Views: 162

Answers: 0

Read More
MarkB
MarkB

Reputation: 1988

Why does GCC generate code that conditionally executes a SIMD implementation?

Score: 28

Views: 1388

Answers: 1

Read More
Sea Erchin
Sea Erchin

Reputation: 313

Why can't clang vectorise this loop over a std::span, writing results to a std::array?

Score: 4

Views: 238

Answers: 1

Read More
Loran
Loran

Reputation: 55

AVX512 auto-vectorized C++ matrix-vector functions are much slower when source = destination, in-place

Score: 5

Views: 290

Answers: 1

Read More
matanox
matanox

Reputation: 13686

Leveraging and optimizing SIMD for matrix axis looping in cython

Score: 3

Views: 126

Answers: 1

Read More
mini
mini

Reputation: 199

Disable JIT Hotspot autovectorization

Score: 4

Views: 373

Answers: 0

Read More
Niccolò Tiezzi
Niccolò Tiezzi

Reputation: 129

Vectorizing vs interleaving loop C++

Score: 3

Views: 1189

Answers: 3

Read More
blonded04
blonded04

Reputation: 503

Efficient way to reset array of structs which contain a std::atomic member?

Score: 2

Views: 585

Answers: 1

Read More
Arkathorn
Arkathorn

Reputation: 69

Why is the auto-vectorizer failing to find "vectorizable type information"?

Score: 0

Views: 70

Answers: 1

Read More
Daisy G
Daisy G

Reputation: 31

With gcc -O3 optimization, why does the loop index's type affect gcc's internal GIMPLE vector constants (but not the final asm)?

Score: 3

Views: 84

Answers: 0

Read More
PreviousPage 1Next