Skip to content

Commit 470fb8f

Browse files
committed
clang-format
1 parent c797c28 commit 470fb8f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

ext/oj/simd.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@
88
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86) || defined(_M_X64)
99
#define HAVE_SIMD_X86 1
1010

11-
// SSE4.2 support (Intel Core i7+, AMD Bulldozer+)
12-
// Enabled automatically when compiler has -msse4.2 flag
13-
#if defined(__SSE4_2__)
14-
#define HAVE_SIMD_SSE4_2 1
15-
#include <nmmintrin.h>
16-
#endif
17-
18-
// SSE2 support (fallback for older x86_64 CPUs - all x86_64 CPUs support SSE2)
19-
#if defined(__SSE2__) && !defined(HAVE_SIMD_SSE4_2)
20-
#define HAVE_SIMD_SSE2 1
21-
#include <emmintrin.h>
22-
#endif
11+
// SSE4.2 support (Intel Core i7+, AMD Bulldozer+)
12+
// Enabled automatically when compiler has -msse4.2 flag
13+
#if defined(__SSE4_2__)
14+
#define HAVE_SIMD_SSE4_2 1
15+
#include <nmmintrin.h>
16+
#endif
17+
18+
// SSE2 support (fallback for older x86_64 CPUs - all x86_64 CPUs support SSE2)
19+
#if defined(__SSE2__) && !defined(HAVE_SIMD_SSE4_2)
20+
#define HAVE_SIMD_SSE2 1
21+
#include <emmintrin.h>
22+
#endif
2323

2424
#endif // x86/x86_64
2525

@@ -44,4 +44,4 @@
4444
#define SIMD_TYPE "none"
4545
#endif
4646

47-
#endif /* OJ_SIMD_H */
47+
#endif /* OJ_SIMD_H */

0 commit comments

Comments
 (0)