{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T19:13:10Z","timestamp":1782846790209,"version":"3.54.5"},"reference-count":67,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"Major Project of ISCAS","award":["ISCAS-ZD-202302"],"award-info":[{"award-number":["ISCAS-ZD-202302"]}]},{"DOI":"10.13039\/501100004739","name":"Youth Innovation Promotion Association of the Chinese Academy of Sciences","doi-asserted-by":"crossref","award":["2023121"],"award-info":[{"award-number":["2023121"]}],"id":[{"id":"10.13039\/501100004739","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Software interacts with hardware through Instruction Set Architectures (ISAs), such as x86, ARM, and RISC-V. Although many developers may be unaware of ISA heterogeneity, ISA-specific code is pervasive in foundational software systems that underpin the digital infrastructure of human society. Maintaining separate implementations is common when supporting multiple ISAs in such a foundational software project. This may introduce substantial additional effort. Meanwhile, separate ISA-specific implementations frequently exhibit code similarities across ISAs. While prior code similarity research has largely focused on general-purpose clones or cross-language settings, similarity in ISA-specific implementations remains underexplored. To understand ISA-specific code and their similarities, and to gain insights for better management, we conducted an empirical study of 20 open-source foundational projects that support multiple ISAs. We confirmed the need for separate ISA-specific implementations by identifying the roles and characteristics of large-scale ISA-specific code, with assistance from large language models (LLMs). Our analysis of the ISA-specific code revealed a weighted average similarity of 21.7% across ISAs. We also observed cross-ISA co-change and cross-ISA participation patterns in the development and maintenance of ISA-specific code. By centering on ISA-specific implementations rather than general-purpose clones, this study provides a dedicated empirical characterization of a practically important but underexplored code-similarity setting, yielding evidence that can inform both researchers and practitioners working on ISA-related software engineering.<\/jats:p>","DOI":"10.1145\/3808119","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"2512-2535","source":"Crossref","is-referenced-by-count":0,"title":["Understanding Code Similarity across Instruction Set Architectures: An Empirical Study"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0006-6005-6999","authenticated-orcid":false,"given":"Haonan","family":"Yu","sequence":"first","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0905-2355","authenticated-orcid":false,"given":"Jiaxin","family":"Zhu","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Nanjing, Nanjing, China"},{"name":"Nanjing Institute of Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0000-2814-0273","authenticated-orcid":false,"given":"Yingying","family":"Zheng","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-1016-7361","authenticated-orcid":false,"given":"Yuwei","family":"Zhang","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-4941-9237","authenticated-orcid":false,"given":"Wei","family":"Wang","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Nanjing, Nanjing, China"},{"name":"Nanjing Institute of Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-8561-2481","authenticated-orcid":false,"given":"Jun","family":"Wei","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Nanjing, Nanjing, China"},{"name":"Nanjing Institute of Software Technology, Nanjing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-4875-732X","authenticated-orcid":false,"given":"Tao","family":"Huang","sequence":"additional","affiliation":[{"name":"Institute of Software, Chinese Academy of Sciences, University of Chinese Academy of Sciences, Beijing, China"},{"name":"University of Chinese Academy of Sciences, Beijing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/icccnt.2013.6726700"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1109\/access.2019.2918202"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME58846.2023.00013"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3696002"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/tc.2021.3063027"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/apsec.2018.00035"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2009.16"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSM.1998.738528"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2007.70725"},{"key":"e_1_2_1_10_1","unstructured":"Ben Boyter. 2025. scc: v3.5.0. https:\/\/github.com\/boyter\/scc"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/saner.2019.8668039"},{"key":"e_1_2_1_12_1","volume-title":"Proceedings of the International Workshop on Applications of Neural Networks to Telecommunications. Psychology Press, 273-280","author":"Carter S","year":"2013","unstructured":"S Carter, RJ Frank, and DSW Tansley. 2013. Clone detection in telecommunications software systems: A neural net approach. In Proceedings of the International Workshop on Applications of Neural Networks to Telecommunications. Psychology Press, 273-280."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00521-022-07707-2"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/tetc.2021.3120538"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/tc.2011.223"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3313808.3313811"},{"key":"e_1_2_1_17_1","first-page":"219","article-title":"The development of a software clone detector","volume":"1","author":"Davey Neil","year":"1995","unstructured":"Neil Davey, Paul Barson, Simon Field, Ray Frank, and D Tansley. 1995. The development of a software clone detector. International Journal of Applied Software Technology 1, 3\/4 (1995), 219-236.","journal-title":"International Journal of Applied Software Technology"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639148"},{"key":"e_1_2_1_19_1","first-page":"1013","volume-title":"2024 USENIX Annual Technical Conference (USENIX ATC 24)","author":"Gao Chen","year":"2024","unstructured":"Chen Gao, Xiangwei Meng, Wei Li, Jinhui Lai, Yiran Zhang, and Fengyuan Ren. 2024. {CrossMapping}: Harmonizing Memory Consistency in {Cross-ISA} Binary Translation. In 2024 USENIX Annual Technical Conference (USENIX ATC 24). 1013-1028."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-64694-3_9"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/0026-"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/cgo57630.2024.10444850"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1109\/icse.2007.30"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1109\/dsa56465.2022.00017"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2002.1019480"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.advengsoft.2022.103327"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/1095430.1081737"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/wcre.2006.18"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1109\/wcre.2001.957835"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1109\/wcre.2007.7"},{"key":"e_1_2_1_31_1","first-page":"285","volume-title":"11th IEEE International Workshop on Program Comprehension","author":"Lakhotia Arun","year":"2003","unstructured":"Arun Lakhotia, Junwei Li, Andrew Walenstein, and Yun Yang. 2003. Towards a clone detection benchmark suite and results archive. In 11th IEEE International Workshop on Program Comprehension, 2003. IEEE, 285-286."},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2021"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1109\/iwsc55060.2022.00013"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/access.2018.2883699"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1109\/ASE56229.2023.00210"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10489-022-03158-3"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3696443.3708952"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1109\/icsm.1996.565012"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3312662.3312707"},{"key":"e_1_2_1_40_1","first-page":"539","article-title":"Source Code Retrieval using Conceptual Similarity","volume":"4","author":"Mishne Gilad","year":"2004","unstructured":"Gilad Mishne, Maarten De Rijke, et al. 2004. Source Code Retrieval using Conceptual Similarity.. In RIAO, Vol. 4. 539-554.","journal-title":"RIAO"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/3313290"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1109\/icsm"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3274404"},{"key":"e_1_2_1_44_1","first-page":"1016","article-title":"Finding plagiarisms among a set of programs with JPlag","volume":"8","author":"Prechelt Lutz","year":"2002","unstructured":"Lutz Prechelt, Guido Malpohl, Michael Philippsen, et al. 2002. Finding plagiarisms among a set of programs with JPlag. J. Univers. Comput. Sci. 8, 11 (2002), 1016.","journal-title":"J. Univers. Comput. Sci."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2013.01.008"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/iwcmc55113.2022.9824961"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1109\/tse.2020.3001512"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.18653\/v1\/2024.findings-emnlp.432"},{"key":"e_1_2_1_49_1","volume-title":"A survey on software clone detection research. Queen's School of computing TR 541, 115","author":"Roy Chanchal Kumar","year":"2007","unstructured":"Chanchal Kumar Roy and James R Cordy. 2007. A survey on software clone detection research. Queen's School of computing TR 541, 115 (2007), 64-68."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1109\/icpc.2008.41"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-981-16-1927-4_4"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2851613.2851785"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1109\/wcre.2010.33"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-2836(81)90087-5"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/icpc.2016.7503720"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1109\/icsm.2015.7332459"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-009-9108-x"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.18293\/seke2019-183"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1109\/apsec.2017.16"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/asap52443.2021.00018"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3296957.3177160"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1109\/ipdps49936.2021.00054"},{"key":"e_1_2_1_63_1","doi-asserted-by":"publisher","DOI":"10.1109\/aiam48774.2019"},{"key":"e_1_2_1_64_1","doi-asserted-by":"publisher","DOI":"10.1145\/2970276.2970326"},{"key":"e_1_2_1_65_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2023.111796"},{"key":"e_1_2_1_66_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2022.111557"},{"key":"e_1_2_1_67_1","doi-asserted-by":"publisher","DOI":"10.1109\/CGO51591.2021.9370312"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808119","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:42:15Z","timestamp":1782844935000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808119"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":67,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808119"],"URL":"https:\/\/doi.org\/10.1145\/3808119","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}