HomePhabricator

[AArch64] Fix BTI instruction emission.

Authored by danielkiss on Jun 15 2020, 6:02 AM.

Description

[AArch64] Fix BTI instruction emission.

Summary:
SCTLR_EL1.BT[01] controls the PACI[AB]SP compatibility with PBYTE 11
(see [1])
This bit will be set to zero so PACI[AB]SP are equal to BTI C
instruction only.

[1] https://developer.arm.com/docs/ddi0595/b/aarch64-system-registers/sctlr_el1

Reviewers: chill, tamas.petz, pbarrio, ostannard

Reviewed By: tamas.petz, ostannard

Subscribers: kristof.beyls, hiraditya, llvm-commits

Tags: #llvm

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

Details

Committed
danielkissJun 15 2020, 6:04 AM
Reviewer
tamas.petz
Differential Revision
D81746: [AArch64] Fix BTI instruction emission.
Parents
rG2d2c73c5cfde: [mlir] Remove OperandAdaptor
Branches
Unknown
Tags
Unknown