1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

correct zero in svcadd

This commit is contained in:
nmeyer-ur 2020-06-02 10:38:05 +02:00
parent 9b2699226c
commit b4735c9904

View File

@ -453,14 +453,14 @@ struct TimesMinusI{
pred pg1 = acle<float>::pg1();
vecf z_v = acle<float>::zero();
return svcadd_x(pred, zero, a, 270);
return svcadd_x(pred, z_v, a, 270);
}
// Complex double
inline vecd operator()(vecd a, vecd b){
pred pg1 = acle<float>::pg1();
vecd z_v = acle<float>::zero();
return svcadd_x(pred, zero, a, 270);
return svcadd_x(pred, z_v, a, 270);
}
};
@ -498,14 +498,14 @@ struct TimesI{
pred pg1 = acle<float>::pg1();
vecf z_v = acle<float>::zero();
return svcadd_x(pred, zero, a, 90);
return svcadd_x(pred, z_v, a, 90);
}
// Complex double
inline vecd operator()(vecd a, vecd b){
pred pg1 = acle<float>::pg1();
vecd z_v = acle<float>::zero();
return svcadd_x(pred, zero, a, 90);
return svcadd_x(pred, z_v, a, 90);
}
};