Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/sys/crypto/aes Pass the requisite -msse options for i386.



details:   https://anonhg.NetBSD.org/src/rev/8097256c6255
branches:  trunk
changeset: 935393:8097256c6255
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 01 09:58:29 2020 +0000

description:
Pass the requisite -msse options for i386.

diffstat:

 tests/sys/crypto/aes/Makefile |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r aab1f6930382 -r 8097256c6255 tests/sys/crypto/aes/Makefile
--- a/tests/sys/crypto/aes/Makefile     Wed Jul 01 08:25:44 2020 +0000
+++ b/tests/sys/crypto/aes/Makefile     Wed Jul 01 09:58:29 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2020/06/30 20:32:11 riastradh Exp $
+#      $NetBSD: Makefile,v 1.2 2020/07/01 09:58:29 riastradh Exp $
 
 .include <bsd.own.mk>
 
@@ -51,11 +51,16 @@
 SRCS.t_aes+=   aes_sse2_enc.c
 SRCS.t_aes+=   aes_sse2_impl.c
 SRCS.t_aes+=   aes_sse2_subr.c
+COPTS.aes_sse2.c+=     -msse -msse2
+COPTS.aes_sse2_dec.c+= -msse -msse2
+COPTS.aes_sse2_enc.c+= -msse -msse2
+COPTS.aes_sse2_subr.c+=        -msse -msse2
 
 SRCS.t_aes+=   aes_ssse3.c
 SRCS.t_aes+=   aes_ssse3_impl.c
 SRCS.t_aes+=   aes_ssse3_subr.c
-COPTS.aes_ssse3.c+=    -msse3 -mssse3
+COPTS.aes_ssse3.c+=            -msse -msse2 -msse3 -mssse3
+COPTS.aes_ssse3_subr.c+=       -msse -msse2 -msse3 -mssse3
 
 SRCS.t_aes+=   aes_via.c
 



Home | Main Index | Thread Index | Old Index