aboutsummaryrefslogtreecommitdiff
path: root/target-i386/ops_sse_header.h
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2013-03-31 12:58:30 +0200
committerAurelien Jarno <aurelien@aurel32.net>2013-04-13 13:51:56 +0200
commite71827bc0ed50edb31bee6050bc96b3bd1e0c055 (patch)
treeb2dcf9af2e14a42a87e9c09a6a02a0f2cc29f773 /target-i386/ops_sse_header.h
parent8dbd3fc37593c81a04a62cb4266ba9127de4498a (diff)
target-i386: add pclmulqdq instruction
Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target-i386/ops_sse_header.h b/target-i386/ops_sse_header.h
index 401eac6f00..2842233943 100644
--- a/target-i386/ops_sse_header.h
+++ b/target-i386/ops_sse_header.h
@@ -336,6 +336,11 @@ DEF_HELPER_3(crc32, tl, i32, tl, i32)
DEF_HELPER_3(popcnt, tl, env, tl, i32)
#endif
+/* AES-NI op helpers */
+#if SHIFT == 1
+DEF_HELPER_4(glue(pclmulqdq, SUFFIX), void, env, Reg, Reg, i32)
+#endif
+
#undef SHIFT
#undef Reg
#undef SUFFIX