Skip to content

Commit

Permalink
x86 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SadiinsoSnowfall committed Nov 12, 2024
1 parent 3b419ca commit 2e9dafc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/eve/detail/function/simd/x86/to_logical.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ namespace eve::detail
// Wide to Logical
//================================================================================================
template<typename T, typename N>
EVE_FORCEINLINE auto
to_logical(wide<T, N> const& v) noexcept requires x86_abi<abi_t<T, N>>
EVE_FORCEINLINE logical<wide<T, N>> to_logical(wide<T, N> v) noexcept
requires x86_abi<abi_t<T, N>>
{
return v != 0;
}

template<relative_conditional_expr C, simd_value T>
auto EVE_FORCEINLINE
to_logical(C c, eve::as<T>) noexcept requires(current_api >= avx512)
as_logical_t<T> EVE_FORCEINLINE to_logical(C c, eve::as<T>) noexcept
requires(current_api >= avx512)
{
using type = as_logical_t<T>;
auto value = top_bits<type>(c);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ namespace eve::detail
O const& o,
wide<T, N> const& v,
wide<T, N> const& w) noexcept
-> decltype(is_ordered(v, w))
requires x86_abi<abi_t<T, N>>
{
constexpr auto c = categorize<wide<T, N>>();
Expand Down

0 comments on commit 2e9dafc

Please sign in to comment.