Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce preliminary macro operation fusion #132

Merged
merged 1 commit into from
May 29, 2023

Commits on May 29, 2023

  1. Introduce preliminary macro operation fusion

    Through our observations, we have identified certain patterns in instruction
    sequences. By converting these specific RISC-V instruction patterns into
    faster and equivalent code, we can significantly improve execution efficiency.
    
    In our current analysis, we focus on a commonly used benchmark and have
    found the following frequently occurring instruction patterns: auipc + addi,
    auipc + add, multiple sw, and multiple lw.
    
    |  Metric  |     commit fba5802       |    macro fuse operation   |Speedup|
    |----------+--------------------------+---------------------------+-------|
    | CoreMark | 1351.065 (Iterations/Sec)|  1352.843 (Iterations/Sec)|+0.13% |
    | dhrystone|       1073 DMIPS         |        1146 DMIPS         | +6.8% |
    | nqueens  |       8295 msec          |        7824 msec          | +6.0% |
    qwe661234 committed May 29, 2023
    Configuration menu
    Copy the full SHA
    18213bc View commit details
    Browse the repository at this point in the history