pith. sign in

arxiv: 0812.4973 · v1 · submitted 2008-12-29 · 💻 cs.PL

A Simple, Linear-Time Algorithm for x86 Jump Encoding

classification 💻 cs.PL
keywords algorithmcodeencodingjumplinear-timesizearrayassumption
0
0 comments X
read the original abstract

The problem of space-optimal jump encoding in the x86 instruction set, also known as branch displacement optimization, is described, and a linear-time algorithm is given that uses no complicated data structures, no recursion, and no randomization. The only assumption is that there are no array declarations whose size depends on the negative of the size of a section of code (Hyde 2006), which is reasonable for real code.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.