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
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
: 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
++
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