summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcaand <caand@users.noreply.github.com>2017-04-02 11:04:59 +0200
committerGitHub <noreply@github.com>2017-04-02 11:04:59 +0200
commit35f4ff32ffae215919fcecb2e8e02cd80a290c6d (patch)
tree6f9ee83a3b3c892ddd923f36e31f9a02ad1dc473
parentf81f7aac8b3346d1dadda063e81873fbd7e5d388 (diff)
parentf65ade90cc95d3b16a3db4e031a5e6f011aff161 (diff)
downloadneon_2_sse-35f4ff32ffae215919fcecb2e8e02cd80a290c6d.tar.gz
Merge pull request #1 from caand/caand-patch-1
Fix for llvm
-rw-r--r--NEON_2_SSE.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEON_2_SSE.h b/NEON_2_SSE.h
index 3925772..14a6044 100644
--- a/NEON_2_SSE.h
+++ b/NEON_2_SSE.h
@@ -2251,7 +2251,7 @@ poly16x8x2_t vuzpq_p16(poly16x8_t a, poly16x8_t b); // VUZP.16 q0,q0
// the following macros solve the problem of the "immediate parameters requirement" for some x86 intrinsics.
// we need it to compile the code unless the "Intrinsic parameter must be an immediate value" error is our goal
//
-#if ( ((defined(_MSC_VER)|| defined (__INTEL_COMPILER)) && defined DEBUG ) || defined(__GNUC__) )
+#if ( ((defined(_MSC_VER)|| defined (__INTEL_COMPILER)) && defined DEBUG ) || defined(__GNUC__) && !defined(__llvm__) )
#define _MM_ALIGNR_EPI8 _mm_alignr_epi8