Browse Source

DynASM/ARM64: Add instructions for ARM64e PAC.

Contributed by Peter Cawley. #559
Mike Pall 2 years ago
parent
commit
117ddf35e6
1 changed files with 7 additions and 0 deletions
  1. 7 0
      dynasm/dasm_arm64.lua

+ 7 - 0
dynasm/dasm_arm64.lua

@@ -823,6 +823,13 @@ map_op = {
   tbz_3  = "36000000DTBw|36000000DTBx",
   tbnz_3 = "37000000DTBw|37000000DTBx",
 
+  -- ARM64e: Pointer authentication codes (PAC).
+  blraaz_1  = "d63f081fNx",
+  braa_2    = "d71f0800NDx",
+  braaz_1   = "d61f081fNx",
+  pacibsp_0 = "d503237f",
+  retab_0   = "d65f0fff",
+
   -- Miscellaneous instructions.
   -- TODO: hlt, hvc, smc, svc, eret, dcps[123], drps, mrs, msr
   -- TODO: sys, sysl, ic, dc, at, tlbi