This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Add ARMv8.2-A UAO PSTATE bit
ClosedPublic

Authored by olista01 on Nov 26 2015, 5:15 AM.

Details

Summary

ARMv8.2-A adds a new PSTATE bit, PSTATE.UAO, which allows the LDTR/STTR
instructions to behave the same as LDR/STR with respect to execute-only
pages at higher privilege levels. New variants of the MSR/MRS
instructions are added to allow reading and writing this bit. It is a
required part of ARMv8.2-A, so no additional subtarget features are
required.

Diff Detail

Repository
rL LLVM

Event Timeline

olista01 updated this revision to Diff 41240.Nov 26 2015, 5:15 AM
olista01 retitled this revision from to [AArch64] Add ARMv8.2-A UAO PSTATE bit.
olista01 updated this object.
olista01 added a reviewer: t.p.northover.
olista01 set the repository for this revision to rL LLVM.
olista01 added a subscriber: llvm-commits.
t.p.northover accepted this revision.Nov 26 2015, 7:17 AM
t.p.northover edited edge metadata.

This looks fine too, with one nit.

Tim.

lib/Target/AArch64/Utils/AArch64BaseInfo.h
468 ↗(On Diff #41240)

Missing comment here, for consistency.

This revision is now accepted and ready to land.Nov 26 2015, 7:17 AM
This revision was automatically updated to reflect the committed changes.