]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Undo workaround for unsupported vmsumudm on ppc
authorMaamoun TK <maamoun.tk@googlemail.com>
Thu, 13 Oct 2022 09:46:50 +0000 (11:46 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 13 Oct 2022 19:41:35 +0000 (21:41 +0200)
.gitlab-ci.yml
fat-ppc.c
fat-setup.h

index b206873e59603dafb9901f509c570c123e35c0e5..ed15456fede4b25f63e19f744ed70e6ab40c88b4 100644 (file)
@@ -158,8 +158,8 @@ Debian.cross.x86:
   - ./.bootstrap
   - ./configure --disable-static --disable-documentation $EXTRA_CONFIGURE_FLAGS --build=$build --host=$host
   - make -j$(nproc)
-  - NETTLE_TEST_SEED=0 NETTLE_FAT_DISABLE_POWER9=1 make -j$(nproc) check
-  - NETTLE_TEST_SEED=0 NETTLE_FAT_DISABLE_POWER9=1 make -j$(nproc) check-fat
+  - NETTLE_TEST_SEED=0 make -j$(nproc) check
+  - NETTLE_TEST_SEED=0 make -j$(nproc) check-fat
   tags:
   - shared
   - linux
index b0412e5a00a31d454c6f60f3377869d28eee2a7d..7569e44d6cbf817e9af2c7b3519b045f32200057 100644 (file)
--- a/fat-ppc.c
+++ b/fat-ppc.c
@@ -153,11 +153,6 @@ get_ppc_features (struct ppc_features *features)
           == (PPC_FEATURE_HAS_ALTIVEC | PPC_FEATURE_HAS_VSX));
 #endif
     }
-  /* NETTLE_FAT_DISABLE_POWER9 can be set to disable code that fails
-     in qemu, due to
-     https://gitlab.com/qemu-project/qemu/-/issues/1156. */
-  if (secure_getenv (ENV_DISABLE_POWER9))
-    features->have_power9 = 0;
 }
 
 DECLARE_FAT_FUNC(_nettle_aes_encrypt, aes_crypt_internal_func)
index eeec629e7b9902a618f7d3562ffbbf84789b838d..f9c354515ef39d7322c61629cb761792c873f879 100644 (file)
@@ -92,7 +92,6 @@
 
 #define ENV_VERBOSE "NETTLE_FAT_VERBOSE"
 #define ENV_OVERRIDE "NETTLE_FAT_OVERRIDE"
-#define ENV_DISABLE_POWER9 "NETTLE_FAT_DISABLE_POWER9"
 
 struct chacha_ctx;
 struct salsa20_ctx;