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

Bug Compiler - Intel C++ 14.0 - Preprocessor Function & Template members

Hello,I think I found a bug on Intel C++ 14 Compiler.To hide complexity and reduce code quantity I hide my type trait behind a Preprocessor Function like this: template < DistributionType...

View Article


more granularity in __declspec(cpu_dispatch() ???

cpu_dispatch is a nice featureHow can I use cpu_dispatch to differentiate architectures where shld instruction (1 cycle on SNB only) is faster than rotl (faster on all previous and following cpu types,...

View Article


NaN bugs

I'm having some unexpected behaviour from NaN's when swithing to the Intel C++ compiler. #include <math.h> int main() { // Comparing two NaNs should result in a False if (NAN == NAN) return -1;...

View Article

identifier "__builtin_expect" is undefined

identifier "__builtin_expect" is undefinedplease explain.

View Article

variadic 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 Article


Corruption 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 Article

pmovsxwd 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 Article

Possible 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 Article


Intel® 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 Article


Porting 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 Article

Intel 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 Article

Error 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 Article


Problems 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 Article

Image may be NSFW.
Clik here to view.

Possible 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 Article


Intel® 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 Article

internal_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 Article


Image may be NSFW.
Clik here to view.

Intel(R) C++ Compiler 2014 for Android* Getting Started Guide: Linux* Host

Sprache Englisch Anhang: Herunterladenl_cc_getting_started.pdf

View Article

Image may be NSFW.
Clik here to view.

Intel(R) C++ Compiler 2014 for Android* Getting Started Guide: Windows* Host

Sprache Englisch Anhang: Herunterladenw_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 Article
Browsing all 1665 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>