Individual Optimization options

Individual Optimization options

Imagen de caiqiong

Hi,

Is it possible to turn-off or turn-on individual optimization options in Intel C++ compiler like gcc? For example, in GCC, global CSE can be turn on/off via command line -fgcse or -fno-gcse. Is there any similar command option provided by icc/ecc ?


Thanks.

Qiong

publicaciones de 2 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Tim Prince

Yes, there are such options, which of course you could discover with the strings tool. However, just yesterday I had to remove some such unsupported options employed by a customer, as they were responsible for errors in his QA suite. They do change more rapidly than with gcc; what may work with the latest 7.1, on your application,may not be advisable with 8.0. Also, particularly with the IPF compiler, they interact. For example, hlo optimizations can't be added at -O2, they can only be cut back from -O3.

Inicie sesión para dejar un comentario.