@@ -515,7 +515,8 @@ namespace xsimd
515515 return __riscv_vset (tmp, 1 , hi);
516516 }
517517
518- template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int >::type = 0 > D_INLINE rvv_reg_t <T, W * 2 > rvvabut (rvv_reg_t <T, W> const & lo, rvv_reg_t <T, W> const & hi) noexcept
518+ template <class T , size_t W, std::enable_if_t <W < types::detail::rvv_width_m1, int > = 0 >
519+ XSIMD_INLINE rvv_reg_t <T, W * 2 > rvvabut (rvv_reg_t <T, W> const & lo, rvv_reg_t <T, W> const & hi) noexcept
519520 {
520521 return __riscv_vslideup (lo, hi, lo.vl , lo.vl * 2 );
521522 }
@@ -535,12 +536,14 @@ namespace xsimd
535536 typename rvv_reg_t <T, W>::register_type tmp = rvvget_hi_ (T {}, vv);
536537 return tmp;
537538 }
538- template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int > = 0 > rvv_reg_t <T, W> rvvget_lo (rvv_reg_t <T, W * 2 > const & vv) noexcept
539+ template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int > = 0 >
540+ rvv_reg_t <T, W> rvvget_lo (rvv_reg_t <T, W * 2 > const & vv) noexcept
539541 {
540542 typename rvv_reg_t <T, W>::register_type tmp = vv;
541543 return tmp;
542544 }
543- template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int >::type = 0 > reg_t <T, W> rvvget_hi (rvv_reg_t <T, W * 2 > const & vv) noexcept
545+ template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int > = 0 >
546+ rvv_reg_t <T, W> rvvget_hi (rvv_reg_t <T, W * 2 > const & vv) noexcept
544547 {
545548 return __riscv_vslidedown (vv, vv.vl / 2 , vv.vl );
546549 }
0 commit comments