Skip to content

Commit

Permalink
sse2: work around for GCC bug #94488
Browse files Browse the repository at this point in the history
Fixes #279
  • Loading branch information
nemequ committed May 21, 2020
1 parent 1454550 commit 482124f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simde/simde-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ typedef SIMDE_FLOAT64_TYPE simde_float64;
# if defined(SIMDE_ARCH_X86) && !defined(SIMDE_ARCH_AMD64)
# define SIMDE_BUG_GCC_94482
# endif
# if defined(SIMDE_ARCH_AARCH64)
# if !HEDLEY_GCC_VERSION_CHECK(9,4,0) && defined(SIMDE_ARCH_AARCH64)
# define SIMDE_BUG_GCC_94488
# endif
# if defined(SIMDE_ARCH_POWER)
Expand Down
2 changes: 1 addition & 1 deletion simde/x86/sse2.h
Original file line number Diff line number Diff line change
Expand Up @@ -4920,7 +4920,7 @@ simde_mm_srli_epi64 (simde__m128i a, const int imm8)

#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
r_.neon_u64 = vshrq_n_u64(a_.neon_u64, imm8);
#elif defined(SIMDE_VECTOR_SUBSCRIPT_SCALAR)
#elif defined(SIMDE_VECTOR_SUBSCRIPT_SCALAR) && !defined(SIMDE_BUG_GCC_94488)
r_.u64 = a_.u64 >> imm8;
#else
SIMDE_VECTORIZE
Expand Down

0 comments on commit 482124f

Please sign in to comment.