identifier "__builtin_expect" is undefined
identifier "__builtin_expect" is undefinedplease explain.
View Articlevariadic tempalte deduction fails when default arguments are involved
Hi,While porting some c++ code from linux to windows (using Intel Composer XE 2014 Update 1 on Windows) I came across a piece of code which is similar to the following: template<class T1 = int,...
View ArticleCorruption with the optimization compiler option
Why does the optimization crush the code so much it changes the outcome of the code and how can I stop it?
View Articlepmovsxwd is not working with Intel C++ compiler
Hi,In my application am trying to use pmovsxwd assembly instruction in MSVC 2008 IDE with Intel C++ compiler. But the instruction not working properly as described in the instruction set guide. Did any...
View ArticlePossible bug with variadic templates and initializer list?
Hi,If I try to compile #include<initializer_list> #include<iostream> void foo(std::initializer_list<int> a) { for(auto b : a) std::cout << b << std::endl; }...
View ArticleIntel® C++ Composer XE 2013 SP1 for Windows*, Update 2
Intel® C++ Composer XE 2013 SP1 Update 2 includes the latest Intel C/C++ compilers and performance libraries for IA-32 and Intel® 64 architecture systems. This new product release now includes: Intel®...
View ArticlePorting code from windows over to linux
Hello, I am using icpc compiler on both windows (visual studio 2012) and linux (which has g++ 4.8.2 installed). I am running into issues with porting the code from one OS to another. Code that compiles...
View ArticleIntel C++ Composer XE 2013 SP1 Update 2 with VS 2010 problem
OS: Windows 8.1 x64IDE: MS VS 2010Downloaded and installed Intel C++ Composer XE 2013 SP1 Update 2, Version 2013.1.2.176.Was previously using Intel C++ Composer XE 2013 SP1 Update 1 for Windowswith no...
View ArticleError using compilervars.csh or ippvars.csh - arch: Undefined variable.
Cross posting for the benefit of others. See original thread here: http://software.intel.com/forums/topic/505599A defect was reported with the Intel® Integrated Performance Primitives (IPP) 8.1 Initial...
View Article__GNUC_PATCHLEVEL__ Value
For my Linux applications, I like to embed compiler information into the executables. For the Intel compiler, the __INTEL_COMPILER and __INTEL_COMPILER_UPDATE pre-processor macros give me what I want....
View ArticleProblems using std::bind with icc/icpc 14.0.2 and gcc 4.8
I have had a some problems in the past using icc/icpc with gcc 4.8 as described here. It appears that the problem has been partially fixed with the release of 14.0.2 however I am still having problems...
View ArticlePossible C compiler bug
Hello everyone, the attached test program gives wrong results when compiled with -O1 using the compiler versions 12.1.1, 12.1.6, 13.1.3, or 14.0.1 while it produces the expected results with gcc 4.4.7....
View ArticleIntel® System Studio 2014 Beta - Articles Archive
OverviewWhat's New OverviewDetailed New Feature OverviewIntel® System Studio 2014 for Linux* - System RequirementsIntel® System Studio - Perfect Fit for Wind River* Linux* (PDF)Build and Design for...
View Articleinternal_error: 20000_27078 since updating to 2013 sp1
I get this very cryptic and unhelpful error message since updating to 2013 sp1 Update 2 (also happened with SP1 and SP1 Update 1). In the past I have just reverted back to the 2013 suite to solve this...
View ArticleIntel(R) C++ Compiler 2014 for Android* Getting Started Guide: Linux* Host
Idioma Inglés Adjunto: Descargarl_cc_getting_started.pdf
View ArticleIntel(R) C++ Compiler 2014 for Android* Getting Started Guide: Windows* Host
Idioma Inglés Adjunto: Descargarw_cc_getting_started.pdf
View Article“FUNCTION WAS VECTORIZED” but it doesn't vectorize on the place of the...
The present question relates to an already existing question on Stackoverflow with the difference that in this case AVX is the target ISA and that the function to be vectorized is more complex. When I...
View ArticleSelective Use of gatherhint/scatterhint Instructions
Compiler Methodology for Intel® MIC ArchitectureSelective Use of gatherhint/scatterhint InstructionsOverviewThe -opt-gather-scatter-unroll=<N> compiler option can be used to generate...
View ArticleRequirements for C++11 Support on Windows
I have Intel C++ 14.0.2 installed on Windows 7 with Visual Studio 2008. I need to use some C++11 features, such as: #include <memory> int main(int argc, char** argv){ std::unique_ptr<int>...
View ArticleI don't understand 'm' flag!
Trying to compile Boost with icc (from composer XE 2013 SP 1.2.139) using the -x assembler-with-cpp flag and getting the following error...$ "icc" -x assembler-with-cpp -O3 -xHost -inline-level=2...
View Article