[PATCH] D126024: [MSVC, ARM64] Add __readx18 intrinsics

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 09:06:04 PDT 2022


steplong updated this revision to Diff 430994.
steplong added a comment.

The assembly for LLVM is now:

  __readx18byte:
         ldrb    w0, [x18, w0, uxtw]
  __readx18word:
         ldrh    w0, [x18, w0, uxtw]
  __readx18dword:
         ldr     w0, [x18, w0, uxtw]
  __readx18qword:
         ldr     x0, [x18, w0, uxtw]


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126024/new/

https://reviews.llvm.org/D126024

Files:
  clang/include/clang/Basic/BuiltinsAArch64.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/lib/Headers/intrin.h
  clang/test/CodeGen/arm64-microsoft-intrinsics.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126024.430994.patch
Type: text/x-patch
Size: 6659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220520/0b13e2b2/attachment.bin>


More information about the cfe-commits mailing list