Question about itanium/C++ code

Question about itanium/C++ code

Some time ago i've post a question in usenet about a very strange problem with a simple C++ method like:

int Class::method(Boolean a)
{ return (a ? 1:0);}

The intel VTune says thats this code has a very low IPC but not only this.
The asembled code is huge for this method. In fact if you use if(){}else{}
sentence legth is roughly one half.

This could be normal?..


1 envío / 0 nuevos
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.