We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 769470a commit b62ca87Copy full SHA for b62ca87
1 file changed
include/xsimd/xsimd_cpu_features_x86.hpp
@@ -248,10 +248,11 @@ namespace xsimd
248
inline cpuid_reg_t get_cpuid(int level, int count) noexcept
249
{
250
cpuid_reg_t reg = {};
251
+
252
#if !XSIMD_TARGET_X86
253
(void)level;
254
(void)count;
- return reg; // All bits to zero
255
+ return {}; // All bits to zero
256
257
#elif defined(_MSC_VER)
258
__cpuidex(reg, level, count);
@@ -275,6 +276,7 @@ namespace xsimd
275
276
: "0"(level), "2"(count));
277
#endif
278
279
+ return reg;
280
}
281
282
inline xcr0_reg_t get_xcr0_low() noexcept
0 commit comments