Skip to content

Commit

Permalink
Remove trailing semicolon from sevaral macros.
Browse files Browse the repository at this point in the history
Thanks to @Flix01 for reporting this.
  • Loading branch information
nemequ committed Feb 2, 2020
1 parent 45a2edd commit 60458c1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions simde/arm/neon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Evan Nemerson <evan@nemerson.com>
/* Copyright (c) 2017-2020 Evan Nemerson <evan@nemerson.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -88,7 +88,7 @@ simde_vget_lane_s8(simde_int8x8_t v, const int lane) {
return v.i8[lane];
}
#if defined(SIMDE_NEON_NATIVE)
# define simde_vget_lane_s8(v, lane) vget_lane_s8(v.n, lane);
# define simde_vget_lane_s8(v, lane) vget_lane_s8(v.n, lane)
#endif

SIMDE__END_DECLS
Expand Down
2 changes: 1 addition & 1 deletion simde/x86/avx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ simde_mm256_slli_epi32 (simde__m256i a, const int imm8) {
return simde__m256i_from_private(r_);
}
#if defined(SIMDE_AVX2_NATIVE)
# define simde_mm256_slli_epi32(a, imm8) _mm256_slli_epi32(a, imm8);
# define simde_mm256_slli_epi32(a, imm8) _mm256_slli_epi32(a, imm8)
#elif defined(SIMDE_SSE2_NATIVE)
# define simde_mm256_slli_epi32(a, imm8) \
simde_mm256_set_m128i( \
Expand Down
2 changes: 1 addition & 1 deletion simde/x86/sse.h
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,7 @@ simde_mm_insert_pi16 (simde__m64 a, int16_t i, const int imm8) {
#elif defined(SIMDE_SSE_NEON)
# define simde_mm_insert_pi16(a, i, imm8) simde__m64_from_private((simde__m64_private) { .neon_i16 = vset_lane_s16(i, simde__m64_to_private(a).neon_i16, (imm8)) })
#endif
#define simde_m_pinsrw(a, i, imm8) (simde_mm_insert_pi16(a, i, imm8));
#define simde_m_pinsrw(a, i, imm8) (simde_mm_insert_pi16(a, i, imm8))
#if defined(SIMDE_SSE_ENABLE_NATIVE_ALIASES)
# define _mm_insert_pi16(a, i, imm8) simde_mm_insert_pi16(a, i, imm8)
# define _m_pinsrw(a, i, imm8) simde_mm_insert_pi16(a, i, imm8)
Expand Down
4 changes: 2 additions & 2 deletions simde/x86/sse4.1.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (c) 2017-2019 Evan Nemerson <evan@nemerson.com>
/* Copyright (c) 2017-2020 Evan Nemerson <evan@nemerson.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -1173,7 +1173,7 @@ simde_mm_mpsadbw_epu8 (simde__m128i a, simde__m128i b, const int imm8) {
return simde__m128i_from_private(r_);
}
#if defined(SIMDE_SSE4_1_NATIVE)
# define simde_mm_mpsadbw_epu8(a, b, imm8) _mm_mpsadbw_epu8(a, b, imm8);
# define simde_mm_mpsadbw_epu8(a, b, imm8) _mm_mpsadbw_epu8(a, b, imm8)
#endif
#if defined(SIMDE_SSE4_1_ENABLE_NATIVE_ALIASES)
# define _mm_mpsadbw_epu8(a, b, imm8) simde_mm_mpsadbw_epu8(a, b, imm8)
Expand Down

0 comments on commit 60458c1

Please sign in to comment.