• Keith Randall's avatar
    [dev.ssa] cmd/compiler/internal/ssa: Add auxint field · 8f22b529
    Keith Randall authored
    Add an additional int64 auxiliary field to Value.
    
    There are two main reasons for doing this:
    1) Ints in interfaces require allocation, and we store ints in Aux a lot.
    2) I'd like to have both *gc.Sym and int offsets included in lots
       of operations (e.g. MOVQloadidx8).  It will be more efficient to
       store them as separate fields instead of a pointer to a sym/int pair.
    
    It also simplifies a bunch of code.
    
    This is just the refactoring.  I'll start using this some more in a
    subsequent changelist.
    
    Change-Id: I1ca797ff572553986cf90cab3ac0a0c1d01ad241
    Reviewed-on: https://go-review.googlesource.com/10929Reviewed-by: 's avatarJosh Bleecher Snyder <josharian@gmail.com>
    8f22b529
Name
Last commit
Last update
..
AMD64.rules Loading commit data...
AMD64Ops.go Loading commit data...
README Loading commit data...
generic.rules Loading commit data...
genericOps.go Loading commit data...
main.go Loading commit data...
rulegen.go Loading commit data...