'Segmentation violation signal raised' when xiar runs
I am trying to compile chromium 41.0.2272.64 (64 bit) using icc on Linux. icpc --version showsicpc (ICC) 15.0.2 20150121 Copyright (C) 1985-2015 Intel Corporation. All rights reserved.I compile the...
View Articleerror: class "__m128" has no suitable assignment operator
This code #include <xmmintrin.h> volatile __m128 a, b; void test(void){ a = b;} produces this error$ /opt/intel/composerxe/bin/icpc -c test.cctest.cc(7): error: class "__m128" has no suitable...
View Article__FUNCTION__ is not treated as string literal for the purposes of string...
I'm trying to compile some MSC code that contains the following pragma:void myFunc(int a, double b) { #pragma comment(linker, "/EXPORT:"__FUNCTION__"="__FUNCDNAME__",PRIVATE") ... ...which handy to...
View ArticleInlining effect on Inside/Outside class definition
Hi,If you have a method and you want to give the compiler a hint that it is a good idea to inline it, you currently have 2 solutions. The first one is to define the methods when you declare your...
View Articleicc can't compile memmem
Hi,When compiling a source file with the use of function memmem (from C standard lib), icc fails and gives such error info: *****error #140: too many arguments in function call*****Actually the use of...
View ArticleLinux: Code analysis tools and tool chains supporting Intel (parallel) Studio
I'm planning a tool chain for a C++ project and looking for a good and payable solution for static code analysis and code style check tools. Our project uses Jenkins for continuous integration, Stash...
View ArticleIntel® C++ Compiler introduction
Videos on Getting Started with Intel® C++ CompilerLinux*Microsoft Windows* (XP, Vista, 7)Microsoft Windows* 8Intel® C++-CompilerIntel® Fortran CompilerURLTheme Zone: IDZone
View Articleicc generates wrong instructions for MIC
Hi,I'm trying to compile some code for MIC, which uses the extended integer type __uint128_t. And icc gave me the following error message: ******** warning #13376: XMM registers are not supported on...
View ArticleIntel® System Studio 2015: Getting Started with the Compiler for Linux* and...
You can use the Intel® C++ Compiler 15.0 to develop 32-bit and 64-bit applications for Intel® architecture-based devices.This guide refers to the Intel® C++ Compiler as the compiler, or icc.Android...
View Articleinduction variable elimination
It seems induction variable elimination is a well known compiler transformation, but I can't get ICC to do it, nor with...
View ArticleHow to enforce pointer incrementation while forbidding compiler to play smart
For the first time I face one unpleasant behavior of Intel C optimizer - inserting 2 unnecessary LEAs (lines #22 and #40). Here is the ugly snippet:; mark_description "Intel(R) C++ Intel(R) 64 Compiler...
View Articleloop was unrolled by 2: is it sufficient?
Greetings,I use MSVC and /QxHOST on Haswell (AVX-256).I have code under MSVC that is using __m256 type for my own memcpy, and ICC generates correct result, and it is working well.But when I look at the...
View Articleintrinsic for mulx
Hello,I read the white paper "New Instructions Support Large Integer Arithmetic". I read that the umul128 intrinsic compiler will provide the instruction mulx to perform the full product of two...
View ArticleC++ Operator Multi-Versioning
This is my first posting here, so I apologize if this isn't quite the right place for this question.So I just got very interested in multiversioning in order to do some performance comparisons of...
View ArticleWindows installation hangs
HiI'm running Windows 7 Enterprise, Service Pack 1 and I've installed Microsoft Visual Studio XE 2015.I'm trying to install Intel Parallel Studio XE 2015 Update 2 Composer Edition for Fortran and...
View ArticleCompiler bug?
I am a PhD student and am working at classification of code fragments on a binary level. For that, I used the Intel compiler to compile several open source projects. While analyzing the code, I...
View ArticleHow to use the auto-dispatching for AVX (plus some more questions)
Hi,1) I spent more than a day playing with AVX intrinsics just to find out, that despite I made almost as fast as my assembler code (with ICC actually slightly faster), ICC itself produced even better...
View ArticleC++ preprocessor bug
Using Intel C++ 14.0.4 or 15.0.0, with -std=c++11 passed to the compiler, given:#define VMACRO(x,...) x __VA_ARGS__if this is invoked with:VMACRO(1)it should be a preprocessing error but Intel C++...
View ArticleIntel C++ Compiler warnings on Windows with MSVC
Hi,I'm trying the intel compiler (normally use MSVC 2013), and I get lots of warnings, pretty always. I added "/Qvc12", but that doesn't seem to make difference (/Qvc10 made the compiler...
View Article/Qipo seems disabling automatic vectorization
Hi,I depend a lot on SSE/AVX auto-vectorization and it seems that /Qipo disables it. These are relevant parameters I'm using:/arch:SSE2 /QxSSE2 /Qvec-report /QaxAVX /QftzTye compiler reports lots of...
View Article