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...
Saved in:
Published in | Ji suan ji ke xue Vol. 49; no. 11; pp. 76 - 82 |
---|---|
Main Authors | , , |
Format | Journal Article |
Language | Chinese |
Published |
Chongqing
Guojia Kexue Jishu Bu
01.11.2022
Editorial office of Computer Science |
Subjects | |
Online Access | Get full text |
Cover
Loading…
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 |