Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CFLAGS livello di ottimizzazione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
antonellocaroli
Guru
Guru


Joined: 11 Aug 2016
Posts: 509

PostPosted: Sat Feb 13, 2021 10:52 am    Post subject: CFLAGS livello di ottimizzazione Reply with quote

ho letto questo articolo, ma non mi ha lasciato proprio le idee chiare

https://wiki.gentoo.org/wiki/GCC_optimization/it

quali sono i pro e i contro di usare -03 al posto di -02?

mi sembra di aver capito che -03 abilita automaticamente -ftree-vectorize

cosa si intende per livello di ottimizzazione? ottimizzazione durante la compilazione o ottimizzazione del codice risultante?

Grazie
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30914
Location: here

PostPosted: Sat Feb 13, 2021 11:22 am    Post subject: Reply with quote

Le ottimizzazioni sono applicate al codice macchina risultante, e ricorda -O (o maiuscola non zero).
Nel manuale di gcc puoi vedere cosa attivano le varie -Ox e cercare, sempre nel man, ogni flag cosa fa esattamente.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum