• Russ Cox's avatar
    cmd/5l, cmd/6l, cmd/8l: accept CALL reg, reg · d57fcbf0
    Russ Cox authored
    The new src argument is ignored during linking
    (that is, CALL r1, r2 is identical to CALL r2 for linking),
    but it serves as a hint to the 5g/6g/8g optimizer
    that the src register is live on entry to the called
    function and must be preserved.
    
    It is possible to avoid exposing this fact to the rest of
    the toolchain, keeping it entirely within 5g/6g/8g,
    but I think it will help to be able to look in object files
    and assembly listings and linker -a / -W output to
    see CALL instructions are "Go func value" calls and
    which are "C function pointer" calls.
    
    R=ken2
    CC=golang-dev
    https://golang.org/cl/7364045
    d57fcbf0
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio 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...