mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
API change v2
This commit is contained in:
parent
798af3e68f
commit
4bc2ad2894
@ -436,12 +436,12 @@ struct PrecisionChange {
|
|||||||
vecf sb_v = svcvt_f32_x(pg1d, b);
|
vecf sb_v = svcvt_f32_x(pg1d, b);
|
||||||
return svuzp1(sa_v, sb_v);
|
return svuzp1(sa_v, sb_v);
|
||||||
}
|
}
|
||||||
static inline void StoD (svfloat32_t s,svfloat64_t &a,svfloat64_t &b) {
|
static inline void StoD (vecf s,vecd *a,vecd *b) {
|
||||||
pred pg1d = acle<double>::pg1();
|
pred pg1d = acle<double>::pg1();
|
||||||
vecf sa_v = svzip1(s, s);
|
vecf sa_v = svzip1(s, s);
|
||||||
vecf sb_v = svzip2(s, s);
|
vecf sb_v = svzip2(s, s);
|
||||||
a = svcvt_f64_x(pg1d, sa_v);
|
*a = svcvt_f64_x(pg1d, sa_v);
|
||||||
b = svcvt_f64_x(pg1d, sb_v);
|
*b = svcvt_f64_x(pg1d, sb_v);
|
||||||
}
|
}
|
||||||
static inline vech DtoH (vecd a,vecd b,vecd c,vecd d) {
|
static inline vech DtoH (vecd a,vecd b,vecd c,vecd d) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user