Quantcast
Channel: Intel® C++ Compiler
Browsing all 1616 articles
Browse latest View live

Wrong mask generation using _mm512_mask_extpackstorelo_epi32

Hi,I have reduced my problem to this test: #include <immintrin.h> int main() { int i; float tmp[16]; for(i=0; i<16; i++){ tmp[i] = 5.0f; printf("%f ", tmp[i]); } printf("\n"); __m512 __vtmp =...

View Article


std:: binding with c++0x std in icpc

I am using icpc with -std=c++0x, in which "std::uniform_real_distribution<double> rnd" throws a couple of errors during compile time, likeWangLandau.h(103): error: qualified name is not allowed...

View Article


Vectorized code causes SIGBUS/SIGSEGV (icpc 14.0.1, Mac)

I have experienced my program crash because the compiler generates vectorized code where I think it shouldn't. Invoking the code with unaligned input causes SIGBUS or SIGSEGV. One needs to obtain the...

View Article

Error using svml in inline ASM

     I try using __svml_sin2 in inline ASM like the way compiler does.  A code snippet as following,"vmovupd (%1), %%ymm0\n\t""call __svml_sin4\n\t""vmovupd %%ymm0, (%0)\n\t""sub $1, %%rax\n\t""jnz...

View Article

"debugging information corrupt" while trying OpenMP delegation on Intel

Hi all,I have found out a bug in Intel compiler.Background: We are trying to delegate OpenMP calls (so even in hybrid projects with Intel and Microsoft compiler used, we ensure only one OpenMP stack is...

View Article


[Intel C++ 14.0] Macro enum class

Hellow my friends! In MSVC2013 perfectly works for me this macro (which allow use enum class as flag enum and disallow convert to int): #pragma once #define EnumClass(Enum, Type) \ enum class Enum :...

View Article

Coverage fails due to an error message in profmerge

Hello,We are using intel's coverage tool for coverage tests and at the step where profmerge is called to generate DPI files from DYN, we get the following message: *** glibc detected *** profmerge:...

View Article

intelremotemond runaway

I'm having problems on some of my servers that seem to be related to intelremotemond. When compiling C++ programs located in a shared NFS-mounted home directory, suddenly the machine seems to lock up....

View Article


Assembler

Hi,We are optimizing modules with assembly optimization in 32-bit OS for 32 bit architectures (through MSVC) using MASM syntax. Presently  planning to port the same modules for the 64-bit architecture...

View Article


Does ICC 14 generate BMI instructions?

Does anyone know if ICC 14 can transform (x >> 12) & 0x3     into _bextr_u32(x, 12, 2)    ?I tried compiling it with icc -mcore-avx2   but it didn't transform.  How profitable is it to do so?...

View Article

Use macports gcc

I compile the following program: #include "array" int main() { return 0; } with g++ (from macports) like so: /opt/local/bin/g++-mp-4.8 -std=c++0x a.cpp How can compile the same program with icpc...

View Article

Is there a way to obtain NASM code from a C-like language?

I need to implement an optimized Algorithm in NASM, unfortunately is a bit difficult for me since I'm new to its syntax. So I'm looking for a way to translate a C program in NASM.Any tool or suggestion...

View Article

compiler option for builing x265

I find one report about optimizing hevc via icc. Below is the link:http://software.intel.com/en-us/android/articles/real-time-end-to-end-h265hevc-solution-for-intel-architecture-based-platformsthe...

View Article


Image may be NSFW.
Clik here to view.

The Chronicles of Phi - part 3 Hyper-Thread Phalanx – tiled_HT1 continued

The prior part (2) of this blog provided a header and set of function that can be used to determine the logical core and logical Hyper-Thread number within the core. This determination is to be use in...

View Article

Xcode 5.1 update broke Composer Compatibility (v14.0.1)

Hi,today, Xcode got an automatic update to 5.1. and as i expected it broke the compatibility again. Is there a way to get it working again or do i have go back to XCode5.0?The compiler is listed in the...

View Article


problem with memcpy()

Hi. I recently updated Intel compiler to version 14.0.2.176 [IA-32] on Windows. One of the projects started to generate runtime errors. After debugging, I isolated the problem to a memcpy "call".  The...

View Article

Change in behavior in OpenMP "collapse"

After updating into Intel(R) C++ Compiler XE 14.0.2.176 [IA-32] I found a different treatment for variables in collapsed control loops. Previously I used Intel C++ 13.xFor version 13.xxx  the following...

View Article


OpenMP collapse and private

After updating into Intel(R) C++ Compiler XE 14.0.2.176 [IA-32] I found a different treatment for variables in collapsed control loops. Previously I used Intel C++ 13.x.  For version 13.xxx, the...

View Article

collapse and control variables

After updating into C++ 14.0.2.176 I found a different treatment for variables in collapsed control loops.For version 13.x, the following code was correct#pragma omp parallel for collapse(3)    for...

View Article

Option cannot change across modules: 0

My environment:ICC 14 Update2, Win 8.1 x64, x64 project build.When I make adjustment to single .cpp file, and hit F5 for build and run, I get message from IPO linker at the end: 1>...

View Article
Browsing all 1616 articles
Browse latest View live