aboutsummaryrefslogtreecommitdiff
path: root/target-i386/ops_sse_header.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2013-03-31 12:58:31 +0200
committerAurelien Jarno <aurelien@aurel32.net>2013-04-13 13:51:57 +0200
commitd640045a3ede028293b83e57e9ae1ce4f81044b8 (patch)
treedd3d52f1d3eb7267b1460991ef65eca9c0953008 /target-i386/ops_sse_header.h
parent5d6f5cdd8ae3a67a07012b4f3fcb5db7a6117766 (diff)
target-i386: add AES-NI instructions
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-i386/ops_sse_header.h')
-rw-r--r--target-i386/ops_sse_header.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/target-i386/ops_sse_header.h b/target-i386/ops_sse_header.h
index 2842233943..a68c7cc0c9 100644
--- a/target-i386/ops_sse_header.h
+++ b/target-i386/ops_sse_header.h
@@ -338,6 +338,12 @@ DEF_HELPER_3(popcnt, tl, env, tl, i32)
/* AES-NI op helpers */
#if SHIFT == 1
+DEF_HELPER_3(glue(aesdec, SUFFIX), void, env, Reg, Reg)
+DEF_HELPER_3(glue(aesdeclast, SUFFIX), void, env, Reg, Reg)
+DEF_HELPER_3(glue(aesenc, SUFFIX), void, env, Reg, Reg)
+DEF_HELPER_3(glue(aesenclast, SUFFIX), void, env, Reg, Reg)
+DEF_HELPER_3(glue(aesimc, SUFFIX), void, env, Reg, Reg)
+DEF_HELPER_4(glue(aeskeygenassist, SUFFIX), void, env, Reg, Reg, i32)
DEF_HELPER_4(glue(pclmulqdq, SUFFIX), void, env, Reg, Reg, i32)
#endif