[all-commits] [llvm/llvm-project] 2b7ac6: [AArch64][RCPC3] Add Neon intrinsics for LDAP1 and...

Lucas Duarte Prates via All-commits all-commits at lists.llvm.org
Fri Jul 7 04:32:11 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b7ac6260627654def127598e0099938869f765a
  Author: Lucas Prates <lucas.prates at arm.com>
  Date:   2023-07-07 (Fri, 07 Jul 2023)

  Changed paths:
    M clang/include/clang/Basic/arm_neon.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    A clang/test/CodeGen/aarch64-neon-ldst-one-rcpc3.c
    M clang/utils/TableGen/NeonEmitter.cpp

  Log Message:
  [AArch64][RCPC3] Add Neon intrinsics for LDAP1 and STL1

This adds new intrisics to support the LDAP1 and STL1 Advanced SIMD
(Neon) instructions introduced as part of FEAT_LRCPC3.
The new intrinsics `vldap1(q)_lane`/`vstl1(q)_lane` generate IR code
similar to the existing `vld1(q)_lane/st1(q)_lane` ones, but capturing
the difference in the atomic release/acquire memory model.

The LLVM code generation changes to ensure that this instruction pair
is lowered to the correct LDAP1/STL1 instructions will be covered in a
separate commit.

Based on a patch by Sam Elliott.

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D153128

More information about the All-commits mailing list