Research on control flow conversion technique based on Domestic Sunway compiler
Control flow conversion replaces a series of control-dependent instructions with only data-dependent instructions. Sunway compiler uses this technology to eliminate pipeline pauses caused by conditional branch statements, thereby improving the instruction-level parallelism of the overall program. Ba...
Saved in:
Published in | 2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP) pp. 1340 - 1344 |
---|---|
Main Authors | , , , |
Format | Conference Proceeding |
Language | English |
Published |
IEEE
15.04.2022
|
Subjects | |
Online Access | Get full text |
DOI | 10.1109/ICSP54964.2022.9778356 |
Cover
Loading…
Abstract | Control flow conversion replaces a series of control-dependent instructions with only data-dependent instructions. Sunway compiler uses this technology to eliminate pipeline pauses caused by conditional branch statements, thereby improving the instruction-level parallelism of the overall program. Based on the instruction set characteristics and structural characteristics of the Sunway processor, the improvement is made for the inaccurate calculation of the control flow conversion cost in the RTL stage in the Sunway compiler. In the control flow conversion benefit judgment algorithm, by adding control flow basic blocks The execution frequency of the branch statement is weighted to calculate the expected value of the execution cost of the basic block of the branch statement to improve the accuracy of the cost calculation during the conversion process. Using SPEC2006 Benchmarks to test the performance of the improved compiler on the new generation of Sunway 1621 server, the overall performance is increased by 2%, and the maximum performance of a single subject is increased by 6%. This work improves the control flow conversion in the Sunway compiler. Efficiency is of great significance in order to give full play to the performance advantages of the domestic Sunway processor architecture. |
---|---|
AbstractList | Control flow conversion replaces a series of control-dependent instructions with only data-dependent instructions. Sunway compiler uses this technology to eliminate pipeline pauses caused by conditional branch statements, thereby improving the instruction-level parallelism of the overall program. Based on the instruction set characteristics and structural characteristics of the Sunway processor, the improvement is made for the inaccurate calculation of the control flow conversion cost in the RTL stage in the Sunway compiler. In the control flow conversion benefit judgment algorithm, by adding control flow basic blocks The execution frequency of the branch statement is weighted to calculate the expected value of the execution cost of the basic block of the branch statement to improve the accuracy of the cost calculation during the conversion process. Using SPEC2006 Benchmarks to test the performance of the improved compiler on the new generation of Sunway 1621 server, the overall performance is increased by 2%, and the maximum performance of a single subject is increased by 6%. This work improves the control flow conversion in the Sunway compiler. Efficiency is of great significance in order to give full play to the performance advantages of the domestic Sunway processor architecture. |
Author | Han, Lin Xu, JinLong Kong, JinYing Nie, Kai |
Author_xml | – sequence: 1 givenname: JinYing surname: Kong fullname: Kong, JinYing email: jykong0425@163.com organization: School of Information Engineering, Zhengzhou University,Zhengzhou,Henan – sequence: 2 givenname: Lin surname: Han fullname: Han, Lin email: strollerlin@163.com organization: Henan Supercomputing Center (Zhengzhou University),Zhengzhou,Henan – sequence: 3 givenname: JinLong surname: Xu fullname: Xu, JinLong organization: Information Engineering University,Zhengzhou,Henan – sequence: 4 givenname: Kai surname: Nie fullname: Nie, Kai organization: Henan Supercomputing Center (Zhengzhou University),Zhengzhou,Henan |
BookMark | eNotj11LwzAYhSPohZv-AkH6B1ab7_RS6scGg4nT6_E2ecMCbTLTzrF_74a7OjyHhwNnQq5jikjII61KSqv6adGsP6SolShZxVhZa224VFdkQpWSQhupzS1ZfeKAkO22SLGwKY45dYXv0uEMv5iHcOpHtNsYfvZYtDCgO6svqcdhDLZY7-MBjie734UO8x258dANeH_JKfl-e_1q5rPl6n3RPC9ngVIzzpwF4FYxBK2c961SzFHDhBW-5bUVzhjbAqOuEsAVVxoktN5UtfAoQSOfkof_3YCIm10OPeTj5vKR_wE4Sk5W |
ContentType | Conference Proceeding |
DBID | 6IE 6IL CBEJK RIE RIL |
DOI | 10.1109/ICSP54964.2022.9778356 |
DatabaseName | IEEE Electronic Library (IEL) Conference Proceedings IEEE Xplore POP ALL IEEE Xplore All Conference Proceedings IEEE/IET Electronic Library IEEE Proceedings Order Plans (POP All) 1998-Present |
DatabaseTitleList | |
Database_xml | – sequence: 1 dbid: RIE name: IEEE Electronic Library (IEL) url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/ sourceTypes: Publisher |
DeliveryMethod | fulltext_linktorsrc |
EISBN | 1665478578 9781665478571 |
EndPage | 1344 |
ExternalDocumentID | 9778356 |
Genre | orig-research |
GroupedDBID | 6IE 6IL CBEJK RIE RIL |
ID | FETCH-LOGICAL-i118t-dcaa3c62ea76dffb662d1824c4fb39c4d88cba21d04a36367a5abf8094fe5a7e3 |
IEDL.DBID | RIE |
IngestDate | Thu Jun 29 18:36:57 EDT 2023 |
IsPeerReviewed | false |
IsScholarly | false |
Language | English |
LinkModel | DirectLink |
MergedId | FETCHMERGED-LOGICAL-i118t-dcaa3c62ea76dffb662d1824c4fb39c4d88cba21d04a36367a5abf8094fe5a7e3 |
PageCount | 5 |
ParticipantIDs | ieee_primary_9778356 |
PublicationCentury | 2000 |
PublicationDate | 2022-April-15 |
PublicationDateYYYYMMDD | 2022-04-15 |
PublicationDate_xml | – month: 04 year: 2022 text: 2022-April-15 day: 15 |
PublicationDecade | 2020 |
PublicationTitle | 2022 7th International Conference on Intelligent Computing and Signal Processing (ICSP) |
PublicationTitleAbbrev | ICSP |
PublicationYear | 2022 |
Publisher | IEEE |
Publisher_xml | – name: IEEE |
Score | 1.7939965 |
Snippet | Control flow conversion replaces a series of control-dependent instructions with only data-dependent instructions. Sunway compiler uses this technology to... |
SourceID | ieee |
SourceType | Publisher |
StartPage | 1340 |
SubjectTerms | Costs if-conversion Instruction level parallelism Parallel processing Pipelines Process control Scientific computing Signal processing Signal processing algorithms Sunway compiler Sunway processor |
Title | Research on control flow conversion technique based on Domestic Sunway compiler |
URI | https://ieeexplore.ieee.org/document/9778356 |
hasFullText | 1 |
inHoldings | 1 |
isFullTextHit | |
isPrint | |
link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwGA3bTp5UNvE3OXg0XZqkaXuejilMB3Ow20jSLyBqK6Nl6F9v0nYTxYO3EAIJCeT73pf3XhC6SuI4TShoIjQwIpjmREsDhKbKWGk5U9SLk6cPcrIQ98to2UHXOy0MANTkMwh8s37LzwpT-VLZ0OUqLmGQXdR1wK3RarWi35Cmw7vRfObQjvSVEsaCdvCPX1PqoDHeR9PtdA1X5CWoSh2Yz19OjP9dzwEafMvz8GwXeA5RB_I-etxy6HCR45aAju1rscE1sbyuiuGdYyv20SvzQ2-KN2-0YfC8yjfqA3uOubsp1gO0GN8-jSak_S2BPDuQUJLMKMWNZKBimVmrpWSZAw_CCKt5akSWJEYrFmZUKC65jFWktE0cvLMQqRj4EerlRQ7HCAPXMrI8Zsp79XDQEYSgVAqaAkianKC-34zVe2OIsWr34fTv7jO05w_EP8GE0TnqlesKLlwkL_VlfYRftnOiyA |
linkProvider | IEEE |
linkToHtml | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV3PS8MwFH7MedCTyib-NgePdmuTNm3P07HpNgfbYLeRpC8gaiujZehfb9J1E8WDtxACCQnke-_l-74A3ERhGEcuSseXSB2fSuZIrtBxY6E014wK14qThyPem_kP82Beg9utFgYRS_IZtmyzfMtPMlXYUlnbxComYOA7sGtwP_DWaq1K9uu5cbvfmYxNvsNtrYTSVjX8x78pJWx0D2C4mXDNFnlpFblsqc9fXoz_XdEhNL8FemS8hZ4jqGHagKcNi45kKako6ES_ZitSUsvLuhjZerYSi1-JHXqXvVmrDUUmRboSH8SyzM1dsWzCrHs_7fSc6r8E59mkCbmTKCGY4hRFyBOtJec0MemDr3wtWaz8JIqUFNRLXF8wzngoAiF1ZBI8jYEIkR1DPc1SPAGCTPJAs5AK69bDUAbooRAxSheRu9EpNOxmLN7XlhiLah_O_u6-hr3edDhYDPqjx3PYt4djH2S84ALq-bLAS4Prubwqj_MLYc2mEQ |
openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2022+7th+International+Conference+on+Intelligent+Computing+and+Signal+Processing+%28ICSP%29&rft.atitle=Research+on+control+flow+conversion+technique+based+on+Domestic+Sunway+compiler&rft.au=Kong%2C+JinYing&rft.au=Han%2C+Lin&rft.au=Xu%2C+JinLong&rft.au=Nie%2C+Kai&rft.date=2022-04-15&rft.pub=IEEE&rft.spage=1340&rft.epage=1344&rft_id=info:doi/10.1109%2FICSP54964.2022.9778356&rft.externalDocID=9778356 |