]> wagner.pp.ru Git - openssl-gost/engine.git/commit
gosthash2012: Issue EMMS on 32-bit SIMD implementation
authorVitaly Chikunov <vt@altlinux.org>
Thu, 6 Feb 2020 13:53:01 +0000 (16:53 +0300)
committerDmitry Belyavskiy <beldmit@users.noreply.github.com>
Thu, 6 Feb 2020 14:59:56 +0000 (17:59 +0300)
commit3b827f9f3832ca8b53618ff18b5a7e0a95749986
treea43948827f2ed0ed0c63ab2dce020d0148f1321a
parent26e4388e1d5f7f2b62067442aabb72c10e66ed3e
gosthash2012: Issue EMMS on 32-bit SIMD implementation

`_mm_empty' is not needed on x86_64, because we only using SSE2.

But, I didn't notice that EXTRACT32 (32-bit version of EXTRACT) is
using MMX registers and intrinsics, so complete removing of
`_mm_empty' (EMMS) was mistake.

Make it presence conditional only for IA-32.

Fixes: 211489f ("gosthash2012: Improve SIMD implementation")
gosthash2012.c