-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathREADME
More file actions
22 lines (16 loc) · 909 Bytes
/
README
File metadata and controls
22 lines (16 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
ERSP Storage Optimization
This pin tool is written to identify redundant store instructions. To run this
program, navigate to the itrace_experiment directory. Then type in 'make'. Next,
to run the pin program, type in:
pin -t ~/ERSPStorageOptimization/pin-3.0-76991-gcc-linux/source/tools/itrace_ex
periment/obj-intel64/traceMemoryWrite.so -- ./test
where test is the C or C++ program you wish to find the redundant store
instructions.
If there are any problems running this, you might not have configured Pin
correctly on your device. Please refer to the Pin website to configure
correctly.
Currently, the program prints all the immediate values and register values to
ImmediateOutput.txt. It includes the immediate value, instructor pointers, and
memory address.
A tool to remove these redundant store instructions can be written to actually
remove the store instructions and optimize the program.