Clustering case statements for indirect branch predictors

10/06/2019
by   Evandro Menezes, et al.
0

We present an O(nlogn) algorithm to compile a switch statement into jump tables. To generate jump tables that can be efficiently predicted by current hardware branch predictors, we added an upper bound on the number of entries for each table. This modification of the previously best known algorithm reduces the complexity from O(n^2) to O(nlogn).

READ FULL TEXT

page 1

page 2

research
05/17/2020

A Lightweight Isolation Mechanism for Secure Branch Predictors

Recently exposed vulnerabilities reveal the necessity to improve the sec...
research
07/18/2017

A non-commutative algorithm for multiplying 5x5 matrices using 99 multiplications

We present a non-commutative algorithm for multiplying 5x5 matrices usin...
research
05/26/2023

Implementation-Efficient Finite Alphabet Decoding of Polar Codes

An implementation-efficient finite alphabet decoder for polar codes rely...
research
02/13/2020

An almost optimal bound on the number of intersections of two simple polygons

What is the maximum number of intersections of the boundaries of a simpl...
research
05/13/2020

Bisimulation Finiteness of Pushdown Systems Is Elementary

We show that in case a pushdown system is bisimulation equivalent to a f...
research
05/02/2018

Dynamically Improving Branch Prediction Accuracy Between Contexts

Branch prediction is a standard feature in most processors, significantl...
research
04/04/2021

Faster Convolution Inference Through Using Pre-Calculated Lookup Tables

Low-cardinality activations permit an algorithm based on fetching the in...

Please sign up or login with your details

Forgot password? Click here to reset