-
Notifications
You must be signed in to change notification settings - Fork 0
/
Instructions.txt
25 lines (19 loc) · 1.21 KB
/
Instructions.txt
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
Datasets:
- The "Dataset_pc_decimal" folder provides the 6 datasets used in this word.
- In each file, the first column represents the PC in decimal and the second column represents the real outcome of the actual branch
In order to run experiments:
- In terminal make the apropriate compilation: $ sh compiler.sh
- Then, execute in tterminal using command line arguments: $ ./bpu-wisard Dataset_pc_decimal/[name of dataset] [n] [a] [b] [c] [d0] [d1] [d2] [d3] [d4] [e]
where:
- [name of dataset]: is the full name of one of the files located in the "Dataset_pc_decimal" folder
- [n]: is the size of the n-tuple
- [a], [b], [c], [d0], [d1], [d2], [d3], [d4], [e]: are the parameters discussed in the dissertation
- For example, after compiling, execute: $ ./bpu-wisard Dataset_pc_decimal/M1.txt 32 2 2 2 2 2 3 4 1 1
The terminal will show something like this:
----- Results ------
Predicted branches: 282678
Not predicted branches: 17322
Accuracy: 94.226000
------ Size of ntuple (address_size): 32 -----
------ Size of each input: 348 -----
- The "Specialized-preditors" directory collets the results of the specialized predictor for each dataset