diff options
author | Vitaly Chikunov <vt@altlinux.org> | 2020-02-10 07:53:56 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@users.noreply.github.com> | 2020-02-10 11:28:23 +0300 |
commit | 0755b6e5faa6f32ed64357a78f1b5408e4d710e8 (patch) | |
tree | 06b442827ca05d7f8d5ebc518d5d131a738887d2 /gosthash2012.c | |
parent | 4d72cb81e2ea7dac866ed3b7e933d6585762b323 (diff) | |
download | gost-engine-0755b6e5faa6f32ed64357a78f1b5408e4d710e8.zip gost-engine-0755b6e5faa6f32ed64357a78f1b5408e4d710e8.tar.gz gost-engine-0755b6e5faa6f32ed64357a78f1b5408e4d710e8.tar.bz2 |
gosthash2012: Properly ifdef '_mm_empty' call
There is other architectures besides __x86_64__, so EMMS should be
issued on IA-32 only where we are using MMX.
Diffstat (limited to 'gosthash2012.c')
-rw-r--r-- | gosthash2012.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gosthash2012.c b/gosthash2012.c index c4307e7..5ec8ec7 100644 --- a/gosthash2012.c +++ b/gosthash2012.c @@ -135,7 +135,7 @@ static void g(union uint512_u *h, const union uint512_u * RESTRICT N, X128R(xmm0, xmm2, xmm4, xmm6, xmm1, xmm3, xmm5, xmm7); STORE(h, xmm0, xmm2, xmm4, xmm6); -# ifndef __x86_64__ +# ifndef __i386__ /* Restore the Floating-point status on the CPU */ /* This is only required on MMX, but EXTRACT32 is using MMX */ _mm_empty(); |