Individual Optimization options

Individual Optimization options


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 ?



2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

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.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi