[Bug c++/108320] New: Missing vector/array arithmetic optimization compared to valarray

2023-01-06 Thread diegoandres91b at hotmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: diegoandres91b at hotmail dot com Target Milestone: --- The next code (with -O3 -mavx2 -mfma): #include #include #include using namespace std; valarray fma1(const valarray &a

[Bug tree-optimization/93078] New: Missing fma and round functions auto-vectorization with x86-64 (sse2)

2019-12-26 Thread diegoandres91b at hotmail dot com
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: diegoandres91b at hotmail dot com Target Milestone: --- The next code (with -Ofast): #include using namespace std; float a[4], b[4], c[4]; void vec_fma

[Bug target/91594] New: Missing horizontal addition auto-vectorization

2019-08-28 Thread diegoandres91b at hotmail dot com
: target Assignee: unassigned at gcc dot gnu.org Reporter: diegoandres91b at hotmail dot com Target Milestone: --- The next code (with -O3 -ffast-math -msse3): float a2[4], b2[4], c2[4]; void hadd2() { c2[0] = a2[0] + a2[1]; c2[1] = a2[2] + a2[3]; c2[2] = b2[0] + b2

[Bug c++/81706] New: std::sin vectorization bug

2017-08-03 Thread diegoandres91b at hotmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: diegoandres91b at hotmail dot com Target Milestone: --- The next code (with -O3 -ffast-math): #include float a[4]; void sin1() { for(unsigned i = 0; i < 4; i++) a[i] = sinf(a[i]); } Compiles vectorized version of sinf (_ZGVbN4v_s