Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 10, 2015
  1. OS X support for amd64.

    The big difference here is that OS X runs with a small-code PIC code
    model, which doesn't place code in the low 4G of RAM. So we need to
    switch everything to be PC-relative, and do some shenanigans to try to
    get a code allocation near our .text segment -- in particular, since the
    allocator just starts at the binary and works upwards, we need to make
    sure that we allocate the buffer *before* we do the 4G map for the
    image's address space.
Commits on Aug 6, 2012
  1. Use a dedicated register to hold the memory base on amd64.

    Since we don't have %fs, this saves some indirection while accessing
    memory, and speeds things up measurably.
    We should really just use one of the extra registers we have on amd64,
    but our assembler doesn't support REX.{r,x,b} yet.
Commits on Aug 4, 2012
Something went wrong with that request. Please try again.