mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
correct predication for svcadd
This commit is contained in:
parent
71cf9851e7
commit
7bee4ebb54
@ -453,14 +453,14 @@ struct TimesMinusI{
|
|||||||
pred pg1 = acle<float>::pg1();
|
pred pg1 = acle<float>::pg1();
|
||||||
vecf z_v = acle<float>::zero();
|
vecf z_v = acle<float>::zero();
|
||||||
|
|
||||||
return svcadd_x(pred, z_v, a, 270);
|
return svcadd_x(pg1, z_v, a, 270);
|
||||||
}
|
}
|
||||||
// Complex double
|
// Complex double
|
||||||
inline vecd operator()(vecd a, vecd b){
|
inline vecd operator()(vecd a, vecd b){
|
||||||
pred pg1 = acle<double>::pg1();
|
pred pg1 = acle<double>::pg1();
|
||||||
vecd z_v = acle<double>::zero();
|
vecd z_v = acle<double>::zero();
|
||||||
|
|
||||||
return svcadd_x(pred, z_v, a, 270);
|
return svcadd_x(pg1, z_v, a, 270);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -498,14 +498,14 @@ struct TimesI{
|
|||||||
pred pg1 = acle<float>::pg1();
|
pred pg1 = acle<float>::pg1();
|
||||||
vecf z_v = acle<float>::zero();
|
vecf z_v = acle<float>::zero();
|
||||||
|
|
||||||
return svcadd_x(pred, z_v, a, 90);
|
return svcadd_x(pg1, z_v, a, 90);
|
||||||
}
|
}
|
||||||
// Complex double
|
// Complex double
|
||||||
inline vecd operator()(vecd a, vecd b){
|
inline vecd operator()(vecd a, vecd b){
|
||||||
pred pg1 = acle<double>::pg1();
|
pred pg1 = acle<double>::pg1();
|
||||||
vecd z_v = acle<double>::zero();
|
vecd z_v = acle<double>::zero();
|
||||||
|
|
||||||
return svcadd_x(pred, z_v, a, 90);
|
return svcadd_x(pg1, z_v, a, 90);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user