• Giovanni Bajo's avatar
    test: move load/store combines into asmcheck · fad31e51
    Giovanni Bajo authored
    This CL moves the load/store combining tests into asmcheck.
    In addition at being more compact, it's also now easier to
    spot what it is missing in each architecture.
    
    While doing so, I think I uncovered a bug in ppc64le and arm64
    rules, because they fail to load/store combine in non-trivial
    functions. Not sure why, I'll open an issue.
    
    Change-Id: Ia1572d53c0553d9104f3e52b95e4d1768a8440a3
    Reviewed-on: https://go-review.googlesource.com/98441
    Run-TryBot: Giovanni Bajo <rasky@develer.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    fad31e51
asm_test.go 46.8 KB