diff --git a/Grid/simd/Grid_a64fx-2.h b/Grid/simd/Grid_a64fx-2.h index 67690c01..55bf1e72 100644 --- a/Grid/simd/Grid_a64fx-2.h +++ b/Grid/simd/Grid_a64fx-2.h @@ -423,7 +423,7 @@ struct Conj{ svbool_t pg_odd = acle::pg_odd(); typename acle::vt a_v = svld1(pg1, a.v); //typename acle::vt r_v = svneg_x(pg_odd, a_v); - typename acle::vt r_v = svneg_m(pg_odd, a_v); + typename acle::vt r_v = svneg_m(a_v, pg_odd, a_v); svst1(pg1, out.v, r_v); return out; @@ -443,7 +443,7 @@ struct TimesMinusI{ typename acle::svuint tbl_swap_v = svld1(pg1, tbl_swap.v); typename acle::vt a_v = svld1(pg1, a.v); a_v = svtbl(a_v, tbl_swap_v); - typename acle::vt r_v = svneg_m(pg_odd, a_v); + typename acle::vt r_v = svneg_m(a_v, pg_odd, a_v); svst1(pg1, out.v, r_v); return out; @@ -464,7 +464,7 @@ struct TimesI{ typename acle::vt a_v = svld1(pg1, a.v); a_v = svtbl(a_v, tbl_swap_v); //typename acle::vt r_v = svneg_x(pg_even, a_v); - typename acle::vt r_v = svneg_m(pg_even, a_v); + typename acle::vt r_v = svneg_m(a_v, pg_even, a_v); svst1(pg1, out.v, r_v); return out; diff --git a/Grid/simd/Grid_a64fx-fixedsize.h b/Grid/simd/Grid_a64fx-fixedsize.h index cb486401..387a1f99 100644 --- a/Grid/simd/Grid_a64fx-fixedsize.h +++ b/Grid/simd/Grid_a64fx-fixedsize.h @@ -385,13 +385,13 @@ struct Conj{ inline vecf operator()(vecf a){ pred pg_odd = acle::pg_odd(); //return svneg_x(pg_odd, a); - return svneg_m(pg_odd, a); + return svneg_m(a, pg_odd, a); } // Complex double inline vecd operator()(vecd a){ pred pg_odd = acle::pg_odd(); //return svneg_x(pg_odd, a); - return svneg_m(pg_odd, a); + return svneg_m(a, pg_odd, a); } }; @@ -404,7 +404,7 @@ struct TimesMinusI{ vecf a_v = svtbl(a, tbl_swap); //return svneg_x(pg_odd, a_v); - return svneg_m(pg_odd, a_v); + return svneg_m(a_v, pg_odd, a_v); } // Complex double inline vecd operator()(vecd a, vecd b){ @@ -414,7 +414,7 @@ struct TimesMinusI{ vecd a_v = svtbl(a, tbl_swap); //return svneg_x(pg_odd, a_v); - return svneg_m(pg_odd, a_v); + return svneg_m(a_v, pg_odd, a_v); } }; @@ -427,7 +427,7 @@ struct TimesI{ vecf a_v = svtbl(a, tbl_swap); //return svneg_x(pg_even, a_v); - return svneg_m(pg_even, a_v); + return svneg_m(a_v, pg_even, a_v); } // Complex double inline vecd operator()(vecd a, vecd b){ @@ -437,7 +437,7 @@ struct TimesI{ vecd a_v = svtbl(a, tbl_swap); //return svneg_x(pg_even, a_v); - return svneg_m(pg_even, a_v); + return svneg_m(a_v, pg_even, a_v); } };