Commit 39cd6af
authored
Mgsc align to RTL (#686)
* pred: add BTBMGSC prediction statistics
- Updated calculatePercsum and calculateScaledPercsum documentation for clarity.
- Enhanced MgscStats to include new statistics for weight scale sensitivity and prediction correctness.
* bpu: test mgsc score
Change-Id: I5992adb066d5c5c75bd16141564ac55264aa7e0a
* bpu: add mgsc dosc
Change-Id: Ieaef1b35cd968cb97679b982eab6db54b0b74b4c
* bpu: update scaling formula in calculateScaledPercsum
- Enhanced the scaling formula in the calculateScaledPercsum function to implement a 4-level granularity for weight adjustments.
- The new scaling logic provides more nuanced control over the importance of percsum based on weight ranges.
Change-Id: I45dda73bec5d79d3521fec3ce7244c8e3c52dcab
* bpu: disable weight table for test
Change-Id: Ib26755301387cbf1ce4b12bb26e988d43a49eea8
* bpu: test force use SC not use tage
Change-Id: I69ef16d0b2d973de03e8ccd381ff359bc640d5f1
* bpu: test no tage, only use SC
Change-Id: Ia279ea56c55b79261163bee4400befe6014e8c12
* Revert "bpu: test no tage, only use SC"
This reverts commit 2cfb00c.
* bpu: align RTL: only enable bias and path, disable pcThreshold
Change-Id: I6ecce2060d5a9dc85312ff87188ee8804a694f2a
* bpu: add mgsc trace
Change-Id: I2b8451ff6ec9abbda07d71a32a942fb116f0abd9
* bpu: mgsc,enable global
global + bias + path
Change-Id: I58b509b2361a76b681a3862bb3d9bcc140d5ac52
* bpu: mgsc,enable IMLI
IMLI + global + bias + path
Change-Id: I5a9c8470901455db75597a3d0aa07204a008a291
* bpu: mgsc,enable backward
backward + IMLI + global + bias + path
Change-Id: I7aabaafa68660f82a75a19e002f0b44376751c79
* bpu: mgsc,enable local
local + backward + IMLI + global + bias + path
Change-Id: I6ec878fc09049b5cab9a840ed7e4b568f39168fd
* bpu: disable sc now, waiting for RTL implementation
Change-Id: I07ece3caa9617ff7c1aa094d00ef9710d476b41e
* bpu: remove duplicated params in kmhv3.py
Change-Id: I102752018085baeae8aaba087b361758e6af2ab41 parent 2198991 commit 39cd6af
File tree
5 files changed
+384
-59
lines changed- docs/Gem5_Docs/frontend
- src/cpu/pred
- btb
5 files changed
+384
-59
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1143 | 1143 | | |
1144 | 1144 | | |
1145 | 1145 | | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
1146 | 1156 | | |
1147 | 1157 | | |
1148 | 1158 | | |
| |||
0 commit comments