• Keith Randall's avatar
    [dev.ssa] cmd/compile: clean up tuple types and selects · 25e0a367
    Keith Randall authored
    Make tuple types and their SelectX ops fully generic.
    These ops no longer need to be lowered.
    Regalloc understands them and their tuple-generating arguments.
    We can now have opcodes returning arbitrary pairs of results.
    (And it would be easy to move to >2 results if needed.)
    
    Update arm implementation to the new standard.
    Implement just enough in 386 port to do 64-bit add.
    
    Change-Id: I370ed5aacce219c82e1954c61d1f63af76c16f79
    Reviewed-on: https://go-review.googlesource.com/24976Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    Run-TryBot: Keith Randall <khr@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    25e0a367
cse.go 8.67 KB