GitXplorerGitXplorer
o

branch-predictor

public
23 stars
11 forks
0 issues

Commits

List of commits on branch master.
Unverified
f90db14eb7bd0f686b49a618155b2cdfd6f194e7

fix function name

ooleg-codaio committed 9 years ago
Unverified
e907fb972d9b0c0071683ab5cb9eab7cbf80ff55

fix function name

ooleg-codaio committed 9 years ago
Unverified
ec64235003c6b02808889cf5dbe0102a4049e17d

add curlies

ooleg-codaio committed 9 years ago
Unverified
cedd20907b5f81112ad9864259984876dbd2ebf5

Add more comments

ooleg-codaio committed 9 years ago
Unverified
fce9635f7915b111b4e2915a56ac1c6103cfbb0c

Add lots of comments

ooleg-codaio committed 9 years ago
Unverified
448b10cdc95b1acbd501beee5533d34b98d2c089

Merge branch 'master' of github.com:ovaskevich/branch-predictor

ooleg-codaio committed 9 years ago

README

The README file for this repository.

Branch Prediction Pin Tool

This repository provides a Pin tool that can be used for performing branch prediction studies, i.e., evaluating different branch prediction algorithms. It uses Pin for instrumentation.

Implemented algorithms

This tool provides two ready-to-use implementations of branch predictors:

  1. Two-bit saturating counter branch predictor
  2. Perceptron branch predictor (link)

Additional branch predictors can be implemented by inheriting from the Predictor abstract class.

Running

To run, make sure you have Pin installed. You can then compile:

export PIN_ROOT=/path/to/pin
make

and instrument any executable:

sudo pin -t branch-predictor/obj-ia32/branch_predictor.so -- /usr/bin/curl google.com