Skip to content

Instantly share code, notes, and snippets.

View apnsngr's full-sized avatar

Andrew Pensinger apnsngr

  • DMI
  • Indianapolis, IN
View GitHub Profile
@apnsngr
apnsngr / init.el
Created August 20, 2018 04:37
New Emacs config
;;; init.el --- Emacs configuration
;; Author: Andrew Pensinger
;; This file is not part of GNU Emacs.
;;; Commentary:
;; Many thanks to Emacs Redux and What the .emacs.d!?
@apnsngr
apnsngr / 2local1global_microbenchmark_stats.txt
Last active December 5, 2017 20:28
Benchmark statistics for TournamentBP with 2 local and 1 global predictor
Step 1
system.cpu.branchPred.lookups 20003178 # Number of BP lookups
system.cpu.branchPred.condPredicted 20002541 # Number of conditional branches predicted
system.cpu.branchPred.condIncorrect 488 # Number of conditional branches incorrect
system.cpu.branchPred.BTBLookups 19002361 # Number of BTB lookups
system.cpu.branchPred.BTBHits 19001095 # Number of BTB hits
system.cpu.branchPred.BTBCorrect 0 # Number of correct BTB predictions (this stat may not work properly.
system.cpu.branchPred.BTBHitPct 99.993338 # BTB Hit Percentage
system.cpu.branchPred.usedRAS 190 # Number of times the RAS was used to get a target.
@apnsngr
apnsngr / alu.xml
Created January 24, 2017 00:52
ALU Draw.io shape
<mxlibrary>[{"xml":"jVPbrqIwFP0akpmHMykFER89KBdBAVFA34pUQEGQVi5+/RRx5mQeTjJpmqy9VvfubrvKCUrRaTWq0nUZ45wTlpyg1GVJR1R0Cs5zDoIs5oQFByFgk4PqNyr/UkGFanyj/5MAx4QG5Q88MiNBaJ+/CZKiaoCE4tspy3/QY7i9lEa7XAasbnXn4GfkEucutRHv9HfbgxvqxY0vRDOh1BQCDGCsDO96mha6EfEL5URp75HE9MAKTuZg511UW5KaHaQPs89OFi+Jy7BtWq8JtBAq92cm5pm6V/ZIDAo/cmu2bVucqwwjzXfLi9snkZmIYmulW0lCrB+douHIUFX4gy8TBpLW2m42NIwluXeiuXonV+9mRE6NZxP7KJla4yFrunFl3t5uVuTRLRPS9SwRy7YOIgbQ2j778d6G5WIur2I1t6T5gc4O67B+YLK6hc9g2DFlsyhRe/OJOcMKa2botkPOhJiBAVRHC9a7xm662f0JHCYfd2f7Sc5Tl60jFiNU34qQbrZ6cnX05LEoAiI3Jxf6IRPtjbGPfnLCZ5tmFHsVOg1P0zL/MC6lBTPQgmfw/ay4prj71hov6u0LDZcFpjU7MngnfEx+SbIoiLwsS0BmA+IPXhyrtFlM03GZMBoMpDhL0ndh6c0hMsbJ3+JfVhzuaXTjn/DL9S/tn0/xGw==","w":30,"h":60,"aspect":"fixed"}]</mxlibrary>
@apnsngr
apnsngr / t437
Created January 15, 2017 22:53
Extract testing output from ECE 437 make output
#! /usr/bin/awk -f
#
# Extract test output from ECE 437 simulation/synthesis output
#
# Written by: Andrew Pensinger <apensin@purdue.edu>
BEGIN {
print_lines=0;
}