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

[openssl-gost] [gost-engine/engine] 3b827f: gosthash2012: Issue EMMS on 32-bit SIMD implementa...



  Branch: refs/heads/master
  Home:   https://github.com/gost-engine/engine
  Commit: 3b827f9f3832ca8b53618ff18b5a7e0a95749986
      https://github.com/gost-engine/engine/commit/3b827f9f3832ca8b53618ff18b5a7e0a95749986
  Author: Vitaly Chikunov <vt@altlinux.org>
  Date:   2020-02-06 (Thu, 06 Feb 2020)

  Changed paths:
    M gosthash2012.c

  Log Message:
  -----------
  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")