• Ben Shi's avatar
    cmd/internal/obj/arm64: support SWPD/SWPW/SWPH/SWPB · e1040d79
    Ben Shi authored
    SWPD/SWPW/SWPH/SWPB were introduced in ARMv8.1. They swap content
    of register and memory atomically. And their difference is
    SWPD: 64-bit double word data
    SWPW: 32-bit word data (zero extended to 64-bit)
    SWPH: 16-bit half word data (zero extended to 64-bit)
    SWPB: 8-bit byte data (zero extended to 64-bit)
    
    This CL implements them in the arm64 assembler.
    
    Change-Id: I2d9fb2310674bd92693531210e187143e7eed602
    Reviewed-on: https://go-review.googlesource.com/101516Reviewed-by: 's avatarCherry Zhang <cherryyz@google.com>
    Run-TryBot: Cherry Zhang <cherryyz@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    e1040d79
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...