Hi
I am trying to write code which uses intrinsics like
__cpuid(cpuinfo, 1);
and
xcr = _xgetbv(_XCR_XFEATURE_ENABLED_MASK);
The code is compiling fine on win64
But i am seeing below error message in win32
"catastrophic error: register may not be
specified as both modified and preserved in #pragma
linkage"
The compilation is going fine with microsoft CL compiler.
Let me know when we see such error message.
I am unable to reproduce this in a standalone testcase
I am using icl 12.0.5.227
Error :: register may not be specified as both modified and preserved
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.



