• Josh Bleecher Snyder's avatar
    cmd/internal/obj: reduce per-architecture opcode space · 9b88fac0
    Josh Bleecher Snyder authored
    s390x took up the last available chunk of int16 opcodes.
    There are RISC-V and sparc64 ports in progress out of tree,
    and there will likely be other architectures.
    Reduce the opcode space to allow more architectures to
    fit without increasing to int32.
    
    This is the smallest power of two that accomodates all
    existing architectures. All else being equal, smaller is
    better--smaller numbers are easier to generate immediates
    for and easier on the eyes when debugging.
    
    Change-Id: I4d0824b28913892fbd0579d3f90bea34e44c8946
    Reviewed-on: https://go-review.googlesource.com/24223
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMinux Ma <minux@golang.org>
    9b88fac0
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...
yacc Loading commit data...