[all-commits] [llvm/llvm-project] 5cff77: [clang][ARM] PACBTI-M assembly support

Ties Stuij via All-commits all-commits at lists.llvm.org
Tue Nov 30 01:29:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cff77c23f43130887b566dd0fe237e1c482e23b
      https://github.com/llvm/llvm-project/commit/5cff77c23f43130887b566dd0fe237e1c482e23b
  Author: Ties Stuij <ties.stuij at arm.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M clang/test/Driver/armv8.1m.main.c
    M llvm/include/llvm/Support/ARMTargetParser.def
    M llvm/include/llvm/Support/ARMTargetParser.h
    M llvm/lib/Target/ARM/ARM.td
    M llvm/lib/Target/ARM/ARMInstrThumb2.td
    M llvm/lib/Target/ARM/ARMPredicates.td
    M llvm/lib/Target/ARM/ARMRegisterInfo.td
    M llvm/lib/Target/ARM/ARMSubtarget.h
    M llvm/lib/Target/ARM/ARMSystemRegister.td
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    M llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp
    M llvm/test/CodeGen/Thumb/high-reg-clobber.mir
    A llvm/test/MC/ARM/armv8.1m-pacbti-error.s
    A llvm/test/MC/ARM/armv8.1m-pacbti.s
    A llvm/test/MC/ARM/implicit-it-generation-v8.s
    A llvm/test/MC/Disassembler/ARM/armv8.1m-pacbti.txt

  Log Message:
  -----------
  [clang][ARM] PACBTI-M assembly support

Introduce assembly support for Armv8.1-M PACBTI extension. This is an optional
extension in v8.1-M.

There are 10 new system registers and 5 new instructions, all predicated on the
feature.

The attribute for llvm-mc is called "pacbti". For armclang, an architecture
extension also called "pacbti" was created.

This patch is part of a series that adds support for the PACBTI-M extension of
the Armv8.1-M architecture, as detailed here:

https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/armv8-1-m-pointer-authentication-and-branch-target-identification-extension

The PACBTI-M specification can be found in the Armv8-M Architecture Reference
Manual:

https://developer.arm.com/documentation/ddi0553/latest

The following people contributed to this patch:

- Victor Campos
- Ties Stuij

Reviewed By: labrinea

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




More information about the All-commits mailing list