• Rémy Oudompheng's avatar
    cmd/6c, cmd/8c: add fixjmp step to regopt. · 5cb1ed21
    Rémy Oudompheng authored
    The fixjmp step eliminates redundant chains of JMP
    instructions that are produced by the compiler during
    code generation.
    
    It is already implemented in gc, and can be adapted to 6c/8c with
    the exception that JMPs refer to destination by pc instead of by
    pointer. The algorithm is modified to operate on Regs instead of Progs
    for this reason. The pcs are already restored later by regopt.
    
    R=goalng-dev, rsc
    CC=golang-dev
    https://golang.org/cl/6865046
    5cb1ed21
Name
Last commit
Last update
..
Makefile Loading commit data...
cgen.c Loading commit data...
div.c Loading commit data...
doc.go Loading commit data...
gc.h Loading commit data...
list.c Loading commit data...
machcap.c Loading commit data...
mul.c Loading commit data...
peep.c Loading commit data...
reg.c Loading commit data...
sgen.c Loading commit data...
swt.c Loading commit data...
txt.c Loading commit data...