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

Stephen Long via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 19 15:17:29 PDT 2022


steplong added reviewers: hans, rnk, efriedma, thakis, mstorsjo.
steplong added a comment.

The generated assembly is a little different from MSVC's:

  MSVC                                                                          LLVM
  __writex18byte:
                            strb    w1, [x18, x0]                             strb    w1, [x18, w0, uxtw]
  __writex18word:
                            strh    w1, [x18, x0]                             strh    w1, [x18, w0, uxtw #1]
  __writex18dword:
                            str     w1, [x18, x0]                              str     w1, [x18, w0, uxtw #2]
  __writex18qword:
                            str     x1, [x18, x0]                              str     x1, [x18, w0, uxtw #3]


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126023



More information about the cfe-commits mailing list