diff options
author | Ludovic Hirlimann <ludovic@mozilla.com> | 2022-09-07 21:14:23 +0000 |
---|---|---|
committer | Ludovic Hirlimann <ludovic@mozilla.com> | 2022-09-07 21:14:23 +0000 |
commit | 106ee3549a5b065c6e107f61f142b824b69a7c99 (patch) | |
tree | 2339dde338b0e4ba21f50eb3fb7431c164e9ddf8 /lib/freebl/mpi/mpi.c | |
parent | cd8e96246687158688b4272eb8fc2e66b62c01f5 (diff) | |
download | nss-hg-106ee3549a5b065c6e107f61f142b824b69a7c99.tar.gz |
Bug 1563221 remove support for older unix in NSS part 1 OSF r=nss-reviewers,djackson
Differential Revision: https://phabricator.services.mozilla.com/D36755
Diffstat (limited to 'lib/freebl/mpi/mpi.c')
-rw-r--r-- | lib/freebl/mpi/mpi.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/freebl/mpi/mpi.c b/lib/freebl/mpi/mpi.c index 1d306696f..3c5494a64 100644 --- a/lib/freebl/mpi/mpi.c +++ b/lib/freebl/mpi/mpi.c @@ -9,9 +9,6 @@ #include "mpi-priv.h" #include "mplogic.h" -#if defined(OSF1) -#include <c_asm.h> -#endif #if defined(__arm__) && \ ((defined(__thumb__) && !defined(__thumb2__)) || defined(__ARM_ARCH_3__)) @@ -3930,12 +3927,6 @@ s_mp_mul(mp_int *a, const mp_int *b) Plo = (mp_digit)product; \ Phi = (mp_digit)(product >> MP_DIGIT_BIT); \ } -#elif defined(OSF1) -#define MP_MUL_DxD(a, b, Phi, Plo) \ - { \ - Plo = asm("mulq %a0, %a1, %v0", a, b); \ - Phi = asm("umulh %a0, %a1, %v0", a, b); \ - } #else #define MP_MUL_DxD(a, b, Phi, Plo) \ { \ @@ -4081,12 +4072,6 @@ s_mpv_mul_d_add_prop(const mp_digit *a, mp_size a_len, mp_digit b, mp_digit *c) Plo = (mp_digit)square; \ Phi = (mp_digit)(square >> MP_DIGIT_BIT); \ } -#elif defined(OSF1) -#define MP_SQR_D(a, Phi, Plo) \ - { \ - Plo = asm("mulq %a0, %a0, %v0", a); \ - Phi = asm("umulh %a0, %a0, %v0", a); \ - } #else #define MP_SQR_D(a, Phi, Plo) \ { \ |