c++ compiler error on Mac OS X 10.9
When I compile the following hello world code using icpc on Mac OS X 10.9#include<iostream> using namespace std;int main() { cout<<"Hello World!"<<endl; return 0; }I get the...
View Article(c++11) is_trivially_copy_constructible always false if class has destructor
Hi, when some class (T) has destructor is_trivially_copy_constructible<T>::value is always false.For example://trivially copy constructable class with destructor class CSomeClass { public: int x;...
View ArticleHow should I do optimizations that speed and memory access cycles associated...
My program have include a lot of loop with memory access. Now I use optimization that is O2 Maximize Speed. But should I use O3 Highest optimization instead. Also what else can I do adjustments
View Article_mm256_xor_ps
Performs bitwise logical XOR operation on float32 vectors. The corresponding Intel® AVX instruction is VXORPS.Syntaxextern __m256 _mm256_xor_ps(__m256 m1, __m256 m2);Argumentsm1float32 vector used for...
View Article_mm256_mul_ps
Multiplies float32 vectors. The corresponding Intel® AVX instruction is VMULPS.Syntaxextern __m256 _mm256_mul_ps(__m256 m1, __m256 m2);Argumentsm1float32 vector used for the operationm2float32 vector...
View ArticleFunction Prototype and Macro Definitions
Function Prototype and Macro Definitions for RTMThe following function prototypes are included in the immintrin.h header file:unsigned int _xbegin(void); void _xend(void); void _xabort(const unsigned...
View ArticleIntrinsics for Intel® Transactional Synchronization Extensions (Intel® TSX)
Parent topic: Intrinsics for Intel® Advanced Vector Extensions 2Intel® Transactional Synchronization Extensions (Intel® TSX) OverviewIntel® Transactional Synchronization Extensions (Intel® TSX)...
View Article_mm512_acosh_pd/ _mm512_mask_acosh_pd
Calculates the inverse hyperbolic cosine value. Vector variant of acosh(x) function for float64 argument. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC...
View Article_mm512_sqrt_ps/ _mm512_mask_sqrt_ps
Calculates square root value. Vector variant of sqrt(x) function for a float32 argument. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC...
View Article_mm512_log1p_pd, _mm512_mask_log1p_pd
Calculates natural logarithm. Vector variant of log1p(x) function for a float64 argument. This intrinsic only applies to Intel® Many Integrated Core Architecture (Intel® MIC Architecture).SyntaxWithout...
View Articleicc generates code that throws unexpected floating point exception
Hello,I have run into something that looks like icc is generating invalid optimized code. Basically, I have the following code feenableexcept(FE_DIVBYZERO); ... if ( chg4 ) { printf("Change 4\n"); for...
View ArticleIntel Compiler and Composer Update version numbers to compiler version number...
Introduction : Mapping Intel Compiler or Composer Update numbers to specific compiler versions and packages Intel® Composer XE 2013 SP1 (released September 2013)Composer XE 2013 SP1Intel Registration...
View Article(c++11) template non dependent name binding issues
Hi,According to the C++11 specification (in my case I refer to draft n3376), non dependent name found at template declaration should be bound at point of declaration. Here is quotation from...
View ArticleIntel Composer XE's C++ compiler does not integrate with Visual studio 2010
We installed Intel Composer XE suites that included Fortran and C++ compiler and both are supposed to integrate with our Visual studio 2010. However, only Fortran compiler shows up in Visual studio and...
View Articlexopintrin.h and fma4intrin.h linker error
I'm getting a long range of udefined identifier errors:/usr/lib/gcc/x86_64-linux-gnu/4.9/include/xopintrin.h(444): error: identifier "__builtin_ia32_vpcomleud" is undefined return (__m128i)...
View ArticleProblem to define structure in header
Hello everybody,I have a monolithic and big toto.cpp code to split into a cleantoto.hpp, toto_mod.cpp, main_toto.cpp.When I tried to compile , after spliting, I had the following error...
View Article(c++11) issues with using pointer to local function as template argument
Hi,Trying to compile the following code:#include <iostream> using namespace std; template<void (*F)()> void SetCallback(){ F(); } static void Foo() { struct stub_t { static void cb(){ cout...
View Article(c++11) failed to compile class with private explicitly-defaulted destructor
Hi, trying to compile following code:class Foo{ private: //explicitly-defaulted destructor ~Foo() = default; public: int x; void release(){ delete this; } }; void PrivateDestructor(){ auto foo = new...
View Articleupdate 3 breaks BUILD_DATE use in omp simd reduction max
I was using#if __INTEL_COMPILER_BUILD_DATE >= 20140318 #pragma omp simd reduction(max: x) #endifand#if __INTEL_COMPILER_BUILD_DATE >= 20140318 #pragma omp simd lastprivate(index) reduction(max:...
View ArticleCompiler error in alloc_traits.h from GCC 4.9
Hey there,ICC 14.0 fails to compile most of STL code as shipped by GCC 4.9:$ cat test.cpp #include <vector> int main() { return 0; } $ icpc -std=c++11 test.cpp In file included from...
View Article