SHA-1/SSSE3: Do not check for Intel syntax assembly support
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Fri, 13 Dec 2013 23:11:32 +0000 (01:11 +0200)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Fri, 13 Dec 2013 23:11:32 +0000 (01:11 +0200)
* cipher/sha1-ssse3-amd64.S: Remove check for
HAVE_INTEL_SYNTAX_PLATFORM_AS.
* cipher/sha1.c [USE_SSSE3]: Ditto.
--

SHA-1 SSSE3 implementation uses AT&T syntax so check for
HAVE_INTEL_SYNTAX_PLATFORM_AS is unnecessary.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/sha1-ssse3-amd64.S
cipher/sha1.c

index 5165f3f..cf8c079 100644 (file)
@@ -30,7 +30,6 @@
 #include <config.h>
 
 #if defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) && \
-    defined(HAVE_INTEL_SYNTAX_PLATFORM_AS) && \
     defined(HAVE_GCC_INLINE_ASM_SSSE3) && defined(USE_SHA1)
 
 #ifdef __PIC__
index af57b19..18b6daa 100644 (file)
@@ -46,8 +46,7 @@
 /* USE_SSSE3 indicates whether to compile with Intel SSSE3 code. */
 #undef USE_SSSE3
 #if defined(__x86_64__) && defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) && \
-    defined(HAVE_GCC_INLINE_ASM_SSSE3) && \
-    defined(HAVE_INTEL_SYNTAX_PLATFORM_AS)
+    defined(HAVE_GCC_INLINE_ASM_SSSE3)
 # define USE_SSSE3 1
 #endif