• Rémy Oudompheng's avatar
    cmd/6g: relax constraint on variables that need zeroing. · f400d9aa
    Rémy Oudompheng authored
    On amd64p32 pointers are 32-bit-aligned and cannot be assumed to
    have an offset multiple of widthreg. Instead check that they are
    withptr-aligned.
    
    Also change the threshold for region merging to 2*widthreg
    instead of 2*widthptr because performance on amd64 and amd64p32
    is expected to be the same.
    
    Fixes #7712.
    
    LGTM=khr
    R=rsc, dave, khr, brad, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/84690044
    f400d9aa
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
liblink Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...