We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92404f4 commit 01af4b3Copy full SHA for 01af4b3
include/xsimd/utils/bits.hpp
@@ -25,6 +25,7 @@ namespace xsimd
25
template <typename I, typename... Args>
26
constexpr I make_bit_mask(I bit, Args... bits)
27
{
28
+ // TODO(C++17): Use fold expression
29
return make_bit_mask<I>(bit) | make_bit_mask<I>(static_cast<I>(bits)...);
30
}
31
include/xsimd/xsimd_cpu_features_x86.hpp
@@ -116,6 +116,7 @@ namespace xsimd
116
inline static x86_cpu_id read()
117
118
cpu_id_regs regs = {};
119
+ // TODO(C++20): Use designated initializer
120
regs.reg1 = detail::get_cpuid(0x1);
121
regs.reg7 = detail::get_cpuid(0x7);
122
regs.reg7a = detail::get_cpuid(0x7, 0x1);
0 commit comments