]> git.ipfire.org Git - thirdparty/glibc.git/commit
Makes AArch64 assembly acceptable to clang
authorShu-Chun Weng <scw@google.com>
Fri, 19 Apr 2019 21:47:59 +0000 (14:47 -0700)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:01 +0000 (17:26 -0700)
commit83bede0cfc8ac6c044427844edf4efc59fc6d62b
tree8d5a9a9d4d5db3f88d1306ef5303ae825afea7b1
parent038be62f9669046c852101862b3f871bee540c77
Makes AArch64 assembly acceptable to clang

According to ARMv8 architecture reference manual section C7.2.188, SIMD MOV (to
general) instruction format is

  MOV <Xd>, <Vn>.D[<index>]

gas appears to accept "<Vn>.2D[<index>]" as well, but clang's assembler does
not. C.f. https://community.arm.com/developer/ip-products/processors/f/cortex-a-forum/5214/aarch64-assembly-syntax-for-armclang
sysdeps/aarch64/memchr.S
sysdeps/aarch64/strchr.S
sysdeps/aarch64/strchrnul.S
sysdeps/aarch64/strrchr.S