]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
DynASM/x86: Add AVX AES instructions.
authorMike Pall <mike>
Mon, 28 Dec 2015 15:40:39 +0000 (16:40 +0100)
committerMike Pall <mike>
Mon, 28 Dec 2015 15:40:39 +0000 (16:40 +0100)
Contributed by Peter Cawley.

dynasm/dasm_x86.lua

index 8c4bfc614003b18413dacfe5eb3965d2f176e4b7..60f5211a337c72a4da305de1557ee229d8ca6374 100644 (file)
@@ -1567,6 +1567,12 @@ local map_op = {
 
   -- AVX, AVX2 integer ops
   -- In general, xmm requires AVX, ymm requires AVX2.
+  vaesdec_3 =  "rrmo:660F38VDErM",
+  vaesdeclast_3 = "rrmo:660F38VDFrM",
+  vaesenc_3 =  "rrmo:660F38VDCrM",
+  vaesenclast_3 = "rrmo:660F38VDDrM",
+  vaesimc_2 =  "rmo:660F38uDBrM",
+  vaeskeygenassist_3 = "rmio:660F3AuDFrMU",
   vlddqu_2 =   "rxoy:F20FuF0rM",
   vmaskmovdqu_2 = "rro:660FuF7rM",
   vmovdqa_2 =  "rmoy:660Fu6FrM|mroy:660Fu7FRm",