@@ -513,7 +513,8 @@ namespace xsimd
513513 return __riscv_vset (tmp, 1 , hi);
514514 }
515515
516- 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
516+ template <class T , size_t W, std::enable_if_t <W < types::detail::rvv_width_m1, int > = 0 >
517+ XSIMD_INLINE rvv_reg_t <T, W * 2 > rvvabut (rvv_reg_t <T, W> const & lo, rvv_reg_t <T, W> const & hi) noexcept
517518 {
518519 return __riscv_vslideup (lo, hi, lo.vl , lo.vl * 2 );
519520 }
@@ -533,12 +534,14 @@ namespace xsimd
533534 typename rvv_reg_t <T, W>::register_type tmp = rvvget_hi_ (T {}, vv);
534535 return tmp;
535536 }
536- 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
537+ template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int > = 0 >
538+ rvv_reg_t <T, W> rvvget_lo (rvv_reg_t <T, W * 2 > const & vv) noexcept
537539 {
538540 typename rvv_reg_t <T, W>::register_type tmp = vv;
539541 return tmp;
540542 }
541- 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
543+ template <class T , size_t W, std::enable_if_t <W<types::detail::rvv_width_m1, int > = 0 >
544+ rvv_reg_t <T, W> rvvget_hi (rvv_reg_t <T, W * 2 > const & vv) noexcept
542545 {
543546 return __riscv_vslidedown (vv, vv.vl / 2 , vv.vl );
544547 }
0 commit comments