• Austin Clements's avatar
    [dev.cc] runtime: allow more address bits in lfstack on Power64 · b76e8360
    Austin Clements authored
    Previously, lfstack assumed Linux limited user space addresses
    to 43 bits on Power64 based on a paper from 2001.  It turns
    out the limit is now 46 bits, so lfstack was truncating
    pointers.
    
    Raise the limit to 48 bits (for some future proofing and to
    make it match amd64) and add a self-test that will fail in a
    useful way if ever unpack(pack(x)) != x.
    
    With this change, dev.cc passes all.bash on power64le.
    
    LGTM=rsc
    R=rsc
    CC=golang-codereviews
    https://golang.org/cl/174430043
    b76e8360
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
dev.cc Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...