Optimization Method of Streaming Storage Based on GCC Compiler

To solve the problem of cache pollution and mandatory loss caused by streaming memory access, some high-perfor-mance general-purpose processor platforms provide a dedicated path and supporting instructions for accessing memory directly without accessing the cache.The overall performance of chip memo...

Full description

Saved in:
Bibliographic Details
Published inJi suan ji ke xue Vol. 49; no. 11; pp. 76 - 82
Main Authors Gao, Xiu-Wu, Huang, Liang-Ming, Jiang, Jun
Format Journal Article
LanguageChinese
Published Chongqing Guojia Kexue Jishu Bu 01.11.2022
Editorial office of Computer Science
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:To solve the problem of cache pollution and mandatory loss caused by streaming memory access, some high-perfor-mance general-purpose processor platforms provide a dedicated path and supporting instructions for accessing memory directly without accessing the cache.The overall performance of chip memory system can be improved by using direct memory access in common application scenarios such as streaming storage.However, it is a tedious and error-prone task for programmers to determine when direct access to main memory is beneficial, and an effective way is to implement it automatically through the compiler.Therefore, based on the in-depth analysis of the benefits of different types of access operations under the streaming storage access mode, this paper proposes a streaming storage optimization method based on GCC compiler.In the SSA-GIMPLE stage of GCC compiler, the continuous write or step write with stream access characteristics in the program loop is recognized, and optimization objects are screened accord
ISSN:1002-137X
DOI:10.11896/jsjkx.211200252