We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ninja/make build_tests
building pass without error
$workspace/cpp_libs/std-simd/tests/mask.cpp:124:4: required from ‘static void Tests::operators_<M>::run() [with M = ⠶simd_mask<char, ⠶simd_abi::_VecBuiltin<32> >]’ $workspace/cpp_libs/std-simd/tests/virtest/vir/test.h:1015:33: required from ‘int vir::test::detail::addTestInstantiations(const char*, vir::Typelist<Bs ...>) [with TestWrapper = Tests::operators_; Ts = {⠶simd_mask<long long int, ⠶simd_abi::_Scalar>, ⠶simd_mask<long long int, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<long long int, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<long long int, ⠶simd_abi::_VecBuiltin<32> >, ⠶simd_mask<long int, ⠶simd_abi::_Scalar>, ⠶simd_mask<long int, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<long int, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<long int, ⠶simd_abi::_VecBuiltin<32> >, ⠶simd_mask<long long unsigned int, ⠶simd_abi::_Scalar>, ⠶simd_mask<long long unsigned int, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<long long unsigned int, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<long long unsigned int, ⠶simd_abi::_VecBuiltin<32> >, ⠶simd_mask<long unsigned int, ⠶simd_abi::_Scalar>, ⠶simd_mask<long unsigned int, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<long unsigned int, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<long unsigned int, ⠶simd_abi::_VecBuiltin<32> >, ⠶simd_mask<char, ⠶simd_abi::_Scalar>, ⠶simd_mask<char, ⠶simd_abi::_VecBuiltin<8> >, ⠶simd_mask<char, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<char, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<char, ⠶simd_abi::_VecBuiltin<32> >, ⠶simd_mask<wchar_t, ⠶simd_abi::_Scalar>, ⠶simd_mask<wchar_t, ⠶simd_abi::_VecBuiltin<8> >, ⠶simd_mask<wchar_t, ⠶simd_abi::_VecBuiltin<16> >, ⠶simd_mask<wchar_t, ⠶simd_abi::_VecBuiltin<24> >, ⠶simd_mask<wchar_t, ⠶simd_abi::_VecBuiltin<32> >}]’ $workspace/cpp_libs/std-simd/tests/mask.cpp:108:1: required from here $workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_builtin.h:2853:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘⠶integral_constant<long unsigned int, 31>::value_type’ {aka ‘long unsigned int’} [-Wsign-compare]
#workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_builtin.h:2287:33: error: could not convert ‘((((__vector(16) int)__absn) <= ((__vector(16) int)__maxn)) ? (__vector(16) int){-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1} : (__vector(16) int){0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0})’ from ‘__vector(16) int’ to ‘std::experimental::parallelism_v2::_SimdImplBuiltin<std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >::_MaskMember<float>’ {aka ‘std::experimental::parallelism_v2::_SimdWrapper<bool, 16, void>’} 2287 | return (__absn <= __maxn); | ^ | | | __vector(16) int #workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_builtin.h: In instantiation of ‘static std::experimental::parallelism_v2::_SimdImplBuiltin<_Abi>::_MaskMember<_Tp> std::experimental::parallelism_v2::_SimdImplBuiltin<_Abi>::_S_isfinite(std::experimental::parallelism_v2::_SimdWrapper<_Tp, _Np>) [with _Tp = double; long unsigned int _Np = 8; _Abi = std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64>; std::experimental::parallelism_v2::_SimdImplBuiltin<_Abi>::_MaskMember<_Tp> = std::experimental::parallelism_v2::_SimdWrapper<bool, 8, void>]’: #workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_x86.h:3012:29: required from ‘static std::experimental::parallelism_v2::_SimdImplX86<_Abi>::_MaskMember<_Tp> std::experimental::parallelism_v2::_SimdImplX86<_Abi>::_S_isfinite(std::experimental::parallelism_v2::_SimdWrapper<_Tp, _Np>) [with _Tp = double; long unsigned int _Np = 8; _Abi = std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64>; std::experimental::parallelism_v2::_SimdImplX86<_Abi>::_MaskMember<_Tp> = std::experimental::parallelism_v2::_SimdWrapper<bool, 8, void>]’ #workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_math.h:1334:1: required from ‘std::enable_if_t<is_floating_point_v<_Tp>, _R> std::experimental::parallelism_v2::isfinite(std::experimental::parallelism_v2::simd<_Tp, _Ap>) [with _Tp = double; _Abi = std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64>; <template-parameter-1-3> = {}; _R = std::experimental::parallelism_v2::simd_mask<double, std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >; std::enable_if_t<is_floating_point_v<_Tp>, _R> = std::experimental::parallelism_v2::simd_mask<double, std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >]’ #workspace/cpp_libs/std-simd/tests/math.cpp:159:2: required from ‘static void Tests::fpclassify_<V>::run() [with V = std::experimental::parallelism_v2::simd<double, std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >]’ #workspace/cpp_libs/std-simd/tests/virtest/vir/test.h:1015:33: required from ‘int vir::test::detail::addTestInstantiations(const char*, vir::Typelist<Bs ...>) [with TestWrapper = Tests::fpclassify_; Ts = {std::experimental::parallelism_v2::simd<float, std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >, std::experimental::parallelism_v2::simd<double, std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >}]’ #workspace/cpp_libs/std-simd/tests/math.cpp:125:1: required from here #workspace/cpp_libs/std-simd/tests/../experimental/bits/simd_builtin.h:2287:33: error: could not convert ‘((((__vector(8) long int)__absn) <= ((__vector(8) long int)__maxn)) ? (__vector(8) long int){-1, -1, -1, -1, -1, -1, -1, -1} : (__vector(8) long int){0, 0, 0, 0, 0, 0, 0, 0})’ from ‘__vector(8) long int’ to ‘std::experimental::parallelism_v2::_SimdImplBuiltin<std::experimental::parallelism_v2::simd_abi::_VecBltnBtmsk<64> >::_MaskMember<double>’ {aka ‘std::experimental::parallelism_v2::_SimdWrapper<bool, 8, void>’} ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Testcase
Actual Results
building pass without error
Expected Results
if we use the _SimdImplBuiltin::_S_isfinite directly, there is an building error from _S_isfinite
The text was updated successfully, but these errors were encountered: