# Study of Register Value Branch Predictor Based on CNN
## 6 Results and Discussion
### Results
\begin{table}
\begin{tabular}{c c c c c c} \hline \hline
**BenchMark** & **PC** & **Branch** & **BranchNet** & **Origin** & **Improved Accuracy** \\  & & **Counts** & **Accuracy** & **Accuracy** & **(32/8-bit)** \\ \hline  & 0x412067 & 1,198,114 & 90.98\% & 93.45\% & 100.00/99.82\% \\  & 0x402081 & 121,924 & 94.96\% & 95.73\% & 95.68/95.11\% \\ mcf & 0x44d3f3 & 95,729 & 81.61\% & 83.07\% & 99.96/90\% \\  & 0x43192c & 94,996 & 99.22\% & 99.22\% & 99.83/100.00\% \\  & 0x43191e & 95,721 & 99.24\% & 99.24\% & 99.24/99.24\% \\ \hline  & 0x6 ba2f3 & 246,287 & 88.62\% & 88.82\% & 91.51/90.23\% \\  & 0x6a8e48 & 248,440 & 96.57\% & 97.74\% & 99.97/99.37\% \\ omnetpp & 0x6b4978 & 374,039 & 83.12\% & 83.29\% & 84.78/83.75\% \\  & 0x6e28b8 & 202,675 & 98.97\% & 98.88\% & 98.95/99.61\% \\  & 0x6a7 aea & 34,299 & 85.54\% & 89.58\% & 89.76/88.71\% \\ \hline  & 0x403a87 & 1792 & 100.00\% & 100.00\% & 99.94/99.94\% \\  & 0x403b03 & 1792 & 100.00\% & 100.00\% & 100.00/100.00\% \\ deepsjeng & 0x403a96 & 768 & 100.00\% & 100.00\% & 100.00/100.00\% \\  & 0x472e33 & 494 & 100.00\% & 96.36\% & 94.74/97.17\% \\  & 0x403a7 & 320 & 100.00\% & 100.00\% & 100.00/100.00\% \\ \hline  & 0x42a963 & 903,244 & 90.01\% & 90.79\% & 90.53/90.24\% \\  & 0x42a978 & 1,327,827 & 95.43\% & 95.54\% & 95.54\%/95.52\% \\ leela & 0x42a9 db & 903,244 & 90.66\% & 90.39\% & 90.71/91.01\% \\  & 0x42a9f0 & 132,7827 & 95.41\% & 95.83\% & 95.67/98.41\% \\  & 0x42a9 ae & 196,154 & 97.22\% & 98.00\% & 97.61/98.39\% \\ \hline  & 0x45596c & 261,036 & 76.45\% & 100.00\% & 100.00/94.86\% \\  & 0x50d215 & 48,337 & 74.70\% & 74.40\% & 79.01/84.02\% \\ perlbench & 0x455976 & 103,686 & 83.53\% & 82.65\% & 85.41/85.55\% \\  & 0x50b316 & 223,050 & 96.53\% & 96.53\% & 96.55/96.55\% \\  & 0x469453 & 76,390 & 93.52\% & 94.34\% & 97.34/95.80\% \\ \hline  & 0x5516 ta & 1,130,631 & 85.23\% & 13.74\% & 82.01/83.41\% \\  & 0x6c1 cb3 & 44,099 & 47.80\% & 70.07\% & 50.18/49.92\% \\ xalancbmk & 0x95 be08 & 28,211 & 81.82\% & 81.82\% & 81.82/81.82\% \\  & 0x6 bd768 & 90,052 & 43.08\% & 56.76\% & 55.41/66.10\% \\  & 0x6 bcbb0b & 113,339 & 58.53\% & 52.60\% & 49.76/62.62\% \\ \hline  & 0x42b923 & 996,630 & 93.84\% & 92.78\% & 93.50/93.39\% \\ exchange2 & 0x42b80 & 1,296,242 & 97.24\% & 97.77\% & 97.30/97.47\% \\  & 0x4121a2 & 366,686 & 85.09\% & 91.74\% & 93.59/90.02\% \\  & 0x412 bcc & 644,779 & 81.69\% & 97.08\% & 95.33/92.61\% \\  & 0x42b83e & 469,278 & 100.00\% & 100.00\% & 100.00/100.00\% \\ \hline  & 0x5029a & 338,953 & 95.01\% & 95.01\% & 97.49/97.49\% \\  & 0x502773 & 114,131 & 78.08\% & 78.81\% & 78.06/78.38\% \\ gcc & 0x506335 & 200,018 & 90.43\% & 90.73\% & 94.91/99.55\% \\  & 0 xbbc9e4 & 39,744 & 85.86\% & 86.05\% & 86.30/86.72\% \\  & 0x44 dbb9 & 95,729 & 87.68\% & 100.00\% & 100.00/99.99\% \\ \hline  & 0x4b38b5 & 733 & 97.27\% & 97.41\% & 97.27/97.27\% \\ x264 & 0x416b3 & 494 & 100.00\% & 98.79\% & 93.32/94.94\% \\  & 0x4f1758 & 1610 & 100.00\% & 100.00\% & 100.00/100.00\% \\  & 0x4b44 fe & 732 & 100.00\% & 100.00\% & 100.00/100.00\% \\  & 0x4459f2 & 475,136 & 99.99\% & 99.99\% & 99.99/99.99\% \\ \hline  & 0x415 ce9 & 562,084 & 60.69\% & 60.69\% & 60.69/60.69\% \\  & 0x416052 & 214,031 & 49.48\% & 49.47\% & 69.00/50.68\% \\ xz & 0x41590 & 214,031 & 51.78\% & 51.80\% & 64.48/56.85\% \\  & 0x415 ff1 & 214,031 & 52.83\% & 52.82\% & 68.46/56.34\% \\  & 0x444597 & 214,031 & 55.58\% & 52.95\% & 56.10/55.99\% \\ \hline \hline \end{tabular}
\end{table} 
Table 4: Two types of processing register value slice and BranchNet-Big parameter table, Origin is the slice parameter referencing the BranchNet slice, and improved is the modified slice parameter. The remaining branches have decreased in accuracy after the addition of the BranchNet. Most of them are unrelated or weakly related to the input register values, and adding extra information rather reduces the correct rate of BranchNet's prediction, or the relationship between the jump direction and the register values is complicated, and the neutral predictor has difficulty in learning.