Error :: register may not be specified as both modified and preserved

Error :: register may not be specified as both modified and preserved

Аватар пользователя Naveen Tulabandula

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

2 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя Georg Zitzlsberger (Intel)

Hello,

newer 12.1 versions (Intel® Composer XE 2011 Update 6 and higher) don't show this problem anymore.
I'm currently clarifying with engineering which exact version has fixed this problem.

Edit: Intel® Composer XE 2011 Update 11 is reported to have a fix for that.

Would it be possible for you to upgrade to the latest version: Intel® Composer XE 2011 Update 11?

Thank you & best regards,

Georg Zitzlsberger

Зарегистрируйтесь, чтобы оставить комментарий.