Enabling __int128 Data Type in Visual Studio
Despite the faint color highlighting of __int128 in Visual Studio, compiling source code containing this data type results in an error indicating it's not supported on the current architecture. This raises the question: how can __int128 be enabled in Visual Studio?
Unfortunately, Microsoft documentation does not list __int128 as an available data type, confirming its official unavailability. The syntax highlighting feature, while helpful, cannot be relied upon to indicate the existence of data types. Additionally, naming variables or types __int128 should be avoided as it may conflict with potential future compiler usage.
On x64/IPF machines, one might expect register spanning to enable __int128, similar to how __int64 is implemented on 32-bit targets. However, currently, only SIMD types such as __m128 and its variants provide 128-bit functionality within Visual Studio.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3