[PATCH] D126023: [MSVC, ARM64] Add __writex18 intrinsics

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 20 08:12:51 PDT 2022


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

The assembly for LLVM now looks like:

  __writex18byte:
                          strb    w1, [x18, w0, uxtw]
                          ret
  
  __writex18word:
                          strh    w1, [x18, w0, uxtw]
                          ret
  
  __writex18dword:
                          str     w1, [x18, w0, uxtw]
                          ret
  
  __writex18qword:
                          str     x1, [x18, w0, uxtw]
                          ret


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126023

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: D126023.430979.patch
Type: text/x-patch
Size: 7416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220520/d5dcb908/attachment.bin>


More information about the cfe-commits mailing list