• David Chase's avatar
    [dev.ssa] cmd/compile: PPC64, FP to/from int conversions. · d08010f9
    David Chase authored
    Passes ssa_test.
    
    Requires a few new instructions and some scratchpad
    memory to move data between G and F registers.
    
    Also fixed comparisons to be correct in case of NaN.
    Added missing instructions for run.bash.
    Removed some FP registers that are apparently "reserved"
    (but that are also apparently also unused except for a
    gratuitous multiplication by two when y = x+x would work
    just as well).
    
    Currently failing stack splits.
    
    Updates #16010.
    
    Change-Id: I73b161bfff54445d72bd7b813b1479f89fc72602
    Reviewed-on: https://go-review.googlesource.com/26813
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: default avatarCherry Zhang <cherryyz@google.com>
    d08010f9
asm9.go 84.7 KB