Cov tshiab 9.1 ntawm GCC compiler twb raug tso tawm lawm

gcc-sau-9.1

Tus tshiab version ntawm GCC compiler tau ua muaj nyob tau ob peb hnub dhau los nrog cov yam ntxwv tshiab thiab kho kab.

Raws li pab pawg neeg ua haujlwm hauv GNU GCC, tsab cai tshiab no, version 9.1 yog qhov loj compiler version Muaj cov yam ntxwv tseem ceeb tshiab tsis muaj nyob hauv GCC 8.x lossis ua ntej lawm. GCC 9.1 yuav tsum nqa cov lus tshiab, qhov kev hloov kho tshiab thiab qee qhov kev txhim kho rau cov software.

Txog GCC

GCC yog ib phau sau tsim los ntawm GNU project. Nws yog dua raws nraim software dawb muaj peev xwm suav ntau yam lus sau ua ke, suav nrog C, C ++, Hom Phiaj-C, Java, Ada, thiab Fortran.

Nws tseem yuav tsum tau sau tseg ntawd siv rau kev txhim kho feem ntau software dawbCov. Qhov tseeb loj compiler tso tawm hnub rov qab txog Lub Tsib Hlis 2018, version 8.1.

Jakub Jelinek, tus tsim tawm Red Hat, tau piav qhia tias GCC 8.1 sawv cev loj tshaj tawm uas coj cov yam ntxwv tseem ceeb tshiab uas tsis muaj nyob hauv GCC 7.x thiab ua ntej lawm ntawm GCC.

Txij ntawm no, C ++ pem hauv ntej-kawg tau muab kev sim rau kev txhawb nqa rau qee C ++ 2a haujlwm nrog -std = c ++ 2a thiab -std = gnu ++ 2a kev xaiv.

Hauv version 8.2 ntawm kev nce qib dav dav, LTO (txuas lub sijhawm ua haujlwm tau zoo dua) cov teeb meem kev ua tau zoo vim tias muaj dej ntws dhau ntawm kev faib cov txheej txheem thaum tsim cov binary loj cov ntaub ntawv tau muab hloov kho.

Txhim kho txuas ntxiv hauv 8.x ceg nrog tso tawm ntawm compiler version 8.3 lub Ob Hlis Ntuj tas los. Qhov kev tso tawm no yog bugfix tso tawm uas muaj cov kab ke rau cov kev tawm tsam hauv GCC 8.2 piv rau cov qauv ua ntej ntawm GCC Pab pawg GCC tau tsim tsa ceg tshiab nyob rau lub Tsib Hlis 3, tso tawm version 9.

Dab tsi tshiab hauv GCC 9.1?

Hauv nqe no, C ++ 17 kev txhawb nqa nkag tau txij li compiler version 8.1 tsis muaj kev paub dual. Yog li no, kev them nyiaj yug rau C ++ 17 tam sim no ruaj khov.

Lub interface ntawm C ++ siv tag nrho cov lus hauv C ++ 17 thiab txhawb rau C ++ tus qauv tsev qiv ntawv ze li yuav tiav.

El pem hauv ntej-xaus thiab C ++ tsev qiv ntawv kuj tseem muaj ntau yam C ++ 2a coded yam ntxwvCov. Tsis tas li, GCC muaj qhov tshiab rau cov lus D thiab tam sim no ib nrab txhawb OpenMP 5.0 thiab yuav luag tag nrho cov kev txhawb nqa rau OpenACC 2.5.

Rau ntau ntau, GCC 9 yog qhov muaj zog version ntawm cov compiler uas muab cov yam ntxwv zoo thiab kev ua kom zoo dua qub txhawm rau txhim kho kev tsim tawm.

Muaj ntau cov tshiab nyob rau hauv GCC 9.1 yog:

  • Kev them nyiaj yug rau ib qho kev txhawb nqa rau kev suav sau cov cai sau nrog hom D programming;
  • AMD GCN GPU backend tshiab tau ntxiv rau GCC. Qhov kev siv tau tam sim no tsuas yog muab tso ua ke ntawm cov kev pab cuam ib zaug.
  • LRA tam sim no tau qhib los ntawm kev ua haujlwm rau lub hom phiaj ntawm ARC. Qhov no tuaj yeem tswj hwm los ntawm -mlra.
  • Ntxiv kev txhawb rau cov duab code thiab ceg thiab cov lus ntsuas ceev.
  • Ntxiv rau GCC yog qhov sib ntxiv ntawm cov rov qab kawg-cov hom phiaj C-SKY V2 processors.
  • Intel MPX kev txhawb nqa tau raug tshem tawm.
  • Ib qho tshiab rov qab tau ntxiv rau OpenRISC processor txhawb nqa.
  • Kev them nyiaj yug rau OpenACC 2.5 qhov tshwj xeeb yuav luag tiav.
  • GCC sab hauv "selftest" pob tam sim no ua haujlwm rau C ++ thiab C (hauv debug versions ntawm compiler).
  • Fortran kev txhawb nqa hauv GCC kuj tseem tau ua kom zoo dua. Tam sim no nws tuam haujlwm txais cov asynchronous I / O thiab lwm yam ntxwv.
  • Interprocedure optimizations (OPI), profile-based optimizations, link time optimizations (LTO), nrog rau ntau lwm txoj kev ua kom tau zoo txhawm rau kom muaj kev cai zoo dua.
  • Tag nrho lub sijhawm tso ua ke ntawm Firefox 66 thiab LibreOffice 6.2.3 ntawm lub tshuab 8-tshuab tau raug txo kwv yees li 5% piv rau GCC 8.3. Qhov loj ntawm LTO cov ntaub ntawv khoom siv yog txo 7%.
  • LTO txuas lub sijhawm txhim kho los ntawm 11% ntawm 8 lub tshuab tseem ceeb thiab hloov zuj zus rau cov chaw tsim hluav taws xob sib luag. Lub ntu ntawm qib lub sijhawm txuas lub sijhawm yog 28% ceev dua thiab siv 20% lub cim xeeb tsawg dua. Parallel Stage Tam sim no muab faib ua ke 128 ntu es tsis txhob muaj 32 thiab txo qhov kev siv nco rau txhua tus neeg siv los ntawm 30%.
  • Ib qho kev xaiv tshiab "-fdiagnostics-format = json" tau qhia rau kev kuaj mob hauv cov ntawv tuaj nyeem tau.

Source: https://gcc.gnu.org


Cov ntsiab lus ntawm tsab xov xwm ua raws li peb cov ntsiab cai ntawm kev tswj hwm kev ncaj nceesCov. Tshaj tawm ib qho yuam kev nyem no.

Yog thawj tus tuaj tawm tswv yim

Tso koj saib

Koj email chaw nyob yuav tsis tsum luam tawm. Yuav tsum tau teb cov cim nrog *

*

*

  1. Lub luag haujlwm rau cov ntaub ntawv: Miguel Ángel Gatón
  2. Lub hom phiaj ntawm cov ntaub ntawv: Tswj SPAM, kev tswj xyuas tawm tswv yim.
  3. Sau raws cai: Koj kev tso cai
  4. Kev sib txuas lus ntawm cov ntaub ntawv: Cov ntaub ntawv yuav tsis raug xa mus rau lwm tus neeg thib peb tsuas yog los ntawm kev txiav txim siab raug cai.
  5. Cov ntaub ntawv khaws cia: Cov Ntaub Ntawv khaws tseg los ntawm Occentus Networks (EU)
  6. Txoj Cai: Txhua lub sijhawm koj tuaj yeem txwv, rov qab thiab tshem tawm koj cov ntaub ntawv.