| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/security/beecrypt/files/ |
Upload File : |
Fix the SSE2-specific code for clang -- it differs from GCC in this.
--- sha384.c 2009-06-18 05:14:35.000000000 -0400
+++ sha384.c 2014-04-27 17:15:13.000000000 -0400
@@ -131,6 +131,6 @@
#ifdef OPTIMIZE_SSE2
- # if defined(_MSC_VER) || defined (__INTEL_COMPILER)
- static const __m64 MASK = { 0x00FF00FF00FF00FF00 };
+ # if defined(_MSC_VER) || defined (__INTEL_COMPILER) || defined(__clang__)
+ static const __m64 MASK = { 0x00FF00FF00FF00FF };
# elif defined(__GNUC__)
static const __m64 MASK = { 0x00FF00FF, 0x00FF00FF };
--- sha512.c 2009-06-18 05:15:57.000000000 -0400
+++ sha512.c 2014-04-27 17:15:47.000000000 -0400
@@ -131,5 +131,5 @@
{
#ifdef OPTIMIZE_SSE2
- # if defined(_MSC_VER) || defined(__INTEL_COMPILER)
+ # if defined(_MSC_VER) || defined(__INTEL_COMPILER) || defined(__clang__)
static const __m64 MASK = { 0x00FF00FF00FF00FF };
# elif defined(__GNUC__)