Skip to content

Commit

Permalink
[herd] Add support for AArch64 FEAT_ExS
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Nikoleris <[email protected]>
  • Loading branch information
relokin authored and maranget committed Oct 16, 2022
1 parent 1805865 commit ebc2f9b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions herd/variant.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ type t =
| Instances (* Compute dependencies on instruction instances *)
| Kvm
| ETS
(* AArch64: Enhanced Exception Synchronization - FEAT_ExS *)
| ExS | EIS | EOS
(* Do not insert branching event between pte read and accesses *)
| NoPteBranch
(* Pte-Squared: all accesses through page table, including PT accesses *)
Expand Down Expand Up @@ -101,6 +103,9 @@ let parse s = match Misc.lowercase s with
| "instances"|"instance" -> Some Instances
| "kvm" -> Some Kvm
| "ets" -> Some ETS
| "exs" -> Some ExS
| "eis" -> Some EIS
| "eos" -> Some EOS
| "noptebranch"|"nobranch" -> Some NoPteBranch
| "pte2" | "pte-squared" -> Some PTE2
| "phantomonload" -> Some PhantomOnLoad
Expand Down Expand Up @@ -151,6 +156,9 @@ let pp = function
| Instances -> "Instances"
| Kvm -> "kvm"
| ETS -> "ets"
| ExS -> "exs"
| EIS -> "eis"
| EOS -> "eos"
| NoPteBranch -> "NoPteBranch"
| PTE2 -> "pte-squared"
| PhantomOnLoad -> "PhantomOnLoad"
Expand Down
2 changes: 2 additions & 0 deletions herd/variant.mli
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ type t =
| Instances (* Compute dependencies on instruction instances *)
| Kvm
| ETS
(* AArch64: Enhanced Exception Synchronization - FEAT_ExS *)
| ExS | EIS | EOS
(* Do not insert branching event between pte read and accesses *)
| NoPteBranch
(* Pte-Squared: all accesses through page table, including PT accesses *)
Expand Down

0 comments on commit ebc2f9b

Please sign in to comment.