• Ben Shi's avatar
    cmd/internal/obj/arm64: add more atomic instructions · fc48dcb1
    Ben Shi authored
    More atomic instructions were introduced in ARMv8.1. And this CL
    adds support for them and corresponding test cases.
    
    LDADD Rs, (Rb), Rt: (Rb) -> Rt, Rs+(Rb) -> (Rb)
    LDAND Rs, (Rb), Rt: (Rb) -> Rt, Rs&(Rb) -> (Rb)
    LDEOR Rs, (Rb), Rt: (Rb) -> Rt, Rs^(Rb) -> (Rb)
    LDOR  Rs, (Rb), Rt: (Rb) -> Rt, Rs|(Rb) -> (Rb)
    
    Change-Id: Ifb9df86583c4dc54fb96274852c3b93a197045e4
    Reviewed-on: https://go-review.googlesource.com/110535Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    fc48dcb1
Name
Last commit
Last update
..
arch.go Loading commit data...
arm.go Loading commit data...
arm64.go Loading commit data...
mips.go Loading commit data...
ppc64.go Loading commit data...
s390x.go Loading commit data...