一种提高嵌入式低功耗CPU一级预测器精度的方法

By generating the prediction data table PT through the GCCA and GCCB compilers, the conditional statement prediction of embedded low-power CPUs is optimized, solving the problem of insufficient predictor accuracy, achieving higher prediction accuracy and lower energy consumption, and improving CPU performance.

CN116243982BActive Publication Date: 2026-07-17四川启睿克科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
四川启睿克科技有限公司
Filing Date
2022-12-20
Publication Date
2026-07-17

Smart Images

  • Figure CN116243982B_ABST
    Figure CN116243982B_ABST
Patent Text Reader

Abstract

本发明公开了一种提高嵌入式低功耗CPU一级预测器精度的方法,包括:通过GCCA编译器对源代码进行分析与处理,在条件语句所在行附近添加统计函数;获得信息统计,最终得到一个目标程序执行的条件预测数据集合;GCCB编译器配合条件预测数据集合生成预测数据表,GCCB编译器将预测数据表链接到可执行程序的资源段中;CPU执行目标程序,启动代码获取所述预测数据表,CPU将所述预测数据表加载到cache缓存中,CPU开始取指令 / 译码,分析当前执行语句是否为条件判断语句;在嵌入式低功耗CPU芯片硬件设计部分,支持将目标程序中所述预测数据表加载到cache缓存中。本发明方法预测精度高,对于嵌入式低功耗CPU而言,能够降低不少的能量损耗,提高了运行速度和可靠性。
Need to check novelty before this filing date? Find Prior Art